Skip to content

Commit 98e7f3b

Browse files
committed
spatial-patterns-match: works with multiple seps anywhere on lhs
1 parent 8d0b0a6 commit 98e7f3b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

prover/strategies/matching.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,11 @@ Instantiate the axiom: `\forall { L, D } (pto L D) -> L != nil
702702
// </strategy>
703703
// requires RSPATIAL -Patterns REST ==K .Patterns
704704
705-
rule <claim> \implies(LHS, RHS) </claim>
705+
rule <claim> \implies(\and(LHS), RHS)
706+
=> \implies(\and(LHS -Patterns getSpatialPatterns(LHS)), RHS)
707+
</claim>
706708
<strategy> spatial-patterns-match => noop ... </strategy>
707-
requires isPredicatePattern(LHS)
708-
andBool isPredicatePattern(RHS)
709+
requires isPredicatePattern(RHS)
709710
```
710711

711712
### Footprint Analysis

0 commit comments

Comments
 (0)