ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial2 min readDisconfirmAI Editorial

Anthropic researcher Luke Sernau and team reduce Riemann Hypothesis proof from 17.4 million to 76,000 lines

Anthropic researchers used Claude to compress the massive Lean proof of the Riemann Hypothesis by 99.5%, making it compilable on standard hardware and open-sourcing it under Apache 2.0.

2026-11-26

Luke Sernau, a researcher at US AI company Anthropic, along with colleagues and the company's model Claude, has released a drastically optimized version of the formal proof of the Riemann Hypothesis (RH) and Generalized Riemann Hypothesis (GRH). The new repository, grh-lean, reduces the code size from approximately 17.4 million lines in the original release to about 76,000 lines in its most compact form, a reduction of roughly 99.5%.

The original proof was generated by Anthropic mathematician Levent Alpöge using Claude and published earlier this month. While verified by the Lean community, its sheer scale—over 175,000 files requiring high-end AWS instances for compilation—made it inaccessible to human review. Sernau's team restructured the proof into two versions: a readable version of about 300,000 lines with documentation, and a compact version of 76,000 lines that can be compiled on a standard 12-core machine with 24GB RAM in one to two hours.

According to the project README, all Lean code and documentation were written by Claude, with human researchers providing direction. The methodology involved 'unrolling' nested definitions to expose redundancies across module boundaries, simplifying them, and then 'rolling' them back up. Some sections required entirely new mathematical arguments, such as replacing parts related to Vandiver's conjecture. The proof relies only on Lean's three standard axioms and passed verification by multiple independent checkers including Comparator, nanoda, and con-leche.

Unlike the initial release, which lacked a license, grh-lean is open-sourced under the Apache 2.0 license. This allows the broader mathematical community to freely use, modify, and distribute the text. The author emphasizes that while the proof is machine-verified, no human mathematician has yet fully read or understood it, and no accompanying mathematical paper has been published.

Sign in / Sign up
ReadingResearchRadarInvestment framework

Sources

  • qbitai.com量子位↗
Continue researching →