Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match strategy working with axioms and arbitrary formulas #44

Open
h0nzZik opened this issue Feb 11, 2020 · 0 comments
Open

match strategy working with axioms and arbitrary formulas #44

h0nzZik opened this issue Feb 11, 2020 · 0 comments

Comments

@h0nzZik
Copy link
Collaborator

h0nzZik commented Feb 11, 2020

I propose that

  1. a variant of match would take an AxiomOrClaimName for the pattern that is used as LHS;
  2. match would work on arbitrary patterns (in the spirit of syntacticMatch). That should not break correctness (since, e.g., phi(1)/\psi(2) --> \exists x. psi(x) /\ phi(1)), but the strategy would be more general. Moreover, it would allow us to remove the fail cases where a checks isPredicatePattern and isSpatialPattern are used, since a spatial pattern together with predicate pattern would not match. (I belive that removal of one case of isSpatialPattern is a good thing, since it is SL-specific.)

Also, filterPredicates is defined but never used, so we may remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant