Much shorter version of GRH Lean verification from Anthropic
Points and comments are a snapshot, not live.
Anthropic publishes a drastically shortened Lean 4 proof of the Generalized Riemann Hypothesis.
The repository grh-lean contains a Lean 4 proof of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib. It offers two editions: a readable version (~300,000 lines) and a compact version (~76,000 lines). The proof is based on Levent Alpöge's work with Claude, produced in collaboration with Anthropic colleagues. Building requires Lean v4.35.0 and takes one to two hours on 12 cores with 24GB RAM. The proof has passed machine checks only, with no human review.
What commenters are saying
Commenters highlight the 99.56% reduction from the original ~17 million lines to ~76k lines, with some noting the compact version is heavily golfed and sacrifices readability. Several question the repository's authenticity given it's hosted on a personal account, though a user identifies Luke Sernau as an Anthropic employee. A self-described developer claims to have been formalizing a greenfield proof at ~35k lines on a $100 ChatGPT plan. Some critique the original proof's inclusion of unnecessary content, calling it unprofessional.