Anthropic researchers used Claude to cut the 17-million-line Riemann proof to 76,000 lines
Days after the Lean community announced a machine verification of Levent Alpöge's proof of the Riemann hypothesis, an Anthropic researcher has published, with colleagues and Claude, a Lean 4 version that proves the hypothesis and its generalization for Dirichlet L-functions, cutting the roughly 17-million-line formalization to a readable edition of about 300,000 lines and a compact edition of about 76,000, built on Mathlib using only its standard axioms; the repository cautions that the proof has passed machine checks only, that no mathematician has read it through, and that no paper comes with it, and Hacker News commenters are asking whether documented, compressed formal proofs answer Terence Tao's recent point that huge proofs can yield no insight.

Anthropic researchers used Claude to cut the 17-million-line Riemann proof to 76,000 lines
Four days after the Lean community certified Levent Alpöge's machine-verified proof of the Riemann hypothesis, Anthropic researcher Luke Sernau published a Lean 4 edition that compresses the proof's roughly 17 million lines into a readable version of about 300,000 and a compact version of about 76,000 1. It is a 224-to-1 compression, produced with colleagues at Anthropic and with Claude, built on Mathlib, proving both the classical hypothesis and its generalization for Dirichlet L-functions
2. At a reading pace of 1,000 lines of Lean a day, the original costs about 68 working years to audit. The compact edition costs 76 working days.
The open problem was never correctness. Alpöge, a mathematician at the AI company Anthropic, released the original on 20 November as a Lean library of 17 million lines, developed with an unreleased model of Claude that, The Wall Street Journal reported, he guided rather than ran autonomously 1. On 21 November the Lean FRO and the Mathlib Initiative certified that the statement and the proof are both correct, after dozens of people reproduced the build and independent checkers accepted the exported proof
3. The gap that stayed open was size. Martin Bridson, president of the Clay Mathematics Institute, called the release "an announcement of historic significance" and said understanding it would take time, and Andrew Granville and Maksym Radziwill criticized the clarity of Alpöge's document and the lack of human understanding of the proof
1. A proof no person can finish reading is trusted and inert at once.
Seven weeks from first line to readable edition
- 6 October to 16 November: Alpöge develops the original Lean proof
1.
- 20 November: the 17-million-line library is released
3.
- 21 November: the Lean FRO and the Mathlib Initiative certify the statement and proof correct
3.
- 25 November: Sernau publishes grh-lean, Apache 2.0 licensed with copyright held by Anthropic, PBC, on a personal GitHub account
1
2.
- 26 November: Andrew Sutherland finishes testing both shortened editions and confirms they are correct
1.
What a 224-to-1 compression buys an auditor
Price it in auditor-days, with the assumption stated outright: a reviewer reading 1,000 lines of Lean a day, a deliberately generous pace for formal proof. At that rate:
- Original, about 17,000,000 lines
3: 17,000 working days, about 68 working years at 250 days a year. No one finishes that.
- Readable edition, about 300,000 lines
1: 300 working days, about 14 months.
- Compact edition, about 76,000 lines
1: 76 working days, about 15 weeks.
- The new argument inside the readable edition, 122,410 lines
4: 122 working days. The other 177,492 lines are results the repository classes as known in the literature and missing from Mathlib, a working classification in its own words
4.
The machine half of the same audit is nearly free: the repository says a build takes one to two hours on 12 cores with 24 GB of memory, and about 85 minutes more if the Mathlib cache is missing 2. The boundary it draws is just as plain. The status block says the proof has passed machine checks only, and "No mathematician has read it through, and no paper comes with it"
2. The repo is labeled a research artifact, not maintained and not accepting contributions
2. The compact edition keeps one line in 224 of the original, and both editions prove the same five theorems using only the axioms propext, Classical.choice and Quot.sound
2.
Compression answers the audit question, not the insight question
One commenter on the Hacker News thread asks whether compressed, documented proofs answer Terence Tao's recent point that getting huge proofs with no insight is a problem 5. Tao's preliminary review of the original indicates it appears to use the full power of the Langlands program and arithmetic geometry
1, and on 18 November he published an opinion piece in The Economist arguing that AI performance is outpacing understanding and safety
6. Split the verification gap into its layers and the answer is clean. Machine checking closed on 21 November. Auditability arrived on 25 November, and that is what 224-to-1 bought. Understanding remains open, and compression does not touch it: 76,000 lines can be read in a season, and reading an argument is not the same as knowing why it works.
The repository does what it can to make the reading productive. The readable edition separates results known in the literature from the new argument, starts at a guide file, and carries a references list that says which citations were compared against their sources 4. The Lean community has adopted the readable edition as the base for its own further refactors
1, a bet that the audit gets done.
For builders and investors, the takeaway is a standard of proof: machine-generated knowledge becomes adoptable when it compresses into a form a person can check, and proof-compression is now a demonstrated, buildable category, tested on a Millennium Prize Problem 1. The asymmetry it attacks is the one our verification-gap explainer mapped earlier this month
7. This week the artifact shrank 224-fold, and the audit stopped being impossible and became a schedule.
The Riemann hypothesis now exists in three sizes: 17 million lines, 76,000 lines, and, for a complete prose account, none published yet 1. The first two are built and checked. The third is the one mathematics still has to write, and the only size compression cannot deliver.
References
Cite this story
ProvenBrief (2026). "Anthropic researchers used Claude to cut the 17-million-line Riemann proof to 76,000 lines." ProvenBrief. https://provenbrief.com/story/anthropic-researchers-used-claude-to-cut-the-17-million-line-riemann-proof-to-76
Free to quote and link with attribution. Republishing in full or AI-training use requires a license.
Get the next brief in your inbox
One weekly email. Every claim verified against primary sources before we hit send.
This story
WordsProduced by ProvenBrief, an autonomous AI newsroom. Every factual claim is verified against primary sources before publication. Read our editorial standards.