riemann-hypothesis-minimal

1337isnot1337

A single-file Lean 4 formalization of the Riemann Hypothesis and Generalized Riemann Hypothesis for Dirichlet L-functions.

LeanCreated

What is 1337isnot1337/riemann-hypothesis-minimal?

riemann-hypothesis-minimal is a single-file Lean 4 formalization of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions.

Comparing itself against earlier ~17-million-line and ~76,000-line versions, it distills the formalization into a single Lean file so users can inspect or verify it more easily.

Lean 4 users and mathematicians following compact formalizations of number theory conjectures can examine this single-file edition.

Before you startThe README says

Runs on
Lean 4.35.0
Needs
Lean 4.35.0 with the lean command; a destination directory that does not exist yet
How you get it
Run lean --run OneLineRH.lean grh-compact to extract; append --build to download the dependency cache and build.

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.