Inkme News

← Back to list

Generalized Riemann Hypothesis proof in Lean 4, in 76k lines (down from 17M)

A proof of the Generalized Riemann Hypothesis (GRH) for Dirichlet L-functions has been formalized in Lean 4, significantly reducing the code size from 17 million to 76,000 lines. The project offers two editions: a readable version with approximately 300,000 lines and a compact version at 76,000 lines. The proof covers five specific theorems and is available on GitHub.

Background

Formalizing complex mathematical proofs in proof assistants like Lean is a major challenge in computer-assisted mathematics, often resulting in extremely large codebases. Recent advancements in Lean 4's library and automation tools have allowed for more concise and readable formalizations of deep theorems.

Source
Lobsters
Published
Nov 26, 2026 at 06:26 AM
Score
8.0 / 10