Claude's Riemann proof shrinks from 17 million lines to 75,000
A week ago, Anthropic mathematician Levent Alpöge said he and Claude had proved the Riemann hypothesis. The proof was about 17 million lines of computer code. A new report says it's now more than 99 percent shorter. That could let experts actually follow a proof of math's most famous open problem for the first time.

What's going on
The Riemann hypothesis is widely seen as the most famous unsolved problem in mathematics. On Friday, November 20, 2026, Levent Alpöge posted a four-page note on his website. Alpöge is a number theorist at the AI company Anthropic. In the note, he says he proved the hypothesis together with Anthropic's own AI model, Claude. The proof didn't come as a research paper, though. It came only as code for Lean. According to PRESS Insider, that was an archive of about 17 million lines.
Now the Spanish platform Menéame reports a new development: Anthropic researchers have used Claude to shorten the proof to just over 75,000 lines. That's a reduction of more than 99 percent. For mathematics, this may matter more than the original announcement, because a proof that much shorter has a far better chance of being understood by humans. Only then can anyone learn from it. The report doesn't say exactly how the cut was achieved, or whether the new version has been independently checked yet.
What the Riemann hypothesis says
Bernhard Riemann proposed the hypothesis in 1859. It describes how the prime numbers are spread out along the number line. Primes are numbers divisible only by 1 and themselves, and every other whole number can be built from them. The further you count, the rarer they get. According to the New York Times (as cited by Hoodline), about 25 percent of the numbers up to 100 are prime, but only about 7.8 percent of those up to one million.
Formally, it's about the zeta function, a function whose zeros are closely tied to how the primes are distributed. The hypothesis states that all "nontrivial" zeros have real part one half, which means they all sit on one particular line. According to the Clay Mathematics Institute, the first ten trillion of these zeros have been checked by computer, and every one fits the hypothesis. But that isn't a proof covering infinitely many cases. The hypothesis is one of the institute's seven Millennium Prize Problems, each carrying a $1 million prize. David Hilbert had already put it on his 1900 list of 23 great open problems. Many results in number theory currently hold only if the hypothesis is true. A proof would secure all of them in one stroke.
Alpöge says his method also proves the generalized Riemann hypothesis, which extends the statement to a much larger family of similar functions.
How Claude and Alpöge did it
Alpöge writes that he first steered the work toward connections between techniques that had only worked in simpler settings. Later came theta lifts and automorphic forms, which are advanced tools of modern number theory. Ideas from older results about functions over finite fields were added too. A timeline in his note runs from October 6 to November 16. Alpöge says Claude put it together itself. By that timeline, the generalized version was also proved on November 16.
Alpöge explicitly credits the final steps to the AI:
"Claude left me far behind just before the finish line. No, Claude flew, danced and sparkled just before that finish line."
He openly admits he hasn't yet fully mastered the mathematics around the argument. He and Claude tried to write the proof up as readable text. According to a footnote, that produced more than 250,000 pages. Publishing those would be a "travesty of 'slop'," he writes. Slop is internet slang for low-quality, mass-produced AI content. So at first only the Lean code was released. Alpöge says he still wants to understand the argument, simplify it and write it up properly. The reported cut to 75,000 lines would be a big step in that direction.
How you check a proof like this
Lean is a proof assistant, a program that checks every single logical step of a proof. You can't talk it into anything. A statement either follows strictly from the assumptions or it doesn't. If the code compiles without errors, that's taken as strong evidence that the logic holds.
The first checks came back positive. According to Scientific American, Andrew Sutherland, a number theorist at MIT, compiled the code independently that same Friday. He said the Lean kernel had rechecked the proof "with only the three standard axioms." His verdict:
"Honestly, the probability that something is fishy here is about zero."
According to Science, cognitive scientist Simon DeDeo of Carnegie Mellon University and other researchers also compiled the code within a few hours. Sutherland also reports that two independently written checkers, nanoda and con-leche, accepted the entire proof. A con-leche run also confirmed that the five central theorems in the code match the official formulation. That formulation comes from Mathlib, Lean's main mathematics library.
Compiling isn't enough on its own, though. You also have to make sure the code really proves the Riemann hypothesis and not a slightly altered, weaker statement. Nor can any definition have been quietly bent to make the proof easier. Kevin Buzzard of Imperial College London, a specialist in formal proofs, points this out. When the reports came out, a run with Comparator was still pending. This tool from the Lean developers checks whether the proved statement is exactly the intended one. The Lean 4 Dev project puts it this way: a clean build shows that Lean accepts a proof, but it "doesn't yet tell anyone why the argument works."
Reactions: excitement, skepticism and a rival
According to the New York Times, Oxford's James Maynard thinks the proof is "98 or 99 percent" likely to be correct. But he urges a thorough check of the Lean verification. UCLA's Terence Tao writes on his blog that understanding the proof will take time, and that early analyses suggest it uses the full power of modern number theory. Cornell's Steven Strogatz called the hypothesis the "Mount Olympus" of mathematics. Rutgers' Alex Kontorovich said he was shocked, despite all of AI's recent successes.
Sharp criticism comes from Stanford's Brian Conrad. Publishing a proof you don't fully understand yourself is "frankly completely outrageous," he said. He also raised concerns about how secure the information is that people feed into AI systems like Claude.
The timing is awkward, too. The announcement came one day after Anthropic's record-breaking IPO. Alpöge writes that the breakthrough came late on Sunday night, after which he asked CEO Dario Amodei whether he could announce it. There was "a constraint to keep in mind," he says. He stresses that the obvious cynical reading of the timing is wrong. Anthropic's stock still fell on Friday, dragged down by a broad sell-off in AI stocks.
That same day, Ravi Vakil, president of the American Mathematical Society, presented an entirely different attempt at a proof. It comes from Alessandro Masullo, an independent mathematician in Rome who worked on it for almost twelve years, without any AI. Conrad was Masullo's doctoral advisor and has been reviewing his work for months. He considers it credible. About eight hours later, however, Vakil added that several people had reported problems in it, found with the help of AI models. The draft is being substantially revised, and nobody has verified it.
The big picture
If the proof holds up, it would be a historic moment for both mathematics and AI research. For the first time, an AI would have played a decisive role in solving one of math's greatest problems. It caps a year in which, according to Nature, one spectacular AI math result followed another. OpenAI announced a result on the Navier-Stokes equations in September and a proof of the weaker "quasi-Riemann hypothesis" in October. Alpöge himself presented a counterexample to the Jacobian conjecture found by Claude in July. Together with NYU's Tristan Buckmaster, he also claims that the Navier-Stokes equations can "blow up" even without external forcing, meaning a fluid can reach infinite velocity.
Plenty is still open. The Comparator run was still pending at last report. Details and independent checks on the new, shortened 75,000-line version are still missing. And even a machine-verified proof doesn't automatically answer the question mathematicians like Maynard actually care about: why the hypothesis is true. That's why the drastic shortening is probably the more important advance. Only once humans can follow the argument does a verified program become knowledge that mathematics can build on. And the fact that an Anthropic employee, using an Anthropic model, announced a once-in-a-century result the day after the IPO will keep people arguing, even if, from everything known so far, the announcement is no PR stunt.
Sources
- Menéame (ES) meneame.net
- thenextweb.com thenextweb.com
- hoodline.com hoodline.com
- pressinsider.com pressinsider.com
- dev.to #ai dev.to
- QbitAI 量子位 (CN) qbitai.com
Ask the AI assistant
Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.
The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.
Comments
What do you think? Already tried it? Write it here, no sign-up needed.
Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.