Skip to main content
Industry Playbooks

Claude helped prove the Riemann Hypothesis. A compact version with 76,149 lines of code passed independent checks, too

The compact Riemann Hypothesis proof passed on two machines. James Maynard points to a new argument for Deligne's result on the Weil conjectures.

By

Tenten AI Delivery Team

Industry Delivery

Published

Read time

10 min

Claude helped prove the Riemann Hypothesis. A compact version with 76,149 lines of code passed independent checks, too

Two shorter Lean editions of the Riemann Hypothesis proof were published on November 25, 2026. MIT mathematician Andrew Sutherland reports that independent runs on two machines accepted the compact edition, which contains 76,149 lines of code and proves the same five theorems as Levent Alpöge's original collaboration with Claude. In a Numberphile interview two days later, Oxford number theorist James Maynard pointed to a mathematical idea already visible in the original proof. Verification of the shorter proofs · Numberphile interview

The news reached Maynard in his hotel room during a conference in China marking Riemann's bicentenary. He had already turned in slides for a talk called “The Riemann Hypothesis: Past, Present and Future,” which he gave the next day. What worried him was the form of the release. He could read the announcement, but that gave him little idea how mathematicians would find their way through the code. Maynard on hearing the news, 00:42

The checkers agreed on the statement as well as the proof

The Riemann Hypothesis says that every nontrivial zero of the Riemann zeta function has real part 1/2. Bernhard Riemann proposed it in 1859. Its truth puts tight bounds on the error in estimates of how many primes lie below a given number. Checking even trillions of zeros leaves the general claim to prove. Clay Mathematics Institute overview · Sutherland's statement and arithmetic consequences

Alpöge, a mathematician at Anthropic, released the original as a Lean library on November 20. Its 175,187 files contained 17,374,215 lines, of which 15,531,759 counted as code. The 250,000-plus page figure circulating in accounts of the story came from a mechanically expanded document he tried making. The release consisted of Lean and his accompanying remarks. Alpöge's remarks · Original verification report

The Lean FRO and Mathlib Initiative certified the proof on November 21. Two independent tools matched Alpöge's statement to the formulation experts had vetted for Mathlib, Lean's mathematics library. Lean's own kernel and several independently written checkers then accepted the static proof export. The comparison matters. A checker could correctly verify a theorem about a weaker statement and still leave the intended problem open. Joint verification statement

The compact edition has 76,149 code lines and the readable edition has 299,902. Both prove the same five theorems.

The compact edition passed twice, even with a larger export

The shorter Lean proof of the Riemann Hypothesis comes in a “readable” edition with 299,902 code lines and a “compact” one with 76,149. Both totals exclude comments and blanks. Both editions prove the same five statements, including the classical hypothesis and its generalization for Dirichlet L-functions. Sutherland's full check accepted both editions on the larger machine and the compact edition on a second machine. The readable edition's second run stopped without a verdict because one checker needed more memory. Shorter-proof audit and logs

The compact edition's proof export was about 5.17 GB. The readable edition's export was about 4.49 GB. Source length counts the text a maintainer works with. Export size measures the data after Lean has filled in the details. A team that wants a result it can recheck and explain needs to know which of those costs it has reduced. Sutherland's export comparison

The Clay Mathematics Institute has a separate standard for considering a solution for the Millennium Prize. Its published rules require publication in a qualifying outlet, at least two years since that publication, and general acceptance within the global mathematics community. Millennium Prize rules

Maynard points to a new argument for Deligne’s result

In Alpöge and Claude's original proof of the Riemann Hypothesis, Maynard singled out a surprisingly concrete argument for Pierre Deligne's celebrated result on the Weil conjectures. The Weil conjectures deal with an analogue of the Riemann Hypothesis in a different mathematical setting. Mathematicians had long wanted to carry ideas from that setting over to the classical problem. Maynard's interest was in the new way of establishing the earlier result, which he said made the analogue more manageable from the point of view of analytic number theory. Maynard on the Weil conjectures, 05:14

Alpöge's account identifies choices his collaborator made. He says he guided the move from a simpler setting into an analogous one. He credits Claude with proposing the length of a chain of mathematical operations at a crucial step. Maynard called Alpöge's contribution substantial and credited the model with much of the hardest work. The two accounts give readers something more precise to discuss than an estimate of each party's share of the credit. Alpöge's account · Maynard on credit, 07:47

James Maynard asks AI to explain a special case before he tries the reasoning himself on paper.

Maynard asks AI to walk him through one case, then stops

Maynard offered a thought experiment. Imagine receiving a zero-knowledge proof from aliens that establishes the Riemann Hypothesis and tells you nothing about their reasoning. He would still want to know why it holds. He thinks he may need a year or two to understand a proof himself. The wait matters to him because the ideas might change how he thinks about primes. Maynard on mathematical understanding, 13:02

In his own work, Maynard will ask an AI system to walk him through a simple special case of a proof. Then he puts the conversation aside and tries the problem on paper. Running into a dead end lets him see why someone picked one route through a proof. For researchers deciding where to spend their own hours, the practical question is which piece of model-assisted work they can learn well enough to reuse. Maynard already has a candidate in the new argument for Deligne's result. Maynard on working through a special case, 15:15

Sources

Share

Summarize this page with AI

Start with one workflow.
Agree on the next step.

Leave your contact details and question type. We will follow up by email to understand the work and discuss scope.