AI Proved What?

AN07 (Specials; the follow-up to AN06; see also AN02 and 003), November 2026

The Riemann hypothesis in Lean, checked

Levent Alpöge’s Lean proof of the Riemann hypothesis, made working with Claude, has been checked by people outside Anthropic: independent kernels accept it, and the Lean and Mathlib communities say they have full confidence it is correct. What that confirms, and what is still open: there is no paper, no peer review, and no human account yet of why it works.

8:03. English captions available. The video loads from YouTube when you press play.

Disclosure. Anthropic makes Claude, which helps make this series. The proof was made by a mathematician at Anthropic, working with Claude, and Andrew Sutherland’s checks were run with Claude Code: we hold it to the same standards as any lab’s, using only public sources. AI Proved What? is independent and not affiliated with Anthropic beyond using its product Claude.

Chapters

  1. 0:00The question
  2. 2:03The checks
  3. 4:57What it does not mean
  4. 6:38Where it stands

What was checked

This is AN07. Before we start: Anthropic makes Claude, which helps make this series. In AN06, we looked at a claim by Levent Alpöge, a mathematician at Anthropic: working with Claude, he found a proof of the Riemann hypothesis, written in Lean, with no paper. We said it was not yet independently checked. Since then, people outside Anthropic have checked it. Andrew Sutherland of MIT posted a page of checks, which he ran with Claude Code. And on November 21, the Lean and Mathlib communities issued a joint statement: they have full confidence that the proof is correct. So what exactly was checked, and what is still open?

Eight days before the claim, Kevin Buzzard of Imperial College London wrote down what to ask of Lean code made by AI. Four questions. One: does the Lean statement match the theorem in words? Two: does the code compile? Three: does it prove that statement as stated? Millions of lines could hide a trick that changes what a symbol means, or adds an axiom; a tool called the comparator checks for that. Four: does it exploit a bug in Lean’s own kernel? For that, other kernels, written independently, check the proof again. The joint statement says all four are now satisfied.

Why the first question matters, in an example of our own. Mathlib’s statement says: if zeta of s is zero, s is not a trivial zero, and s is not one, then the real part of s is 1/2. Drop the middle condition, and the statement is false: zeta of −2 is zero, and −2 is not 1/2. Our script confirms that zero. So no correct proof of that version can exist. Weaken it instead, and ask only about real parts above one, and it is true, but old: there, Euler’s product keeps zeta away from zero. The right statement sits in between, and it is part of Mathlib, which the joint statement says experts in Lean and number theory carefully vetted. That is the statement both tools matched.

Here are Sutherland’s checks, as his page stood at 12:55 UTC on November 21. All 175,187 modules compile, with zero errors. The Mathlib files his build compiled match the official cache byte for byte. For the five headline theorems, Lean’s axiom report lists only the three standard axioms. Lean’s own kernel re-checked every module. Then the whole proof was exported, about 62 gigabytes of plain data, and two independently written kernels read all of it. nanoda, written in Rust, accepted it after 28 minutes on 80 threads. con-leche accepted all 1.47 million declarations. A third kernel, lean4lean, accepted every compiled module. And con-leche’s compare mode confirmed that the five theorems are exactly the statements in a file that imports only Mathlib.

Why does this work? Lean has two parts. The front end, the elaborator, reads the 17 million lines, runs tactics and custom code, and builds proof terms. It is large, and code can steer it. The kernel is small. It only checks that each proof term follows the rules, step by step. Exporting writes those terms to a file that cannot run anything, so the checks happen out of reach of any code in the archive. Different people, in different languages, wrote those kernels; to fool them all, one trick would have to work on each. And the three axioms are standard. Two statements that imply each other are equal. Things declared related become equal once you glue them together. And if something exists, you may pick one. Nothing else was assumed.

The joint statement, endorsed by the Lean FRO and the Mathlib Initiative, goes further. It says dozens of people compiled the code and reproduced the same exported proof; the notes in the community’s own check repository, updated that day, record one reproduction of that export so far. It also says that checkers including con-leche and con-ron, which come with formal proofs, relative to set theory, that they cannot accept a false proof, checked the export. It speaks of 17 million lines; our own count was 17.4 million. Sutherland also combined the proof with an independent Lean library on Robin’s criterion. Its statement mentions no zeta function at all: for every n above 5,040, the sum of the divisors of n is less than e to the gamma, times n, times log log n. Robin showed in 1984 that this is equivalent to the Riemann hypothesis. Our script finds the inequality failing 27 times from 2 to 5,040, last at 5,040 itself, and never from there to a million. A table proves nothing; the Lean theorem covers every n.

What it doesn’t mean

So what does checked mean? Sutherland’s page says it precisely: the formal statements, written against Mathlib’s definitions, follow from the three standard axioms, according to the kernels used. So it relies on those kernels, and on Mathlib’s definitions meaning what they are meant to mean. His build ran on cloud machines without a sandbox, and the export came from that build; his page says he has not compared it with an export from a sandboxed build. At his last update, two runs were still going: the comparator, end to end, and Lean’s own kernels on the export. His page, and the community’s notes, record con-ron declining one feature of this proof, not rejecting it; we have not seen a log of con-ron accepting it. A second public rebuild, also run with Claude, was almost done that afternoon: its first pass stopped on machine limits, and its second has had no failures so far. And the scope has not changed: GRH here means Dirichlet L-functions, not number fields or Hecke L-functions.

What remains is the mathematics as people read it. There is still no human-readable proof, no paper, and no peer review. A kernel says that each step follows. It does not explain why the argument works, or which ideas are new. The joint statement looks forward to work that will help explain the new ideas in this proof. Terence Tao, on the day of the claim, wrote that the digestion process will take some time. And Buzzard warns that a checked Lean proof does not mean that a write-up that comes with it is right. Here, there is no write-up yet. Alpöge says he intends to write the argument properly.

Where it stands

Statement: RH and GRH for Dirichlet L-functions
theorem riemannHypothesis : RiemannHypothesis uses Mathlib’s own definition; with four companion theorems (GRH for Dirichlet L-functions). Comparator and con-leche --compare both confirm the theorems proved are exactly the statements in a file that imports only Mathlib (Sutherland; joint statement).
Build
All 175,187 modules compile with zero errors (Lean and Mathlib v4.33.1), with the Mathlib files byte for byte the official cache (Sutherland, checks run with Claude Code). The joint statement says dozens of people reproduced the same exported proof; the notes in the community’s check repository (updated 14:04 UTC, November 21) record one reproduction of the export so far. Since the video: an independent sandboxed rebuild on a separate machine reproduced the export byte for byte (Sutherland, November 21, 19:32 UTC), and Hertaspace’s rebuild passed, its compiled main module identical to the MIT run.
Axioms
Only propext, Classical.choice and Quot.sound, for all five theorems (#print axioms; Sutherland, and since the video Hertaspace).
Independent kernels
On the exported proof (about 62 GB): nanoda (Rust) and con-leche (1,468,418 declarations) accept it. Lean’s kernel replayed every compiled module; lean4lean accepts every compiled module (five after raising its step limit). Since the video: Lean’s default kernel accepts the export, and a comparator run from the exports passes with Lean’s paranoid kernel, nanoda and Lean’s default kernel (04:16 UTC, November 22).
Lean and Mathlib communities
A joint statement (November 21), endorsed by the Lean FRO and the Mathlib Initiative: “full confidence” that the proof is correct; Kevin Buzzard’s four criteria all satisfied.
Remaining runs
At Sutherland’s 04:35 UTC update on November 22, his end-to-end comparator run was still running. Hertaspace’s comparator, clean-room statement check and independent kernels were still running (its status updates are co-authored by Claude).
Human-readable proof; expert understanding
None yet. The note says he intends to write the argument properly; the joint statement looks forward to work that will “help explain the new ideas in this proof”.
Under expert review
Not yet
Peer reviewed
No.

Last checked November 22, 2026, 04:35 UTC (the video was made the afternoon of November 21, before the later checks). Not built or run by us. The joint statement also lists con-ron among the checkers of the export; Sutherland’s page and the community repository’s notes record con-ron declining (exit 2, not a rejection) one feature of the proof, a mutual inductive type with a reflexive member, and we have not seen a log of con-ron accepting it.

This is a Specials episode, the follow-up to AN06. In AN02, Alpöge and Ralph Furman checked, and took responsibility for, a result that Claude found and wrote: more than two thirds of the zeta zeros are simple and on the line. Episode 003 covered OpenAI’s claimed zero-free region past 7/8. Now, as the checkers report it, the Riemann hypothesis, as Mathlib states it, has a proof that independent Lean kernels accept, before any human-readable proof exists. Explaining it is the next job. Once more: Anthropic makes Claude, which helps make this series. See AN06, AN02 and 003.

The numbers in the video

  • Ours: ζ(−2) = 0 (so the statement without “not a trivial zero” is false); ζ(2) = 1.6449 = π²/6; on Re s = σ > 1, |ζ(s)| ≥ ζ(2σ)/ζ(σ) > 0 (sampled at σ = 1.1, 1.5, 2).
  • Ours: Robin’s inequality σ(n) < e^γ·n·log log n fails for exactly 27 n from 2 to 5,040 (2, 3, 4, 5, 6, 8, 9, 10, 12, 16, 18, 20, 24, 30, 36, 48, 60, 72, 84, 120, 180, 240, 360, 720, 840, 2,520, 5,040); σ(5,040) = 19,344 against 19,237.1; it never fails from 5,041 to 10^6; closest at 10,080 (39,312 against 39,877.5, 98.6%). Lagarias’s inequality holds for every n up to 10^5.
  • Ours (AN06): the archive has 175,187 Lean files and 17,374,215 lines; the joint statement rounds this to 17 million.
  • From Sutherland’s page (12:55 UTC, November 21): 175,187 modules; exported proof 61,570,595,788 bytes; nanoda 27 min 42 s on 80 threads; con-leche 1,468,418 declarations; 8,322 Mathlib .olean files identical to the official cache.

Read the source

AI Proved What? is independent and not affiliated with Anthropic beyond using its product Claude, or with OpenAI.

Transcript

Read the full script

0:00The question

This is AN07. Before we start: Anthropic makes Claude, which helps make this series. In AN06, we looked at a claim by Levent Alpöge, a mathematician at Anthropic: working with Claude, he found a proof of the Riemann hypothesis, written in Lean, with no paper. We said it was not yet independently checked. Since then, people outside Anthropic have checked it. Andrew Sutherland of MIT posted a page of checks, which he ran with Claude Code. And on November 21, the Lean and Mathlib communities issued a joint statement: they have full confidence that the proof is correct. So what exactly was checked, and what is still open? Eight days before the claim, Kevin Buzzard of Imperial College London wrote down what to ask of Lean code made by AI. Four questions. One: does the Lean statement match the theorem in words? Two: does the code compile? Three: does it prove that statement as stated? Millions of lines could hide a trick that changes what a symbol means, or adds an axiom; a tool called the comparator checks for that. Four: does it exploit a bug in Lean’s own kernel? For that, other kernels, written independently, check the proof again. The joint statement says all four are now satisfied. Why the first question matters, in an example of our own. Mathlib’s statement says: if zeta of s is zero, s is not a trivial zero, and s is not one, then the real part of s is 1/2. Drop the middle condition, and the statement is false: zeta of −2 is zero, and −2 is not 1/2. Our script confirms that zero. So no correct proof of that version can exist. Weaken it instead, and ask only about real parts above one, and it is true, but old: there, Euler’s product keeps zeta away from zero. The right statement sits in between, and it is part of Mathlib, which the joint statement says experts in Lean and number theory carefully vetted. That is the statement both tools matched.

2:03The checks

Here are Sutherland’s checks, as his page stood at 12:55 UTC on November 21. All 175,187 modules compile, with zero errors. The Mathlib files his build compiled match the official cache byte for byte. For the five headline theorems, Lean’s axiom report lists only the three standard axioms. Lean’s own kernel re-checked every module. Then the whole proof was exported, about 62 gigabytes of plain data, and two independently written kernels read all of it. nanoda, written in Rust, accepted it after 28 minutes on 80 threads. con-leche accepted all 1.47 million declarations. A third kernel, lean4lean, accepted every compiled module. And con-leche’s compare mode confirmed that the five theorems are exactly the statements in a file that imports only Mathlib. Why does this work? Lean has two parts. The front end, the elaborator, reads the 17 million lines, runs tactics and custom code, and builds proof terms. It is large, and code can steer it. The kernel is small. It only checks that each proof term follows the rules, step by step. Exporting writes those terms to a file that cannot run anything, so the checks happen out of reach of any code in the archive. Different people, in different languages, wrote those kernels; to fool them all, one trick would have to work on each. And the three axioms are standard. Two statements that imply each other are equal. Things declared related become equal once you glue them together. And if something exists, you may pick one. Nothing else was assumed. The joint statement, endorsed by the Lean FRO and the Mathlib Initiative, goes further. It says dozens of people compiled the code and reproduced the same exported proof; the notes in the community’s own check repository, updated that day, record one reproduction of that export so far. It also says that checkers including con-leche and con-ron, which come with formal proofs, relative to set theory, that they cannot accept a false proof, checked the export. It speaks of 17 million lines; our own count was 17.4 million. Sutherland also combined the proof with an independent Lean library on Robin’s criterion. Its statement mentions no zeta function at all: for every n above 5,040, the sum of the divisors of n is less than e to the gamma, times n, times log log n. Robin showed in 1984 that this is equivalent to the Riemann hypothesis. Our script finds the inequality failing 27 times from 2 to 5,040, last at 5,040 itself, and never from there to a million. A table proves nothing; the Lean theorem covers every n.

4:57What it does not mean

So what does checked mean? Sutherland’s page says it precisely: the formal statements, written against Mathlib’s definitions, follow from the three standard axioms, according to the kernels used. So it relies on those kernels, and on Mathlib’s definitions meaning what they are meant to mean. His build ran on cloud machines without a sandbox, and the export came from that build; his page says he has not compared it with an export from a sandboxed build. At his last update, two runs were still going: the comparator, end to end, and Lean’s own kernels on the export. His page, and the community’s notes, record con-ron declining one feature of this proof, not rejecting it; we have not seen a log of con-ron accepting it. A second public rebuild, also run with Claude, was almost done that afternoon: its first pass stopped on machine limits, and its second has had no failures so far. And the scope has not changed: GRH here means Dirichlet L-functions, not number fields or Hecke L-functions. What remains is the mathematics as people read it. There is still no human-readable proof, no paper, and no peer review. A kernel says that each step follows. It does not explain why the argument works, or which ideas are new. The joint statement looks forward to work that will help explain the new ideas in this proof. Terence Tao, on the day of the claim, wrote that the digestion process will take some time. And Buzzard warns that a checked Lean proof does not mean that a write-up that comes with it is right. Here, there is no write-up yet. Alpöge says he intends to write the argument properly.

6:38Where it stands

Where it stands, on the afternoon of November 21. The statement: Mathlib’s Riemann hypothesis, and GRH for Dirichlet L-functions, matched by two tools. The build: zero errors, for Sutherland and, the joint statement says, for dozens of others. The axioms: only the three standard ones. Independent kernels: two accept the full export, and Lean’s own kernel re-checked every module. The Lean community: full confidence. Still open: the full comparator run on Sutherland’s page, a comparison with a sandboxed build, a human-readable proof, expert understanding of the argument, and peer review. Not built or run by us. This is a Specials episode, the follow-up to AN06. In AN02, Alpöge and Ralph Furman checked, and took responsibility for, a result that Claude found and wrote: more than two thirds of the zeta zeros are simple and on the line. Episode 003 covered OpenAI’s claimed zero-free region past 7/8. Now, as the checkers report it, the Riemann hypothesis, as Mathlib states it, has a proof that independent Lean kernels accept, before any human-readable proof exists. Explaining it is the next job. Once more: Anthropic makes Claude, which helps make this series.

Spot a mistake?

This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.