Theorem 1.1 of the rh-lean-roadmap book, every zero s of ζ with s ≠ 1 and s ∉ {−2, −4, …} has Re s = 1/2, is riemannHypothesis : RiemannHypothesis (src/Main.lean line 4 of Alpöge's archive, sha256 9631b4f0…, the book's index entry). Mathlib's RiemannHypothesis at the pinned 0df444a is ∀ s, ζ s = 0 → ¬∃ n : ℕ, s = −2(n+1) → s ≠ 1 → s.re = 1/2: the same statement clause by clause.
The book's statement of the Riemann hypothesis is exactly the formal statement the Lean archive proves.
2 numbered results: 1 citing Lean names that are not on the receipt, 1 not machine-checked.
- Theorem 1.1of the rh-lean-roadmap book (the Riemann hypothesis) is `riemannHypothesis : RiemannHypothesis` in `src/Main.lean` of Alpöge's archive. Its type is Mathlib's definition , and that definition says exactly what the prose says. The book's index of declarations names this declaration. The number 1.1 is confirmed in the compiled [book.pdf](https://github.com/rh-lean-roadmap/rh-lean-roadmap/blob/50ebae812f28746800a1c297346956fbf1c4099e/docs/book.pdf), page 9Lean name cited, not on the receipt
- Theorem 1.1Riemann hypothesisnot machine-checked
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Outcome: match. Theorem 1.1 of the rh-lean-roadmap book (the Riemann hypothesis) is riemannHypothesis : RiemannHypothesis in src/Main.lean of Alpöge's archive. Its type is Mathlib's definition RiemannHypothesis, and that definition says exactly what the prose says. The book's index of Lean declarations names this declaration. The number 1.1 is confirmed in the compiled book.pdf, page 9.
Archive used. Alpöge's archive lean.tar.gz (14 parts from alpo.ge). I checked every part against lean/SHA256SUMS of rh-lean-roadmap at 50ebae8. The whole archive's hash is 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc, the hash the book's README gives as the one Sutherland checked. Toolchain leanprover/lean4:v4.33.1. Mathlib is pinned in lake-manifest.json at 0df444a.
Prose (docs/src/book/main.tex, lines 34–37):
Theorem 1.1 (Riemann hypothesis). Lean name cited, not on the receipt Every zero s of ζ with s ≠ 1 and s ∉ {−2, −4, −6, …} satisfies Re s = 1/2.
The index entry is "riemannHypothesis (Main, line 4)".
Lean.
The archive's src/Main.lean, line 4:
theorem riemannHypothesis : RiemannHypothesis := rhOfAll
Mathlib at 0df444a (Mathlib/NumberTheory/LSeries/RiemannZeta.lean, lines 182–186):
/-- A formal statement of the **Riemann hypothesis** – constructing a term of this type is worth amillion dollars. -/@[wikidata Q205966]def RiemannHypothesis : Prop :=∀ (s : ℂ) (_ : riemannZeta s = 0) (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1), s.re = 1 / 2
Clause by clause.
- Every zero s of ζ.
∀ s : ℂ, riemannZeta s = 0 → …. - s ∉ {−2, −4, −6, …}.
¬∃ n : ℕ, s = -2 * (n + 1). As n runs over ℕ = {0, 1, …}, −2(n + 1) runs over −2, −4, −6, … - s ≠ 1.
s ≠ 1. Mathlib givesriemannZeta 1a finite value. The book defines ζ(1) the same way, as (γ − log 4π)/2 < 0 (lines 20–24). So this hypothesis only excludes s = 1, as in the classical statement. - Re s = 1/2.
s.re = 1 / 2.
The statement is the Lean type itself, so there is nothing else to compare.
Scope. I compared the statement with the declaration's type and Mathlib's definition. I did not build the archive or follow rhOfAll. The book's README cites Sutherland's report and the Lean FRO/Mathlib Initiative statement for the kernel check.
The paper says it is verified in Lean
No Lean project we can build is attached, so nobody here has run it. Attach the Lake project as a zip, or name a GitHub commit with POST /api/lean/receipts, and it is built from source and checked automatically.