> ## Content Index
> Fetch the complete content index at: https://venture-block.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Anthropic shrinks the AI-made Riemann hypothesis proof from 17 million lines to 76,000
- URL: https://venture-block.com/anthropic-riemann-hypothesis-proof-76000-lines-lean/
- Published: 2026-11-27T14:04:23.000Z
- Updated: 2026-11-27T14:04:23.000Z
- Description: A new Lean proof from Anthropic researchers proves the same five theorems as Levent Alpöge's 17-million-line original in about 76,000 lines, and independent mathematicians say it passes every machine check. No mathematician has read it through yet.
- Author: Venture Block
- Tags: AI, Science

Anthropic researchers have rewritten the AI-assisted proof of the Riemann hypothesis into a far smaller formal proof. A [public repository posted on Nov. 25](https://github.com/lsernau/grh-lean?ref=venture-block.com) by Anthropic's Luke Sernau proves the same five theorems as the original in about 76,000 lines of Lean code, down from roughly 17 million, and independent mathematicians who rebuilt it say every machine check has passed.

The shrink matters because the original was too large for most people to check themselves. The new version can be built on a workstation in one to two hours, according to its README, which turns the result from something a handful of well-resourced labs could verify into something many groups can reproduce.

## From 17 million lines to 76,000

Anthropic mathematician Levent Alpöge [announced the proof on Nov. 20](https://alpo.ge/remark.pdf?ref=venture-block.com), saying he had found it working with Claude. He told the [BBC](https://www.bbc.com/news/articles/c6pqr2g7w059o?ref=venture-block.com) the work took about six weeks with a non-public version of the model. It arrived as a Lean library of [175,187 files and about 17 million lines](https://math.uwaterloo.ca/~mrubinst/alpoge%5Fclaude%5Fgrh/?ref=venture-block.com), covering both the Riemann hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions.

The [new repository](https://github.com/lsernau/grh-lean?ref=venture-block.com) describes itself as a shorter version of Alpöge's proof, "produced in collaboration with my colleagues at Anthropic, and Claude." It comes in two editions: a readable one of about 300,000 lines and a compact one of about 76,000 lines, more than 200 times shorter than the original. Both target Lean v4.35.0 and a pinned Mathlib commit, and both are released under the Apache 2.0 license with Anthropic as copyright holder.

The size of the original showed in the checking. MIT mathematician Andrew Sutherland's [verification log](https://math.mit.edu/~drew/grh/?ref=venture-block.com) records an exported proof of about 61.6 GB, and a run of Lean's default kernel on that export took 48 hours on one thread with 82.6 GiB of peak memory.

## What the checks show

Sutherland's [checks of the shorter proof](https://math.mit.edu/~drew/shortgrh/?ref=venture-block.com), last updated Nov. 26, report that both editions compile without errors and that the five theorems depend only on Lean's three standard axioms. Lean's `lake comparator --paranoid` tool, which compares the proved statements against an agreed challenge file and runs Lean's kernel plus several independently written proof checkers, reported "Your solution is okay!" for both editions. For the compact edition it passed on two separate machines. One checker, lean4lean, needs 332 GB of memory for the readable edition, so that run was completed only on the larger machine.

Michael Rubinstein of the University of Waterloo ran his [own check of the compact edition](https://math.uwaterloo.ca/~mrubinst/alpoge%5Fclaude%5Fgrh/?ref=venture-block.com) and reported on Nov. 26 that all 794 modules compile and that six kernels accepted the proof. Sutherland also checked, as a Lean theorem derived from the compact edition, an explicit bound on the Chebyshev prime-counting function, due to Lowell Schoenfeld, that is known to be equivalent to the Riemann hypothesis.

That builds on the community verdict for the original. On Nov. 21, the Lean Focused Research Organization and the Mathlib Initiative said in a [joint statement](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/?ref=venture-block.com) that they had "full confidence" Alpöge's proof is correct, after the statement was matched against Mathlib's definition of the hypothesis with two independent tools and the exported proof passed several separate checkers.

## Checked, not yet understood

The repository is plain about its limits. "The proof has passed machine checks only," its README says. "No mathematician has read it through, and no paper comes with it." Sutherland's page makes the same point: the checks show Lean accepts the proofs from the standard axioms, not that the argument has been read or understood.

That human work has started. Rubinstein has posted a [265-page working guide](https://math.uwaterloo.ca/~mrubinst/alpoge%5Fclaude%5Fgrh/?ref=venture-block.com) to the proof for the Riemann zeta function, written with Claude, Codex and Gemini. It reduces the core inequality to thirteen numbered hypotheses in classical terms, none of which the guide proves outright, and is labeled a work in progress. Terence Tao told the BBC that digesting the proof "will take some time."

For AI labs, the episode is a test case for how machine-found results get accepted: a formal proof that independent groups can rebuild, checked by kernels written by different people. It also lands a week after Anthropic's [record Nasdaq debut](https://venture-block.com/anthropic-ipo-nasdaq-debut-record-81b/), and follows its IPO filing's claim that its AI [may soon sharply speed up its own research](https://venture-block.com/anthropic-s1a-ai-accelerated-research-q3-revenue/). Google DeepMind has used Lean in a similar way, proving each result of its [agent-designed quantum algorithms](https://venture-block.com/deepmind-gemini-4-agents-quantum-algorithms-lean/).

Alpöge wrote in his announcement that his "intuition insists it will be massively simplified, likely immediately," and that he expects the method to reach the Extended Riemann Hypothesis with more time. He has said he intends to write the argument up properly.