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: specify the coefficient residue in polyModK
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+2 −2 ECCompute/Soundness/Labels.lean View file
| @@ -49,8 +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 | -/-- Evaluating a nonempty coefficient list modulo `ℓ` adds the constant coefficient `c` to | |
| 53 | -`r` times the value of the remaining coefficients, then reduces modulo `ℓ`. -/ | |
| 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 `ℓ`. -/ | |
| 54 | 54 | @[simp, grind =] theorem polyModK_cons {c : ℕ} {cs : List ℕ} {ℓ r : ℕ} : |
| 55 | 55 | polyModK (c :: cs) ℓ r = (c % ℓ + r * polyModK cs ℓ r) % ℓ := rfl |
| 56 | 56 | |