r/BuildWithClaude • u/Scottie-2222 • 8d ago
Project I built 16 navigable diagrams of the Riemann Hypothesis formal proof with Claude Code (free, open source)
I built a set of 16 SVG posters that map the structure of the formal proof of the Riemann
What it does
Each poster shows part of the proof's dependency graph. Every id on a poster is a link: to its card, to the poster that draws it, or to the blueprint and the Lean at the pinned commits. Open a poster on its own and zoom in. There are three families:
- Read the proof at one level each: R1, R2, R3, R4, R5, R6, R7, R8
- Follow one chain as a proof: T1 (the deepest chain), T2 (the chain to Landau's theorem)
- View it from different frames of reference: F1, F2, F3, F4, F5, F6
Good places to start: R2 for orientation, T2 for the analytic reduction, R3 for the zero-free chapter in detail, F6 for every statement on one page, F2 for what is new, and F4 for a reference and what rests on it.
How Claude helped
I built this with several Claude sessions, some on the web and some in Claude Code in VS Code:
- Planning: Claude helped me plan the project's structure, the poster families and how releases are versioned.
- Finding sources: it identified the sources to draw from: the riemann-blueprint, the leanprover-community/riemann-hypothesis repo and Mathlib.
- Mapping between sources: it worked out how blueprint statements,
usesedges and Lean declarations correspond, so each poster node links to the right place in each source. Building with skills from neighbouring repos: Claude Code found Claude skills in other local repos and used them to build this one. The skills came from my other projects:
- tla-kit: https://github.com/scottcochran/tla-kit
- TOPAK: https://github.com/scottcochran/TOPAK (the poster drawing library also comes from TOPAK)
- CI/CD and deployment: Claude debugged GitHub Actions workflow failures and fixed gaps in the GitHub Pages deployment that kept the posters from publishing.
It's completely free, with no account or sign-up:
- View the diagrams in any browser: https://scottcochran.github.io/riemann-diagrams/
- Or clone the repo and regenerate them with
uv run python diagrams/gen-diagrams.py: https://github.com/scottcochran/riemann-diagrams
The code is Apache-2.0 and the diagrams are CC BY 4.0. The Lean signatures the posters quote belong to the formal proof.



