Shorter Lean proof of the Riemann Hypothesis published, checked only by machine
A Lean 4 formalization of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions has been published on GitHub, produced with Anthropic colleagues and Claude. So far it has passed only machine checks, and no mathematician has read it through.
A research artifact on GitHub presents a proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, written in Lean 4. Lean is a programming language and proof assistant that lets a computer verify mathematical proofs. The repository is a shorter version of a proof previously linked to Anthropic, and its author, lsernau, says it was produced in collaboration with colleagues at Anthropic and with the AI model Claude.
What has been proved
The proof builds on the work of Levent Alpöge, which was itself developed with Claude. It relies on the Mathlib mathematics library and uses only three standard axioms: propext, Classical.choice and Quot.sound.
The repository contains two editions:
- the grh/ folder is a readable edition of about 300,000 lines of code, with grh/GUIDE.md as the starting point;
- the grh-compact/ folder holds the same five theorems in about 76,000 lines.
Each folder is a separate Lake project with its own README.
Requirements and status
Building the project requires Lean v4.35.0 and Mathlib at commit 56a00585. A build takes one to two hours on a machine with 12 cores and 24 GB of memory, with about 85 more minutes needed if the Mathlib cache is missing.
The author states that the proof has passed only the machine checks listed in each folder's README. No mathematician has read it through, and no paper accompanies it. The material is a research artifact that is not maintained and does not accept contributions. It is licensed under Apache 2.0.


