Anthropic researchers use Claude to shorten Riemann proof to 76,000 lines
Anthropic researcher Luke Sernau, working with colleagues and Claude, has cut the computer proof of the Riemann hypothesis from 17.4 million to about 76,000 lines. A computer has checked the new versions; mathematicians still have to read the proof.
Luke Sernau of Anthropic published a much shorter version of the proof of the Riemann hypothesis . His colleague Levent Alpöge had produced that proof with Claude five days earlier. The original proof ran to about 17.4 million lines of code and had already passed an independent computer check. The new, compact version proves the same thing in about 76,000 lines, roughly 228 times shorter.
A proof that a computer checks
The Riemann hypothesis is one of the most famous open questions in mathematics. It is about how the prime numbers are distributed among the whole numbers.
Alpöge proved the hypothesis and a broader version of it in Lean, a program in which every step of a proof is written down so precisely that a computer can check it. A computer can work through a proof of millions of lines like that, but no human can read it.
That is why Sernau, together with colleagues and Claude, made two new versions. The readable version has about 300,000 lines and comes with a guide. The compact version has about 76,000 lines and is kept as short as possible. Both prove the same five theorems as the original. According to Sernau, Claude wrote the Lean code and the explanations in the project. Anthropic does not say which Claude model that was; for the original proof, Alpöge worked with a model that is not yet on sale. The code is public in the project's repository.
To get to these shorter versions, Sernau first wrote out the original proof as one single, long piece. This let him find simplifications that crossed the boundaries between separate files. He then added structure again. Many steps got a different, shorter mathematical argument, and some parts turned out not to be needed.
Checked by computer, not yet by people
The mathematician Andrew Sutherland of MIT finished his checks of both shortened versions . The community of mathematicians working with Lean now uses the readable version as the basis for further work. On the same day, the first explanations of the proof in ordinary mathematical language appeared.
So far, the proof has only been checked by computers. No mathematician has yet read it from start to finish, and there is no scientific paper about it yet. The American Clay Mathematics Institute, which offers a prize of one million dollars (about 915,000 euros) for a proof, requires a publication and two years of general acceptance by mathematicians. A shorter, more readable proof makes it easier for mathematicians to study it.
What does this mean for the road to the singularity?
The original proof already showed that AI can produce a formal proof that a computer checks step by step. What is new is that AI can also cut its own unreadably long work down to something people can study. That is a different skill. A proof that is correct but that nobody understands teaches mathematicians little. A proof they can read shows which ideas do the work, and those ideas are often useful for other questions.
If that trend continues, mathematics could start to work as a kind of cycle. AI finds a proof, AI makes it short and readable, and people take the new ideas from it and build on them. That is exactly what is happening now: within a week of the original proof, mathematicians are already working with the readable version. The same applies outside mathematics. With long computer programs or complex designs made by AI, too, people need a short, understandable version before they can trust the work and improve it.
What is the technological singularity? Read the explanation →