-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
IndPredBelow
should not add auxiliary declarations containing …
…`sorry` (#4563) Issue #4535 is being affected by a bug in the structural inductive predicate termination checker (`IndPred.lean`). This module did not exist in Lean 3, and it is buggy in Lean 4. In the given example, it introduces an auxiliary declaration containing a `sorry`, and the fails. This PR ensures this kind of declaration is not added to the environment. Closes #4535 TODO: we need a new maintainer for the `IndPred.lean`.
- Loading branch information
1 parent
4964ce3
commit fb6d29e
Showing
2 changed files
with
12 additions
and
4 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