Claude Shrinks Riemann Hypothesis Proof 150 Times Over

⚡ TL;DR
On November 25, 2026, a far shorter version of a claimed Riemann hypothesis proof appeared on GitHub, written by Anthropic’s Claude with direction from company colleagues. Checks at the University of Waterloo and MIT accepted it within a day, cutting a 17-million-line original to about 76,000 lines of code. No mathematician has read the proof through, and no paper accompanies it.

A radically shorter version of a claimed proof of the Riemann hypothesis went online on November 25, 2026, and within a day independent checks at the University of Waterloo and MIT accepted it. The new Riemann hypothesis proof was written by Claude, Anthropic’s AI model, with direction from Anthropic colleagues, according to the README files that accompany it, and it reduces a 17-million-line original to roughly 76,000 lines of code.

Riemann hypothesis proof

The release, reported by maccus.fr, came five days after Anthropic mathematician Levent Alpöge published the original. Alpöge posted a four-page note on November 20 saying he had found a proof “working with Claude,” and released it only in Lean, a programming language in which software verifies every step of a mathematical argument. The statement concerns where the zeta function equals zero, and through that the distribution of prime numbers. The proof also covers the generalized version for Dirichlet L-functions, a family that extends the zeta function.

A 76,000-line Riemann hypothesis proof replaces 17 million

The new material went up at 20:42 UTC on November 25 in a GitHub repository named lsernau/grh-lean. The account shows no name, but Michael Rubinstein’s University of Waterloo page identifies the poster as Luke Sernau. The README describes the repository as “a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude.”

It comes in two editions. A “readable” version holds about 300,000 lines of code and opens with a guide setting out a reading order, a glossary and the conventions used. A “compact” version covers the same five theorems in about 76,000 lines of code, or 113,000 counting comments and blank lines; its README warns that its proofs “are written to be short, not to be easy to read.” Even counting comments and blank lines, the compact edition is more than 150 times shorter than the original as the outside rh-trim project counted it. Build time dropped from about 21 hours on a large cloud machine, by rh-trim’s count, to “one to two hours on 12 cores with 24 GB of memory,” by the README’s.

Each edition’s README sets out the division of labor plainly: “The Lean text and the documents in this project were written by Claude (AI).” The authors thank “the colleagues at Anthropic whose direction and suggestions shaped this rewriting.” The work keeps Alpöge’s method, but “many steps are proved by other arguments.”

Waterloo and MIT ran their checks within hours

Rubinstein’s team began checking the compact edition at 23:49 UTC on November 25, about three hours after release. His page notes that Claude Code, Anthropic’s coding agent, ran the checks on the university’s computers. All 794 modules compiled in under half an hour, and the Lean kernel — the small program that re-verifies every step — accepted all of them. A second tool, Comparator, run in its strictest mode, confirmed that the code’s five theorems match the stated ones exactly. The check also put the proof through six separate kernels, all of which accepted it by 05:34 UTC on November 26.

Andrew Sutherland of MIT, who also ran his checks with Claude Code, reported the same verdict for both editions, using Comparator’s sandbox, an isolated test mode the Waterloo cluster does not allow. The compact edition passed on two of his machines. Rubinstein’s page says the theorem statements are identical to those of the original; Sutherland’s page adds that the new proof uses a later version of Mathlib, Lean’s shared math library, and that his team has not formally checked that the statements mean the same thing under both versions.

Automated trimming had stalled at 8 percent

Before Claude’s rewrite, the only serious attempt to shorten the release had largely failed. The rh-trim project counted 17,374,242 lines in 175,188 files — about seven times the size of all of Mathlib — with a single explanatory docstring. Its automated loop deleted unused code, rebuilt the proof, read the errors and restored what was needed, running 71 rounds over 38 hours and 27 minutes on November 22 and 23. Its best round still produced 17 errors, and no trimmed version ever built cleanly. The project stopped at a cut of “about 8%,” leaving 15.95 million lines, and called that an upper bound, “not a result.” Its explanation: “The proof is big because of what it uses.” Real savings, it wrote, would need “a shorter route through the math.”

Alpöge had anticipated something like the rewrite. Posting a human-readable version would have meant a “massive unreadable travesty of ‘slop’,” he wrote, as Quanta Magazine reported, so “I decided to only present Lean.” He also predicted: “My intuition insists it will be massively simplified, likely immediately.”

Line counts and declaration counts tell different stories

The headline figures use different units: rh-trim counted every line of the original, while the new READMEs give lines of code. Counted in declarations — the definitions and theorems that checkers verify — the totals fell only about sevenfold. Checks of the compact edition accepted 204,583 declarations, against 1,468,414 accepted by rh-trim’s checkers for the original. Both totals include library material, which Sutherland’s MIT page puts at about 165,000 declarations from Mathlib and Lean’s own libraries on the compact side.

The Waterloo page says the result holds only under two conditions: the Lean kernel must be sound, meaning it cannot accept a false step, and Mathlib’s definitions of the zeta function and of Dirichlet L-functions must “mean what they are supposed to.” The same page adds that the checks say nothing about whether the shorter proof is the clearest one.

No human reader yet, and questions over the account

“The proof has passed machine checks only,” the lsernau/grh-lean README says. “No mathematician has read it through, and no paper comes with it.” By November 22, Rubinstein had posted a 265-page working draft explaining the proof for the zeta function, using Claude, Codex and Gemini as study aids; in the draft, the key step comes down to thirteen numbered hypotheses, “none of which is proved outright” in the text itself, his page says.

A Lean community repository opened on November 20 to clean up Alpöge’s code, aiming at a version researchers could work with “without access to massive amounts of compute,” replaced its main branch on November 25 with one started from a copy of the readable edition. Its README now reads: “This repo recently moved to a highly condensed version on November 25, 2026.” From November 20 to early November 27 the repository logged close to 9,000 pull requests, and the commits assembling merged batches list Claude Opus 5.5 as a co-author.

Anthropic has not announced the result. The repository sits on a personal account, although its license notice reads “Copyright 2026 Anthropic, PBC.” A Hacker News thread drew 545 points and called the repository “from Anthropic”; one commenter put the cut at “a 99.56% reduction,” while another objected: “If this were ‘from Anthropic’ surely it would be hosted on an Anthropic account?”

New York University mathematician Maksym Radziwiłł, criticizing the original release in an email quoted by Quanta on November 20, raised an objection about Lean proofs in general: with Lean, “if the symbols are right and follow the rules, then the symbols are a valid proof,” he wrote, but “the object of mathematics as the rest of science is really the question ‘why?’” The open question now, following the machine verification of the original 17-million-line release, is whether a number theorist can follow the 300,000-line edition from its guide and explain why the argument works.

0
Show Comments (0) Hide Comments (0)
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x