[Map](https://riemannhypothesissolved.com/) / [Adelic lattices, level subgroups and explicit bounds](https://riemannhypothesissolved.com/theme/th040-adelic-lattices-level-subgroups-and-explicit-bounds/) / k1635

Cluster k1635 · Lean proof of the Riemann hypothesis

# Finite class sets of lattices at a level, and prime-counting bounds

Lattices & mass · 1900–1949 · PhD level

Files on classes of lattices (grids of integer vectors) attached to a unitary group at a given level. The statements say that the lattice built from a tuple of matrices is a lattice, that stabilisers (symmetries of a lattice) are finite when the Gram form (matrix of inner products) is totally definite, that the class set is finite when the level has finite index, and that ranks add up step by step. One helper defines a bundle of classical prime estimates: sums of the von Mangoldt function (a weight on prime powers), a prime-counting bound, and bounds on the Chebyshev theta function. These are building blocks for counting classes.

[4 import steps to the main theorem.](https://riemannhypothesissolved.com/cluster/k0677-main-theorem-statements-plus-the-explicit-formula-for/)

Feeds into 802 clusters · 30% of the map.

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.

## Why it's in the proof

- This cluster: Finite class sets of lattices at a level, and prime-counting bounds
- [Local formal-group data, ties and served orbits at inert primes](https://riemannhypothesissolved.com/cluster/k1630-local-formal-group-data-ties-and-served-orbits-at-inert/) — Adelic lattices, level subgroups and explicit bounds
- [Explicit parameter choices: scale, ranks and host conditions](https://riemannhypothesissolved.com/cluster/k1636-explicit-parameter-choices-scale-ranks-and-host-conditions/) — Adelic lattices, level subgroups and explicit bounds
- [Mertens-type estimates and zero sums for Dirichlet L-functions](https://riemannhypothesissolved.com/cluster/k0694-mertens-type-estimates-and-zero-sums-for-dirichlet-l/) — Hecke characters and primes in progressions
- [★ 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/)

Each step is an import. This is 1 of 8 shortest routes.

## Prerequisite concepts

Hermitian, skew-Hermitian and unitary matrices; the spectral theorem, Lattices in n dimensions, covolume and counting points, Chebyshev functions theta and psi, Group actions: orbits, stabilizers, fixed points, Adic completion: approximating by ever higher powers of an ideal, Primes and divisibility

## References

Shimura, Arithmetic of Quadratic Forms · ch. 5-6 — Background reading suggested by the AI namer · unchecked

## Builds on 12 clusters

Direct imports: clusters with a file that a file here imports.

By theme: [Adelic lattices, level subgroups and explicit bounds](https://riemannhypothesissolved.com/theme/th040-adelic-lattices-level-subgroups-and-explicit-bounds/) (11), [Decorated lattices and theta ranks over host fields](https://riemannhypothesissolved.com/theme/th049-decorated-lattices-and-theta-ranks-over-host-fields/) (1)

Key: [Local formal-group data, ties and served orbits at inert primes](https://riemannhypothesissolved.com/cluster/k1630-local-formal-group-data-ties-and-served-orbits-at-inert/) (on the route to the main theorem), [Spherical parameter transfer, Satake maps and local Hecke algebras](https://riemannhypothesissolved.com/cluster/k2084-spherical-parameter-transfer-satake-maps-and-local-hecke/), [Tied Hermitian column data and level-zero joint conditions](https://riemannhypothesissolved.com/cluster/k1641-tied-hermitian-column-data-and-level-zero-joint-conditions/)

- [Spherical parameter transfer, Satake maps and local Hecke algebras](https://riemannhypothesissolved.com/cluster/k2084-spherical-parameter-transfer-satake-maps-and-local-hecke/) — Decorated lattices and theta ranks over host fields
- [Local formal-group data, ties and served orbits at inert primes](https://riemannhypothesissolved.com/cluster/k1630-local-formal-group-data-ties-and-served-orbits-at-inert/) — Adelic lattices, level subgroups and explicit bounds
- [Tied families, comparison maps and local lattice data at inert primes](https://riemannhypothesissolved.com/cluster/k1639-tied-families-comparison-maps-and-local-lattice-data-at/) — Adelic lattices, level subgroups and explicit bounds
- [Comparison maps between rational lattices and tied families of polynomials](https://riemannhypothesissolved.com/cluster/k1625-comparison-maps-between-rational-lattices-and-tied-families/) — Adelic lattices, level subgroups and explicit bounds
- [Level subgroups, coset mass and index formulas for unitary groups](https://riemannhypothesissolved.com/cluster/k1627-level-subgroups-coset-mass-and-index-formulas-for-unitary/) — Adelic lattices, level subgroups and explicit bounds
- [Integral adelic approximation, dual lattices and span recovery](https://riemannhypothesissolved.com/cluster/k1617-integral-adelic-approximation-dual-lattices-and-span/) — Adelic lattices, level subgroups and explicit bounds
- [Unitary group stabilisers, double cosets and Hermitian forms](https://riemannhypothesissolved.com/cluster/k1613-unitary-group-stabilisers-double-cosets-and-hermitian-forms/) — Adelic lattices, level subgroups and explicit bounds
- [Tied Hermitian column data and level-zero joint conditions](https://riemannhypothesissolved.com/cluster/k1641-tied-hermitian-column-data-and-level-zero-joint-conditions/) — Adelic lattices, level subgroups and explicit bounds
- [Comparison maps, rationality and Weyl lattice descent at inert primes](https://riemannhypothesissolved.com/cluster/k1644-comparison-maps-rationality-and-weyl-lattice-descent-at/) — Adelic lattices, level subgroups and explicit bounds
- [Splitting finite adeles and level subgroups acting trivially on duals](https://riemannhypothesissolved.com/cluster/k1632-splitting-finite-adeles-and-level-subgroups-acting/) — Adelic lattices, level subgroups and explicit bounds
- [Automorphic forms tied to lattices, Hecke identities and diamond operators](https://riemannhypothesissolved.com/cluster/k1631-automorphic-forms-tied-to-lattices-hecke-identities-and/) — Adelic lattices, level subgroups and explicit bounds
- [Split unitary groups and finite class sets of levels](https://riemannhypothesissolved.com/cluster/k1618-split-unitary-groups-and-finite-class-sets-of-levels/) — Adelic lattices, level subgroups and explicit bounds

## Needed by 18 clusters

Direct importers: clusters with a file that imports a file here.

By theme: [Adelic lattices, level subgroups and explicit bounds](https://riemannhypothesissolved.com/theme/th040-adelic-lattices-level-subgroups-and-explicit-bounds/) (14), [CM theta functions and p-adic integrality at inert primes](https://riemannhypothesissolved.com/theme/th021-cm-theta-functions-and-p-adic-integrality-at-inert-primes/) (2), [Theta lifts and the trace formula on unitary groups](https://riemannhypothesissolved.com/theme/th046-theta-lifts-and-the-trace-formula-on-unitary-groups/) (1), [Twisted theta lifts and theta-kernel bounds](https://riemannhypothesissolved.com/theme/th063-twisted-theta-lifts-and-theta-kernel-bounds/) (1)

Key: [Local formal-group data, ties and served orbits at inert primes](https://riemannhypothesissolved.com/cluster/k1630-local-formal-group-data-ties-and-served-orbits-at-inert/) (on the route to the main theorem), [Hecke elements, local Weil pairings and class sums](https://riemannhypothesissolved.com/cluster/k1864-hecke-elements-local-weil-pairings-and-class-sums/), [Self-dual lattices and adelic frames for unitary groups](https://riemannhypothesissolved.com/cluster/k1621-self-dual-lattices-and-adelic-frames-for-unitary-groups/)

- [Hecke elements, local Weil pairings and class sums](https://riemannhypothesissolved.com/cluster/k1864-hecke-elements-local-weil-pairings-and-class-sums/) — Theta lifts and the trace formula on unitary groups
- [Self-dual lattices and adelic frames for unitary groups](https://riemannhypothesissolved.com/cluster/k1621-self-dual-lattices-and-adelic-frames-for-unitary-groups/) — Adelic lattices, level subgroups and explicit bounds
- [Tied hermitian forms, block actions and period entries](https://riemannhypothesissolved.com/cluster/k1659-tied-hermitian-forms-block-actions-and-period-entries/) — Adelic lattices, level subgroups and explicit bounds
- [Local formal-group data, ties and served orbits at inert primes](https://riemannhypothesissolved.com/cluster/k1630-local-formal-group-data-ties-and-served-orbits-at-inert/) — Adelic lattices, level subgroups and explicit bounds
- [Tied families, comparison maps and local lattice data at inert primes](https://riemannhypothesissolved.com/cluster/k1639-tied-families-comparison-maps-and-local-lattice-data-at/) — Adelic lattices, level subgroups and explicit bounds
- [Test lattices, jets and branching bounds](https://riemannhypothesissolved.com/cluster/k2617-test-lattices-jets-and-branching-bounds/) — Twisted theta lifts and theta-kernel bounds
- [Comparison maps between rational lattices and tied families of polynomials](https://riemannhypothesissolved.com/cluster/k1625-comparison-maps-between-rational-lattices-and-tied-families/) — Adelic lattices, level subgroups and explicit bounds
- [Tied Hermitian column data and level-zero joint conditions](https://riemannhypothesissolved.com/cluster/k1641-tied-hermitian-column-data-and-level-zero-joint-conditions/) — Adelic lattices, level subgroups and explicit bounds
- [Adelic lattices that agree away from one prime](https://riemannhypothesissolved.com/cluster/k0800-adelic-lattices-that-agree-away-from-one-prime/) — CM theta functions and p-adic integrality at inert primes
- [Kernel sites, joint embeddings and tied data at a prime](https://riemannhypothesissolved.com/cluster/k0802-kernel-sites-joint-embeddings-and-tied-data-at-a-prime/) — CM theta functions and p-adic integrality at inert primes
- [Comparison maps, rationality and Weyl lattice descent at inert primes](https://riemannhypothesissolved.com/cluster/k1644-comparison-maps-rationality-and-weyl-lattice-descent-at/) — Adelic lattices, level subgroups and explicit bounds
- [Tied families, places and lattice comparisons](https://riemannhypothesissolved.com/cluster/k1653-tied-families-places-and-lattice-comparisons/) — Adelic lattices, level subgroups and explicit bounds
- [Adelic lattices and local bases from compatible forms](https://riemannhypothesissolved.com/cluster/k1649-adelic-lattices-and-local-bases-from-compatible-forms/) — Adelic lattices, level subgroups and explicit bounds
- [Class compatibility, Hecke relations and diamond class functions](https://riemannhypothesissolved.com/cluster/k1643-class-compatibility-hecke-relations-and-diamond-class/) — Adelic lattices, level subgroups and explicit bounds
- [Adic completions, integral adeles and unitary approximation](https://riemannhypothesissolved.com/cluster/k1615-adic-completions-integral-adeles-and-unitary-approximation/) — Adelic lattices, level subgroups and explicit bounds
- [Splitting finite adeles and level subgroups acting trivially on duals](https://riemannhypothesissolved.com/cluster/k1632-splitting-finite-adeles-and-level-subgroups-acting/) — Adelic lattices, level subgroups and explicit bounds
- [Automorphic forms tied to lattices, Hecke identities and diamond operators](https://riemannhypothesissolved.com/cluster/k1631-automorphic-forms-tied-to-lattices-hecke-identities-and/) — Adelic lattices, level subgroups and explicit bounds
- [Split unitary groups and finite class sets of levels](https://riemannhypothesissolved.com/cluster/k1618-split-unitary-groups-and-finite-class-sets-of-levels/) — Adelic lattices, level subgroups and explicit bounds

31 Lean files, main folder Formalism.LocalToGlobal.GroupLattices.ComparisonMaps.

## Explore

- [Theme: Adelic lattices, level subgroups and explicit bounds](https://riemannhypothesissolved.com/theme/th040-adelic-lattices-level-subgroups-and-explicit-bounds/)
- [Start at the main theorem's cluster](https://riemannhypothesissolved.com/cluster/k0677-main-theorem-statements-plus-the-explicit-formula-for/)
- [How the proof is structured: the route to the main theorem](https://riemannhypothesissolved.com/route/)
- [The core of the proof: 16 clusters, names checked against the code](https://riemannhypothesissolved.com/core/)
- [The proof in numbers: files, lines, clusters and checks](https://riemannhypothesissolved.com/proof-in-numbers/)
- [Has the Riemann hypothesis been solved? Status of the proof](https://riemannhypothesissolved.com/status/)
- [Learning path: the proof step by step, down to school maths](https://riemannhypothesissolved.com/learn/)

---

Finite class sets of lattices at a level, and prime-counting bounds. Web page: https://riemannhypothesissolved.com/cluster/k1635-finite-class-sets-of-lattices-at-a-level-and-prime-counting/ · updated 2026-11-22 · site map for machines: https://riemannhypothesissolved.com/llms.txt
