Riemann Hypothesis code proof cut from 17.4M to 76,000 lines
Mathematician Levent Alpöge and Anthropic's Claude earlier released a 17.4 million line Lean formal proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis, about seven times the size of Lean's official math library.
Anthropic researcher Luke Sernau, along with colleagues and Claude, fully rewrote the proof, cutting the code by about 99.56% to a compact 76,000 line version, plus a readable version of around 300,000 lines with documents. Compile time dropped from 21 hours on a high-end AWS machine to 1 to 2 hours on an ordinary 12-core machine.
The team unwound definitions, simplified across module boundaries, then repackaged them, and swapped some sub-steps for new arguments. All code was written by Claude, with no sorry placeholders, using only three standard axioms and checked by several independent verifiers.
The proof is open sourced under Apache 2.0, but it has only passed machine verification, with no mathematician having read it fully and no accompanying paper yet.
Comments
Loading comments…