ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI information
Riemann Hypothesis Lean Proof Shrinks from 17 Million Lines to 76,000: Readable Version Runs 300,000 Lines, Still Unread by Anyone

Riemann Hypothesis Lean Proof Shrinks from 17 Million Lines to 76,000: Readable Version Runs 300,000 Lines, Still Unread by Anyone

AI information • Admin • • 0 views

On November 25, 2026, Luke Sernau, an Anthropic employee, published grh-lean on GitHub, compressing the Lean formal proof of the Riemann Hypothesis completed by Levent Alpöge together with Claude from about 17 million lines to about 76,000 lines (the compact edition), alongside a readable edition of about 300,000 lines. Both editions also prove the Generalized Riemann Hypothesis for Dirichlet L-functions.

From 17 million lines to 76,000

The original proof was staggering in scale: 175,187 Lean files and about 17.37 million lines of code, with no comments — far beyond what any person could read. The new version compresses the same theorems to roughly 0.4% of that size and relies only on Lean's three standard axioms. According to the documentation, building it takes one to two hours on a machine with 12 cores and 24 GB of memory. One caveat: the repository sits on Sernau's personal GitHub account, not an official Anthropic release; the license names Anthropic, and the author notes it was made with Anthropic colleagues and Claude. The README states plainly that it has passed machine checks only, that no mathematician has read it through yet, and that no accompanying paper exists.

Machine-checked is not the same as accepted by mathematicians

The timeline: Alpöge published the original proof on November 20, the Lean and Mathlib communities issued a joint statement on November 21 confirming the proof is correct, and MIT's Andrew Sutherland completed an independent review on November 25. But 'passing machine checks' is not the same as acceptance by the mathematical community: the Clay Mathematics Institute's million-dollar prize requires formal publication, peer review, and a two-year waiting period, while a purely human draft proof from a Stanford team is also being read in parallel.

What matters next is the readable edition: 300,000 lines is still far beyond what a person can read through, and the key question is whether mathematicians can break it down further into a proof humans can understand. Until then, the claim that 'the Riemann Hypothesis has been proved' still needs qualification — a machine saying it is correct and the mathematical community agreeing are two different things.

Recommended Tools

More