The Riemann Handbook
A PDF and EPUB book that writes the Lean proof of the Riemann Hypothesis in words as definitions, theorems, lemmas and proofs.
At a Glance
The riemann-handbook builder is MIT-licensed; the book text is CC BY 4.0. Books (PDF and EPUB) are published in GitHub releases.
Engagement
Available On
Alternatives
Listed Nov 2026
About The Riemann Handbook
The Riemann Handbook is a book-building project by tamnd that turns the Lean proof of the Riemann Hypothesis in tamnd/riemann-lean into written mathematics, released as PDF and EPUB. The companion site at riemann.tamnd.com presents the same proof step by step and links each step to its Lean code. The project states that the claim is not checked: the full Lean project has not been built and no person has checked the written statements against the Lean code.
What It Is
The handbook is a documentation and publishing pipeline for a formal proof. It explains the Lean code in words, with definitions, theorems, lemmas and proofs, rather than serving as an independent check of the mathematics. The Lean proof it describes was released on 2026-11-20 by Levent Alpöge, and the project describes it as having no written proof of its own.
Volumes and structure
The book is organised into volumes. Volume 0 is a guide covering how to read it, the status of the claim, notation, named results and an index of Lean names. Volume 1 is background mathematics in 17 chapters, and Volume 2 is the proof itself, from the top theorem down. Volumes 3 to 12 cover the Lean development, one branch or Lean folder per volume.
A ledger assigns entries to volumes and chapters using each declaration's immediate dominator in the graph of uses from riemannHypothesis, in tiers by the size of the dominated subtree.
Build path
The builder is a Python package that needs Python 3.11 or later, pandoc 3.8 or later and Tectonic. Commands survey, check, build and ledger drive it. Markdown goes through pandoc with a Lua filter, then LaTeX, then Tectonic to produce PDF, and EPUB 3 with MathML. Built books are published in the repository releases.
Current Status
The site's trust page lists checks such as source match with the release, a full build, axiom listing and a second-kernel check; only the source match is reported as run. The latest release listed is v0.1.6.
Community Discussions
Be the first to start a conversation about The Riemann Handbook
Share your experience with The Riemann Handbook, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT builder)
The riemann-handbook builder is MIT-licensed; the book text is CC BY 4.0. Books (PDF and EPUB) are published in GitHub releases.
- Builder/toolchain licensed under MIT
- Book text licensed under CC BY 4.0 (LICENSE-CONTENT)
- PDF and EPUB books available in GitHub releases
- Lean code of riemann-lean stays with its author and is not covered by this license
Capabilities
Key Features
- Writes the Lean proof of the Riemann Hypothesis as definitions, theorems, lemmas and proofs in words
- Outputs PDF and EPUB 3 with MathML
- Background volume of 17 chapters on the required mathematics
- Ledger assigning declarations to volumes and chapters by dominator tiers
- Python CLI with survey, check, build and ledger commands
- Pandoc and LaTeX pipeline using Tectonic
