---
title: "Riemann Hypothesis: a 17-million-line Lean proof, made with Claude, is certified correct"
summary: "The Lean maintainers’ statement of 21 November, the author’s note and MIT’s verification log: what was proved, how a 61.57 GB proof is checked, and what the US$1m prize still requires."
url: https://www.thetechbag.com/blog/riemann-hypothesis-lean-proof-17-million-lines-claude
format: Analysis
desk: "AI in the enterprise"
region: Global
published: 2026-11-24
published_at: 2026-11-24T20:39:00+05:30
facts_checked: 2026-11-24
author: TechBag (The TechBag Journal)
tags: ["Riemann Hypothesis proof","Riemann Hypothesis solved","Riemann Hypothesis Lean","Claude Riemann Hypothesis","Levent Alpöge","Anthropic","Lean 4","Mathlib","Generalized Riemann Hypothesis","Millennium Prize","Clay Mathematics Institute","machine-checked proof","formal verification","Kevin Buzzard","Andrew Sutherland","Dirichlet L-functions","zeta function","prime numbers"]
cover: https://www.thetechbag.com/blog/covers/riemann-hypothesis-lean-proof-17-million-lines-claude.png
---

# Riemann Hypothesis: a 17-million-line Lean proof, made with Claude, is certified correct

*The Lean maintainers’ statement of 21 November, the author’s note and MIT’s verification log: what was proved, how a 61.57 GB proof is checked, and what the US$1m prize still requires.*

Analysis · AI in the enterprise · By TechBag · Published 2026-11-24 · Facts checked 2026-11-24 · Canonical: https://www.thetechbag.com/blog/riemann-hypothesis-lean-proof-17-million-lines-claude

The short version

1. On 20 November Levent Alpöge, a number theorist at Anthropic, released 17 million lines of Lean code proving the Riemann Hypothesis and its extension to Dirichlet L-functions, found, he writes, “working with Claude”. A day later the organisations behind Lean and its mathematics library wrote: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.”[1][2]
2. The proof was checked by programs, not read by referees. A 61.57 GB export of it was accepted by Lean’s kernel and by independently written checkers, resting on three standard axioms. That establishes that the theorem follows; it does not explain why. Alpöge says he is publishing “before having mastered a massive neighbourhood around its mathematics”.[2][3]
3. The Clay Mathematics Institute’s page for the problem now reads “Active”, not “Solved”. Its US$1m prize requires publication in a qualifying outlet, two years of scrutiny and general acceptance, and no paper has been published. Watch for the last checker run and for a readable account of the argument.[4][6]

A proof of the Riemann Hypothesis, the 167-year-old conjecture about how the prime numbers are spread, has been certified correct by the organisations that maintain the Lean proof language and its mathematics library.[1] It is 17 million lines of Lean code, released on 20 November by Levent Alpöge, a number theorist at Anthropic, the company that makes the Claude AI models.[1][10][13] No journal has published it, and by the author’s own account he does not yet command the whole argument. What exists is code that proof-checking programs accept. This piece sets out what was proved, how a proof of this kind is checked, what the check cannot tell anyone, and what the US$1m prize attached to the problem requires.

**Figure: The proof is 17 million lines of code that export to a 61.57 GB file**

*Size of the Lean library released on 20 November 2026, and of the exported proof the checkers read*

17 million

lines of Lean code in the library

Lean FRO and Mathlib Initiative

175,187

modules, all compiled with zero errors

MIT log

61.57 GB

the exported proof, the file every checker reads

MIT log

3

axioms the five theorems rest on, all standard

MIT log

Source: Lean FRO and Mathlib Initiative, joint statement; Andrew Sutherland, verification log, MIT · as of 24 November 2026, 7:45pm IST

## What was released, and what the certificate says

Alpöge posted a four-page note and a source archive in 14 parts, 239 MB in all.[2][3] “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis,” the note says. “In fact, the method easily extends much further, resolving the so-called Generalized Riemann Hypothesis.” There is no written proof alongside it: “I decided to only present Lean.”[2]

The next day the Lean Focused Research Organization (Lean FRO) and the Mathlib Initiative published a joint statement: “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct.” They give four grounds. The statement being proved is the one already in Mathlib, “carefully vetted by experts in Lean and number theory”. The library compiles, and “dozens of people” reproduced the same export file. Two independent tools confirm that the theorem proved is exactly Mathlib’s statement. And several proof checkers accept the exported proof.[1]

On Claude’s part, the note says the two worked together in “recent months” and that “Claude far outpaced me near the finish line”; Alpöge writes that he “guided us to the right situation”, after which “Claude began to leave me in awe”. Its “rough timeline Claude provided after a thorough search” lists 20 steps dated from 6 October to 16 November, the last reading simply “GRH”. The note names no Claude model or version and gives no figure for the computing used.[2] Anthropic’s news and research pages carried no statement on the proof when we read them.

**Figure: From the first dated step to a certificate of correctness took 46 days**

*Dated events in the proof’s making and checking, 6 October to 24 November 2026*

| Date | Event | Detail |
| --- | --- | --- |
| 6 Oct 2026 | First dated step | “Stepanov determinant”, the first entry in the note’s timeline |
| 16 Nov 2026 | “GRH” | The last entry in the note’s timeline |
| 20 Nov 2026 | Library released | 17 million lines; the first independent kernel accepts the export the same day |
| 21 Nov 2026 | Certified | Joint statement; a sandboxed rebuild reproduces the export byte for byte |
| 22 Nov 2026 | Lean’s kernel accepts | After 48 hours 3 minutes on one thread |
| 23 Nov 2026 | Clay page: “Active” | The page’s metadata records a change that day |
| 24 Nov 2026 | One run outstanding | The last stage of lake comparator, as of 05:25 UTC |

Source: Alpöge’s note; Lean FRO and Mathlib Initiative; Sutherland’s log, MIT; Clay Mathematics Institute page metadata · as of 24 November 2026, 7:45pm IST

The library proves five theorems. What they cover and what they leave out, as the MIT log sets it out:

| Statement | Status | What it says |
| --- | --- | --- |
| The Riemann Hypothesis, in Mathlib’s own definition | Proved, kernel-checked | Every zero of the zeta function other than the trivial zeros −2, −4, −6, … has real part 1/2 |
| The same statement in the library’s own wording | Proved, kernel-checked | Lean accepts the two as equal by definition |
| Dirichlet L-functions: no zeros right of the line | Proved, kernel-checked | For every modulus and every character, primitive or not, no zero has real part above 1/2 |
| Dirichlet L-functions: zeros in the critical strip | Proved, kernel-checked | Any zero with real part between 0 and 1 has real part exactly 1/2 |
| The same for primitive characters | Proved, kernel-checked | The form in which the Generalized Riemann Hypothesis for Dirichlet L-functions is usually stated |
| Dedekind zeta, Hecke and automorphic L-functions in general | Not among the statements checked | The log says so in terms |
| The “Extended Riemann Hypothesis” | Not released | The author expects it “with more time” |

## What the hypothesis says, and why primes depend on it

The zeta function is an infinite sum, 1 + 1/2[s] + 1/3[s] + 1/4[s] and so on, studied for complex values of s. In a memoir published in 1859, Bernhard Riemann showed that the number of primes below any limit can be written in terms of the points where that function equals zero.[7] Some zeros are easy, the “trivial” ones at −2, −4, −6 and onwards. The hypothesis is that every other zero has a real part of exactly one half, so that plotted on the complex plane they all sit on one vertical line. Riemann wrote only that this was “very likely”.[7]

167 years

since Riemann’s memoir of 1859 stated the hypothesis

David Hilbert put it on his list of 23 problems in 1900. The Clay Mathematics Institute attached US$1m to it in 2000. Source: Clay Mathematics Institute.

Primes care because the zeros control the error. The Clay institute puts it this way: “The prime number theorem determines the average distribution of the primes. The Riemann hypothesis tells us about the deviation from the average.”[4] The count of primes up to x follows a smooth curve that Gauss proposed; the hypothesis is equivalent to saying the count never strays from that curve by more than a constant multiple of the square root of x times its logarithm.[7] Another equivalent form mentions no zeros at all: for every whole number n above 5,040, the sum of n’s divisors is less than a fixed constant times n times the logarithm of the logarithm of n. The MIT log shows that inequality, too, passing the kernels as a consequence of the proof.[3]

Until this month the evidence was numerical and partial. Computers had confirmed the first 10 trillion zeros.[4] Proofs covered only a share of them: in August Anthropic said an unreleased research version of Claude had raised the proven share from 41.6% to 67.2%, a result Alpöge and a colleague examined, and added, “We don’t expect that the techniques Claude used will lead to proving the Riemann hypothesis.”[10]

**Figure: In August, proofs covered 67.2% of the zeta function’s zeros; November’s covers all of them**

*Share of the Riemann zeta function’s zeros proved to lie on the critical line, by result*

41.6%

Before August 2026

The longstanding bound, as Anthropic gives it

67.2%

August 2026

An unreleased research version of Claude, Anthropic says

100%

November 2026

The Lean proof, as certified

Source: Anthropic, research post of 10 August 2026; Lean FRO and Mathlib Initiative, 21 November 2026 · as of 24 November 2026, 7:45pm IST

Dirichlet L-functions are relatives of the zeta function that track primes in arithmetic progressions, such as the primes that leave a remainder of 1 when divided by 4.[7] The generalised hypothesis says their zeros lie on the same line, and it is the version with consequences for computing. “We know there are some algorithms that we run where they’re very quick, but we don’t actually know for sure if they work,” Kevin Buzzard, professor of pure mathematics at Imperial College London, told Al Jazeera. “They seem to work, and we know that if the generalised Riemann hypothesis is true, then they do work.”[9]

## How a 61.57 GB proof is checked

Lean is a programming language in which definitions, theorems and proofs are all code. At its centre is a kernel, a small program that checks each step against the rules of logic. Everything else, whether a person typed it or an AI model generated it, is untrusted: it counts only if the kernel accepts what it produces. Buzzard set out the questions to ask of such code on his Xena project blog on 12 November, eight days before the release: does the Lean statement match the mathematical one, does the code compile, does it prove the theorem as stated rather than a quietly redefined one, and does it exploit a bug in the kernel?[8] The last is not hypothetical. A soundness bug was found in Lean’s kernel and, he writes, fixed four hours later, which is why a proof is now put through several kernels written by different people.[8] The joint statement says the four criteria “are all satisfied”.[1]

**Figure: Four checks stand between 17 million lines of code and a certified theorem**

*How the Lean proof of the Riemann Hypothesis was verified, 20 to 24 November 2026*

1. 01The statementThe hypothesis exactly as Mathlib already defined it, set down in a file that imports nothing but Mathlib.
2. 02The buildAll 175,187 modules compile with zero errors. A sandboxed rebuild on a separate machine reproduces the export byte for byte.
3. 03The exportThe proof is written out as an inert 61.57 GB file, out of reach of any code in the library.
4. 04The kernelsLean’s kernel and independently written checkers re-check the export. Comparison tools match the theorem and the axioms.

Source: Lean FRO and Mathlib Initiative; Kevin Buzzard, Xena project; Andrew Sutherland, verification log, MIT · as of 24 November 2026, 7:45pm IST

Andrew Sutherland of MIT keeps the fullest record, with every log file and hash; his page says the checks were “run with Claude Code”.[3] The five theorems depend on three axioms only, printed in Lean as `propext`, `Classical.choice` and `Quot.sound`: that statements which imply each other are equal, the axiom of choice, and a rule for treating equivalent objects as one. Lean’s own kernel accepted the export after 48 hours 3 minutes on a single thread, using 82.6 GiB of memory at its peak. Others were far quicker:[3]

| Checker | Result | Time |
| --- | --- | --- |
| Lean’s default kernel (v4.36.0) | Accepts | 48 h 3 min on one thread; 82.6 GiB peak |
| Lean’s “paranoid” kernel | Accepts | 72 h 20 min on one thread; 98.8 GiB peak |
| nanoda, an independent kernel written in Rust | Accepts | 27 min 42 s on 80 threads |
| con-leche, an independently written kernel | Accepts 1,468,418 declarations | 3 min 15 s on 64 threads |
| lean4lean | 175,187 of 175,187 modules pass | Module by module |
| Comparator v4.33.0 | “Your solution is okay!” | 64 h 8 min |
| lake comparator (v4.36.0) | Two of three stages accepted | Last stage still running at 05:25 UTC, 24 November |

The statement adds that con-leche and its Rust port con-ron “come with a formal proof, relative to set theory, that they cannot accept a false proof”.[1] The run still outstanding is the newest end-to-end tool; its final stage is the single-threaded kernel that took 48 hours on its own.[3]

ReportedWhat a passing check shows, in the log’s words

“A passing check shows that the formal statements, as written in Lean against Mathlib’s definitions, follow from the three standard axioms according to the kernels used. It relies on those kernels and on Mathlib’s definitions being what they are intended to be.”[3]

That is a different assurance from peer review. A referee reads an argument, judges whether it is right and whether it is new, and can miss a gap. A kernel misses no step and judges nothing. Trust moves from a reader’s understanding to a few small programs and the definitions they are handed.

## What the check does not give: an explanation

The author is plain about this. “I am presenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics,” Alpöge writes. At the decisive stage he was, “so to speak, out of my element”, having “little mastery of automorphic forms on higher rank groups”. He did generate a prose version and held it back: “It being obviously inappropriate to attempt to post some massive unreadable travesty of ‘slop’, I decided to only present Lean.” A footnote gives its length: “I of course amused myself, and hit 250,000+ pages.” He expects the argument to be “massively simplified” and says he intends “to write it properly”.[2]

> At the minute, we don’t even know why the theorem is true.Kevin Buzzard, professor of pure mathematics, Imperial College London, to Al Jazeera, 21 November 2026

Buzzard said the code “might correspond to tens of thousands of pages of mathematics” and that nobody yet knows how much of it is new; with people already translating it back into English, he expects “a much better understanding” within a week or two. Abhishek Saha, professor of mathematics at Queen Mary University of London, told the same outlet the credit belongs to the person: “Much of the press is referring to this as a proof by Claude. I think they should instead credit the person involved.”[9] The Register reported on 24 November that Stanford’s Ravi Vakil has since released a draft proof of nearly 1,000 pages by Alessandro Maria Masullo; we have not read that draft.[11]

The note also addresses its own timing. Alpöge writes that the result came “late Sunday night”, that he “messaged Dario” about announcing it (Anthropic’s chief executive is Dario Amodei) and that “there was a constraint to respect”, which he does not name. “There is an obvious cynical view, to do with the timing, but it is false.”[2] Anthropic’s shares [began trading on Nasdaq on 19 November](https://www.thetechbag.com/blog/anthropic-ipo-81bn-83-a-share-opens-111), the day before the release. Anthropic is not the only laboratory with such a claim. OpenAI said in September that an unreleased model had solved the Navier–Stokes problem, Al Jazeera notes, and Clay lists that problem beside this one.[9][5]

## The US$1m prize: “Active”, not solved

When we read it on 24 November, Clay’s page for the Riemann Hypothesis carried the label “Active”. Internet Archive copies of 20 and 21 November show “Unsolved”, and the page’s metadata records a change on 23 November.[4][12] The institute’s index now sorts its seven problems into two “Active problems” (Navier–Stokes and Riemann), four “Unsolved problems” and one solved, the Poincaré conjecture.[5] Neither page defines “Active” or mentions the Lean proof.

The prize rules, adopted on 26 September 2018, say Clay may award a prize “if and only if” the proposed solution has been published by a “Qualifying Outlet”, “at least two (2) years have elapsed since publication”, it “has achieved general acceptance in the global mathematics community”, and it answers the official problem description, the last two “in the sole discretion of CMI”. A qualifying outlet is “a refereed mathematics publication of worldwide repute” or one the board approves under relaxed conditions. Clay accepts no direct submissions. After two years it may convene a committee of at least three, and it “will pay special attention to the question of whether a Prize solution depends crucially on insights published prior”. The rules do not mention machine-checked proofs or software.[6]

Our viewOur reading of the rules, and what to watch

On the rules as written, the two years run from publication in a qualifying outlet, and a code archive on a personal website is not a refereed publication. Clay has said nothing we could find. Four things to watch: the last lake comparator stage; the first accounts of the argument in ordinary mathematical prose; whether a paper is submitted to a journal; and any wording Clay adds to its page.

For readers in India: nothing to patch, and a proof a 100 GB machine can re-check

None of the documents we read names an Indian institution. Two practical points apply here as anywhere. First, nothing in them says the proof weakens any encryption, and no IT team has anything to change: as Buzzard told Al Jazeera, “In practice, people do tend to assume that the Riemann hypothesis is true”.[9] Second, the check is open to any university department or student with the hardware. Lean, Mathlib and the export are free to download; the MIT log says the full check needs “roughly 100 GB of RAM and 70 GB of disk”, and that con-leche alone needs about 50 GB of memory and ran in under four minutes on 64 threads.[3]

How we did this

Figures as of 24 November 2026, 7:45pm IST

We read every numbered source in full, the MIT log as last updated at 05:25 UTC on 24 November. We did not download or run the proof. “17 million lines” is the joint statement’s figure; the module count, file sizes, axioms, checker results and timings are the MIT log’s. Our arithmetic: 167 years is 2026 less 1859; 6 October to 16 November is 41 days and to 21 November 46; 61,570,595,788 bytes is 61.57 GB and 239,275,554 bytes is 239 MB, in decimal units. The note’s dates are written month first (10/6/26). The plain-language glosses of the three axioms and of Robin’s inequality, and the comparison with peer review, are ours.

Alpöge’s place at Anthropic is from Anthropic’s August post, which names him as one of its mathematicians, and his own homepage; the joint statement does not mention the company. Clay’s earlier label is from Internet Archive captures made at 16:27 UTC on 20 November, 10:45 UTC on 21 November and 19:15 UTC on 23 November. The quotations from Buzzard and Saha are as Al Jazeera printed them. The Register’s report of a second, human-written draft proof is not confirmed at its source. Nothing published after 7:45pm IST on 24 November is included.

Spotted an error? [Write to us](https://www.thetechbag.com/blog/standards#corrections); corrections are published at the foot of the piece.

Sources

1. [Lean FRO and Mathlib Initiative: Lean verification of the Riemann Hypothesis, joint statement (Lean community blog)](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) — 21 November 2026
2. [Levent Alpöge: note announcing the proof, four pages](https://alpo.ge/remark.pdf) — undated; released 20 November 2026
3. [Andrew Sutherland, MIT: Verification files for the Lean proof of the Riemann Hypothesis](https://math.mit.edu/~drew/grh/) — page last updated 24 November 2026, 05:25 UTC
4. [Clay Mathematics Institute: Riemann Hypothesis (Millennium Prize problem page)](https://www.claymath.org/millennium/riemann-hypothesis/) — page metadata last modified 23 November 2026
5. [Clay Mathematics Institute: The Millennium Prize Problems (index)](https://www.claymath.org/millennium-problems/) — page metadata last modified 11 September 2026
6. [Clay Mathematics Institute: Millennium Prize Description and Rules](https://www.claymath.org/wp-content/uploads/2022/03/millennium_prize_rules_0.pdf) — 26 September 2018
7. [E. Bombieri: Problems of the Millennium: the Riemann Hypothesis (Clay’s official problem description)](https://www.claymath.org/wp-content/uploads/2022/05/riemann.pdf) — undated
8. [Kevin Buzzard, Xena project: “…and the proof is checked in Lean”](https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/) — 12 November 2026
9. [Al Jazeera: Riemann hypothesis: Has the world’s most famous maths problem been cracked?](https://www.aljazeera.com/news/2026/11/21/riemann-hypothesis-has-the-worlds-most-famous-maths-problem-been-cracked) — 21 November 2026
10. [Anthropic: Claude has improved on a longstanding lower bound for the fraction of zeros of the Riemann zeta function that satisfy the Riemann hypothesis](https://www.anthropic.com/research/riemann-zeta) — 10 August 2026, updated 13 August 2026
11. [The Register: Anthropic says Claude solved an age-old math problem, but the written proof is 250,000 pages of slop](https://www.theregister.com/ai-and-ml/2026/11/24/anthropic-says-claude-solved-an-age-old-math-problem-but-the-written-proof-is-250000-pages-of-slop/5311775) — 24 November 2026
12. [Internet Archive: captures of Clay’s Riemann Hypothesis page, 20, 21 and 23 November 2026](https://web.archive.org/web/20261121104538/https://www.claymath.org/millennium/riemann-hypothesis/) — 21 November 2026
13. [Levent Alpöge: homepage](https://alpo.ge/) — undated

**Disclosure.** TechBag is a software reseller: it earns when companies buy through it, including from vendors named here. The analysis is TechBag’s own; no vendor paid for or saw this piece before publication. Facts are labelled reported, TechBag count or our view. [How the Journal works](https://www.thetechbag.com/blog/standards).

**Read this next:** [OpenAI’s model found 948 Linux root bugs at about US$1,280 each](https://www.thetechbag.com/blog/openai-948-linux-root-bugs-1280-each) — Another result from an AI model that others could check: OpenAI’s model found 948 Linux root bugs at about US$1,280 each.

Go deeper on TechBag

- [Anthropic raises US$81bn at US$83 a share; its stock opens at US$111.50](https://www.thetechbag.com/blog/anthropic-ipo-81bn-83-a-share-opens-111) — the company behind Claude, read from its prospectus the day before the proof was released
- [Enterprise AI hit a US$177bn run rate, Menlo estimates; Anthropic and OpenAI take 86%](https://www.thetechbag.com/blog/enterprise-ai-spend-177bn-anthropic-openai-86-percent) — the commercial market the same models are sold into
