A repository appeared this week that bridges formal proof engineering and mathematical publishing. The Riemann Proof Handbook is a tool and book project that takes the Lean code from tamnd/riemann-lean—an attempt at a formal proof of the Riemann Hypothesis—and converts it into structured, readable mathematics in PDF and EPUB formats. The key idea: each Lean declaration (definitions, theorems, lemmas) is rendered as a human-readable entry, with the structure of the proof preserved.
This isn't just a dump of Lean code. The process walks the dependency graph: each declaration is nested under the one it supports, and entries are grouped into volumes and chapters by their branch in the proof or folder in the Lean source. The project provides a ledger that lists declarations by the size of their dominated subtree—there are 591 entries with 1,000 or more dominated declarations, for example. This lets you see the scale and structure of the proof at a glance.
What you get and what you don't
The repository provides the handbook in both PDF and EPUB (with MathML support), generated from Markdown via Pandoc and LaTeX. The toolchain uses Python 3.11+, Pandoc 3.8+, and Tectonic. You clone both tamnd/riemann and tamnd/riemann-lean alongside this repository, install the builder, and then generate the books with:
pip install .
python -m rhb survey
python -m rhb check
python -m rhb build --volume 0,1,2 --formats pdf,epub
The output goes to build/. The EPUBs are in EPUB 3 with MathML, so they'll work with readers that support mathematical notation.
But a big caveat: the claim that this is a proof of the Riemann Hypothesis is not checked. Nobody has built the Lean project in full, and no one has verified that the written mathematical statements match the Lean code. The handbook explains the Lean code as written; it is not a separate mathematical review.




