What happened
Levent Alpöge says his claim of a 250,000-page write-up was a joke and accepts criticism that his Lean code is messy, while maintaining that it compiles. In the quoted post, he says long arguments are raw material for developing definitions and that number fields lack an “H^1 object.” Baoyu’s account also reports that Lean FRO, Mathlib, and MIT mathematician Andrew Sutherland checked the proof.
Why it matters
Alpöge’s distinction between a Lean proof that compiles and code that is readable shifts the debate toward what formal verification can establish, while his stated goal remains finding the definitions that explain why the result holds.
Alpöge Responds to Riemann Hypothesis Proof Controversy: "250,000-Page Document" Was a Joke, Lean Code Is Poorly Written but the Proof Holds
Levent Alpöge, the Anthropic mathematician who proved the Riemann Hypothesis using Claude, posted "Stupid Things I Have Done" on X, directly addressing the recent controversy.
First, the bottom line: the proof itself is sound. The correctness of the 17 million lines of code has been officially verified; what he apologized for was "joking in his phrasing" and "messy code," while pointing out the mathematical significance of this proof that is truly worth reflecting on.
1. Debunking and Apologizing: Three Things He Clarified
• The "250,000-page document" was a joke: He didn't want to pair the Riemann Hypothesis with a padded, AI-generated explanation, yet felt he couldn't write a readable version himself. So he decided to exaggerate the word count in Lean just to amuse himself—even writing at the beginning of a theorem that "because the real numbers are totally ordered, when something is not equal to 1/2 it is either greater than 1/2 or less than 1/2." He thought such absurd nonsense would be immediately obvious as irony, only for the media and academia to take it completely seriously.
He apologized for this, remarking that he finally understands why Terence Tao advises people "not to make jokes in papers." (He also added a self-deprecating note: he had previously accumulated 60,000 pages of AI drafts while working on 4D Yang-Mills existence, only for the review committee to say "we want to see Lean," making him feel that slogging through drafts was a complete waste of time.)
- The code is indeed "full of garbage," but it compiles: He admitted that the 17 million lines of Lean code contain many detours and redundancies from his own "yolo" trial-and-error attempts, the vast majority of which may ultimately go unused—it's just strangely difficult to clean up, and he fully accepts all criticism of the code quality.
- Admitting a history of procrastination: Fellow mathematician Scott Armstrong saw right through him; even back in his student days, he had theorems that took nearly a decade to write up. This time, he promised to be more responsible and condense the proof.
2. The Core Fact: No Matter How Ugly the Code, the Proof Still Holds
In formal verification, "hard to read" and "correct" are two different things:
1). Lean's official organization (Lean FRO) and Mathlib have jointly certified: the theorem statement does not move the goalposts, dozens of people independently compiled it with identical results, and the proof holds.
- MIT mathematician Andrew Sutherland independently ran the verification: the proof uses only Lean's three standard axioms, with no cheating.
- The Most Inspiring Point: Why Is He Still Dissatisfied After Proving It?
Alpöge said he left out the key point he truly wanted to emphasize in his statement:
This long, messy brute-force argument is itself just "raw material"—its real purpose is to help mathematicians reverse-engineer the "right definitions."
Decades ago, Weil and Deligne cleanly proved the "simplified Riemann Hypothesis" for curves over finite fields by relying on a mature set of geometric tools; but for ordinary integers (number fields), the mathematical community still hasn't found the corresponding core structure (what he calls the missing "H¹ object").
In his own words: "The Riemann Hypothesis ought to be simple. Any real difficulty just shows that our current mathematical framework is still stupid."
4. A New Landscape Left to the Mathematical Community
This event has pushed mathematics to an unprecedented watershed: machines have confirmed "it is true," but humans still don't know "why it is true."
After an initial look, Terence Tao noted that the proof appears to deploy the full arsenal of the modern Langlands program and arithmetic geometry; other mathematicians have also remarked that Lean code cannot answer the "why" that mathematics cares about most.
Under the Clay Mathematics Institute's million-dollar prize rules, the proof must still be formally published in a journal for two full years and gain consensus in the academic community.
Related links:
Alpöge's original post: x.com/__alpoge__/status/21249…
Lean official joint statement: leanprover-community.github.i…
MIT verification page: math.mit.edu/~drew/grh/
Quanta report: quantamagazine.org/update/168…
Stupid things I did:
- 250,000+ pages was a joke guys!, I find big number extremely hilarious. I tried to make it clear by the level of pedantry of the reals total ordered statement in the main theorem, but people ran with it unfortunately and I didn’t feel like talking on social media in the days after the announcement, though I did have a good time with the memes. Sorry!!! (Similarly with our YM4 existence I found it extremely funny that we were slowly working through 60,000 pages of slop, though the committee asking for Lean made me feel dumb about wasting our time with that. But 60,000 funny.) Tao advises to not joke in papers, see also the Big Lebowski reference I shoehorned, I now understand why… I didn’t feel comfortable having any slop writeup attached to this problem, and I figured I can’t produce anything readable anyway, so I went off the Lean to lengthmaxx.
- The Lean is full of garbage obviously, but compiles, but all criticism of such garbage is totally reasonable and accepted, I should have cleaned it up but it was randomly difficult to for various strange reasons. Mea culpa…
- @scottnarmstrong clocked me, indeed even as a student there were theorems that took me the better part of a decade to write up, but with this one I should hopefully be more responsible. (I really was yoloing a lot in there, I bet most is unnecessary in the end, admittedly the lazy thing to do would be to wait because it’ll simplify massively…)
- I forgot to emphasize what I think is the point. Arguments like these, cool, but they are the raw inputs when interpolating definitions. We don’t have the / an “H^1 object” over number fields, and probably for a layperson the fact that we fight hard for these arguments for the purpose of definitions is not clear a priori (that’s at least my philosophy). Just like I knew I must fight for an utterly simple Weil / Deligne, I feel Riemann should be easy, and any real difficulty is an indication our setup is just dumb at the moment.
The story so far
Anthropic mathematician Levent Alpöge claimed he and Claude discovered a Lean-formalized proof of the Riemann Hypothesis, and Anthropic researcher Luke Sernau and colleagues later rewrote it into a compact 76,000-line version—down from about 17.4 million lines—that passed Lean’s kernel replay and independent checkers, though no mathematician has read the full proof or published a paper. Alpöge initially posted a four-page note and 14 archive files without a full paper or license, saying he guided the approach for six weeks while Claude handled execution. Alpöge said the method extends to the Generalized Riemann Hypothesis without assumptions, and Kevin Weil wrote on X that they may have proved both conjectures. Following criticism, Alpöge said his 250,000-page write-up claim was a joke, accepted that his code was messy while maintaining it compiles, and acknowledged not fully understanding all the mathematics; he also said on X that he received death threats. Sernau’s team open-sourced their rewrite under Apache 2.0, including a 300,000-line documented version, while Baoyu reported on X that Lean FRO, Mathlib, and MIT mathematician Andrew Sutherland checked Alpöge’s proof. In a Numberphile interview, Fields Medalist James Maynard said the proof appears likely to be correct and understandable, noting a new proof of the Weil conjectures within it. Ars Technica’s John Timmer noted mathematicians are still working through the Lean logic, and the Clay Mathematics Institute—requiring at least two years of scrutiny for its $1 million Millennium Prize—has not accepted it.
How the story developed · 2
View full event- 11/26 10:20 (UTC+8)Anthropic Researchers and Claude Rewrite a Formal Riemann Hypothesis ProofQbitAI
- 11/24 14:08 (UTC+8)
Levent Alpöge Responds to Criticism of His Riemann Hypothesis Proof This report
