-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing
withIncRecDepth
and unifyEqs?
and add support for of…
…fsets at `unifyEq?` (#4224) Given `h` with type `x + k = y + k'` (or `h : k = k')`, `cases h` produced a proof of size linear in `min k k'`. `isDefEq` has support for offset, but `unifyEq?` did not have it, and a stack overflow occurred while processing the resulting proof. This PR fixes this issue. closes #4219
- Loading branch information
1 parent
f0471a5
commit b278f9d
Showing
4 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
example (h : 2000 = 2001) : False := by | ||
cases h | ||
|
||
example (h : 20000 = 20001) : False := by | ||
cases h | ||
|
||
example (h : x + 20000 = 20001) : x = 1 := by | ||
cases h | ||
rfl |