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

+2 -1
View File
@@ -600,7 +600,8 @@ private theorem residual_between_begin_head {db₀ : DB} {r : RangeRead} {res :
omega
private theorem residual_topWitness_of_D {db₀ : DB} {r : RangeRead} {res : Result} {g n : ℕ} {H : Key}
private theorem residual_topWitness_of_D {db₀ : DB} {r : RangeRead} {res : Result} {g n : ℕ} {H :
Key}
(hcomp : RangeRead.Compatible db₀ r res) (hmore : res.more = false)
(hrev : r.reverse = false) (hne : res.keys ≠ [])
(hbegin : 1 ≤ r.begin.offset) (hend : 2 ≤ r.end_.offset)