AiStream

ResearchLevent Alpöge

The Riemann Hypothesis proved with Claude, then a second major problem three days later, and no one understands the proofs yet

On November 20, an Anthropic mathematician released a proof of the Riemann Hypothesis written with Claude, 17 million lines of machine-checked code. On November 23, Anthropic released a second result, on the hardness of computation, found by Claude alone and checked by no mathematician.

By Ichai8 min read

On November 20, Levent Alpöge, a mathematician at Anthropic, posted a four-page note that opens with this sentence: "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis." He published no math paper. He published only the proof written in Lean, a language in which a computer checks every step of an argument: 175,187 files, roughly 17 million lines.

Three days later, Anthropic released a second result, in a different area of mathematics. That one was found by an internal Claude model, written up by it, and the text states plainly that no mathematician has checked it.

I code with Claude all day, and sometimes I keep code that works without having read all of it. These two proofs are at the same stage. The verification programs say they are correct, and for now nobody can explain why.

The Riemann Hypothesis

Bernhard Riemann posed it in 1859. It says where the zeros of a function called zeta lie, and from there it tells you how evenly the prime numbers are spread among the integers. Thousands of published theorems begin with "if the Riemann Hypothesis is true". Since 2000, the Clay Mathematics Institute has offered a million dollars to whoever proves it.

Alpöge also proves a broader version, for a family of related functions called Dirichlet L-functions. In his note, he reproduces the log Claude kept during the work. It starts on October 6 and ends on November 16 with a single line, "GRH", for the Generalized Riemann Hypothesis. He has not said which Claude model he used.

What the machine checked

A Lean proof does not ask you to trust its author. You hand it to a program that checks every step. Andrew Sutherland, a mathematician at MIT, ran those checks himself, with Claude Code, and posts the results on a page he keeps updating. All 175,187 files compile without errors. Lean's checker accepted the entire proof after 48 hours of computation on a single processor. Two other checkers, written by other people, accepted it too. And the proof relies only on the three starting axioms Lean always allows, with nothing extra hidden in.

Andrew Sutherland's verification page at MIT.
Andrew Sutherland's verification page at MIT.

On November 21, the team that develops Lean and the team behind Mathlib, the large library of mathematics written in Lean, issued a statement certifying that both the statement and the proof are correct. That matters, because a correct proof of a badly written statement proves nothing. The statement used is the one already in Mathlib, written by humans long before this proof.

This is indeed an historic moment… The world has changed… to me this is a human triumph, and a day for celebration.

Scott Aaronson, a computer scientist at the University of Texas, is betting the proof will hold. He also points out that bugs in Lean's checker have, in the past, made it possible to "prove" that 0 equals 1. An AI determined to get a proof through at any cost could exploit that.

Nobody understands it

Mathematicians are not satisfied with a verified proof. They want to know why the result is true, and that is what is missing. Terence Tao, one of the best-known mathematicians in the world, writes on his blog that the proof seems to draw on the full power of recent work in the Langlands program, and that digesting it will take time.

At the minute, we don't even know why the theorem is true… It's 17 million lines of Lean code, and this might correspond to tens of thousands of pages of mathematics… nobody understands the proof of it. That will change. In a matter of weeks, that will change.

Kevin Buzzard, mathematician at Imperial College London, Al Jazeera

Alpöge is not much help. In his note, he claimed to have passed 250,000 pages. On November 23, he clarified that this was a joke, and that the Lean code is "full of garbage obviously, but compiles". He says a good share of it is probably unnecessary.

levent@__alpoge__Stupid things I did: 1. 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. 2. 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… 3. @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…) 4. 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.1.2K1.6K18.2K

The note also came out the day after Anthropic's IPO. Alpöge writes that he had finished on November 16, that he waited, and that he knows the timing may look calculated.

The million dollars will not arrive any time soon. The Clay Institute's rules require the proof to appear in a recognized journal, and then two years must pass before any decision.

The second result, found by Claude alone

On the evening of November 23, Thomas Steinke, a researcher at Anthropic, added a folder to Anthropic's math repo on GitHub. It contains a paper signed "Claude (Anthropic)" and its proof in Lean, 324 files and 72,932 lines.

The vp-vnp folder in Anthropic's formal-math repo.
The vp-vnp folder in Anthropic's formal-math repo.

The result concerns a question Leslie Valiant asked in 1979, a cousin of the famous "P versus NP" problem. It compares two very similar computations on a grid of numbers with m rows and m columns. The first, the determinant, is fast to compute, even for a huge grid. The second, the permanent, has almost the same formula, with plus signs in place of some minus signs, and nobody has ever found a fast way to compute it. Valiant's question: is that impossible?

Claude's paper says yes. Any circuit that computes the permanent using additions and multiplications needs more than m^(c·(log m)^(1/3)) operations, a quantity that eventually outgrows any power of m. Before this paper, according to the paper itself, the best known bound went no further than roughly m² × log m. The paper is clear that this does not settle "P versus NP". Its result applies to circuits that compute with numbers, not to computers that compute with 0s and 1s.

The repo page is remarkably candid:

The result was discovered by an internal research Claude model. … Both were written by AI models, and no human mathematician has checked the proof.

It adds that Lean checks proofs, but no machine checks that the statement file actually says what is being claimed. That is the weak spot. Here, no human wrote the statement.

On Hacker News, where the thread passed 300 points, a developer going by fons tried to close that gap. He had Claude agents rewrite the statements from textbooks, without looking at Anthropic's repo, then had them prove that Anthropic's theorems imply those independent statements. Lean accepts it, with minor discrepancies on edge cases. His repo says so itself: no human has reviewed his statements either. Another commenter, who says he has worked in the field, rates it a result worthy of the top theoretical computer science conferences, and also sees it as publicity for the IPO.

Not the first time

Since October 27, the same repo has held another result found by an internal Claude: an algorithm that solves 3-SAT faster than the Exponential Time Hypothesis, formulated in 2001, allows. If the proof is correct, that hypothesis is false. In August, Alpöge and Ralph Furman had added the formal proof that more than two thirds of the zeros of the zeta function are where Riemann predicted. And in October, OpenAI had published 722 math papers written by its own model.

On the same day as the Riemann note, Tao also flagged two proofs written by Alpöge and Tristan Buckmaster "with heavy AI assistance", on the equations that describe how fluids move.

On November 22, Alexandr Wang, who runs AI at Meta, reacted on X: "Superintelligence is arriving." He added: "We should not be okay with a 'handover' of society to AI."

My takeaway: going by Alpöge's log, Claude spent six weeks on a question open since 1859, and machine verification took three days. The work that remains, understanding the proof, now belongs to humans.

Spec sheet

Riemann HypothesisVP ≠ VNP
ReleasedNovember 20, 2026, alpo.ge/remark.pdfNovember 23, 2026, anthropics/formal-math
WhoLevent Alpöge with Claude (model not specified)an internal research Claude model, posted by Thomas Steinke
Statement provedRiemann Hypothesis, and the generalized version for Dirichlet L-functionspermanent and Hamiltonian cycle polynomial: more than m^(c·(log m)^(1/3)) gates over any field
Size175,187 Lean files, roughly 17 million lines, 61.6 GB once exported324 Lean files, 72,932 lines, PDF paper by Claude
VersionLean 4.33.1, Mathlib 4.33.1Lean 4.33.1, Mathlib at commit 0df444a
Axiomspropext, Classical.choice, Quot.sound onlypropext, Classical.choice, Quot.sound only
CheckersLean kernel (48 h on one core), nanoda (27 min on 80 threads), con-leche, lean4lean, ComparatorLean kernel, nanoda and Comparator in the repo's continuous integration
Statement reviewed by humansyes, Mathlib's, certified by the Lean FRO and Mathlib on 11/21no, judged only by AIs
Proof understood by a humannot yetnot yet
Prize$1 million from the Clay Institute, after journal publication and a two-year waitnone

Sources

Read the source

Up next