A Lean 4 formalization of the Riemann Hypothesis and Generalized Riemann Hypothesis for Dirichlet L-functions built on Mathlib.
LeanCreated
What is lsernau/grh-lean?
grh-lean is a Lean 4 formalization of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions, built on top of the Mathlib library. It is published as a static research artifact rather than an actively maintained software project.
The formalization builds on Levent Alpöge's proof and uses only Lean's standard foundational axioms: propext, Classical.choice, and Quot.sound. Developed with assistance from Claude, this repository presents a shortened version of the formal proof so independent Lean kernels can verify the logical steps.
Mathematicians, formal-verification researchers, and Lean 4 users can inspect and check the repository to study machine-verified analytic number theory proofs.
A community effort to clean up and maintain the Lean formalization of Levent Alpöge's 2026 proof of the Riemann Hypothesis and of GRH for Dirichlet L-functions, so the machine-checked proof becomes a durable, readable artifact.
A mirror of Levent Alpöge's Lean proof of the Riemann Hypothesis, announced on 20 November 2026 and developed while working with Claude. All credit goes to Alpöge; the original source is published on his website.
The paper and accompanying Lean 4 formalization of finite-time blow-up for the Navier-Stokes equations by Alpöge and Buckmaster, a result bearing on one of the Millennium Prize problems, checkable by machine.
Lean 4 proofs from a public AI attempt at the P versus NP problem, each statement machine-checked, with a companion site showing exactly what is proven and what is still open. Pull requests for gaps are welcome.