---
title: "Riemann Hypothesis proof shrinks 204-fold; the US$1m prize waits on human understanding"
summary: "Two weeks after the proof was released: how 15.5 million lines became 76,000, what mathematicians mean by understanding, and the four steps the Clay Institute’s prize rules still require."
url: https://www.thetechbag.com/blog/riemann-hypothesis-proof-76000-lines-clay-institute
format: Analysis
desk: "AI in the enterprise"
region: Global
published: 2026-12-04
published_at: 2026-12-04T20:15:00+05:30
facts_checked: 2026-12-04
author: TechBag (The TechBag Journal)
tags: ["Riemann Hypothesis proof","Riemann Hypothesis solved","Riemann Hypothesis prize","Clay Mathematics Institute","Millennium Prize","Levent Alpöge","Claude Riemann Hypothesis","Riemann Hypothesis explained","Anthropic","Lean proof","machine-checked proof","GRH Polymath","Terence Tao","Luke Sernau","Andrew Sutherland","Ben Green","prime numbers","AKS primality test","IIT Kanpur"]
cover: https://www.thetechbag.com/blog/covers/riemann-hypothesis-proof-76000-lines-clay-institute.png
---

# Riemann Hypothesis proof shrinks 204-fold; the US$1m prize waits on human understanding

*Two weeks after the proof was released: how 15.5 million lines became 76,000, what mathematicians mean by understanding, and the four steps the Clay Institute’s prize rules still require.*

Analysis · AI in the enterprise · By TechBag · Published 2026-12-04 · Facts checked 2026-12-04 · Canonical: https://www.thetechbag.com/blog/riemann-hypothesis-proof-76000-lines-clay-institute

The short version

1. The computer-checked proof of the Riemann Hypothesis released on 20 November ran to 15.5 million lines of code. A rewriting published five days later proves the same five theorems in 76,149, and every independent checker run on it at MIT accepts it.[1]
2. Shorter is not the same as understood. The Clay Mathematics Institute, which offers US$1m for the problem, said on 4 December that the journey to “the required state of rigorous human understanding will undoubtedly be arduous”.[2]
3. The prize needs a refereed publication, then at least two years, then general acceptance by mathematicians: December 2028 at the earliest. Watch for a written proof that experts have read through and a journal has accepted.[3]

Two weeks ago a proof of the most famous open problem in mathematics arrived as a computer file too long for anyone to read. It has since shrunk 204-fold. The first version, found by the mathematician Levent Alpöge of Anthropic working with the company’s Claude AI,[16] would fill about 3,10,000 printed pages. The shortest version today would fill about 1,500.[1][4] Both prove the same thing: that the prime numbers are spread out as evenly as Bernhard Riemann guessed in 1859. [Our first piece](https://www.thetechbag.com/blog/riemann-hypothesis-lean-proof-17-million-lines-claude) covered what was proved and who certified it. This one asks what has happened since, and why the people who hold the prize money are in no hurry.

## A proof checked by a referee who knows only the rules

Think of a chess referee who knows every rule and has no idea of strategy. Hand over the record of a game and the referee can tell you, with certainty, that each move was legal and that it ended in checkmate. Ask why White gave up the queen on move 20 and you get a blank look.

A machine-checked proof works like that. The argument is written in Lean, a language in which every step is spelled out, and a small program tests each step against the rules of logic. A human reader gets tired and skips the line that begins “clearly”. The program never skips. If a single step fails, the whole proof is refused.

That is how a proof can be certified before anyone has read it through. The organisations behind Lean and its mathematics library certified the original a day after its release.[20] Andrew Sutherland of MIT has put the original and the shorter versions through several checkers written by different people. All his checks are finished, and each version passed.[1][5] The rewriting’s own notes were just as plain about the limit when it was published on 25 November: it had “passed machine checks only”, and “No mathematician has read it through, and no paper comes with it.”[4]

## How 15.5 million lines became 76,149

The shorter proof was published by Luke Sernau, who credits “my colleagues at Anthropic, and Claude”. It comes in two editions: a compact one, and a readable one nearly four times as long.[4]

**Figure: The proof shrank from 15.5 million lines of code to 76,000 in five days**

*Thousands of lines of Lean code, not counting blank lines and comments, by version*

|  | Value |
| --- | --- |
| Original (20 November) | 15,532 |
| Readable edition (25 November) | 300 |
| Compact edition (25 November) | 76 |

Source: Andrew Sutherland, verification logs, MIT · as of 4 December 2026, 7:45pm IST

Some of that was tidying, but much of it was finding shorter routes. “A lot of the simplification was finding simpler proofs for sub-results,” Sernau told other Lean users the day he published it. “So a fair number of the arguments are new.” Whole theories the first version had leaned on turned out not to be needed.[6]

The shortest version is not the clearest. Programmers have a game called code golf: do the job in the fewest strokes, however ugly. “Basically we code golfed the heck out of it to get the 76k version and then rewrote for clarity to get the 300k one,” Sernau wrote.[6] So the volunteers who are now cleaning up the proof in public work from the longer edition. Their page lists 230 contributors.[7]

What shortening does give a reader is a map, because it separates the old from the new:

**Figure: 59% of the readable proof is mathematics that was already known**

*Lines of code in the readable edition, by its authors’ own sorting*

|  | Value | Share |
| --- | --- | --- |
| Background results known in the literature | 1,77,492 | 59% |
| The argument itself and its set-up | 1,22,410 | 41% |

Source: lsernau/grh-lean, INDEX file, 25 November 2026 · as of 4 December 2026, 7:45pm IST · the authors call it a working classification

The background had to be included because Lean’s library of mathematics does not hold it yet.[8] The part a specialist wants to study is the other 41%. It is also easier to test: the compact edition builds in one to two hours on a 12-core computer with 24 GB of memory, a good desktop machine.[4] Re-checking the original needs about 100 GB.[5]

## Knowing that it is true, and knowing why

Add up the odd numbers from the start. 1 + 3 is 4. 1 + 3 + 5 is 9. 1 + 3 + 5 + 7 is 16. The answer is always a perfect square. A computer can confirm it as far as you like, and a line-by-line proof can settle it for ever. Neither need tell you why.

Now picture nine tiles laid out three by three. To grow that into a four-by-four square, add three tiles along one side, three along the next, and one for the corner. That is seven, the next odd number. Each odd number is exactly the border the next square needs. You could explain it to a child, and you could guess what happens with cubes.

That border is what mathematicians mean by understanding. The institute that holds the prize money draws the same line:[19]

> Why ask for a proof? Because a proof gives not only certitude, but also understanding.Clay Mathematics Institute, on another of its seven prize problems, Navier–Stokes

For the Riemann Hypothesis, that picture does not exist yet. Ben Green, a professor at Oxford, wrote on 1 December that he did not believe “any human mathematician could come close to giving a coherent colloquium talk even on the broad strategy of the proof”. He expects full understanding “in the next year or two”, and warns that the argument may stay “unnatural”: correct, but impossible to boil down to something satisfying.[9] Cambridge had scheduled just such a talk for the same day, by Jack Thorne. Its notice promised to “try to give some hints as to the new ideas”.[21]

Alpöge himself thinks it should be simpler. “I feel Riemann should be easy, and any real difficulty is an indication our setup is just dumb at the moment,” he wrote on 23 November. In the same post he said the 250,000-page prose version mentioned in his announcement “was a joke”.[10]

People are now writing the argument out in words, with AI help. A 698-page account by Baiying Liu went up on the arXiv preprint server on 27 November; it says it is complete and does not lean on the computer proof at all.[11] Another runs to 665 pages.[12] A third, finished this week, to 2,692.[13] Hexagon, a new preprint site, asks authors to declare how far they follow their own work. The first two carry the same label: “Human understanding: some parts”.[12][14]

To join these efforts up, three mathematicians, Anurag Sahay, Will Sawin and Lior Silberman, launched an open project on Terence Tao’s blog on 24 November. Its first mathematical aim is “a human-readable and understandable proof”. Anyone can read the discussion.[15]

**Figure: From a file no one could read to the prize institute’s statement took two weeks**

*Main events since the proof was released, 20 November to 4 December 2026*

| Date | Event | Detail |
| --- | --- | --- |
| 20 Nov 2026 | Proof released | 15.5 million lines of Lean code |
| 21 Nov 2026 | Certified | By the organisations behind Lean and its library |
| 24 Nov 2026 | Open project | To write a proof people can follow |
| 25 Nov 2026 | 76,149 lines | The compact edition; it passed its checks within hours |
| 27 Nov 2026 | Write-up on arXiv | 698 pages in its current version; not refereed |
| 4 Dec 2026 | Clay’s statement | “Of enormous historic significance” |

Source: Lean FRO and Mathlib Initiative; MIT logs; GitHub; arXiv; Terence Tao’s blog; Clay Mathematics Institute · as of 4 December 2026, 7:45pm IST

## What has to happen before anyone gets US$1 million

Clay’s statement of 4 December calls the announcement “a moment of enormous historic significance”. It does not say the prize has been won. The rules, it admits, date from a time when computer checking was “far less developed”, but their principles “remain valid” and concern “both correctness and the broad acceptance that flows from understanding”. And: “The unhurried nature of the evaluation process remains valuable.”[2]

**Figure: Four steps stand between the proof and the prize, and the second lasts two years**

*What the Millennium Prize rules require, in order*

1. 01PublicationIn a refereed mathematics publication “of worldwide repute”. Clay takes no direct submissions.
2. 02Two yearsAt least. The solution must survive “rigorous examination” by mathematicians worldwide.
3. 03AcceptanceClay looks at the articles, books, conferences and awards that discuss it.
4. 04Clay’s own reviewA committee of at least three, with two or more experts in the field. It can still end in no prize.

Source: Clay Mathematics Institute, Millennium Prize Description and Rules, 26 September 2018 · as of 4 December 2026, 7:45pm IST

Dec 2028

the earliest the prize could be awarded, even if a journal published the proof today

The rules let Clay relax its conditions on where a solution is published. They give no exception to the two years.

Then comes the question of who would be paid. The rules allow one winner or several, and tell Clay to weigh earlier work the solution “depends crucially” on. They say nothing about AI.[3] “The conversations are ongoing. We haven’t decided,” Clay’s president, Martin Bridson, told the BBC this week.[16]

**Our view:** What to watch

The number to follow is no longer the line count. It is the first written account that independent experts say they have read from end to end, and the first to be accepted by a refereed journal. A preprint does not start Clay’s two-year clock; publication does.

India: IIT Kanpur’s test for primes never needed the hypothesis

In 1975 Gary Miller found a fast, certain way to tell whether a number is prime, but only if a wider form of Riemann’s hypothesis was true. In 2002 Manindra Agrawal, Neeraj Kayal and Nitin Saxena of IIT Kanpur found one that needed no such assumption, in a paper titled “PRIMES is in P”.[17] The new proof covers the wider form as well, so by our reading Miller’s method now stands on its own too.[18] Nothing in the documents we read says the proof weakens encryption; the [2 December advice on upgrading cryptography](https://www.thetechbag.com/blog/ai-discoveries-cryptography-cisa-nsa-eight-companies) is a separate story.

How we did this

Figures as of 4 December 2026, 7:45pm IST

We compare like with like: 15,531,759 and 76,149 are lines of code, leaving out blank lines and comments, as the MIT logs count them. The ratio is 204. The figure of 17 million often quoted for the original includes blank lines; on that basis the compact edition has 112,827. Printed pages assume 50 lines a page. The 698 pages are counted from version 2 of the arXiv PDF, dated 1 December; the other page counts are the authors’. The 230 contributors have had at least one change accepted, including to the earlier edition. December 2028 is today plus the two years in the rules.

We did not run any of the proofs or check any of the written accounts. The chess and tile comparisons are ours. That Miller’s method needs only the form of the hypothesis now proved, the one for Dirichlet L-functions, is our reading. Alpöge’s post is dated 23 November in UTC. Our piece of 24 November repeated his 250,000-page figure; it is now corrected there.

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

Sources

1. [Andrew Sutherland, MIT: Verification files for the shorter Lean proof of RH and of GRH for Dirichlet L-functions](https://math.mit.edu/~drew/shortgrh/) — page last updated 27 November 2026
2. [Clay Mathematics Institute: Millennium Prize Problems Update](https://www.claymath.org/news/millennium-prize-problems-update/) — 4 December 2026
3. [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
4. [Luke Sernau: GRH for Dirichlet L-functions, in Lean 4 (GitHub; README files)](https://github.com/lsernau/grh-lean) — 25 November 2026
5. [Andrew Sutherland, MIT: Verification files for the Lean proof of the Riemann Hypothesis](https://math.mit.edu/~drew/grh/) — page last updated 27 November 2026
6. [Luke Sernau on the Lean community’s Zulip forum: New proof in 300k lines](https://leanprover.zulipchat.com/#narrow/channel/658556-Riemann-Hypothesis/topic/New.20proof.20in.20300k.20lines/near/643717520) — 25 November 2026
7. [leanprover-community/riemann-hypothesis: README and list of contributors](https://github.com/leanprover-community/riemann-hypothesis) — read 4 December 2026
8. [lsernau/grh-lean: Results and sources (INDEX file of the readable edition)](https://github.com/lsernau/grh-lean/blob/main/grh/INDEX.md) — 25 November 2026
9. [Ben Green, London Review of Books blog: Unnatural Maths](https://www.lrb.co.uk/blog/2026/december/unnatural-maths) — 1 December 2026
10. [Levent Alpöge on X](https://x.com/__alpoge__/status/2124987173439209561) — 23 November 2026
11. [Baiying Liu: On a complete written proof of the Generalized Riemann Hypothesis for Dirichlet L-Functions (arXiv preprint)](https://arxiv.org/abs/2611.38136) — 27 November 2026, revised 1 December 2026
12. [Yutian Li: Alpöge’s proof of the generalized Riemann hypothesis for Dirichlet L-functions: a detailed exposition (Hexagon preprint)](https://hexagonmath.org/2611.01264) — 28 November 2026
13. [Michael Simkin: A full prosification of the Lean proof of GRH (GitHub)](https://github.com/simsim314/GRH-Prose-Sernau) — 3 December 2026
14. [Hexagon: entry for Baiying Liu’s account](https://hexagonmath.org/2611.01218) — 28 November 2026
15. [Anurag Sahay, Will Sawin and Lior Silberman, on Terence Tao’s blog: G.R.H. Polymath](https://terrytao.wordpress.com/2026/11/24/g-r-h-polymath/) — 24 November 2026
16. [BBC News: Institute unsure AI-assisted mathematician can claim $1m prize](https://www.bbc.com/news/articles/c6wy0pe2g1jdo) — 2 December 2026
17. [Manindra Agrawal, Neeraj Kayal and Nitin Saxena: PRIMES is in P (Annals of Mathematics)](https://annals.math.princeton.edu/2004/160-2/p12) — received January 2002; published September 2004
18. [Keith Conrad, University of Connecticut: The Miller–Rabin test](https://kconrad.math.uconn.edu/blurbs/ugradnumthy/millerrabin.pdf) — undated
19. [Clay Mathematics Institute: The Millennium Prize Problems (index; source of the pull quotation)](https://www.claymath.org/millennium-problems/) — page metadata last modified 11 September 2026
20. [Lean FRO and Mathlib Initiative: Lean verification of the Riemann Hypothesis, joint statement](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) — 21 November 2026
21. [University of Cambridge, DPMMS Departmental Colloquia: The Riemann Hypothesis, Jack Thorne](https://talks.cam.ac.uk/talk/index/274363/) — talk scheduled for 1 December 2026

**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:** [Anthropic’s quantum attack on ML-KEM needs far more than 2¹⁰⁰⁰ operations, CIRG says](https://www.thetechbag.com/blog/lattice-quantum-attack-ml-kem-cirg-no-practical-threat) — Another mathematical result from Anthropic, read by outside experts: its quantum attack on ML-KEM needs far more than 2¹⁰⁰⁰ operations.

Go deeper on TechBag

- [Riemann Hypothesis: a 17-million-line Lean proof is certified correct](https://www.thetechbag.com/blog/riemann-hypothesis-lean-proof-17-million-lines-claude) — what was proved, and the four checks behind the certificate
- [AI discoveries and cryptography: what CISA and NSA advise](https://www.thetechbag.com/blog/ai-discoveries-cryptography-cisa-nsa-eight-companies) — the separate 2 December advice on moving to post-quantum algorithms
