Anthropic posts Lean 4 GRH proof at 76K lines
Original: Much shorter version of GRH Lean verification from Anthropic
Why This Matters
AI-assisted formal proofs on major open math problems signal a shift in how research tools are used.
Anthropic released a compressed Lean 4 proof of the Generalized Riemann Hypothesis for Dirichlet L-functions, reducing a 300,000-line readable edition to ~76,000 lines, built on Mathlib with Claude's assistance.
A GitHub repository from Anthropic researcher lsernau presents two Lean 4 editions of a proof of the Riemann Hypothesis and Generalized Riemann Hypothesis for Dirichlet L-functions. The 'readable' edition runs roughly 300,000 lines; a compact version covers the same five theorems in about 76,000 lines. Both are built on the Mathlib library and rely solely on the axioms `propext`, `Classical.choice`, and `Quot.sound`. The proof is based on mathematician Levent Alpöge's work, with Claude contributing alongside Anthropic staff. Building either version requires Lean v4.35.0, a specific Mathlib commit, and around 85 minutes on 12 cores with 24 GB of RAM. The repo is explicit about its limits: 'The proof has passed machine checks only. No mathematician has read it through, and no paper comes with it.' It is marked a research artifact, not maintained, and not accepting contributions. Licensed Apache 2.0, Copyright 2026 Anthropic.