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:
andrew committed 2026-11-17 10:28:15 -05:00
1 parent fc8335c380
commit bd5b3c885c
10 files changed
+48 -30

No files matched your search

+10 -1
View File
@@ -1,6 +1,7 @@
name = "conflict-range"
version = "0.1.0"
defaultTargets = ["Statement", "Proof"]
allowNonModules = true
[leanOptions]
relaxedAutoImplicit = false
@@ -10,7 +11,7 @@ maxSynthPendingDepth = 3
[[require]]
name = "mathlib"
scope = "leanprover-community"
rev = "v4.34.0"
rev = "v4.35.0"
[[lean_lib]]
name = "Statement"
@@ -22,3 +23,11 @@ globs = ["FormalConflictRange.*"]
[[lean_lib]]
name = "Proof"
globs = ["Proof", "Bridge"]
[[lean_lib]]
name = "Challenge"
globs = ["Challenge"]
[[lean_lib]]
name = "Solution"
globs = ["Solution"]