AI Proved What?

AN06 (Specials; see also AN02 and 003), November 2026

The Riemann hypothesis in Lean?

Levent Alpöge, a mathematician at Anthropic, says that working with Claude he found a proof of the Riemann hypothesis, and of the Generalized Riemann Hypothesis for Dirichlet L-functions, formalized in Lean. There is no paper. The Lean statements say what he claims, and on November 21 independent checkers and the Lean community confirmed that Lean accepts the proof; a human-readable proof is still to come.

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

Disclosure. Anthropic makes Claude, which helps make this series. This claim comes from a mathematician at Anthropic, working with Claude: 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:34The claim
  3. 5:18How it was made
  4. 7:27Where it stands

The claim, in plain words

This is AN06. Before we start: Anthropic makes Claude, which helps make this series. This claim comes from a mathematician at Anthropic, working with Claude, so we hold it to the same standards as any other, using only public sources. Add one, plus one over two to the s, plus one over three to the s, and so on. That is the Riemann zeta function. Euler saw that the same sum is a product over the primes, so it carries information about them. Riemann, in 1859, extended it to almost every complex number. It is zero at minus two, minus four, minus six, the trivial zeros. All its other zeros lie in a strip between real parts zero and one, and Riemann guessed that they all lie exactly on the middle line, real part 1/2. That is the Riemann hypothesis. Our short script finds the first zeros at heights 14.1347, 21.02, and 25.01, and all ten below 50 sit on the line. Computers have checked trillions more, but there are infinitely many.

Why it matters: the primes. Up to 10 million there are 664,579 primes. Gauss’s estimate, the logarithmic integral, overshoots by about 339. The Riemann hypothesis is equivalent to saying that this error never grows much faster than the square root of x. In one explicit form, for x above 2,657, the error stays below the square root of x, times log x, over eight pi. In our table that holds from 10,000 on. A table proves nothing, but it shows what the hypothesis controls: how evenly the primes are spread.

The Generalized Riemann Hypothesis asks the same of a whole family. Give the whole numbers weights that repeat with some period and respect multiplication, like one, zero, minus one, zero, for period four, and build the same kind of sum. Weights like these are called characters. These are Dirichlet L-functions, one for every such character and every period. They count primes in arithmetic progressions, such as primes that leave remainder one, or three, when divided by four. Up to 10 million, those two kinds split almost evenly. The hypothesis for these functions says their zeros in the strip are on the same line. For period four, our script finds the first at height 6.02, on the line. Wider versions go further, to the zeta functions of number fields and beyond.

On November 20, 2026, Levent Alpöge, a mathematician at Anthropic, posted a four-page note on his own website. He says he believes that, working with Claude, he discovered a proof of the Riemann hypothesis; that the method extends to the Generalized Riemann Hypothesis; and that he expects the Extended Riemann Hypothesis too, with more time. He says he and Claude formalized the arguments in Lean, without assumptions. There is no paper: he writes that he decided to only present Lean, and that he intends to write the argument properly. The note links a Lean archive of about 239 megabytes. By our count, it holds 175,187 Lean files and about 17.4 million lines, roughly eight and a half times the library in AX10. It has no README and not a single comment.

Is the statement right? This part can be checked by reading. The headline theorem’s type is RiemannHypothesis, as defined in Mathlib, not in the archive. It says: for every complex number s, 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. That is equivalent to the textbook statement. Four companion theorems have their statements in a 16-line file that imports only Mathlib, so nothing else in the archive can change what they mean. One says that no Dirichlet L-function vanishes to the right of the line, for every period and every character, apart from the trivial character at s equals one. The others say every zero in the strip is on the line. So, by our reading, these theorems say the Riemann hypothesis, and the Generalized Riemann Hypothesis for Dirichlet L-functions, with no extra hypotheses. Our text search finds no sorry, no axiom, and no native_decide. A few custom shortcuts skip checks while proofs are elaborated, but Lean’s kernel still checks each finished proof. A text search cannot rule everything out: that takes a full build, and the list of axioms the theorems use.

What it doesn’t claim

What is not claimed. There is no paper and no human-readable proof. The Lean covers Dirichlet L-functions only: not the zeta functions of number fields or Hecke L-functions, a case often called the Extended Riemann Hypothesis, which he expects with more time. Nothing is claimed about the zeros being simple. He does not say the argument is short or final; he expects it to be massively simplified. There is no announcement from Anthropic itself. And the 250,000 pages in some reports are not the Lean: a footnote says a write-up he chose not to post, which Claude called the GRH book, passed that length.

Where it stands

Released
Alpöge’s four-page note (PDF dated November 20, 2026, 04:52 PST), on his own website, and the Lean archive it links (lean.tar.gz.part01 to part14, 239,275,554 bytes). No paper, no repository history, no README.
Statement: RH and GRH for Dirichlet L-functions
By our reading of the text: theorem riemannHypothesis : RiemannHypothesis uses Mathlib’s own definition; four companion statements sit in src/Statements.lean (16 lines, imports only Mathlib). No extra hypotheses. Not Dedekind or Hecke L-functions (the Extended RH).
Text scan
Our search of all 175,187 files: no sorry, admit, axiom, native_decide, implemented_by, extern, unsafe or opaque. A text scan cannot rule out everything (custom elaborators and build-time commands exist; the kernel still re-checks each declaration).
Full build
Andrew Sutherland (MIT) published his check log: all 175,187 modules compiled with zero errors (Lean and Mathlib v4.33.1). His checks were run with Claude Code; his build was not sandboxed. The Lean community says dozens of people reproduced the build. Later: a sandboxed rebuild on a separate machine reproduced the exported proof byte for byte (Sutherland), and Hertaspace’s public rebuild passed.
Axiom list for the main theorems
Only Lean’s three standard axioms (propext, Classical.choice, Quot.sound) for all five theorems, by Sutherland’s #print axioms, and later Hertaspace’s.
Independent kernel check
On an exported copy of the proof, Lean’s kernel replay, nanoda, con-leche and lean4lean all accept it (Sutherland); comparator and con-leche --compare confirm the theorem is exactly Mathlib’s statement; later, Lean’s default and paranoid kernels accepted the export, and a comparator run from the exports passed (04:16 UTC, November 22). On November 21 the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative, said they have “full confidence” the proof is correct. These are Kevin Buzzard’s criteria. It all rests on Mathlib’s definitions and the kernels.
Human-readable proof; expert review
None yet. The note says he intends to write the argument properly. Terence Tao writes that the proof’s strategy, “from very initial analysis”, appears to use the full power of the Langlands program, and that digesting it will take some time.
Peer reviewed
No.

Last checked November 22, 2026, 04:35 UTC (checks added November 21 and 22; the video, made November 20, predates them). Not built or run by us. Also on November 20, Ravi Vakil’s blog posted a separate, all-human proposed proof of GRH, a 940-page draft by Alessandro Masullo; it has not been checked either.

AN07, November 2026: our follow-up episode, AN07, explains what these checks confirm (the formal statements follow from Lean’s three standard axioms, according to independent kernels, relying on Mathlib’s definitions) and what is still open (no paper, human-readable proof or peer review). Not built or run by us. Anthropic makes Claude, which helps make this series.

This is a Specials episode. 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, he says, all of them are on the line. If it holds, and the kernel accepts it with only the standard axioms, Lean will have checked a proof of the Riemann hypothesis, and of GRH for Dirichlet L-functions, against Mathlib’s definitions, before any human-readable proof exists. Until then, it is a claim. Once more: Anthropic makes Claude, which helps make this series. See AN02 and 003; for other large Lean claims, AN04 and AX10.

How it was made

  1. How it was found. He says he had planned for this problem since his student days. He set the two of them on a course combining two ideas from a toy setting, and guided them to the analogous situation; then, he writes, Claude far outpaced him near the finish line. His one example: Stepanov’s proof method for the Riemann hypothesis over function fields uses multiplicity, which is hard to find over the whole numbers. They chained theta lifts, each one mimicking multiplicity, and for a weighted prime count up to X, Claude suggested a chain of length the square root of X. A timeline that, he says, Claude provided runs from October 6 to November 16, marked GRH. He says he is paraphrasing the parts where Claude is the expert. Scientific American notes that the note came a day after Anthropic’s stock market debut; the note says a cynical view of the timing is false. (The note’s account; we cannot check it.)
  2. Who wrote the Lean, and who is checking. The note says Claude and he did. The archive carries no names and no dates: every timestamp is zeroed. Its many short, machine-like names suggest generated code, but that is our impression, not evidence. Is it sound? That is the kernel’s job. Scientific American reports that Andrew Sutherland of MIT independently compiled it; no log or axiom list has been published. Two public projects are checking it. One is rebuilding all of it, nearly 184,000 build steps on 256 cores, about a quarter done by the afternoon of November 20. Another has set up Lean’s comparator, which matches the theorems against statements written separately, including an independent kernel. Terence Tao writes that, from very initial analysis, it appears to use the full power of the modern Langlands program. The same day, Ravi Vakil posted a separate, all-human proposed proof of GRH in a wider form, for all number fields, a 940-page draft by Alessandro Masullo. It has not been checked either, beyond a private review by Brian Conrad.

The numbers in the video

  • Ours: the first ten zeros of ζ(s) above the real axis, all below height 50, lie on Re s = 1/2: 14.1347, 21.0220, 25.0109, 30.4249, 32.9351, 37.5862, 40.9187, 43.3271, 48.0052, 49.7738 (Hardy’s Z with Euler–Maclaurin, checked against mpmath).
  • Ours: π(x) against li(x): x = 10^2: 25 vs 30.1; x = 10^3: 168 vs 177.6; x = 10^4: 1,229 vs 1,246.1; x = 10^5: 9,592 vs 9,629.8; x = 10^6: 78,498 vs 78,627.5; x = 10^7: 664,579 vs 664,918.4. Schoenfeld’s bound √x·log x/(8π), equivalent to RH, holds in the table from 10^4 on.
  • Ours: the character mod 4: primes up to 10^7 split 332,180 (1 mod 4) and 332,398 (3 mod 4); the first zeros of its L-function lie on the line at heights 6.02, 10.24, 12.99, 16.34, 18.29, 21.45, 23.28.
  • Ours: the archive has 175,187 Lean files, 17,374,215 lines (15,531,759 not blank), about 8.5 times AX10’s library; Lean v4.33.1, Mathlib 0df444a; no comments at all.

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 AN06. Before we start: Anthropic makes Claude, which helps make this series. This claim comes from a mathematician at Anthropic, working with Claude, so we hold it to the same standards as any other, using only public sources. Add one, plus one over two to the s, plus one over three to the s, and so on. That is the Riemann zeta function. Euler saw that the same sum is a product over the primes, so it carries information about them. Riemann, in 1859, extended it to almost every complex number. It is zero at minus two, minus four, minus six, the trivial zeros. All its other zeros lie in a strip between real parts zero and one, and Riemann guessed that they all lie exactly on the middle line, real part 1/2. That is the Riemann hypothesis. Our short script finds the first zeros at heights 14.1347, 21.02, and 25.01, and all ten below 50 sit on the line. Computers have checked trillions more, but there are infinitely many. Why it matters: the primes. Up to 10 million there are 664,579 primes. Gauss’s estimate, the logarithmic integral, overshoots by about 339. The Riemann hypothesis is equivalent to saying that this error never grows much faster than the square root of x. In one explicit form, for x above 2,657, the error stays below the square root of x, times log x, over eight pi. In our table that holds from 10,000 on. A table proves nothing, but it shows what the hypothesis controls: how evenly the primes are spread. The Generalized Riemann Hypothesis asks the same of a whole family. Give the whole numbers weights that repeat with some period and respect multiplication, like one, zero, minus one, zero, for period four, and build the same kind of sum. Weights like these are called characters. These are Dirichlet L-functions, one for every such character and every period. They count primes in arithmetic progressions, such as primes that leave remainder one, or three, when divided by four. Up to 10 million, those two kinds split almost evenly. The hypothesis for these functions says their zeros in the strip are on the same line. For period four, our script finds the first at height 6.02, on the line. Wider versions go further, to the zeta functions of number fields and beyond.

2:34The claim

On November 20, 2026, Levent Alpöge, a mathematician at Anthropic, posted a four-page note on his own website. He says he believes that, working with Claude, he discovered a proof of the Riemann hypothesis; that the method extends to the Generalized Riemann Hypothesis; and that he expects the Extended Riemann Hypothesis too, with more time. He says he and Claude formalized the arguments in Lean, without assumptions. There is no paper: he writes that he decided to only present Lean, and that he intends to write the argument properly. The note links a Lean archive of about 239 megabytes. By our count, it holds 175,187 Lean files and about 17.4 million lines, roughly eight and a half times the library in AX10. It has no README and not a single comment. Is the statement right? This part can be checked by reading. The headline theorem’s type is RiemannHypothesis, as defined in Mathlib, not in the archive. It says: for every complex number s, 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. That is equivalent to the textbook statement. Four companion theorems have their statements in a 16-line file that imports only Mathlib, so nothing else in the archive can change what they mean. One says that no Dirichlet L-function vanishes to the right of the line, for every period and every character, apart from the trivial character at s equals one. The others say every zero in the strip is on the line. So, by our reading, these theorems say the Riemann hypothesis, and the Generalized Riemann Hypothesis for Dirichlet L-functions, with no extra hypotheses. Our text search finds no sorry, no axiom, and no native_decide. A few custom shortcuts skip checks while proofs are elaborated, but Lean’s kernel still checks each finished proof. A text search cannot rule everything out: that takes a full build, and the list of axioms the theorems use. What is not claimed. There is no paper and no human-readable proof. The Lean covers Dirichlet L-functions only: not the zeta functions of number fields or Hecke L-functions, a case often called the Extended Riemann Hypothesis, which he expects with more time. Nothing is claimed about the zeros being simple. He does not say the argument is short or final; he expects it to be massively simplified. There is no announcement from Anthropic itself. And the 250,000 pages in some reports are not the Lean: a footnote says a write-up he chose not to post, which Claude called the GRH book, passed that length.

5:18How it was made

How it was found, in the note’s own account, which we cannot check. He says he had planned for this problem since his student days. He set the two of them on a course combining two ideas from a toy setting, and guided them to the analogous situation; then, he writes, Claude far outpaced him near the finish line. His one example: Stepanov’s proof method for the Riemann hypothesis over function fields uses multiplicity, which is hard to find over the whole numbers. They chained theta lifts, each one mimicking multiplicity, and for a weighted prime count up to X, Claude suggested a chain of length the square root of X. A timeline that, he says, Claude provided runs from October 6 to November 16, marked GRH. He says he is paraphrasing the parts where Claude is the expert. Scientific American notes that the note came a day after Anthropic’s stock market debut; the note says a cynical view of the timing is false. Who wrote the Lean? The note says Claude and he did. The archive carries no names and no dates: every timestamp is zeroed. Its many short, machine-like names suggest generated code, but that is our impression, not evidence. Is it sound? That is the kernel’s job. Scientific American reports that Andrew Sutherland of MIT independently compiled it; no log or axiom list has been published. Two public projects are checking it. One is rebuilding all of it, nearly 184,000 build steps on 256 cores, about a quarter done by the afternoon of November 20. Another has set up Lean’s comparator, which matches the theorems against statements written separately, including an independent kernel. Terence Tao writes that, from very initial analysis, it appears to use the full power of the modern Langlands program. The same day, Ravi Vakil posted a separate, all-human proposed proof of GRH in a wider form, for all number fields, a 940-page draft by Alessandro Masullo. It has not been checked either, beyond a private review by Brian Conrad.

7:27Where it stands

Where it stands, on the afternoon of November 20. Released: the note and the Lean archive. The statement: by our reading, the Riemann hypothesis in Mathlib’s own words, and GRH for Dirichlet L-functions. Text scan: no sorry and no axioms, by our search. Build: one reported compile, with no published log, and public rebuilds under way. The axiom list for the main theorems: not published. An independent kernel check: set up, not finished. A human-readable proof: none. Expert review of the mathematics: none yet. Peer review: none. Not built or run by us. This is a Specials episode. 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, he says, all of them are on the line. If it holds, and the kernel accepts it with only the standard axioms, Lean will have checked a proof of the Riemann hypothesis, and of GRH for Dirichlet L-functions, against Mathlib’s definitions, before any human-readable proof exists. Until then, it is a claim. 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.