▲ 870 today870 starsLeanHN ×1New · 2d old
Lean 4 proof of the Generalized Riemann Hypothesis posted
What is grh-lean?
It is a formal proof of the Generalized Riemann Hypothesis for Dirichlet L-functions written in Lean 4, built on Mathlib and using only three axioms. The repo includes a readable 300 k-line edition and a compact 76 k-line edition that compile in about two hours on a 12-core machine.
Who it is for
Mathematicians and formal-methods researchers should take a look, as it shows how large-scale mathematics can be verified in Lean.
Try it in 60 seconds
You need: Lean v4.35.0 and Mathlib at commit 56a00585
lake exe cache getlake build
Apache-2.0 licenseUpdated yesterdayLean1 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted lsernau/grh-lean on November 26, 2026, when it had 870 GitHub stars. It now has 870. On its busiest day it gained 870 stars. The project is 2 days old and written mainly in Lean. It is published under the Apache-2.0 license and has 94 forks. It has been discussed in 1 Hacker News thread, the top one with 544 points.
Questions about grh-lean
- Is grh-lean free and open source?
- Yes. lsernau/grh-lean is open source under the Apache-2.0 license, and the code is on GitHub at https://github.com/lsernau/grh-lean.
- How do I install grh-lean?
- Use one of these, depending on your setup: lake exe cache get · lake build
- What do I need to run grh-lean?
- Lean v4.35.0 and Mathlib at commit 56a00585