Skip to content

Commit b8bc773

Browse files
committed
spatial-patterns-equal: handles case of multiple seps on RHS
1 parent ea25556 commit b8bc773

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

prover/strategies/matching.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,12 +645,17 @@ Instantiate the axiom: `\forall { L, D } (pto L D) -> L != nil
645645
=> \equals(S1(ARGs1), S2(ARGs2)), #destructEquality(Ps1, Ps2)
646646
requires S1 =/=K S2 orBool notBool isConstructor(S1)
647647
648+
rule <claim> \implies(LHS, \exists { Vs } RHS)
649+
</claim>
650+
<strategy> spatial-patterns-equal => noop ... </strategy>
651+
requires isPredicatePattern(RHS)
652+
648653
rule <claim> \implies( \and(sep(LSPATIAL), LHS)
649654
, \exists{ Vs } \and(sep(RSPATIAL), RHS)
650655
)
651656
=> \implies(\and(LHS), \exists { Vs } \and(RHS))
652657
</claim>
653-
<strategy> spatial-patterns-equal => noop ... </strategy>
658+
<strategy> spatial-patterns-equal ... </strategy>
654659
requires LSPATIAL -Patterns RSPATIAL ==K .Patterns
655660
andBool RSPATIAL -Patterns LSPATIAL ==K .Patterns
656661

0 commit comments

Comments
 (0)