A new GitHub repo credited to Anthropic colleagues and Claude packs a Lean 4 proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis (GRH) for Dirichlet L-functions into about 76,000 lines. That is the "compact" edition. A "readable" edition of about 300,000 lines sits beside it. The repo is lsernau/grh-lean, and it reached the Hacker News front page on November 25, 2026 with 125 points at the time we checked.
The README is blunt about status: "The proof has passed machine checks only." It adds that "No mathematician has read it through, and no paper comes with it." That honest line is the most useful sentence in the repo. It frames everything below.
This post is a claimed-versus-verified read. We cover what the README says, what independent checkers have confirmed about the original proof, and what nobody has yet checked for the shorter editions. The backstory is in our first post on Levent Alpöge's claim.
TL;DR: the repo, the claims, the checks
| Question | Short answer |
|---|---|
| What is it? | Two editions of a Lean 4 proof of RH and GRH for Dirichlet L-functions, built on Mathlib |
| Who made it? | README: based on Levent Alpöge's proof "with Claude"; shorter version made with Anthropic colleagues and Claude |
| Size | Readable edition about 300,000 lines; compact edition about 76,000 lines |
| Axioms | propext, Classical.choice, Quot.sound only, per the README |
| Has a human read it? | README: no mathematician has read it through |
| Are the original proof's checks done? | Yes, per Andrew Sutherland's MIT page, updated November 25, 2026 22:05 UTC |
| Are the new editions independently checked? | Not that we found; the published checks name the original archive |
| License | Apache 2.0, copyright 2026 Anthropic, PBC |
What does the grh-lean README actually say?
The README title reads "GRH for Dirichlet L-functions, in Lean 4". It flags the project as a "Research artifact. Not maintained and not accepting contributions." So do not expect issue triage or pull requests.
It describes the content as "A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms propext, Classical.choice and Quot.sound." It then credits the source: "The proof is based on Levent Alpöge's, with Claude." The new repo "is a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude."
Two folders ship. The grh/ folder is the readable edition, about 300,000 lines, and the README tells readers to start at grh/GUIDE.md. The grh-compact/ folder holds "the same five theorems, about 76,000 lines." Each is its own Lake project with its own README.
At the time of our check the repo showed 60 stars, 4 forks and a single commit. That is a small footprint next to the attention it draws, which is typical of a research drop.
Which five theorems does it prove?
Andrew Sutherland's verification page at MIT lists the five headline theorems exactly as they appear in the challenge file, which imports only Mathlib:
- The Riemann Hypothesis, using Mathlib's own
riemannZetadefinition: every zero other than the trivial zeros at -2, -4, -6 and so on has real part 1/2. - The same statement, written out in the submission's own words and accepted by Lean as equal by definition.
- No zeros to the right of the critical line for any Dirichlet L-function, for every modulus and every character, with the pole of the trivial character excluded.
- Zeros in the critical strip lie on the critical line for every Dirichlet L-function.
- The same for primitive characters, the form in which GRH for Dirichlet L-functions is usually stated.
Sutherland also states the scope. "GRH" here means Dirichlet L-functions. Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general were not among the statements checked.
What has been verified, and about which version?
This is where care matters. Sutherland's page, "Announced at alpo.ge/remark.pdf on 20 November 2026", records checks run with Claude Code on the original archive. It says all checks listed "have finished." Its summary states that the published Lean source compiles without errors, the five theorems depend only on the three standard axioms, and every module replays through the Lean kernel.
Selected rows from that page:
| Check | Result |
|---|---|
| All modules compile (Lean v4.33.1, Mathlib v4.33.1) | 175,187 modules, zero errors |
| Axioms for the five theorems | propext, Classical.choice, Quot.sound only |
| Mathlib files vs official cache | 8,322 Mathlib files identical byte for byte |
leanchecker kernel replay | 175,187 of 175,187, zero rejections |
| nanoda (independent Rust kernel) on the full export | accepts, 27 min 42 s on 80 threads |
| Lean default kernel on the full export | accepts, 48 h on one thread; 9 h with an allocator setting changed |
| Lean paranoid kernel | accepts, 72 h 20 min on one thread |
lake comparator (Lean v4.36.0) | "Your solution is okay!" after 122 h 45 min in all |
con-leche --compare | all five theorems "justified by the solution" |
That is strong evidence that the original export proves the five stated theorems, with the statements pinned to Mathlib's definitions. For how those stages moved day by day, see the update sections in our earlier Alpöge post.
What the page does not do is certify the 76,000-line or 300,000-line editions in grh-lean. Those are new artifacts. They were built against a newer toolchain, Lean v4.35.0 and a specific Mathlib commit, and the README lists no external audit. The README's own words are "machine checks only, listed in each folder's README". We did not rebuild them, and a build takes hours. Until someone publishes a comparator run on the compact edition, the claim "the same five theorems" rests on the authors' statement plus whatever their folder READMEs list.
Where does the 17.4 million line figure come from?
News aggregators framed the repo as a shrink "from 17.4 million to 76,000 lines." We could not find that number in the README. Hacker News commenter bananaflag computed a "99.56% reduction" from "~17M lines" to about 76k. That arithmetic holds if the starting point was about 17 million lines.
What we can source is different. Sutherland's page counts 175,187 compiled modules and 1,468,418 declarations in the exported proof, and a 61.5 GB export. A line count and a module count are different units, so we do not convert one into the other. Treat the 17.4 million figure as unconfirmed by the repo until the authors state it. A related project, Axiom's Stacks Project formalization, shows how large Lean code bases of this kind can get.
What are developers saying on Hacker News?
The Hacker News thread had about 39 comments when we read it. These are commenters' reports, not verified facts.
- Is it really from Anthropic? Commenter lelandfe asked why a repo described as "from Anthropic" is not on an Anthropic account. The README credits colleagues, and the license names Anthropic, PBC, but the host account is personal.
- Speed of compression. eamag pointed out a comment from the Lean community that years of small proof-golfing gains were dwarfed by a reduction of this size "in days", attributing it to compute and better internal models. That is a reported reaction, not a measured timeline.
- Can a human read it? delegate asked how realistic it is for a person to read and verify code like the compact edition. spootydooty noted the readable edition has a clear split between "known math" and "new math" with documentation throughout, which should help.
- Proof without insight. gre asked whether this challenges Terence Tao's earlier point that huge proofs with no insight are a problem, if models can now golf proofs and explain them.
A separate Zulip thread on the Lean community channel, linked by dward in the HN comments, is where practitioners are discussing the artifact.
Why does proof shrinking matter?
A machine-checked proof is only as useful as a reader's ability to audit its statements. The Lean kernel guarantees the steps follow. It does not guarantee the theorem says what a mathematician thinks it says. That is why the fight in this saga has been about definitions, and why the earlier critique over a trivial predicate in the original archive got so much attention, as covered in our Alpöge post.
A smaller proof lowers the audit cost. A 76,000-line codebase is still huge, yet it is closer to what a team of Lean experts can review. The readable edition's guide file and its split between known and new mathematics address the same problem from the other side: documentation for humans.
Compression is also a capability test. Anthropic's earlier work on Lean includes the Opus 5.5 formalization of CPython that surfaced 418 bugs and a proof attempt on VP versus VNP. Reducing someone else's proof by a large factor, while keeping the same theorem statements, is a task with an objective check at the end: the kernel either accepts or it does not.
What should you do with this?
If you work with proof assistants, the practical steps are short.
- Read
grh/GUIDE.mdfirst. It is the entry point the authors chose. - Pin Lean v4.35.0 and Mathlib at commit 56a00585, as the README says.
- Run
lake exe cache get, thenlake build, thenlake env lean scripts/PrintAxioms.lean. Confirm the printout lists only the three standard axioms. - Compare the five theorem statements in the repo with Mathlib's
RiemannHypothesisdefinition. Do not trust a name; read the type. - Plan for time and memory. The README says one to two hours on 12 cores and 24 GB, plus about 85 more minutes if the Mathlib cache is missing.
If you are not a Lean user, the useful habit is simpler. Ask which version of a proof a check refers to. In this case the checks on Sutherland's page cover the original archive. The shorter editions are new, and their independent verification has not been published yet.
What is still open?
- Human review. The README says no mathematician has read it. Peer review of the ideas is separate from kernel acceptance. Our post on Yudkowsky's reading of the proof covers what the proof does and does not show for AI risk.
- Checks on the compact edition. No comparator or independent-kernel run on the 76,000-line version has been published that we found.
- Official Anthropic statement. The repo carries an Anthropic copyright line but lives on a personal account. A company post would settle the provenance question. For earlier timing questions around the story, see our note on the WSJ report on release timing.
- The prize question. The Clay Mathematics Institute has its own rules for the Millennium Prize. A Lean archive does not by itself satisfy them.
- Scope. The proof covers Dirichlet L-functions. Other L-function families are outside it, per Sutherland.
For the wider mood around AI mathematics this month, including a forecast essay that cites the proof, see Alexandr Wang's essay on superintelligence and the Buckmaster and Alpöge Navier-Stokes claim.
How to read claims like this
Chain of reasoning steps ending in a green check, as a picture of a machine-checked Lean proof
Three questions keep these stories honest. First, what exactly was checked: the original archive, the compact edition, or only a statement? Second, who checked it: the authors, or independent kernels and tools? Sutherland's page names several independent checkers, including nanoda and con-leche, which is what makes the original result credible as a machine proof. Third, does the stated theorem match the mathematical object people care about? Sutherland's page shows the statements side by side with Mathlib's definitions, which makes that third question answerable by anyone who reads Lean.
A puzzle with a green seal at its center, representing formal verification of a proof
On those three tests, the original proof scores well on the first two and has an open debate on the third. The new editions score unknown on the first two and inherit the third. That is the claimed-versus-verified picture on November 25, 2026.
Related reading
- Levent Alpöge's Claude-assisted Riemann Hypothesis claim: what is claimed, what is verified
- Yudkowsky and the Riemann Hypothesis canary
- Opus 5.5 formalized CPython in Lean and surfaced 418 bugs
- Claude and the VP versus VNP Lean proof
- Axiom's Stacks Project formalization in Lean
- Buckmaster and Alpöge on Navier-Stokes blowup
- The grh-lean repository and Andrew Sutherland's verification page
Repository details, star counts and check status are accurate as of November 25, 2026 and may change.
