Commit a66989b
committed
Fix
Previously, searching for a bare abbreviation name (e.g. `search mu1`)
would wrap the abbreviation body in a lambda over its arguments, producing
a pattern like `fun d x => mu d (pred1 x)`. No axiom contains such a
lambda as a subformula, so the search always returned no results.
Instead, register the abbreviation arguments as pattern variables and use
the body directly as the search pattern. This correctly matches axioms
containing the expanded form of the abbreviation.search to resolve abbreviations by expanding their body1 parent fe9fba3 commit a66989b
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2684 | 2684 | | |
2685 | 2685 | | |
2686 | 2686 | | |
2687 | | - | |
| 2687 | + | |
2688 | 2688 | | |
2689 | | - | |
| 2689 | + | |
2690 | 2690 | | |
2691 | | - | |
| 2691 | + | |
2692 | 2692 | | |
2693 | 2693 | | |
2694 | 2694 | | |
| |||
0 commit comments