Trace formula for algebraic forms, finiteness of signed frame classes, the definite side
Lib.Shimura.TraceFormula.DefiniteTrace.lean
Reading
Upstream documentation written by Claude
This file gives a trace formula for a Hecke operator on a finite-dimensional space of algebraic forms, computed from class representatives with weights. It also shows that only finitely many double cosets GL_n(E) x (GU ∩ V), with V an open subgroup, contain a signed frame. These results serve the definite side of the comparison of traces. There the trace of a regular Hecke element on forms supported on definite frames is written as a sum over orbits of triples.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.trace_eq_weighted_sum: the trace of the twisted Hecke operatorTon a finite-dimensional space of algebraic forms, from representativesr iwith weightsw i.New.Variety.finite_isSignedFrame_classes: for an open subgroup V, only finitely many double cosets GL_n(E) x (GU ∩ V) contain a signed frame.New.Variety.definiteForms: the forms with values in a representationξofGL n Ethat are leftGL n E-equivariant, vanish off the definite frames and are right invariant under the level.New.Variety.definiteForms.rep: the action of the Hecke algebraNew.Variety.heckeAlgebraon it.New.Variety.finite_definiteForms,New.Variety.finite_support_countTerm_definite,New.Variety.trace_definiteForms_eq_finsum_countTerm: finite dimension, finite support and the trace formula.
Notions from other files:
New.levelSpace π K: The vectors fixed by the subgroupKunder the representationπ; hereπisNew.rightRegular, the action ofGon functionsG → Wby right translation.New.Variety.GU: The unitary similitudes: theg ∈ GL_n(𝔸f E)withc • gᴴ g = ε • 1for some rationalc > 0and unitεofẐ, that is, the frames of the formsc • 1.New.Variety.levelGU: the principal level K(𝔑), the similitudes inGL_n(Ô E)that are congruent to1modulo𝔑.New.Variety.IsRegularHecke: a(x⁻¹y⁻¹xK) ≠ 0 forces the characteristic polynomial ofyto be separable.New.Variety.IsNeat: The level 𝔑 is neat: 𝔑 ≠ 0 and, wheneverxis a signed frame withℓfor some form (New.Variety.IsSignedFrame), every y in GL_n(E) with x⁻¹yx inlevelGU n 𝔑that fixes ℓ underNew.Variety.ratConjequals 1.
Relation to the literature
Known; see Lib.Shimura.TraceFormula.MarkedDefiniteSums and
Lib.Shimura.Uniformisation.AppellHumbert for sources.
Declarations
lemma trace_definiteForms_eq_finsum_countTerm (hN : IsNeat n 𝔑) {a : heckeAlgebra n ℂ 𝔑} {w : Polynomial E → n → ℂ} (ha : IsRegularHecke a) (hw : ∀ y : GL n E, y.val.charpoly.Separable → (ξ y⁻¹).trace ℂ W = ∑ i : n, w y.val.charpoly i) : (definiteForms.rep 𝔑 ξ a).trace ℂ (definiteForms 𝔑 ξ) = ∑ᶠ c : MulAction.orbitRel.Quotient (GL n E) (MarkedTriple (levelGU n 𝔑) n), countTerm False a w c
Import route to Main
Lib.Shimura.TraceFormula.DefiniteTrace → Lib.GaloisRep.BaseChange.TwistedTraceIdentity (pinned import) → Lib.GaloisRep.BaseChange.PrimeDegreeTransfer (pinned import) → Lib.GaloisRep.BaseChange.ShintaniLift (pinned import) → Lib.GaloisRep.LocalGlobal.LabelCompatibility (pinned import) → New.Congruences.GaloisRepresentations.SelmerHypotheses (pinned import) → New.OneLift.HeckeValues.TwistedValueHeights (pinned import) → New.OneLift.LiftVolumeHeight (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)