Skip to content

Fix up comparisons with disperate variable sets #11

Open

Description

@haz

When a theory doesn't mention all of the variables, then counting, comparing, etc all become incorrect. Ultimately, a fix will need to come in the form of an NNF potentially storing a superset of the variables currently mentioned in descendants via the walk functionality.

Activity

  1. added
    bugSomething isn't working
    help wantedExtra attention is needed
    on Jul 30, 2020
  2. haz commented on Jul 30, 2020

    @haz
    CollaboratorAuthor

    This assumption should go away once this issue is resolved.

  3. blyxxyz commented on Jul 30, 2020

    @blyxxyz
    Collaborator

    I gave this some thought during initial development but didn't come up with anything that really felt right.

    One fix could be to add an optional keyword argument names for passing an explicit set of variables.

    Comparing using the current behavior of .equivalent() is resistant to this problem, at least.

  4. haz commented on Jul 30, 2020

    @haz
    CollaboratorAuthor

    Ya, I considered the names argument too. Problem there is that it proliferates -- many places might need it (or have sub-procedures that need it). The make_smooth operation is certainly one that would require it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions