-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import Lean.SimpLC.Whitelists | ||
|
||
/-! | ||
# simp local confluence testing | ||
If you experience failures here, take the suggested `simp_lc inspect ...` commands | ||
and paste them into a relevant `Lean.SimpLC.Whitelists.ABC` file. | ||
Then decide whether to: | ||
* Remove a `@[simp]` annotation | ||
* Add a new `@[simp]` lemma to restore confluence | ||
* Add a new `simp_lc whitelist` directive to suppress warnings about a given non-confluent pair. | ||
Ideally add an `example` immediately before it demonstrating the non-confluence. | ||
* Add a new `simp_lc ignore` directive to suppress all warnings about a given lemma. | ||
Ideally add a doc-comment justifying why this is reasonable. | ||
This file is intentionally named `000_simplc.lean` to starting running as early as possible in CI. | ||
-/ | ||
|
||
-- Warning: this takes about 3 minutes to run! | ||
set_option maxHeartbeats 0 in | ||
#guard_msgs (drop info) in | ||
simp_lc check |
This file was deleted.
Oops, something went wrong.