# Independent Checkers Accepted the Riemann Proof. Now Mathematicians Have to Read It.

Published 2026-11-24 · Gabriele Masetti · AI.info

> The proof came first: 17 million lines of Lean from Levent Alpöge and Claude, accepted within days by independently written checkers. The mathematics people can read is being written afterwards. What the checks establish, and where the readable argument stops.

## Sixty-One Billion Bytes

The proof of the Riemann Hypothesis arrived on Friday 20 November 2026 without a paper. Levent Alpöge, a mathematician employed by Anthropic, posted a four-page note saying that, working with Claude, a proof had been found. A footnote linked 14 archive parts. Unpacked, they held a library for the Lean proof assistant: 175,187 files and 17,374,215 lines of code.

Nobody could read that much. One test was whether a fresh build from the published source would reproduce the very proof the checkers were examining. Building Lean code runs it, and code no one has read could do anything. On a separate machine, Andrew Sutherland of MIT ran the build again inside a sandbox with "no network, the source tree read-only". The archive was downloaded afresh from Alpöge's site, Mathlib's files were checked against the official cache, and the whole submission was built again. The proof it exported was then compared with the copy already under test. At 19:32:56 UTC on Saturday 21 November the comparison finished: 61,570,595,788 bytes, identical. The byte-for-byte match meant that the checks of the original export applied to the rebuilt export too.

That same Saturday, the Lean FRO and the Mathlib Initiative, two organisations that support Lean and its mathematics library, certified that "both the statement and the proof of the Riemann Hypothesis are correct." By 23 November the proof had been accepted by checkers written by different people, in several programming languages.

What the release did not contain is an account a mathematician can follow on paper. The checks answer whether the proof is valid. They do not explain which ideas make it work. Readers were already trying to find out while the checks were still running.

:::callout-note **The story in one minute**

- The Riemann Hypothesis, formulated by Bernhard Riemann in 1859, says how far the true count of prime numbers can stray from the estimate known since 1896. It went unproved for more than 165 years.
- On 20 November 2026 Levent Alpöge, a mathematician employed by Anthropic, released a proof found working with Claude. It came not as a paper but as code for Lean, a program that checks every logical step of a proof.
- The code is far too large for a person to read: 175,187 files and 17,374,215 lines.
- On 21 November the Lean FRO and the Mathlib Initiative, two groups that support Lean and its mathematics library, certified that both the statement and the proof are correct. By 23 November, checkers written by different people, in several programming languages, had accepted the proof.
- The release did not include a written explanation mathematicians could follow. A 265-page guide, written with AI models at Michael Rubinstein's request, explains the strategy but leaves its key bound unproved. The guide calls that bound (M) and says: "(M) itself is not proved here."
- Before the Clay Mathematics Institute considers a proof for its prize, it must be published in a qualifying outlet, at least two years must pass after publication, and it must win general acceptance in the global mathematics community. A Lean certification is none of these. :::

The people in the story used AI. Sutherland's and Michael Rubinstein's verification pages both say their checks were run with Claude Code. According to its documentation, Claude implemented con-leche, one of the checkers below, and proved its consistency relative to a set theory, under Joachim Breitner's supervision.

## Primes, and the Line at One Half

Counting primes has two halves. The Prime Number Theorem, known since 1896, says roughly how many primes lie below a number x. The Riemann Hypothesis, which Bernhard Riemann formulated in 1859, says how far the true count can stray from that estimate. In E. Bombieri's description for the Clay Mathematics Institute, the hypothesis is equivalent to the following bound on the error:

$$\pi(x) = \operatorname{Li}(x) + O!\left(\sqrt{x},\log x\right)$$

Here π(x) counts the primes up to x, and Li(x), the logarithmic integral, is the smooth estimate. Bombieri's text adds that this error term "cannot be improved by much". The square root of x in that bound is the exponent one half, and it will come back.

Riemann turned the question into one about a function. The zeta function begins as the sum $\zeta(s) = 1 + 2^{-s} + 3^{-s} + \cdots$ for complex numbers s with real part above 1, and extends to the whole complex plane except for a pole at s = 1. It vanishes at −2, −4, −6 and so on, the "trivial zeros". The hypothesis is that every other zero sits on the vertical line where the real part of s is exactly one half.

Alpöge's release also covers the analogue for Dirichlet L-functions, relatives of ζ built from arithmetic modulo a positive integer N. For every N and every Dirichlet character modulo N, the claim is that any zero in the strip 0 < Re(s) < 1 lies on the line Re(s) = 1/2.

### The Statement, in Lean

The headline theorem proves the proposition that Mathlib already calls `RiemannHypothesis`, defined in `Mathlib/NumberTheory/LSeries/RiemannZeta.lean`:

```
def RiemannHypothesis : Prop :=
∀ (s : ℂ) (_ : riemannZeta s = 0) (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1), s.re = 1 / 2
```

For every complex s: if ζ(s) = 0, s is not one of −2, −4, −6…, and s ≠ 1, then the real part of s is 1/2. The clause s ≠ 1 is there because Mathlib's ζ has a value at every point, the pole included; the file says "Our construction assigns some values at these points". At the Mathlib commit the proof was built against (0df444a3), the comment above the definition read: "constructing a term of this type is worth a million dollars".

The submission proves five theorems: two formulations of the Riemann Hypothesis (Mathlib's definition, and the same statement spelled out, which Lean accepts as equal by definition) and three statements about Dirichlet L-functions. Sutherland's page is explicit about scope: "Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general are not among the statements that were checked."

## Three Questions for a Proof Nobody Has Read

A Lean proof is checked by a small program, the kernel. Everything a person or an AI writes is first turned into a fully explicit proof term, and the kernel checks that term against a handful of logical rules. In Rubinstein's words, "A kernel replay does not run tactics; it re-checks the finished terms."

On 12 November, eight days before the announcement, the Xena Project blog, which Scientific American attributes to Kevin Buzzard of Imperial College London, set out four questions to ask before "checked in Lean" means anything. The FRO statement says the four criteria "are all satisfied". For a reader they come down to three.

### Is This Riemann's Statement?

The Xena post's warning is a definition of Fermat's Last Theorem that compiles but is "trivially false", because in Lean ℕ contains 0 and a = b = c = 0 is a counterexample.

> Lean carefully distinguishes between the statement of a theorem and the proof of a theorem; humans are very good at referring to both ideas as “a theorem”. — Xena Project blog, "…and the proof is checked in Lean", 12 November 2026

Here the headline statement was not written by the author or by Claude. It is Mathlib's, and the FRO says it "has been carefully vetted by experts in Lean and number theory." The file's header credits David Loeffler, copyright 2023, and Rubinstein's page notes that the definitions "are long established and come with the Euler product, the functional equation, ζ(2) = π²/6 and the prime number theorem." The three Dirichlet statements sit in what Rubinstein's page calls "a 16-line file that imports only Mathlib", read by hand.

The community then wrote a challenge file stating the theorems with `sorry` in place of the proofs. Two independent tools, comparator and `con-leche --compare`, confirmed, in the FRO's words, "that the theorem proved in Alpöge’s library is exactly Mathlib’s statement of the Riemann Hypothesis."

Sutherland added a second way to inspect what the result says, and it is not a second proof. Robin's criterion restates the Riemann Hypothesis as an inequality about adding up the divisors of a whole number: write σ(n) for that sum, so σ(6) = 1 + 2 + 3 + 6 = 12. Combined with an independent formalisation of Robin's and Lagarias's criteria, Alpöge's proof yields, "with no hypotheses and no mention of zeta", that σ(n) < e^γ · n · log log n for every n greater than 5040. It still rests, the page says, on "Mathlib's definitions of the divisor sum, Euler's constant, harmonic numbers, exp and log, and on the Robin1984 proof".

### Does It Prove It With Nothing Extra?

A hidden axiom would let a proof assume what it claims. Lean's `#print axioms` lists every axiom a theorem rests on, however deep. For all five theorems, Sutherland's and Rubinstein's pages print the same three: `propext`, `Classical.choice` and `Quot.sound`, which Lean's reference manual calls "standard axioms of Lean's logic, and benign". An unfinished proof would show up as `sorryAx`; a shortcut through compiled code, as an axiom with `_native` in its name. Neither appears.

### Would Another Checker Agree?

Kernels have had bugs. The Xena post records a soundness bug "fixed four hours after it was discovered", and Scott Aaronson's post of 20 November notes that kernel bugs "have, in the past, allowed proofs of 0=1". The defence is diversity. The full export was accepted by Lean's own kernel and its slower "paranoid" mode, by nanoda (written in Rust), by con-leche (written in Lean) and by its Rust port con-ron. lean4lean, another independent checker written in Lean, accepted all 175,187 compiled modules.

![The trust stack of the Lean check of the Riemann Hypothesis: definitions, elaborator, kernel, independent re-checkers and hardware, with the layers the November checks covered marked in blue](/.netlify/images?url=%2Fmedia%2Farticle-images%2Fcharts%2Friemann-fig-1-trust-stack.png&w=1200&q=75)

Different checkers make a bug in any one of them less decisive. They do not remove every shared assumption. Lean's reference manual lists what remains under its strictest procedure: the soundness of Lean's logic, the comparison tool and its sandbox, no bug shared by "all of the used checkers simultaneously", and the statement in the challenge file. Operating systems and hardware sit underneath. The manual puts the limit in one sentence:

> Lean can establish that a statement has been proven, but not whether it is the intended statement. — Lean Language Reference, "Validating a Lean Proof"

:::callout-note **The audit, as of 24 November** From Sutherland's page (updated 24 November, 03:30 UTC) and Rubinstein's. Lean and Mathlib v4.33.1; all 175,187 modules compiled with zero errors (20–21 November).

Kernels on the full export: nanoda 27 min 42 s on 80 threads; con-leche 3 min 15 s on 64 threads; Lean's default kernel 48 h 3 min, its paranoid kernel 72 h 20 min, each on one thread. Comparator v4.33.0: "Your solution is okay!" (23 November, on the original build's files).

Still running: one `lake comparator` run on Lean v4.36.0. Checker binaries bundled with that version declined the submission, "not a rejection"; versions built from source did the work.

Rerunning needs roughly 100 GB of RAM and 70 GB of disk. :::

![Timeline of the Lean Riemann Hypothesis checks, 12 to 23 November 2026, with each date taken from the verification pages](/.netlify/images?url=%2Fmedia%2Farticle-images%2Fcharts%2Friemann-fig-2-timeline.png&w=1200&q=75)

## Machines Have Checked Proofs Before

The closest precedent is the Kepler conjecture, on how densely spheres can be packed. Thomas Hales and Sam Ferguson announced a computer-assisted proof in 1998. Hales's retrospective records what followed: "A panel of twelve referees was assigned the review. Review dragged on for years, until the referees became exhausted and quit." Full publication came "nearly eight years after submission". "During those years in delay", in Hales's words, came Flyspeck: Hales announced the project to prove the result formally at the Joint Math Meetings in January 2003, and its completion was announced on 10 August 2014.

In Flyspeck the conventional proof came first and the formal one followed. With the Riemann proof the order is reversed: the formal proof exists, and the human exposition is being written after it. Hales's retrospective also places Flyspeck's weak point in a statement, not a proof step: a classification proved in Isabelle was translated by hand into HOL Light and accepted there as a postulate. "This hand translation is the weakest link in the entire Flyspeck project," Hales writes.

## The Prize Is a Separate Question

On 24 November the Clay Institute's page listed the Riemann Hypothesis under "Active problems", next to the Navier–Stokes equation, and apart from both "Unsolved problems" and "Solved problems". Its rules set three conditions before any solution is considered: publication in a qualifying outlet, "at least two years must have passed since publication", and "general acceptance in the global mathematics community". A Lean certification is none of the three.

## What Transfers Beyond Mathematics (Inference)

What follows is inference from the case, not a result shown on any page. Independent software can check a deductive argument like this one without asking another AI whether it looks right; Lean's manual reserves its strictest procedure for cases such as "unaligned AI", and counts "un-reviewed AI-generated proofs and programs" among potentially malicious inputs. No such check exists for a measurement or an experiment, which has no kernel to replay it. That is the line between what this case can carry into other sciences and what it cannot.

## The People Who Have to Read It

Alpöge's note is also personal. "This problem has been the sacred object in mathematics for me since my childhood", it says, and it explains why only code was released:

> The argument is incredibly long at the moment, and while its formalization is finished and it is routine to produce a huge, unreadable document containing sufficient detail, in my view of my path I have just taken a step. — Levent Alpöge, remark.pdf, 20 November 2026

On 23 November Frank Calegari, a number theorist at the University of Chicago, posted a first response on the blog Persiflage, which Calegari's university homepage links as "My Blog". It opens with one word, "Amazing!", and then asks what no checker can answer:

> I don’t know how much of this reflects skill in harnessing AI systems and how much reflects access to better models and more compute, but surely some of both? — Frank Calegari, Persiflage, "Initial Thoughts on RH", 23 November 2026

The post does not treat the gap in understanding as a reason to hold the proof back: "Now that we have the book, we can all try to read it." Its last line: "Amazing! Now the work on RH can begin." Aaronson, on the day of the announcement, set the bar for that work:

> Mathematicians of course won’t be satisfied with 17 million lines of Lean. — Scott Aaronson, Shtetl-Optimized, 20 November 2026

## The Reveal at the Square Root

The checks test validity. They do not say how much of the argument its author or anyone else can explain, and Alpöge's note is direct about that: it describes "presenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics."

The note still sketches the idea. Over function fields, the analogue of the Riemann Hypothesis is a theorem, and one argument for it, Stepanov's, uses a tool the integers seem to lack:

> In Stepanov’s argument resolving Riemann over function fields one uses a divisor involving multiplicity. This argument is a descendant of Stepanov’s, but multiplicity is hard to find over the integers, corresponding to something like differentiating whole numbers. — Levent Alpöge, remark.pdf, 20 November 2026

On who did what, the note gives Alpöge's account: "I guided us to the right situation analogous to that toy setting, and then Claude began to leave me in awe." Its one technical example credits Claude with proposing the length of a chain of "theta lifts" between unitary groups: for a weighted sum over prime powers up to X (the von Mangoldt sum; the prime powers include the primes themselves), a chain of length √X.

Rubinstein's guide to the proof, specialised to ζ, explains why that length matters. Version 2, dated 22 November, runs to 265 pages (its title page credits it to "Claude Fable 5.2, Codex Astra 6.2, and Gemini Carbon at the behest of Michael O. Rubinstein"). It starts from a classical trick. The middle binomial coefficient, (2n)!/(n!)², is divisible by every prime greater than n and at most 2n. It is at most 4ⁿ, so the product of those primes cannot exceed 4ⁿ. Each of those primes contributes a factor greater than n, which is how a bound on the product limits the count. In the guide's words, "That is an upper bound for a count of primes, obtained from two facts about one integer: what divides it, and how big it is."

> The proof of the Riemann hypothesis described here is Chebyshev’s argument, run with a far better “integer”. — Rubinstein guide, version 2, 22 November 2026

In place of the binomial coefficient, the guide's account uses a linear map between lattices of large rank, built from a chain of m theta lifts. Its divisibility and its size are compared, as with the integer. Two errors compete: one made once at the ends of the chain, of size x/m, and one that accumulates along it, of size m. They balance when m is about √x. In the guide's account, that balance is where the exponent one half comes from: the same one half as the square root in Bombieri's bound, and the same √x as the chain length Alpöge credits to Claude. The guide explains why that choice matters, but it does not prove the main inequality that makes the argument go.

## One Link, Traced

Whether a classical reading matches the archive line by line is the next question, and one public project has begun answering it for a single piece. The riemann-rev project, listed on Rubinstein's page under Bartosz Naskręcki, has published three "deformalization" notes on one cluster of the archive; the first, titled "Twisted cokernels in a cyclotomic tower", takes "the 4 declarations" that an atlas of the archive groups as "Assemble the arithmetic tower window", "together with the directory on which they rest (29 files, 1,193 lines, 42 theorems and lemmas)", and rewrites them as mathematics, with a concordance of 108 Lean declarations.

The piece concerns the cost of each theta lift, which is governed by certain Galois cohomology groups, indexed by twists h. The proof needs the sum of their lengths, as modules over the ℓ-adic integers, over all twists up to some large Z, to be, in the note's words, "small on a whole range of scales". The note's simplest case shows the mechanism. A twist is costly only when h is close to a fixed point c in the ℓ-adic sense, and two whole numbers up to Z cannot both be that close to c, or their difference would be divisible by a power of ℓ larger than Z. "So at most one twist ℎ ≤ 𝑍 is exceptional, whatever 𝑍." A costly twist can still occur; what the argument rules out is a second one in the same range. The note's Theorem A, on the "centres" that exceptional twists must lie close to, is paired in the margin with the Lean declaration `exists_centres`.

That pairing lets a reader find one result in the archive and read it as mathematics. It does not trace the argument from that result to the guide's main inequality.

## The Open Question: the Main Inequality

The guide gives a roadmap in classical terms, but stops short of proving its central inequality. It divides the argument into eight steps. It proves steps 1 and 8 "from cited theorems of analytic number theory", calls step 7 "a choice of parameters", and works the simplest case of the construction, the lemniscate, in full. Steps 2 to 6, the chain of lifts with its divisibility, size, denominators and rank, combine into one statement: the main inequality (M).

The guide deduces "(M), at one sufficiently large scale" from twelve numbered hypotheses, "and the Riemann hypothesis from these and a thirteenth, which concerns the scales and the auxiliary primes". It adds: "None of the thirteen hypotheses is proved outright here." The formal proof of the Riemann Hypothesis relies only on Lean's three standard axioms. The axiom check does not establish whether each of the guide's thirteen hypotheses has a direct counterpart in the archive.

> (M) itself is not proved here. — Rubinstein guide, version 2, 22 November 2026

Part III of the guide, meant to prove what its first two parts quote, is in its own words a part "which is being written". The checks establish that the Lean statement follows from Lean's three standard axioms, as the kernels judge it. What this guide still owes its readers is a proof of (M) they can follow.

*Related coverage on AI.info: [the claim](https://ai.info/news/anthropic-mathematician-claude-riemann-hypothesis-proof-claim) · [the certification](https://ai.info/news/lean-mathlib-certify-alpoge-riemann-proof) · [a separate human-written draft](https://ai.info/news/human-riemann-proof-draft-ai-assisted-challenges)*

## Sources

1. [Lean FRO and Mathlib Initiative — Lean verification of the Riemann Hypothesis](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) leanprover-community.github.io
2. [Levent Alpöge — remark.pdf](https://alpo.ge/remark.pdf) alpo.ge
3. [Andrew Sutherland (MIT) — RH Lean proof: verification files](https://math.mit.edu/~drew/grh/) math.mit.edu
4. [Michael Rubinstein — GRH Lean Check](https://mrubinst.github.io/grh-lean-verification/) mrubinst.github.io
5. [Michael Rubinstein (Waterloo) — Alpöge/Claude proof of the GRH](https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/) math.uwaterloo.ca
6. [The Alpöge–Claude proof of the Riemann hypothesis explained for the Riemann zeta function, v2](https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/zeta-paper_v2.pdf) math.uwaterloo.ca
7. [riemann-rev (Bartosz Naskręcki) — Twisted cokernels in a cyclotomic tower](https://nasqret.github.io/riemann-rev/digests/tower-bound.pdf) nasqret.github.io
8. [Xena Project — …and the proof is checked in Lean](https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/) xenaproject.wordpress.com
9. [E. Bombieri — Problems of the Millennium: the Riemann Hypothesis (Clay)](https://www.claymath.org/wp-content/uploads/2022/05/riemann.pdf) claymath.org
10. [Clay Mathematics Institute — The Millennium Prize Problems](https://www.claymath.org/millennium-problems/) claymath.org
11. [Clay Mathematics Institute — Rules for the Millennium Prize Problems](https://www.claymath.org/millennium-problems/rules/) claymath.org
12. [Mathlib — RiemannZeta.lean](https://github.com/leanprover-community/mathlib4/blob/master/Mathlib/NumberTheory/LSeries/RiemannZeta.lean) github.com
13. [Lean Language Reference — Validating a Lean Proof](https://lean-lang.org/doc/reference/latest/ValidatingProofs/) lean-lang.org
14. [Lean Language Reference — Axioms](https://lean-lang.org/doc/reference/latest/Axioms/) lean-lang.org
15. [con-leche README](https://github.com/leanprover/con-leche) github.com
16. [Lawrence Paulson — The de Bruijn criterion vs the LCF architecture](https://lawrencecpaulson.github.io/2022/01/05/LCF.html) lawrencecpaulson.github.io
17. [leanprover-community/riemann-hypothesis](https://github.com/leanprover-community/riemann-hypothesis) github.com
18. [Frank Calegari — Initial Thoughts on RH (Persiflage)](https://galoisrepresentations.org/2026/11/23/initial-thoughts-on-rh/) galoisrepresentations.org
19. [Frank Calegari — homepage (University of Chicago)](https://math.uchicago.edu/~fcale/) math.uchicago.edu
20. [Levent Alpöge on X, 23 Nov 2026](https://x.com/__alpoge__/status/2124987173439209561) x.com
21. [Hales et al. — A formal proof of the Kepler conjecture (arXiv:1501.02155)](https://arxiv.org/abs/1501.02155) arxiv.org
22. [Math Drudge — Formal proof completed for Kepler's conjecture on sphere packing](https://experimentalmath.info/blog/2014/08/formal-proof-completed-for-keplers-conjecture-on-sphere-packing/) experimentalmath.info
23. [Scott Aaronson — The stochastic parrots have apparently proved the Riemann Hypothesis](https://scottaaronson.blog/?p=10344) scottaaronson.blog
24. [Thomas Hales — The Formal Proof of the Kepler Conjecture: a critical retrospective](https://arxiv.org/abs/2402.08032) arxiv.org
25. [Scientific American — Anthropic mathematician proves Riemann hypothesis](https://www.scientificamerican.com/article/anthropic-mathematician-claims-to-prove-riemann-hypothesis-most-famous-problem-in-all-of-math/) scientificamerican.com
26. [Scientific American — The AI Riemann hypothesis proof is true, independent mathematicians confirm](https://www.scientificamerican.com/article/the-ai-riemann-hypothesis-proof-is-almost-certainly-true-independent-mathematicians-attest/) scientificamerican.com

## Related stories

- [Vision-Language Models: How AI Learned to See — and Talk About What It Sees](https://ai.info/deep-dives/vision-language-models-how-ai-learned-to-see)
- [The Benchmark Problem: How We Measure AI Intelligence — and Why It Keeps Breaking](https://ai.info/deep-dives/the-benchmark-problem-measuring-ai-intelligence)
- [Inside the FDA's Rush to Approve AI That Reads Your X-Rays](https://ai.info/deep-dives/ai-radiology-fda-vision-models)

## Explore

[More articles](https://ai.info/deep-dives)

---

Canonical: https://ai.info/deep-dives/riemann-hypothesis-lean-proof-what-was-checked
