Show HN: The Riemann Proof Handbook

Hacker News Top Tools

Summary

Show HN: The Riemann Proof Handbook is an open-source book (PDF/EPUB) that presents the Lean proof of the Riemann Hypothesis from tamnd/riemann-lean as readable mathematics, with a Python/pandoc/Tectonic build pipeline and a ledger organizing declarations into 12 volumes.

No content available
Original Article
View Cached Full Text

Cached at: 11/22/26, 09:22 AM

tamnd/riemann-handbook

Source: https://github.com/tamnd/riemann-handbook

The Riemann Handbook

A book, in PDF and EPUB, that writes the Lean proof of the Riemann Hypothesis in tamnd/riemann-lean as mathematics: definitions, theorems, lemmas and their proofs, in words.

The claim is not checked. Nobody has built the Lean project in full yet, and no person has checked the written statements against the Lean code. This book explains the Lean code. It is not a separate check of the mathematics. See What is checked.

The volumes

VolumeSource
0Guide: how to read, the status of the claim, notation, the named results, the index of Lean namescontent/front/ and tamnd/riemann
1Background: the mathematics that the proof uses, in 17 chaptersthe Learn pages of tamnd/riemann
2The proof: the top of the proof, its chapters and stepsthe written proof of tamnd/riemann
3 to 12The Lean development, one branch or one Lean folder in each volumecontent/dev/, written for this book

The books are in the releases.

The plan of the development volumes

Each declaration of the proof is inside the dominated subtree of exactly one other declaration (its immediate dominator, in the graph of uses from riemannHypothesis). The ledger gives an entry to each declaration whose dominated subtree is large, in tiers: 1,000 or more declarations (591 entries), 300 or more (1,927), 100 or more (5,764). It assigns each entry to a volume by its branch of the proof or by its Lean folder, and to a chapter by its Lean folder. In a chapter, the entries come from the top of the proof down.

python -m rhb ledger --records /path/to/records --min 1000 --write

ledger/coverage.md has the numbers. prompts/entry.md is the brief for the writers of entries.

Build

You need Python 3.11 or later, pandoc 3.8 or later and Tectonic. Put tamnd/riemann and tamnd/riemann-lean next to this repository.

pip install .
python -m rhb survey
python -m rhb check
python -m rhb build --volume 0,1,2 --formats pdf,epub

The books go to build/. The pipeline is that of The Handbook of Algorithms: Markdown, then pandoc with filters/rhb.lua, then LaTeX with tex/handbook.sty, then Tectonic. The EPUB is EPUB 3 with MathML.

Licence

The text is licensed under CC BY 4.0, as the text of tamnd/riemann. The builder is licensed under the MIT licence.

Please report errors at issues.

Similar Articles

Treemap of the Riemann Hypothesis Lean Proof

Hacker News Top

A treemap visualizer dissects Levent Alpöge's Lean 4 formalization of the Riemann Hypothesis (and its Dirichlet L-function generalization), mapping all 175,187 modules, their dependencies, tactics, and areas of mathematics, while also tracking who has verified the proof.

Verification files for the Lean proof of the Riemann Hypothesis

Hacker News Top

Verification files for a claimed Lean proof of the Riemann Hypothesis show the 175,187 modules compile cleanly, the five headline theorems rely only on Lean's three standard axioms, and independent kernels (nanoda, con-leche, lean4lean) accept the full export, with a few checks still running.

Levent Alpöge comments on his Riemann Hypothesis proof

Hacker News Top

Levent Alpöge clarifies that his claimed Riemann Hypothesis proof's 250,000-page length was a joke, acknowledges issues with his Lean formalization, and explains his view that the difficulty signals a flawed setup rather than a hard problem.

Masullo on the Riemann Hypothesis

Hacker News Top

John Baez sketches Alessandro Masullo's 940-page human-written attempt to prove the Riemann Hypothesis, appearing alongside Levent Alpöge and Claude's Lean-based proof, and outlines the proof strategy and criticisms.