Skip to main content
AI Socratic

Anthropic mathematician and Claude prove the Riemann hypothesis in Lean

6 min readNovember 24, 2026
Anthropic mathematician and Claude prove the Riemann hypothesis in Lean

On Friday, November 20, a mathematician at Anthropic put a four-page note and 14 archive files on his personal website. The note, by Levent Alpöge, says that he and Claude found a proof of the Riemann hypothesis, the conjecture that every nontrivial zero of the zeta function has real part 1/2. A day later the Lean FRO and the Mathlib Initiative certified that the formal proof is correct.

So the most famous open problem in mathematics, posed in 1859, now has a proof that a computer has checked line by line and that no person can yet explain. Both halves of that sentence matter, and the second is where the work is now.

What was released

There is no paper. Alpöge published a Lean library of about 17 million lines, and his note says why: Claude's natural-language version of the argument ran past 250,000 pages, and he judged it wrong to post something that long and unreadable. He calls the formalization finished and the understanding barely started, and he says he intends to simplify the argument and write it up properly.

The note claims more than the classical hypothesis. It says the method reaches the generalized Riemann hypothesis and, with more time, should reach the extended one. Andrew Sutherland's verification page at MIT is more precise about what the code proves: five headline theorems, two stating the Riemann hypothesis for the zeta function and three stating it for every Dirichlet L-function. Dedekind, Hecke and general automorphic L-functions are not in the library.

The size is easier to picture from Simon Alford's independent run: 14 files of about 239 MB compressed, 813,194 declarations, and a build that took 14 hours 27 minutes on 64 CPUs with 160 GB of memory.

What "certified" means

A Lean proof can be wrong in ways that have nothing to do with the mathematics. The statement can be subtly different from the real conjecture, a symbol can be redefined so that the theorem becomes trivial, an extra axiom can be slipped in, or the checker itself can have a bug. The joint statement answers each of these in turn:

  1. The statement is the right one. The theorem is Mathlib's own RiemannHypothesis, which Lean and number theory experts had already vetted.
  2. The library compiles. Dozens of people reported clean builds that produce the same proof export.
  3. The code proves that statement. A separate file that imports only Mathlib was compared against the proved theorem with two tools, comparator and con-leche.
  4. The proof is valid. The export passed Lean's kernel and several independent checkers written in other languages.

Sutherland's page adds the detail. The five theorems depend only on Lean's three standard axioms (propext, Classical.choice, Quot.sound). The Rust checker nanoda accepted the proof in under 28 minutes on 80 threads; Lean's default kernel took 48 hours on one thread and peaked at 82.6 GiB of memory; a comparator run took 64 hours. A few slower checks were still running when the page was last updated on November 23. Quanta reports that Sutherland was the first to compile the library, shortly before noon on the day it appeared, and that Simon DeDeo at Carnegie Mellon followed a few hours later.

The statement's own words are plain: "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct." It says nothing about anyone understanding the proof, and it does not mention the generalized hypothesis.

How the proof came about

This was not a single prompt. The note describes a mathematician who had planned to spend decades on this problem, working with Claude for about six weeks. Its timeline starts on October 6 and ends with an entry for November 16 that reads, in full, GRH.

Alpöge says he supplied the direction: an argument descended from Stepanov's proof of the Riemann hypothesis over function fields, rebuilt for the integers. The idea he credits to Claude is to chain theta lifts so that each one stands in for the "multiplicity" that Stepanov's method needs, with the length of the chain growing like the square root of the length of the prime sum being studied. He writes that Claude outpaced him near the end, and that parts of his own summary paraphrase material he has not yet mastered.

He also expects the proof to shrink. In his words it contains far more mathematics than he thought would be needed, and he thinks short arguments will follow quickly. Terence Tao's first read is that the argument appears to use the full power of the Langlands program and arithmetic geometry, and that digesting it will take time.

Quanta contrasts this with OpenAI's October release of 377 results, most of which came from a simple prompt and which included proofs of the weaker quasi-Riemann hypothesis.

What is still open

Understanding. Maksym Radziwiłł of NYU, whom Alpöge thanks in the note, told Quanta that checking symbols is not the goal of mathematics and that the four-page note contains statements that do not make sense to him. The Association for Human Mathematics went further on the day of the release, arguing that no person can claim to understand the document and calling for mathematics to stay independent of AI companies. On the other side, Scientific American quotes Sutherland calling it a historic moment, while also saying that most of the work of understanding the details is still ahead.

The prize. The Clay Mathematics Institute offers $1 million for the problem. Its rules require publication in a qualifying outlet, two years after publication, and general acceptance by mathematicians before it will consider a solution. A Lean archive on a personal website meets none of these yet.

A second, human proof. The same day, Quanta reports, Ravi Vakil, the president of the American Mathematical Society, posted a 940-page manuscript by Alessandro Masullo, a Stanford postdoc, that claims the generalized hypothesis with no AI involved. Brian Conrad has been reading it for months. Quanta notes that an earlier attempt by Masullo did not hold up, so number theorists are waiting.

The timing. The announcement came one day after Anthropic's stock-market debut, per Scientific American. Alpöge addresses this directly: he calls the timing horrible, says the result came together late on a Sunday night, and says the cynical reading is false. The note is on his own site, not Anthropic's.

What it means if you build with AI

Three things, and the third is speculation.

First, the unit of trust has changed. Nobody verified this result by reading it. They verified it by pinning down a short statement, then running independent checkers over an artifact too large to read. That is the same shape as any system where a model writes more than a person can review: the specification and the checker carry the weight, and the generated bulk does not need to be read to be trusted. It is worth noticing how much effort went into step 1, agreeing on what the statement says.

Second, the pace of formalization is the leading indicator. Anthropic's formalization of Fermat's Last Theorem took a swarm of agents 11 days; Quanta reports that by November 9 the same job took 30 hours. A 17-million-line proof of a new theorem arrived eleven days after that.

Third, "correct but not understood" is now a state a result can be in for a long time. Alpöge's bet is that the simplification comes fast. If it does not, mathematics will have a theorem it can use and cannot teach, and other fields that adopt machine-checked work should expect the same gap.

Sources

Levent Alpöge: note announcing the proofLean FRO and Mathlib Initiative: joint statementLean on X: the joint statementAndrew Sutherland (MIT): verification filesTerence Tao's blogSimon Alford: Personally verifying the Riemann hypothesis proofQuanta Magazine: TransformationScientific AmericanAssociation for Human Mathematics: statementClay Mathematics Institute: Millennium Prize rulesMirza on X: map of the Lean proof (cover image)riemann-rev: independent status dashboard

About the Authors