grh-lean

lsernau

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.