Fix all Lean build warnings

- Update deprecated lemmas (ite_eq_left/right, ENat casts, List.Sublist, ...)
- Replace push_neg with push Not and resolve unused-variable warnings
- Convert flexible simp/simp_all calls to explicit simp only lists
- Remove unscoped maxHeartbeats options, open scoped Classical, and unused tactics
- Add missing module docstrings and clean up style linter hits
- Wrap over-long lines and flatten the deeply nested
  minimal_conflictRangeClosedForm_total proof

`lake build` now completes with zero warnings.
This commit is contained in:
andrew committed 2026-11-17 10:04:35 -05:00
1 parent a54a5f82f8
commit af318a7d32
51 files changed
+2542 -1357

No files matched your search

@@ -27,7 +27,6 @@ number of stored keys in `[resolve end_, end_.key)`, which the count identity
namespace FormalConflictRange
set_option maxHeartbeats 1200000
/-- **The reported keys are the stored keys in `[last, resolve end_)` read backwards.**
Unlike the end-offset-one version, this does not simplify the resolved end to `end_.key`;