Skip to content

Commit

Permalink
move test file, add module doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Nov 7, 2024
1 parent 39258ab commit 15ac3a9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
24 changes: 24 additions & 0 deletions tests/lean/000_simplc.lean
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
6 changes: 0 additions & 6 deletions tests/lean/run/simplc.lean

This file was deleted.

0 comments on commit 15ac3a9

Please sign in to comment.