Hacker News·First covered 26 Nov 2026
Much shorter version of GRH Lean verification from Anthropic
A repo from Anthropic researchers condenses the Lean 4 proof of the Generalized Riemann Hypothesis for Dirichlet L-functions into a 300,000-line readable edition and a 76,000-line compact one.
Stats
(As of 26 Nov 2026)- Points
- 522
- Comments
- 335
- Submitted by
- nb-t
- Posted
- 20h
- The proof builds on Mathlib and relies only on Lean's standard axioms propext, Classical.choice and Quot.sound.
- It follows Levent Alpöge's proof made with Claude; this shorter version came from colleagues at Anthropic working with Claude.
- Commenters note the original ran to about 17 million lines; grh-compact proves the same five theorems as the readable edition.
- A build needs Lean v4.35.0 and takes one to two hours on 12 cores with 24 GB of memory.
- So far it has passed machine checks only: no mathematician has read it through, and no paper accompanies it.
The discussion
- AgreedCommenters welcome the readable edition's split between known and new math, and a volunteer effort modelled on SETI@home is already re-verifying it. comment
- CounterpointOne reader doubts any human could read the Lean by hand; the reply steers them to the readable edition, since the compact one is deliberately minimised. comment
- DisputedCommenters split on whether shorter, LLM-explained proofs answer Terence Tao's worry about huge proofs that give no insight. comment
- ThemeOthers probe the trust chain, such as whether Main.lean really points at Mathlib's statement of the hypothesis. comment