Verifying a Lean Formalisation of the Riemann Hypothesis: What a Naive Count Gets Wrong

EN. An independent inspection of the published Lean formalisation of the Riemann hypothesis and of GRH for Dirichlet L-functions, announced on 20 November 2026. This is a check of the artefact, not a review of the mathematics. The reproducibility trap. A naive grep -c sorry over the repository returns 12. A reader who stops there concludes the proof is unsound. All 12 sit in two Challenge.lean statement files, one per parallel build, whose headers state that nothing imports them. Neither src/Main.lean contains a sorry, and nothing imports either Challenge.lean. The correct procedure is three steps: count, locate, then check importers. This is the most likely way to get this particular verification wrong. Measured shape. Commit 72fead1, Apache-2.0, 54 MB on disk. The repository holds two parallel builds of the same proof, not one: grh/ with 805 files and 477,151 lines, and grh-compact/ with 796 files and 112,854 lines. Reporting "1,601 files, 590,005 lines" as the size of one proof conflates the two and overstates the effort by roughly 40 percent. Every figure in the note names its build. Three independent layers of evidence are reported by verifiers, and reproduced here only for counts: the Lean kernel accepts all 175,187 modules of the original archive; the five theorems depend only on Lean's three standard axioms (propext, Classical.choice, Quot.sound); and the independent kernel nanoda checked the 1,484,729 declarations the theorems depend on with no type errors. What does not exist. No human-readable proof: the artefacts are Lean code, and the companion 164-page draft calls itself a working draft with 13 numbered unproved hypotheses in the human-readable account. No public understanding of the mechanism. No Clay award, and the problem is still listed as open. The note states how to cite the result honestly: a formal proof accepted by two kernels, with no readable account and no prize recognition. Contents. The exact inspection script including the three-step sorry procedure, measured counts per build as JSON, and the four source files carrying the evidence: both entry points and both challenge files, copied from commit 72fead1. Source repository: github.com/lsernau/grh-lean. Vietnamese companion: the Riemann section of 297-bai-toan-kho-nhat-the-gioi.md in the Z-Tester vault.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24688588
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Verifying a Lean Formalisation of the Riemann Hypothesis: What a Naive Count Gets Wrong

7EN Labs
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
article

Verifying a Lean Formalisation of the Riemann Hypothesis: What a Naive Count Gets Wrong

7EN Labs
article en

Abstract

EN. An independent inspection of the published Lean formalisation of the Riemann hypothesis and of GRH for Dirichlet L-functions, announced on 20 November 2026. This is a check of the artefact, not a review of the mathematics. The reproducibility trap. A naive grep -c sorry over the repository returns 12. A reader who stops there concludes the proof is unsound. All 12 sit in two Challenge.lean statement files, one per parallel build, whose headers state that nothing imports them. Neither src/Main.lean contains a sorry, and nothing imports either Challenge.lean. The correct procedure is three steps: count, locate, then check importers. This is the most likely way to get this particular verification wrong. Measured shape. Commit 72fead1, Apache-2.0, 54 MB on disk. The repository holds two parallel builds of the same proof, not one: grh/ with 805 files and 477,151 lines, and grh-compact/ with 796 files and 112,854 lines. Reporting "1,601 files, 590,005 lines" as the size of one proof conflates the two and overstates the effort by roughly 40 percent. Every figure in the note names its build. Three independent layers of evidence are reported by verifiers, and reproduced here only for counts: the Lean kernel accepts all 175,187 modules of the original archive; the five theorems depend only on Lean's three standard axioms (propext, Classical.choice, Quot.sound); and the independent kernel nanoda checked the 1,484,729 declarations the theorems depend on with no type errors. What does not exist. No human-readable proof: the artefacts are Lean code, and the companion 164-page draft calls itself a working draft with 13 numbered unproved hypotheses in the human-readable account. No public understanding of the mechanism. No Clay award, and the problem is still listed as open. The note states how to cite the result honestly: a formal proof accepted by two kernels, with no readable account and no prize recognition. Contents. The exact inspection script including the three-step sorry procedure, measured counts per build as JSON, and the four source files carrying the evidence: both entry points and both challenge files, copied from commit 72fead1. Source repository: github.com/lsernau/grh-lean. Vietnamese companion: the Riemann section of 297-bai-toan-kho-nhat-the-gioi.md in the Z-Tester vault.

Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Verifying a Lean Formalisation of the Riemann Hypothesis: What a Naive Count Gets Wrong — 7EN Labs · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS