
A Riemann hypothesis proof that Anthropic mathematician Levent Alpöge built with Claude has passed the Lean proof assistant’s checks and several independent ones. The people who maintain Lean say they have “full confidence” it is correct.
What nobody can yet say is why it works. The proof is about 17 million lines of computer code, and no mathematician has read it through.
That gap is now the story. A proof that only a machine has followed would settle a 167-year-old question, if it holds, but gives mathematicians little they can build on yet.
More than 200 people are working to decode it, WIRED reported. On Wednesday a rewrite under 1% of the original’s length went up on GitHub, and an MIT mathematician has already rechecked it.
What the Riemann hypothesis says, in plain terms
Prime numbers thin out as numbers grow, and mathematicians have known the average rate since the 1890s. The Riemann hypothesis is about how far the real count of primes can stray from that average. Bernhard Riemann tied the question in 1859 to a function now called the zeta function.
It starts as the sum 1 + 1/2ˢ + 1/3ˢ + 1/4ˢ and so on, and is extended to complex numbers. The function equals zero at -2, -4, -6 and every other negative even number, the “trivial” zeros.
Riemann guessed that every other zero sits on one vertical line, where the real part is exactly 1/2. If so, the primes stray from their average by about as little as they possibly could.
The Clay Mathematics Institute notes that the first 10 trillion zeros have been checked. That is evidence, not proof, and Clay put a $1 million prize on a proof in 2000.
Alpöge’s code claims more than that. Its five main theorems cover the classic hypothesis and the “generalized” version for a wider family called Dirichlet L-functions, according to the verification report by MIT mathematician Andrew Sutherland. Still stronger versions are not covered.
What the Lean check proves, and what it can’t
Alpöge posted a four-page note on Friday, Nov. 20. “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis,” he wrote. Alpöge is a number theorist on leave from Harvard, Nature reported.
His note dates the first idea to Oct. 6 and the finished generalized result to Nov. 16. He released no paper, only the Lean files.
Lean is a programming language in which every step of a proof must follow from the last. A small core program, the kernel, checks each one.
The day after the release, the Lean Focused Research Organization and the Mathlib Initiative published a joint statement. Dozens of people had compiled the code and produced the same output, it said.
Two tools confirmed the final theorem is Mathlib’s own, expert-vetted statement of the hypothesis. Lean’s official kernel and several independent checkers, written by different people, accepted the proof.
Sutherland’s report adds the detail. The proof uses only the three standard axioms that Lean’s main library is built on, and the original runs to 175,187 compiled modules.
Lean’s own kernel needed 48 hours on one processor and 82.6 GiB of memory to check it. That is beyond almost any laptop, so most mathematicians cannot rerun the check themselves.
A Lean check rules out a logical gap or a hidden extra assumption. It still depends on the statement being defined correctly in Mathlib, and on the checking software having no bug, which is why several independent checkers were run.
And it offers no explanation at all. The joint statement says it looks forward to work that will “help explain the new ideas in this proof.”
Why mathematicians still can’t follow the 17-million-line proof
“At the minute, we don’t even know why the theorem is true,” Kevin Buzzard, a mathematician at Imperial College London, told Al Jazeera. Andrew Granville of the University of Montreal was blunter about Alpöge’s note. “What he released is garbled,” he told Nature.
Alpöge’s note says he chose not to post a “massive unreadable travesty of ‘slop'” and to release only Lean. A footnote says he had produced more than 250,000 pages. On Monday he said on X that the figure was a joke, and that the Lean “is full of garbage obviously” but compiles, WIRED reported.
Abhishek Saha of Queen Mary University of London is one of the people trying to decode it, using OpenAI’s Astra model to turn sections into shorter documents and one-page posters. “Knowing there is a proof is one thing,” he told WIRED, “but when we understand the proof, that would allow us to actually go beyond what has happened.”
More than 60 people are using AI agents on a platform called Principia Math to translate pieces of the code into ideas. They have done more than 3,000 pieces so far, and the platform’s chief executive, Anton Shakov, expects the work to take months.
The timing drew criticism too. The release came days after Anthropic’s IPO, as its shares were falling, and Granville linked the two. “There is an obvious cynical view, to do with the timing, but it is false,” Alpöge wrote in his note.
A 76,000-line rewrite went up on Wednesday
On Nov. 25 a much shorter version appeared on GitHub. Its README says it was “produced in collaboration with my colleagues at Anthropic, and Claude,” based on Alpöge’s proof.
It comes in a readable edition of about 300,000 lines of code and a compact one of about 76,000. Both prove the same five theorems. The Lean community’s own clean-up project has switched to the readable edition.
The shrinkage changes who can check the work. Sutherland’s report on the new version, last updated early Thursday, says both editions compile and use only the three standard axioms. Three independent checkers accepted them.
Lean’s kernel checked the readable edition in about half an hour with under 8 GB of memory. For the original, the same check took two days on a machine with more than 80 GB.
The rewrite’s README is plain about its limits: “No mathematician has read it through, and no paper comes with it.”
Is the Riemann hypothesis solved yet?
Not by the standards that award the prize. Under Clay’s rules, a solution must be published in a qualifying outlet, then wait at least two years, and also win “general acceptance in the global mathematics community.” A Lean file on a website meets none of those yet.
Nature reports that the mathematics community has broadly accepted the claim, though reactions vary widely. “If this fully checks out, it is clearly a historic milestone in mathematics,” Oxford’s James Maynard, a Fields medalist, told Nature. Maynard also said he suspects it will turn out to be correct.
There is a twist, too. Hours after Alpöge’s note, Stanford’s Ravi Vakil posted a rival, entirely human-written proof by Alessandro Maria Masullo, which Vakil called a “hurried announcement.” Neither proof has been through peer review.
Alpöge wrote that he intends to “write it properly.” That paper, and the translation effort Buzzard expects to make progress within weeks, are the next tests. The Musk-versus-LeCun argument the claim set off is in our earlier piece.
Disclosure: Anthropic makes Claude, which BreezyScroll uses to help draft articles.