Researchers at Anthropic have published a much shorter Lean 4 formalization of the proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions that mathematician Levent Alpöge announced with Claude on November 20, 2026. The new repository, posted on November 25 by Luke Sernau with Anthropic colleagues and Claude, proves the same five theorems in far less code.
The original Lean release spanned 175,187 files and about 17 million lines, according to a verification page maintained by University of Waterloo mathematician Michael Rubinstein. The new version comes in two editions: a readable edition of about 300,000 lines with an accompanying guide, and a compact edition of about 76,000 lines.
The repository's README says the proof is built on Mathlib and depends only on Lean's three standard axioms: propext, Classical.choice and Quot.sound. It also states plainly that the proof has passed machine checks only: "No mathematician has read it through, and no paper comes with it." Building it takes one to two hours on 12 cores with 24 GB of memory.
Rubinstein reports that he checked the original proof on November 21, including a full compile, an axiom audit, a replay through Lean's kernel and an independent check with the nanoda kernel, all without errors. On November 26 his checks of the compact edition also passed, including Lean's lake comparator in paranoid mode, and he confirms the theorem statements match the original.
A proof a few hundred thousand lines long is far more practical for people to study than one of 17 million lines. A successful Lean check confirms the formal argument is valid, but mathematicians still need to understand and assess the ideas behind it. The repository is released under the Apache 2.0 licence.