GitHub Open Source
2.01K subscribers
3.13K photos
3.4K links
๐ŸŒŸ GitHub Open Source ๐ŸŒŸ

Discover fascinating projects from GitHub! We curate the best repositories, highlight innovative ideas, and share tips for developers. Join us to explore hidden gems and fuel your tech passion! ๐Ÿš€
Download Telegram
๐Ÿš€ grh-lean ยท ๐Ÿ“ฆ lsernau/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
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