Redditor compiles 17M-line Riemann Hypothesis Lean proof on a home PC, streams it live

Reasonable_Day_9300 · reddit · 2026-11-21

After claims circulated that the Riemann Hypothesis was formalized in Lean 4, a Redditor is compiling the public 175,187-module (17M lines) source on a single i9-13900K with 64 GB RAM under WSL2, estimating 20 hours total. Live progress at rh.bip-rep.com; artifacts are being uploaded in 5,000-module packs to Hugging Face.

Key lessons: native Windows builds fail at this scale (each lean.exe commits 4 GB; Linux mmapped oleans work), and Lake's per-module .setup.json files would need 1 TB unless deleted after each build.

He stresses a clean build only proves type-checking, not RH itself — verification will compare the final theorem against Mathlib's RiemannHypothesis with a comparator (no redefinitions), check #print axioms for only propext, Classical.choice, Quot.sound, and replay everything with an independent kernel like lean4checker.

Original post →

More from Fun

Fun channel →