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

Lobsters Hottest News

Summary

A claimed proof of the Generalized Riemann Hypothesis has been formalized in Lean 4, condensed to 76k lines from an earlier 17M-line version, announced via the Lean Zulip community.

<p>This is a shortened version of Alpöge's Lean proof of RH and GRH for Dirichlet L-functions (<a href="https://alpo.ge/remark.pdf" rel="ugc">https://alpo.ge/remark.pdf</a>), which was about 17 million lines.</p> <p>There are two editions proving the same five theorems: a readable one at about 300,000 lines (start at grh/GUIDE.md) and a compact one at about 76,000.</p> <p>Github repo: <a href="https://github.com/lsernau/grh-lean" rel="ugc">https://github.com/lsernau/grh-lean</a></p> <p><a href="https://lobste.rs/s/tlwot6/generalized_riemann_hypothesis_proof">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 11/26/26, 12:18 AM

# Public view of Lean | Zulip team chat Source: [https://leanprover.zulipchat.com/](https://leanprover.zulipchat.com/) If this message does not go away, tryreloadingthe page\. Error loading Zulip\. Tryreloadingthe page\.

Similar Articles

Much shorter version of GRH Lean verification from Anthropic

Hacker News Top

A shorter Lean 4 formalization of the Riemann Hypothesis and Generalized Riemann Hypothesis for Dirichlet L-functions, produced in collaboration with Anthropic and Claude, available in readable (~300k lines) and compact (~76k lines) editions on GitHub.

Verification files for the Lean proof of the Riemann Hypothesis

Hacker News Top

Verification files for a claimed Lean proof of the Riemann Hypothesis show the 175,187 modules compile cleanly, the five headline theorems rely only on Lean's three standard axioms, and independent kernels (nanoda, con-leche, lean4lean) accept the full export, with a few checks still running.

Treemap of the Riemann Hypothesis Lean Proof

Hacker News Top

A treemap visualizer dissects Levent Alpöge's Lean 4 formalization of the Riemann Hypothesis (and its Dirichlet L-function generalization), mapping all 175,187 modules, their dependencies, tactics, and areas of mathematics, while also tracking who has verified the proof.