[Map](https://riemannhypothesissolved.com/) / Route

Route · Lean proof of the Riemann hypothesis

# How the Lean proof of the Riemann hypothesis is structured: the route to the main theorem

The Lean proof of the Riemann hypothesis is a library of 175,187 Lean files (175,027 mapped), grouped on this map into 2,647 clusters. A cluster's depth is the number of import steps from the main theorem's cluster to it.

Proof status as of 22 Nov 2026: on 21 Nov 2026 a [joint statement](https://leanprover-community.github.io/blog/posts/riemann-hypothesis/) by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative, certified the Lean statement and proof. More independent checks: [math.mit.edu/~drew/grh](https://math.mit.edu/~drew/grh/). Names and descriptions on this map are written by Claude from samples of the code and may be wrong.

## Clusters by depth

Rings around the main theorem, from the centre out:

- [Depth 0 (the main theorem)](https://riemannhypothesissolved.com/list/?depth=0): 1 cluster
- [Depth 1](https://riemannhypothesissolved.com/list/?depth=1): 3 clusters
- [Depth 2](https://riemannhypothesissolved.com/list/?depth=2): 22 clusters
- [Depth 3](https://riemannhypothesissolved.com/list/?depth=3): 437 clusters
- [Depth 4](https://riemannhypothesissolved.com/list/?depth=4): 1,443 clusters
- [Depth 5](https://riemannhypothesissolved.com/list/?depth=5): 637 clusters
- [Depth 6](https://riemannhypothesissolved.com/list/?depth=6): 76 clusters
- [Depth 7](https://riemannhypothesissolved.com/list/?depth=7): 25 clusters
- [Depth 8](https://riemannhypothesissolved.com/list/?depth=8): 3 clusters

## The first two steps

- [★ Main theorem: Main theorem statements, plus the explicit formula for Dirichlet L-functions](https://riemannhypothesissolved.com/cluster/k0677-main-theorem-statements-plus-the-explicit-formula-for/)
  - [Primes in progressions, Siegel-Walfisz and exceptional zero bounds](https://riemannhypothesissolved.com/cluster/k0683-primes-in-progressions-siegel-walfisz-and-exceptional-zero/) — depth 1
    - [Mean-square and Jacobi-symbol estimates for prime sums in progressions](https://riemannhypothesissolved.com/cluster/k0688-mean-square-and-jacobi-symbol-estimates-for-prime-sums-in/) — depth 2
    - [Hypothesis packaging for Jacobi symbols, zero density and prime pairs](https://riemannhypothesissolved.com/cluster/k0681-hypothesis-packaging-for-jacobi-symbols-zero-density-and/) — depth 2
  - [Zero-free region for zeta and Dirichlet L-functions](https://riemannhypothesissolved.com/cluster/k0680-zero-free-region-for-zeta-and-dirichlet-l-functions/) — depth 1
    - [Periodic holomorphic data on theta-function torus families](https://riemannhypothesissolved.com/cluster/k1349-periodic-holomorphic-data-on-theta-function-torus-families/) — depth 2
    - [Rankin-Selberg method and Hecke eigenform hypotheses over the rationals](https://riemannhypothesissolved.com/cluster/k0674-rankin-selberg-method-and-hecke-eigenform-hypotheses-over/) — depth 2
    - [Primes in progressions, thin prime sets and imaginary quadratic host primes](https://riemannhypothesissolved.com/cluster/k0706-primes-in-progressions-thin-prime-sets-and-imaginary/) — depth 2
    - [Landau's theorem and nonvanishing of zeta from one-sided prime-sum bounds](https://riemannhypothesissolved.com/cluster/k0682-landau-s-theorem-and-nonvanishing-of-zeta-from-one-sided/) — depth 2
    - [Hecke characters, conductors and root numbers](https://riemannhypothesissolved.com/cluster/k0162-hecke-characters-conductors-and-root-numbers/) — depth 2
    - [Ray class data, ideal-norm sums and imaginary quadratic examples](https://riemannhypothesissolved.com/cluster/k0690-ray-class-data-ideal-norm-sums-and-imaginary-quadratic/) — depth 2
    - [Log-derivative bounds and truncated explicit formula for L-functions](https://riemannhypothesissolved.com/cluster/k0678-log-derivative-bounds-and-truncated-explicit-formula-for-l/) — depth 2
    - [Sizes of number fields: discriminants, class numbers, quadratic fields](https://riemannhypothesissolved.com/cluster/k0714-sizes-of-number-fields-discriminants-class-numbers/) — depth 2
    - [Idele measures, local root numbers and Godement sections](https://riemannhypothesissolved.com/cluster/k0169-idele-measures-local-root-numbers-and-godement-sections/) — depth 2
  - [Mertens-type estimates and zero sums for Dirichlet L-functions](https://riemannhypothesissolved.com/cluster/k0694-mertens-type-estimates-and-zero-sums-for-dirichlet-l/) — depth 1
    - [Cuspidal spectrum, trace class and published representation theory](https://riemannhypothesissolved.com/cluster/k1883-cuspidal-spectrum-trace-class-and-published-representation/) — depth 2
    - [Hecke characters, conductors and functional equations over CM hosts](https://riemannhypothesissolved.com/cluster/k0722-hecke-characters-conductors-and-functional-equations-over/) — depth 2
    - [Weight-indexed polynomial spaces, lattices and branching over number fields](https://riemannhypothesissolved.com/cluster/k0656-weight-indexed-polynomial-spaces-lattices-and-branching/) — depth 2
    - [Norm sums, size bounds and the archimedean height bound](https://riemannhypothesissolved.com/cluster/k0797-norm-sums-size-bounds-and-the-archimedean-height-bound/) — depth 2
    - [Family bounds on shares, degrees and admissible constants](https://riemannhypothesissolved.com/cluster/k1640-family-bounds-on-shares-degrees-and-admissible-constants/) — depth 2
    - [Signatures of hermitian forms, Hasse norm theorem, slopes](https://riemannhypothesissolved.com/cluster/k1838-signatures-of-hermitian-forms-hasse-norm-theorem-slopes/) — depth 2
    - [Host field data, class number lemmas and Galois descent for embeddings](https://riemannhypothesissolved.com/cluster/k0701-host-field-data-class-number-lemmas-and-galois-descent-for/) — depth 2
    - [Test lattices, dual lattices and slope bounds](https://riemannhypothesissolved.com/cluster/k0469-test-lattices-dual-lattices-and-slope-bounds/) — depth 2
    - [Explicit parameter choices: scale, ranks and host conditions](https://riemannhypothesissolved.com/cluster/k1636-explicit-parameter-choices-scale-ranks-and-host-conditions/) — depth 2
    - [Chain parameters, weighted means and grid valuation bounds](https://riemannhypothesissolved.com/cluster/k0443-chain-parameters-weighted-means-and-grid-valuation-bounds/) — depth 2
    - [Division values, index change and divisor bounds](https://riemannhypothesissolved.com/cluster/k0459-division-values-index-change-and-divisor-bounds/) — depth 2

## File by file

- 175,187 Lean files, all reached from `Main` by imports
- Median 13 imports from `Main`; farthest 43
- Longest import chain: 203 files

Distances are shortest import chains; the cluster graph has loops, the file graph does not.

[Open the map](https://riemannhypothesissolved.com/) · [start at the main theorem](https://riemannhypothesissolved.com/cluster/k0677-main-theorem-statements-plus-the-explicit-formula-for/) · [every cluster as a list, by distance](https://riemannhypothesissolved.com/list/)

---

How the Lean proof of the Riemann hypothesis is structured: the route to the main theorem. Web page: https://riemannhypothesissolved.com/route/ · updated 2026-11-22 · site map for machines: https://riemannhypothesissolved.com/llms.txt
