Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | GRH: a Lean 4 proof of the Generalized Riemann Hypothesis for Dirichlet L-functions (readable edition) |
| 2 | Copyright 2026 Anthropic, PBC |
| 3 | |
| 4 | This product is licensed under the Apache License, Version 2.0 (see LICENSE). |
| 5 | |
| 6 | This product is a rewriting of Levent Alpöge's Lean proof (see README.md). src/Statements.lean and the names and |
| 7 | types of the five theorems in src/Main.lean are taken from that proof unchanged; lakefile.toml is adapted from it. |
| 8 | |
| 9 | This product depends on, but does not include, Lean 4 (https://github.com/leanprover/lean4) and Mathlib |
| 10 | (https://github.com/leanprover-community/mathlib4), both under the Apache License, Version 2.0, and Mathlib's |
| 11 | dependencies. The build tool fetches Mathlib and its dependencies from their public repositories at the revisions |
| 12 | pinned in lake-manifest.json: batteries, aesop, Qq, ProofWidgets4, import-graph, LeanSearchClient and plausible |
| 13 | under the Apache License, Version 2.0, and Cli (leanprover/lean4-cli) under the MIT License (Copyright (c) 2021 |
| 14 | mhuisi). |
| 15 | |
| 16 | Some declarations, or parts of their proofs, adapt definitions, statements and proofs from Mathlib, with changes |
| 17 | (copyright the Mathlib authors, Apache License, Version 2.0). |
| 18 | See ATTRIBUTION.md. |