Mahler's criterion for hermitian spaces and class sums for definite spaces
Lib.Adelic.Reduction.DefiniteClassSums.lean
Reading
Upstream documentation written by Claude
For a hermitian space
V : New.Space E n s, the rational unitary group embeds in the adelic unitary groupNew.G E swith imageV.Γ, and in its finite part with imageV.Γf. Mahler's criterion follows from short bases, whose Gram matrices take finitely many values. It gives compactness modulo the rational points when all signs agree. For the signs1, it also gives finiteness of classes. For such a space, the integral overΓ \ Gof a suitable invariant function is then a class sum. HereK₀isNew.stdLevel, andNew.classSumsums over the double cosetsΓf \ G_f / Kwith weights1 / #(Γf ∩ g K g⁻¹).
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Space.mahler_criterion: Mahler's criterion; thegof bounded height lie inV.Γ * Cfor one compact setC.New.Space.isCocompact_of_definite: if all signs agree, the adelic group is compact moduloV.Γ.New.Space.isCocompact_Gammais the case of the signs1.New.Space.isCocompact_finitePart: for the signs1, the finite part of the group is compact moduloV.Γf.New.Space.hasFiniteType_of_isLevel: for the signs1, finitely many classes with finite stabilisers.New.Space.integral_quotMeasure_eq_classSum: take a space with signs1and a continuous, leftΓ-invariant function onG. Suppose that its average over the infinite places is fixed under right translation by an openK ≤ K₀. Then its integral overΓ \ Gis[K₀ : K]⁻¹times the class sum of this average.New.Space.classIntegral_eq_integralis the case of functions of the finite part.
Notions from other files:
New.Space: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx equal to diag(s), with s the signs, at the infinite places and 1 at the finite places.New.Space.move: the spaceV.move gis the space with the same J and the point x g; its latticebaseLatticeis the lattice atg, and the norm ofarchCoords uis the length of u atg.New.Space.height: the height ht(g) = 1/λ, with λ the first minimum cut off at 1 (New.Space.firstMinimum) of the moved spaceV.move g.New.IsLevel: an open subgroup ofK₀, with indexNew.stdLevelIndexinK₀.
Relation to the literature
Known; see Lib.Adelic.Reduction.FiniteVolume and Lib.Adelic.QuotientMeasure.Basic for sources.
Declarations
theorem classIntegral_eq_integral {V : Space E n 1} {y : Gf E n → W} (hy : y ∈ smoothInvariants V.Γf) (K : Subgroup (Gf E n)) [hK : IsLevel K] : classIntegral V.Γf K y = (stdLevelIndex K : W) * ∫ g : G E (1 : n → ℤˣ), y g.2 ∂V.quotMeasure
Import route to Main
Lib.Adelic.Reduction.DefiniteClassSums → New.Spanning.Unfolding.Setup (pinned import) → New.Spanning.RemainingTerms.Box (pinned import) → New.UpperBound.Size.ClassCount (pinned import) → New.UpperBound.Size.Estimates (pinned import) → New.UpperBound.Size.ArchimedeanSize (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)