Science & Technology · 4 min read
Lean Communities Certify Claude-Assisted Riemann Proof
Lean and Mathlib communities certify Alpöge's 17-million-line, Claude-assisted Riemann proof as correct. Clay's $1 million prize still requires publication and a two-year wait.
Key takeaways
- Lean and Mathlib communities certified Alpöge's 17-million-line Lean proof of the Riemann hypothesis, released Nov. 20.
- Two independent statement-matching tools and multiple proof checkers, including third-party ones, accepted the proof export.
- Certification used four criteria set Nov. 12 by Kevin Buzzard's Xena Project blog for judging AI-generated Lean code.
- Clay's $1 million prize requires qualifying publication, a two-year wait, and general acceptance; no Clay statement exists.
- Metaculus forecasters had expected the problem's resolution in May 2035; Tao predicted around 2050.

The Lean and Mathlib communities have certified Levent Alpöge's machine-checked proof of the Riemann hypothesis as correct, both in statement and in argument. The proof, released on Nov. 20 as a 17-million-line Lean library written with Anthropic's Claude models, now carries an endorsement few mathematical claims ever reach. "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement," the communities wrote in a joint statement on the Lean community blog, endorsed by the Lean FRO and the Mathlib Initiative.
Alpöge, a mathematician at Anthropic, released the proof as a Lean library built with the company's Claude models. The community statement says members "rallied" over the following day to check it and "hereby certify that both the statement and the proof of the Riemann Hypothesis are correct." The Decoder first reported the confirmation in English-language news on Sunday.
What exactly was checked?
The certification measures the proof against four criteria set out on Nov. 12 by Kevin Buzzard's Xena Project blog for judging AI-generated Lean code. The tests ask whether the Lean statement matches the real theorem, whether the code compiles, whether it proves that statement, and whether the proof itself is valid. The communities say all four are met.
The statement of the hypothesis is not Alpöge's own wording. It is the definition already sitting in Mathlib, Lean's human-reviewed mathematics library, which the statement says has been "carefully vetted by experts in Lean and number theory." The community added a file stating the hypothesis using only Mathlib imports, then compared it against the theorem in Alpöge's library with two independent tools: comparator and con-leche's compare mode. Both found an exact match.
That check matters more than it might appear. A Lean proof is only as strong as its headline statement, and lookalike statements can be trivially false. The Xena post offers a cautionary example: a two-line Lean version of Fermat's Last Theorem that compiles cleanly yet proves nothing, because Lean's natural numbers include zero. The theorem certified here must be Mathlib's definition, not a convincing impostor.
Compilation checks were equally public. "Dozens of people" built the codebase and reproduced the same raw proof export file, according to the statement. That export was then accepted by Lean's official kernel, by the con-leche and con-ron checkers, and by several third-party checkers written in different programming languages. The checks ran on an inert export, out of reach of any malicious code hiding in the Lean sources.
What formal verification does and does not show
The communities also confronted the worry that Lean's own logic might harbor a flaw a proof could exploit. The con-leche and con-ron checkers carry a formal proof, relative to set theory, that they cannot accept a false proof. MIT mathematician Andrew Sutherland, whose page lists the checks and says they were run with Claude Code, reports that the five headline theorems depend only on Lean's three standard axioms.
Those theorems reach beyond the classical hypothesis. Sutherland's page lists versions for every Dirichlet L-function, including the form in which the Generalized Riemann Hypothesis is usually stated. As of his last update at 04:35 UTC on Nov. 22, one comparator run and one Lean-kernel replay of the export were still in progress.
Machine verification settles correctness, not comprehension. The community statement closes by looking forward to work "that will help explain the new ideas in this proof." Alpöge's own note said an informal AI-generated write-up ran past 250,000 pages, which is why he chose to present only the Lean code. A quarter of a million pages of exposition would strain any referee's patience; the formal library at least compiles.
Why the Clay prize remains distant
The result arrived well ahead of expectations. Forecasters on Metaculus had put the expected date at May 2035, and Terence Tao said last month he expected the problem to fall to "a combination of humans and AI around 2050 or so," The Decoder reported. The machines beat the forecast by roughly a decade, depending on how one counts the humans supervising them.
The Clay Mathematics Institute lists the Riemann hypothesis among its seven Millennium Prize Problems, each carrying $1 million. Its rules require that a solution be published in a qualifying outlet, that at least two years pass after publication, and that the work win "general acceptance in the global mathematics community." The institute does not accept direct submissions. No Clay statement on the proof was found.
A 17-million-line library is not a journal article, and the Clay rules were written for the latter. Publication in a qualifying outlet may prove the harder formalization problem here. Meanwhile, the community's certification stands as the strongest available evidence that the millennium's most famous conjecture has fallen, with the explanation of why still to come.
mlq.ai (Source)
More from Nathan Brooks
Show full bio
Senior reporter covering people, launches and day-to-day practice in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.
1,212 articles