๐ riemann-hypothesis ยท ๐ฆ
Verify the Lean formalization of the Riemann Hypothesis and GRH using Lake and Python.
โโโโโโโโโโโโโโ
โญ 1 420 stars ยท ๐ด 525 forks
๐ป Lean ยท ๐ Apache-2.0 ยท ๐ข commit today
๐ฅ 57 contributors
You sit at your terminal staring down hundreds of thousands of lines of advanced formal mathematics, trying to understand a proof without melting your laptop's CPU.
Massive formalization projects are notoriously opaque, slow to build, and difficult for researchers to engage with without massive compute clusters.
This repository restructures the proofs for better modularity and build performance, though it remains a heavy, complex mathematical artifact.
๐งญ How it works
This repository hosts a community-led effort to clean up, modularize, and maintain the Lean formalization of the 2026 proofs of the Riemann Hypothesis and generalized Riemann Hypothesis. Built on top of Lean 4 and Mathlib, it organizes hundreds of files spanning background results and novel arguments to make the proofs accessible and readable.
Developers and researchers use Lake to fetch prebuilt caches, build the project locally, and run kernel checks to verify theorem statements.
โจ Key features
โธ Verify five core theorem statements including riemannHypothesis and LFunction_eq_zero_re
โธ Fetch prebuilt Mathlib and project caches automatically using lake exe cache get
โธ Organize background literature and novel arguments across hundreds of modular files
โธ Run comparator checks to ensure proofs use only standard Lean axioms
โธ Maintain compatibility with both Lean's kernel and nanoda verification
๐ฏ Who should try it
Mathematicians and Lean developers working with formal proofs and number theory.
๐ Why it matters now
The recent release of the 2026 proofs has created an urgent need for community-driven code cleanup and build optimization.
โ Verdict
Essential for researchers exploring formal number theory in Lean, but skip it if you are looking for quick scripting tools.
๐ Quick start
โโโโโโโโโโโโโโ
๐ฌ Your take?
Which formal proof project are you currently following in Lean?
โค๏ธ React if you want more Lean tools like this.
๐ GitHub repository
๐ Full breakdown
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #lean #devtools
leanprover-community/riemann-hypothesisVerify the Lean formalization of the Riemann Hypothesis and GRH using Lake and Python.
โโโโโโโโโโโโโโ
โญ 1 420 stars ยท ๐ด 525 forks
๐ป Lean ยท ๐ Apache-2.0 ยท ๐ข commit today
๐ฅ 57 contributors
You sit at your terminal staring down hundreds of thousands of lines of advanced formal mathematics, trying to understand a proof without melting your laptop's CPU.
Massive formalization projects are notoriously opaque, slow to build, and difficult for researchers to engage with without massive compute clusters.
This repository restructures the proofs for better modularity and build performance, though it remains a heavy, complex mathematical artifact.
๐งญ How it works
This repository hosts a community-led effort to clean up, modularize, and maintain the Lean formalization of the 2026 proofs of the Riemann Hypothesis and generalized Riemann Hypothesis. Built on top of Lean 4 and Mathlib, it organizes hundreds of files spanning background results and novel arguments to make the proofs accessible and readable.
Developers and researchers use Lake to fetch prebuilt caches, build the project locally, and run kernel checks to verify theorem statements.
โจ Key features
โธ Verify five core theorem statements including riemannHypothesis and LFunction_eq_zero_re
โธ Fetch prebuilt Mathlib and project caches automatically using lake exe cache get
โธ Organize background literature and novel arguments across hundreds of modular files
โธ Run comparator checks to ensure proofs use only standard Lean axioms
โธ Maintain compatibility with both Lean's kernel and nanoda verification
๐ฏ Who should try it
Mathematicians and Lean developers working with formal proofs and number theory.
๐ Why it matters now
The recent release of the 2026 proofs has created an urgent need for community-driven code cleanup and build optimization.
โ Verdict
Essential for researchers exploring formal number theory in Lean, but skip it if you are looking for quick scripting tools.
๐ Quick start
lake exe cache get && lake buildโโโโโโโโโโโโโโ
๐ฌ Your take?
Which formal proof project are you currently following in Lean?
โค๏ธ React if you want more Lean tools like this.
๐ GitHub repository
๐ Full breakdown
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #lean #devtools
โค1
๐ grh-lean ยท ๐ฆ
A short Lean 4 proof of the Generalized Riemann Hypothesis across 76,000 to 300,000 lines.
โโโโโโโโโโโโโโ
โญ 1 124 stars ยท ๐ด 123 forks
๐ป Lean ยท ๐ Apache-2.0 ยท ๐ข commit 2d ago
You are staring at a massive formal verification project in Lean 4, wondering how complex mathematical proofs scale across thousands of lines.
Verifying deep mathematical theorems requires immense manual effort and careful management of axiom dependencies.
This repository supplies a complete machine-checked proof artifact for the Generalized Riemann Hypothesis, though it remains unreviewed by human mathematicians.
๐งญ How it works
This project provides a formalization of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions in Lean 4. Built on top of Mathlib using standard axioms, it offers both a readable edition and a compact edition.
The proofs were developed using Claude and are structured as independent Lake projects.
โจ Key features
โธ Includes a readable edition spanning about 300,000 lines of code
โธ Provides a compact edition reducing the proof to about 76,000 lines
โธ Relies only on standard axioms including propext and Classical.choice
โธ Builds via Lake with explicit version pins for Lean and Mathlib
โธ Includes a script to print and verify axioms used in the build
๐ฏ Who should try it
Mathematicians and developers working with formal verification in Lean 4.
๐ Why it matters now
Formalizing advanced number theory in proof assistants is scaling rapidly with AI assistance.
โ Verdict
An impressive research artifact for formal verification enthusiasts, but not ready for production math textbooks.
๐ Quick start
โโโโโโโโโโโโโโ
๐ฌ Your take?
Have you experimented with formalizing proofs in Lean 4 yet?
โค๏ธ React if you want more Lean tools like this.
๐ GitHub repository
๐ Full breakdown
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #lean #math #devtools
lsernau/grh-leanA short Lean 4 proof of the Generalized Riemann Hypothesis across 76,000 to 300,000 lines.
โโโโโโโโโโโโโโ
โญ 1 124 stars ยท ๐ด 123 forks
๐ป Lean ยท ๐ Apache-2.0 ยท ๐ข commit 2d ago
You are staring at a massive formal verification project in Lean 4, wondering how complex mathematical proofs scale across thousands of lines.
Verifying deep mathematical theorems requires immense manual effort and careful management of axiom dependencies.
This repository supplies a complete machine-checked proof artifact for the Generalized Riemann Hypothesis, though it remains unreviewed by human mathematicians.
๐งญ How it works
This project provides a formalization of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions in Lean 4. Built on top of Mathlib using standard axioms, it offers both a readable edition and a compact edition.
The proofs were developed using Claude and are structured as independent Lake projects.
โจ Key features
โธ Includes a readable edition spanning about 300,000 lines of code
โธ Provides a compact edition reducing the proof to about 76,000 lines
โธ Relies only on standard axioms including propext and Classical.choice
โธ Builds via Lake with explicit version pins for Lean and Mathlib
โธ Includes a script to print and verify axioms used in the build
๐ฏ Who should try it
Mathematicians and developers working with formal verification in Lean 4.
๐ Why it matters now
Formalizing advanced number theory in proof assistants is scaling rapidly with AI assistance.
โ Verdict
An impressive research artifact for formal verification enthusiasts, but not ready for production math textbooks.
๐ Quick start
lake exe cache get && lake buildโโโโโโโโโโโโโโ
๐ฌ Your take?
Have you experimented with formalizing proofs in Lean 4 yet?
โค๏ธ React if you want more Lean tools like this.
๐ GitHub repository
๐ Full breakdown
๐ฃ @GitHub_Open_Source โ daily open-source picks
========================================
#opensource #lean #math #devtools