Birch and Swinnerton-Dyer: certified ranks in Lean
ECCompute: Lean that certifies rank lower bounds for 480 elliptic curves, up to rank ≥ 31. Certify more, rerun it, read what 2026 claimed about BSD

docs: explain the recursive step of polyModK #51
Merged
+2 −0 ECCompute/Soundness/Labels.lean View file
| @@ -49,6 +49,8 @@ theorem fval_iff (hp : 1 < p) : | ||
| 49 | 49 | /-- `discrIntK a₂ a₄ a₆` equals the integer discriminant `discrInt a₂ a₄ a₆`. -/ |
| 50 | 50 | theorem discrIntK_eq : discrIntK a₂ a₄ a₆ = discrInt a₂ a₄ a₆ := by grind [discrIntK, discrInt] |
| 51 | 51 | |
| 52 | +/-- For a nonempty coefficient list, the modular evaluation step adds the residue of the | |
| 53 | +constant coefficient `c` to `r` times the tail evaluation, then reduces the sum modulo `ℓ`. -/ | |
| 52 | 54 | @[simp, grind =] theorem polyModK_cons {c : ℕ} {cs : List ℕ} {ℓ r : ℕ} : |
| 53 | 55 | polyModK (c :: cs) ℓ r = (c % ℓ + r * polyModK cs ℓ r) % ℓ := rfl |
| 54 | 56 | |
+14 −0 routes/trial-ben-codex-docstrings/README.md added View file
| @@ -0,0 +1,14 @@ | ||
| 1 | +--- | |
| 2 | +issue: 15 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | + | |
| 6 | +# Checker docstrings | |
| 7 | + | |
| 8 | +This route covers Labels.lean, one of the six files listed in P-1. | |
| 9 | + | |
| 10 | +## Next | |
| 11 | + | |
| 12 | +Review the docstring for `polyModK_cons`. To reproduce the local check, run | |
| 13 | +`python3 checks/challenge.py .` from the repository root. The local challenge passed. | |
| 14 | +Shoal runs the Lean build and Comparator checks. | |