Eigenline reflections of a separable matrix, and the term of the count at a marked triple
Lib.Shimura.Transfer.MarkedPairs.lean
Reading
Upstream documentation written by Claude
Invariance properties of the terms of the point count
New.Variety.countTerm, a function on GL_n(E)-orbits of triples (coset xK, rational matrix y, index μ of a root), the typeMarkedTriple (levelGU n 𝔑) n.
New.Variety.isReflection_markedReflectionandNew.Variety.exists_eq_markedReflection_iff_of_ratConj_eq(bundled asNew.Variety.isReflection_markedReflection_and_exists_eq_iff): for y with separable characteristic polynomial, the matricesNew.Variety.markedReflection y iare reflections, and each reflection that commutes with y equals exactly one of them.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Variety.countTerm_mk: the term of an orbit may be computed at any representative.New.Variety.finsum_countTerm_eq_sum: the weighted count as a finite sum over the support of the count of weight 1.
New.Variety.IsReflection J says J = u wᵀ - 1 with w · u = 2. New.Variety.ratConj z conjugates by
Φ_{v₀}(z), the image of z in GL_n(ℂ) under the fixed embedding Φ v₀ : E → ℂ used throughout.
New.Variety.IsSignedFrame x J says that x is a frame for a rational form whose signature is given
by J.
Notions from other files:
New.Variety.heckeAlgebra: the Hecke algebra of level K(𝔑): the subalgebra of elements ∑ a_g [g] of ℂ[GL_n(𝔸_f)] that are supported onGUPlus E nand whose function ∑ a_g 1_{gK} is left K(𝔑)-invariant.New.Variety.levelGU: the principal level K(𝔑), the similitudes inGL_n(Ô E)that are congruent to1modulo𝔑.New.Variety.toFinGL: The diagonal embedding of GL_n(E) in GL_n of the finite adeles of E.New.Variety.heckeCosetFn f: for f = ∑ a_g [g] in the Hecke algebra, the function ∑ a_g 1_{gK} on the cosets of the levelK.New.Variety.eigenReflection ε y μ: ifεholds, the matrixNew.Variety.markedReflection y μ, a polynomial in Φ_{v₀}(y) that is1on the eigenline of theμ-th listed root of the characteristic polynomial and-1on the other eigenlines; ifεfails, the identity.
Relation to the literature
Known; see Lib.Shimura.Transfer.WeightOccurs and Lib.Shimura.TraceFormula.MarkedDefiniteSums for
sources.
Declarations
lemma countTerm_mk {ε : Prop} {μ : n} {w : E[X] → n → ℂ} : countTerm ε f w ⟦(x, y, μ)⟧ = if IsSignedFrame x (eigenReflection ε y μ) then heckeCosetFn f (invAutInFrame y x) * w y.val.charpoly μ else 0
Import route to Main
Lib.Shimura.Transfer.MarkedPairs → Lib.Shimura.TraceFormula.DefiniteTrace (pinned import) → 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)