The 99.56% Riemann cut is real, and it is a line count
Anthropic's 76,000-line Riemann proof is genuine work. The 99.56% figure counts the golfed edition, not the readable one, and settles nothing about the maths.
Five days after Levent Alpöge published seventeen million lines of Lean and no paper, a shorter version appeared with a number attached. Same five theorems, 76,000 lines instead of 17.4 million, a cut of 99.56%. The arithmetic is correct. It is also the most flattering of three sizes the repository publishes about itself, and it measures the file rather than the mathematics.
What Sernau put on GitHub
Luke Sernau published the repository on 25 November: a single commit, no releases, Apache 2.0, Copyright 2026 Anthropic, PBC, and about a thousand stars with 116 forks by the weekend. It holds two folders. grh/ is the readable edition of roughly 300,000 lines, with a reading guide at grh/GUIDE.md and an index sorting the argument into known and new mathematics. grh-compact/ carries the same five theorems at roughly 76,000.
The build is pinned to Lean 4.35.0 and Mathlib commit 56a00585, and the estimate is one to two hours on twelve cores with 24 GB of memory, plus about 85 minutes if the Mathlib cache is missing. The five theorems cover all moduli and all characters, primitive or not. Both editions depend only on propext, Classical.choice and Quot.sound, the same three axioms Mathlib uses, and the first of them is Mathlib's own RiemannHypothesis rather than a definition written for this occasion.
None of that is in dispute, and the argument that follows is narrow. The earlier certification settled that the original archive states the theorem mathematicians mean and that its proof term checks. A rewrite has to clear the same bar, and this one did.
Three counts in one folder
The compact edition reports its own size three ways in the same README. About 76,000 lines of code. 95,000 non-blank lines once comments are counted. 113,000 lines in all. The 99.56% comes from the first of those, divided into the archive's 17.4 million lines across 175,187 files: the smallest count of the new text against a total count of the old.
| What is counted | Lines | Cut against 17.4m |
|---|---|---|
| Compact edition, code only | 76,000 | 99.56% |
| Compact edition, every line | 113,000 | 99.35% |
| Readable edition, code only | 300,000 | 98.3% |
| Readable edition, every line | 477,000 | 97.3% |
The readable edition is nearly four times the compact one, and an independent analysis quoted by heise puts it near 477,000 lines when comments and blank lines are included. Every figure in that table is an enormous reduction. The spread between 97.3% and 99.56% is the sound a compression metric makes when nobody has agreed what a line is.
Golfed, or rewritten?
The most useful objection came from a commenter called gregdeon in the Hacker News thread, which reached 560 points and 360 comments:
"It's worth noting that the 76k line version is heavily 'golfed' (e.g., cramming the same content into fewer lines), which heavily hurts readability for the sake of a smaller line count. A more sane version is around 300k lines. Still, a massive reduction!"
That is not a dismissal, and it carries a second observation: the proof "also still contains a few unused intermediate results". Sernau's README concedes the premise outright. The proofs, it says, "are written to be short, not to be easy to read". So the number everyone quoted describes the edition nobody should open first.
Golf is only half the story, though, and the other half makes the metric look worse rather than better. The compact README says the rewrite follows Alpöge's method but that "many steps are proved by other arguments", and that the readable edition differs from the compact one because "some of its steps use other arguments". These are not two typesettings of one text. Parts of the reduction are new mathematics found during the rewrite, which is what Sernau told the Lean forum, according to heise, when he reported simpler proofs for numerous intermediate results. On that account the cut is neither a formatting trick nor a compression of the original, but a partially different proof of the same statements, and its length is a fact about how someone chose to write Lean.
Twelve minutes instead of ninety hours
The verification effort is what a line count genuinely misses. A day after the first thread, a commenter called tito pointed to Riemann@home, a SETI@home-style project that hands individual modules of the proof to volunteers. At the time of that comment there were 18 independent validators. By 27 November the site counted 64 builders, all 175,187 modules of the original built at least three times, and 54 signatures on a joint statement.
The build times are the interesting data. The seventeen-million-line archive takes between ten and ninety-five hours to compile on the hardware listed, with exports running from 39 minutes to 26 hours. The 300,000-line edition builds in 12 minutes at the fastest entry, most of them inside an hour. In five days, checking this proof went from an overnight job to something a volunteer could finish over lunch, which is what made 54 signatures possible. heise reports that Andrew Sutherland of MIT verified both editions and Michael Rubinstein of Waterloo checked the compact one.
The joint statement is careful in exactly the right place: "We do not certify the mathematics." It certifies builds, axioms and reproduced exports, and names who checked the statement, which was not them.
The README's own verdict
One paragraph in the top-level README is more informative than any of the counts above, and it is short enough to quote whole:
"The proof has passed machine checks only, listed in each folder's README. No mathematician has read it through, and no paper comes with it."
That is the vendor's own summary, published with the artifact rather than extracted from it later. The compact README adds that "the Lean text and the documents in this project were written by Claude", and the top-level file opens with "Research artifact. Not maintained and not accepting contributions." Nobody is claiming more than this. The overclaiming is happening downstream, in the posts that turn a repository's internal line count into a headline about mathematics.
What would settle it
Three things would, and none of them is a line count. The first is a paper a number theorist can referee, with the argument in the order a human would follow it. That work has a home now: a Polymath-style project announced on Terence Tao's blog on 24 November by Anurag Sahay, Will Sawin and Lior Silberman, with the stated goals of a human-readable proof, clarifying the surrounding literature, and generalising the argument. Drafts are circulating: a 265-page write-up by Rubinstein that he calls incomplete, and a full draft of the compact edition by Bartosz Naskręcki, both AI-produced and neither refereed. Naskręcki's own summary of the situation, as quoted by heise, is the sharpest line anyone has written about it: "The bottleneck is no longer the formal proof, but the fact that humans have to read it."
The second is an independent formalization. A second team proving Mathlib's RiemannHypothesis by its own route would test something no rewrite can, since a rewrite inherits the architecture it is shortening, including any misreading baked into it. That is expensive, unglamorous, and nobody has announced one.
The third is time, which is the only test that has ever worked. The claim has survived a week of unusually competent scrutiny: multiple kernels, multiple checkers, dozens of independent builds, a statement imported from a library the field already trusts. What it has not survived, because it has not yet faced it, is a year in which a specialist reads the argument closely enough to find the step that does not do what it says.
Against that, 99.56% is the least interesting number in the repository. The axiom list tells you what logic the proof rests on, the twelve-minute build tells you why the verification happened so fast, and the sentence about no mathematician having read it through tells you where the mathematics actually stands. All three were in the README on the first day, and none of them fits in a headline.


