For a function with a cuspidal type at one place, marked and definite orbit sums agree
Lib.Shimura.TraceFormula.MarkedDefiniteSums.lean
Reading
Upstream documentation written by Claude
New.Variety.finsum_orbits_eq_zero_of_free_of_blocks: a sum over orbits vanishes if it vanishes on each block of a partition that the group permutes, with finite support there, and the stabiliser of each point where it is non-zero is trivial.New.Variety.finsum_markedTerm_eq_finsum_definiteTerm: the marked and the definite sums agree for every weight;New.Variety.finsum_countTerm_marked_eq_definitesays this in terms ofcountTerm.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Idea: both sums run over the classes of triples (xK, y, μ) under GL n E. Classes with
irreducible characteristic polynomial are matched by a change of signs. For a reducible one, an
idempotent at the split place gives a unipotent group, whose orbits cut the triples into blocks;
translation along it multiplies the terms by a value of the character that is not 1, so they sum to
zero on each block.
Notions from other files:
New.Variety.MarkedTriple: triples(xK, y, μ)of an adelic coset, an elementyofGL n Eand an indexμof an eigenvalue ofy.New.Variety.countTerm: the termf(x⁻¹ y⁻¹ x K) * u(charpoly y, μ)of the class of(xK, y, μ)ifIsSignedFrame x (eigenReflection ε y μ)holds (the sign condition), else0;ε = Truegives the marked count andε = Falsethe definite count.New.Variety.conjAtSplit: places an element ofGL nover the completion at a split placew₀in the adelic similitude group;New.Variety.dualComponentis a left inverse.New.Variety.IsRegularHecke:f(x⁻¹ y⁻¹ x K) ≠ 0forces the characteristic polynomial ofyto be separable.New.Variety.IsCuspidalType: for every idempotent matrixe ≠ 0, 1, the characterχis non-trivial on the elements ofJin the unipotent group1 + e M_n (1 - e).
Relation to the literature
Known result: Simple trace formula on a definite group, with vanishing non-elliptic terms. This file proves the comparison of orbit sums that is used, for unitary similitudes at a neat level, with Haar integrals replaced by finite sums over cosets. The non-elliptic terms cancel for a regular test function with a cuspidal type at one split place; the elliptic terms match for n odd. Source: Dummigan, A simple trace formula for algebraic modular forms, Exp. Math. 22 (2013); Arthur and Clozel, Simple algebras, base change and the advanced theory of the trace formula (1989), ch. 1 §2, after Deligne and Kazhdan.
Declarations
lemma finsum_countTerm_marked_eq_definite (hN : IsNeat n 𝔑) (hn : Odd (Fintype.card n)) {f : heckeAlgebra n ℂ 𝔑} (h_regular : IsRegularHecke f) {w₀ : SplitFinPlace E} {J : Subgroup (GL n (LocField w₀.1))} {χ : J →* ℂ} (hχ : IsCuspidalType J χ) (hJ : f.val ∈ fixedToEigen (levelGU n 𝔑) (conjAtSplit w₀) J χ) (w : E[X] → n → ℂ) (h_finite : ∀ ε : Prop, (countTerm ε f 1).support.Finite) : ∑ᶠ c : orbitRel.Quotient (GL n E) (MarkedTriple (levelGU n 𝔑) n), countTerm True f w c = ∑ᶠ c : orbitRel.Quotient (GL n E) (MarkedTriple (levelGU n 𝔑) n), countTerm False f w c
Import route to Main
Lib.Shimura.TraceFormula.MarkedDefiniteSums → Lib.Shimura.Transfer.WeightOccurs (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (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)