Class sums as integrals over Γ\G, orbit unfolding and means over compact subgroups
Lib.Adelic.Hecke.ClassSums.lean
Reading
Upstream documentation written by Claude
For subgroups
Γ,Kof a topological groupG,New.classSum Γ K fis the sum off g / #(Γ ∩ g K g⁻¹)over representativesgofΓ \ G / K, whereΓ ∩ g K g⁻¹ = New.classAut Γ K g. The integral overΓ \ Gwithvol K = 1is defined from class sums as the finite sumNew.classIntegral, also called the mean (it is an average whenΓ = ⊥andKis the whole group). No measure theory is used. The meanNew.classIntegralis used to average smooth representations over compact subgroups.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.classIntegral: the class sum at the levelrightStabilizer f ⊓ K, divided by its index inK.New.HasFiniteType: finitely many classes and finite stabilisers, withKopen and compact.New.classSum_eq_relIndex_smul: change of level, by double counting.New.classIntegral_eq_classSum_mul,New.classIntegral_eq_inv_smul_classSum: for left Γ-invariant f, the mean can be computed at a smaller open level that fixes f, or one whose conjugate by some a lies in K and fixes f (then for the right translate of f by a).New.classIntegral_sum: for smooth left Γ-invariant functions, the mean commutes with finite sums, additive maps and right translation.New.compactMean ρ H: the mean over H. It is invariant under H on both sides (New.apply_compactMean,New.compactMean_apply), projects onto the H-fixed vectors (New.compactMean_mem_levelSpace,New.compactMean_eq_self), and is self-adjoint for an invariant scalar product (New.IsUnitary.compactMean_adjoint).
Notions from other files:
Subgroup.FixesLeft:Γ.FixesLeft fsays thatf (γ * g) = f gfor all γ in Γ and g in G.New.levelSpace π K χ: For a representation π of G, a subgroup K and a character χ of K (by default trivial), the submodule of vectors v with π(k)v = χ(k)v for all k in K.
Relation to the literature
Known result: weighted class sums for a pair (G,K), as in the theory of abstract Hecke operators and of algebraic modular forms. They make sense for values in any rational vector space, without a Haar measure. Source: G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions (1971), ch. 3; B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61-93; M. Greenberg and J. Voight, Lattice methods for algebraic modular forms on classical groups, arXiv 1209.2460.
Declarations
@[simp] lemma classSum_mul (a : A) (f : G → A) : classSum Γ K f * a = classSum Γ K fun g : G ↦ f g * a
Import route to Main
Lib.Adelic.Hecke.ClassSums → Lib.LocalGL.Iwahori.ParahoricStructure (pinned import) → Lib.Weil.Unramified.HeckeGL (pinned import) → Lib.Adelic.TraceFormula.TestFunction (pinned import) → Lib.Adelic.TraceFormula.CuspidalType (pinned import) → New.Spanning.Multiplicities.EqualMultiplicities (pinned import) → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)