Anthropic cuts the Riemann proof from 17 million lines to 76,000: shorter GRH version is machine-checked, still unread by any mathematician
Researchers at US-based Anthropic have published a much shorter Lean proof of the generalized Riemann hypothesis on GitHub: a readable edition of about 300,000 lines and a compact edition of about 76,000 lines, roughly 0.4% of the 17-million-line original from November 20. It proves the same five theorems on three axioms, passes machine checks, but no mathematician has read it through and no paper comes with it.
At 04:42 Beijing time on November 26, researchers at US-based Anthropic published a much shorter Lean proof of the generalized Riemann hypothesis (GRH) on GitHub: a readable edition of about 300,000 lines and a compact edition of about 76,000 lines, against roughly 17 million lines in the original released on November 20. Both editions prove the same five theorems, use only three axioms, and are built on the Mathlib library; the copyright belongs to Anthropic. The repository states plainly that the proof has passed machine checks only, that no mathematician has read it through, and that no paper comes with it.
The original proof came from Anthropic mathematician Levent Alpöge, who announced on November 20 that he had proved the Riemann hypothesis and the generalized Riemann hypothesis working with the company's AI model Claude. The work took about six weeks, from October 6 to November 16, and ran to about 17 million lines of Lean code. On November 21, the Lean Focused Research Organization and the Mathlib Initiative issued a joint statement certifying that both the statement and the proof are correct, and mathematicians including Andrew Sutherland independently re-checked it in Lean. The Riemann hypothesis, proposed in 1859 by German mathematician Bernhard Riemann, concerns the distribution of prime numbers and has stood unsolved for 167 years. The US-based Clay Mathematics Institute still lists it as active, with its $1 million prize unpaid: under Clay's rules a proof must appear in a qualifying journal, survive at least two years of scrutiny, and win general acceptance before any prize is considered.
The new version changes the presentation, not the conclusion. The original 17 million lines were spread across about 175,000 files that no one could read; the shorter release repackages the same theorems into a readable edition of about 300,000 lines, with a guide, and a compact edition of about 76,000 lines — roughly 0.4% of the original. Building it needs Lean v4.35.0 and a pinned Mathlib commit, and takes one to two hours on a 12-core machine with 24 GB of memory. But shorter does not mean understood: the repository's status note says the proof has passed machine checks only and that no mathematician has read it through. A machine can verify every step; no human yet understands why it works.
The step matters on three levels
The step matters on three levels. For mathematics, the proof has moved from machine-verified toward human-readable, but a natural-language paper still does not exist and real understanding may take years; a 940-page human-written claim to a broader result circulated the same day, so attribution is not settled. For AI, Claude helped produce both the original proof and its compression, which shows frontier models now work deep inside the hardest mathematics, and research is shifting toward a new division of labor: machines write, machines check, humans slowly read. For industry, OpenAI posted its matrix-multiplication proof on November 24 and Google followed with six machine-written mathematics papers, and Anthropic has now added a shorter edition — mathematics has become the arena where the big labs show off model capability, and whoever turns machine proof into a tool engineers can use will hold the key to the next generation of automated research. The money is flowing to labs that can mass-produce mathematical proof. The biggest hidden loser is the traditional mathematics community: authority over proof is sliding from peer review toward machine verification, and human mathematicians are losing their grip on what counts as a proof.
iHolyshit review Cutting 17 million lines to 76,000 makes a sexy number, but do not be fooled by it: 76,000 lines of Lean code is still not human language, there is no natural-language paper, and no mathematician has read it through — shorter here means moving from unreadable to readable in principle. Anthropic and Claude did something remarkable, and exposed an embarrassment at the same time: AI can write proofs humans cannot write, and proofs humans cannot read. Mathematics is splitting in two: machine mathematics and human mathematics. Clay's $1 million may not be paid for two more years, which shows the old rules still holding the line — but the real verdict is no longer Clay's to give. Once machines decide whether a proof is correct, authority over mathematics slips out of human hands. What China should watch is not the $1 million but the race itself: whoever turns machine proof into a tool engineers can use will hold the key to the next generation of research.
November 26, 2026
Share this article
What do you think of this story?
Anonymous feedback, up to 5 reactions per article.
Reader comments
Comment without signing in, or sign in to display your member name.
Discuss the technology and the story. Hate, politics and war, threats, abuse, personal accusations, sexual content, ads, links and personal information are not allowed.
No comments yet. Be the first to share.