Upgrade to Lean 4.35 and add comparator check
- Move to lean-toolchain v4.35.0 and mathlib v4.35.0 - Opt out of the module-system warning with `allowNonModules` - Adapt to Lean/Mathlib 4.35 changes: drop now-redundant `List.filter_congr` blocks and no-op `ring` calls - Add `Challenge.lean`, `Solution.lean`, and `comparator.json` `lake comparator` now accepts the solution against the trusted challenge.
This commit is contained in:
1 parent
fc8335c380
commit
bd5b3c885c
10 files changed
+48
-30
No files matched your search
@@ -983,12 +983,6 @@ theorem filler_count_nonpos_more_nonpos_end {db : DB} {r : RangeRead} {res : Res
|
||||
(k : WithTop Key)) && decide ((k : WithTop Key) < r.end_.key)) := by
|
||||
rw [List.countP_eq_length_filter]
|
||||
congr 1
|
||||
apply List.filter_congr
|
||||
intro k _
|
||||
rw [Bool.decide_and]
|
||||
rw [show decide (last < k) =
|
||||
decide ((↑last : WithTop Key) < (↑k : WithTop Key)) from
|
||||
decide_eq_decide.mpr (WithTop.coe_lt_coe.symm)]
|
||||
rw [hn', ← hs]
|
||||
have hanchor_nonneg : 0 ≤ r.end_.anchor db := by
|
||||
by_contra hneg
|
||||
|
||||
Reference in new issue
Block a user