Lean formalisation of Riemann Hypothesis proof released

A vast, intricate web of glowing threads stretching into darkness, symbolising the dense network of mathematical dependencies in the Lean proof, with a single bright thread tracing the path of the Rie

On 20 November 2026, mathematician Levent Alpöge announced a complete formal proof of the Riemann Hypothesis (RH), extended to the Generalized Riemann Hypothesis (GRH) for Dirichlet L-functions, fully encoded in the Lean 4 theorem prover. The proof, developed with assistance from the AI system Claude, has been mirrored on GitHub to facilitate public access and scrutiny. The repository contains 175,187 .lean files totalling approximately 17.4 million lines of code, making it one of the largest formal proofs ever attempted. However, as of 23 November 2026, no independent verification has been published.

What the proof claims

The core claim is that all non-trivial zeros of the Riemann zeta function lie on the critical line Re(s) = 1/2. This is encoded in Lean via Mathlib’s standard definition of RiemannHypothesis. Additionally, the proof asserts that all non-trivial zeros of Dirichlet L-functions also lie on this line, establishing GRH for this class. The statements are concise, defined in two files: src/Statements.lean and src/Main.lean. The five theorems include riemannHypothesis, riemannZeta_eq_zero_re, LFunction_ne_zero_of_half_lt_re, LFunction_eq_zero_re, and PrimitiveDirichletLZerosOnLine, all derived from internal proof terms without external assumptions. The formalisation relies on a pinned version of Mathlib (commit 0df444a3), ensuring reproducibility.

Technical scale and verification challenges

The proof’s size is unprecedented: 17.4 million lines across 175,187 modules, structured into high-level libraries such as Development, Formalism, and GroundTheory. Building it requires Lean 4.33.1, a pre-fetched Mathlib cache, and significant computational resources. Users are advised to run lake build Main after fetching dependencies, but no build time or memory benchmarks have been shared. A static scan found no uses of sorry, admit, or custom axioms, and only Lean’s standard axioms (propext, Classical.choice, Quot.sound) should appear in #print axioms output. Independent replay using external checkers like lean4checker is recommended to rule out elaborator-specific issues.

How to validate the claim

Three access routes are provided: cloning the GitHub mirror, downloading a merged archive (239 MB, SHA-256: 9631b4f020199e580ba86178cb56c6e9b09f690c2369a80dc4334aa93f49c7fc), or reconstructing from the original 14 parts hosted at alpo.ge. The latter is considered most trustworthy. After setup, verification involves confirming the target statements, checking for unauthorised axioms, and ideally replaying the kernel proof. The proof’s logic traces from Supplements/Kernels/MainTheorems.lean through Formalism.VW.rh_of_every and UpperTheory.FinalTheorems.everyCharacter. Alpöge’s 4-page outline (remark.pdf) references advanced techniques: Stepanov-style multiplicity, theta lifts, Iwasawa towers, Rallis seesaw, and Bost’s slope inequality—suggesting deep arithmetic geometry underpinnings.

What it means

For UK, UAE, US, and Kazakhstani tech and research sectors, this event underscores the growing role of formal verification in high-stakes mathematics. If validated, it would mark a historic milestone, resolving a 167-year-old problem with implications for cryptography, number theory, and algorithm design. The use of AI (Claude) as a collaborator raises questions about authorship and trust in machine-assisted proofs. Organisations relying on cryptographic systems based on number-theoretic assumptions should monitor verification progress, though no immediate changes to security models are warranted. The lack of a license and the proof’s sheer scale may hinder adoption in open-source or commercial toolchains.

The mathematical community now faces a massive validation task. Until independent teams confirm the build and axiomatic cleanliness, the proof remains a claim. Its openness, however, sets a precedent for transparency in formal mathematics.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *