Properties of a Kuga–Sato tower, Hecke operators at split places, torsion counts and levels
Lib.Shimura.HeckeTower.Model.lean
Reading
Upstream documentation written by Claude
The structure
New.Variety.Modelcollects the geometry of a tower of Kuga–Sato varieties that the point count uses. K(𝔑) denotes the principal levelNew.Variety.levelGU n 𝔑. τ_{w,j} denotes the Hecke elementNew.Variety.heckeSumat a safe split place w of E. The file shows that these elements lie in the Hecke algebra of K(𝔑). It counts theI-torsion of the adelic moduleNew.AdelicTorsion E n: it has N(I) ^ card n elements, where N(I) is the norm of the ideal I. It proves finiteness statements for multiplication by integers on the abelian schemes of a familyX : New.ThetaFamily D Z τ.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.Variety.Model: the tower of varieties with its properties.New.Variety.asAlgebraHom_heckeSum: τ_{w,j} acts on K(𝔑)-fixed vectors as a central element times the j-th Hecke operator of GL_n(E_w);New.Variety.tauHeckeis τ_{w,j} in the Hecke algebra.New.Variety.Model.exists_isHeckeAction: the commuting operators on F(Z), for the base Z of a model and a functor F with descent.New.card_torsionBySet_adelicTorsion: forI ≠ 0theI-torsion ofNew.AdelicTorsion E nhasN(I) ^ card nelements.New.Variety.exists_level_conj_mem: a principal level deep enough for finitely many isogenies.
Notions from other files:
New.Variety.SplitFinPlace: The finite places w of E with w̄ ≠ w, that is, those split over the maximal real subfield.New.Variety.levelGU: the principal level K(𝔑), the similitudes inGL_n(Ô E)that are congruent to1modulo𝔑.New.Variety.conjAtSplit w g: for a split place w, the adelic matrix that is g⁻ᵀ at w, the conjugate of g at w̄, and 1 elsewhere.New.Variety.heckeSum n k w j: the Hecke element τ_{w,j}, the sum ofNew.Variety.invHeckeIsogeny w Uover the subspaces U of dimension j.New.Variety.IsSafe: Safe places w of E: the place u of ℚ(√−d₀) below w satisfiesNew.GaloisRep.IsSplitPrimeToDisc, and 𝔑 lies neither in w nor in any place above ū.
Relation to the literature
Known result: Hecke algebra of a pair acting by correspondences on the base of a tower. Here only a semigroup acts, and only far enough up the tower, and the algebra is a subalgebra of the group ring. The cohomology theory may be any functor to modules for which the base is the invariants of each cover. Source: Shimura, Introduction to the arithmetic theory of automorphic functions, 1971, ch. 3 and 7–8.
See also Lib.Shimura.IntegralModel.TowerExistence, Lib.Shimura.Uniformisation.AppellHumbert and
Lib.Shimura.AbelianScheme.IsogenyFlatness.
Declarations
structure New.Variety.Model {E : Type} [Field E] [CMBase E] (n : Type) [Fintype n] [DecidableEq n] (d₀ : ℕ) [HasQuadSubfield d₀ E] (𝔑 : 𝓞 E) (ν : ℕ) (R : Subalgebra (𝓞 E) E) where /-- The base scheme Z over `Spec R`. -/ base : Over (Spec ⟨R⟩) /-- The scheme W_i over `Spec R` at level `i`. -/ cover : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n) → Over (Spec ⟨R⟩) /-- The set s_i of adelic matrices whose legs the fields at level `i` speak about. -/ legIndices (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : Set (GL n (𝔸f E)) /-- The legs p_g : W_i → Z, one for each coset gK(𝔑); the leg of `1` is called π. -/ leg (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : GL n (𝔸f E) ⧸ levelGU n 𝔑 → (cover i ⟶ base) /-- The identity lies in every s_i. -/ one_mem (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : 1 ∈ legIndices i /-- For `g` in `GUPlus E n` and any level `j`, all large levels `i` have g ∈ s_i and a map f : W_i → W_j with p_q ∘ f = p_{gq} for all q ∈ s_j. -/ eventually_translate {g : GL n (𝔸f E)} (j : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : g ∈ GUPlus E n → ∀ᶠ i in Filter.atTop, g ∈ legIndices i ∧ ∃ f, ∀ q ∈ legIndices j, f ≫ leg j q = leg i (g * q) /-- The finite group Δ_i at level `i`. -/ deckGroup (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : FiniteGrp /-- The action of Δ_i on W_i. -/ deck (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : deckGroup i →* CategoryTheory.End (cover i) /-- For each δ ∈ Δ_i there is κ ∈ K(𝔑) with p_q ∘ δ = p_{κq} for all q ∈ s_i. -/ deck_comp_leg (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) (δ : (deckGroup i).toGrp) : ∃ κ : levelGU n 𝔑, ∀ q ∈ legIndices i, (deck i δ).asHom ≫ leg i q = leg i (κ.1 * q) /-- The maps m_α : Z → Z, one for each family `α` of `ν` integers of `E`. -/ mulMap (α : Fin ν → 𝓞 E) : base ⟶ base /-- The complex point [a]_i of W_i attached to `a`. -/ point (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : ModuliPoint E n ν → (specOver R ℂ ⟶ cover i) /-- Every complex point of W_i is some [a]_i. -/ point_surjective (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : (point i).Surjective /-- π[a]_i = π[b]_i exactly when `a` and `b` are isomorphic at level K(𝔑). -/ point_eq_iff (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) (a b : ModuliPoint E n ν) : point i a ≫ leg i ⟦1⟧ = point i b ≫ leg i ⟦1⟧ ↔ ∃ z : GL n E, a.IsLevelIso (levelGU n 𝔑) z b /-- For `g` in `GUPlus E n` with g ∈ s_i, m_α p_g [a]_i = π[a·(g, α)]_i. -/ point_leg {i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)} g (α : Fin ν → 𝓞 E) (a : ModuliPoint E n ν) : ↑g ∈ legIndices i → point i a ≫ leg i g.1 ≫ mulMap α = point i (a.act g α) ≫ leg i ⟦1⟧ /-- The relative dimension of Z over `Spec R`. -/ dimension : ℕ /-- Z is smooth over `Spec R` of relative dimension `dimension`. -/ smooth : SmoothOfRelativeDimension dimension base.hom /-- Z is proper over `Spec R`. -/ [proper : IsProper base.hom] /-- W_i is a closed subscheme of a projective space over `Spec R`. -/ [projective (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : HasProjEmbedding (cover i).hom] /-- W_i is reduced. -/ [isReduced (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : AlgebraicGeometry.IsReduced (cover i).left] /-- π is onto, and its fibres in characteristic `0` are torsors under Δ_i. -/ covering (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) : IsGaloisCovering (leg i ⟦1⟧) (deck i) /-- Let g ∈ s_i and let z : a·(g, α) ≅ a at level K(𝔑) have separable characteristic polynomial, with `a.reflection` the involution `markedReflection` of `z` at its `μ`-th listed root. Then at [a]_i the polynomial `localTerm` is a constant times det(1 - X (dπ)⁻¹ d(m_α p_g)), in the sense of `IsTangentPoly`. -/ tangent (i : Finset (nonZeroDivisors (𝓞 E) × GUPlus E n)) (g : GUPlus E n) (α : Fin ν → 𝓞 E) (a : ModuliPoint E n ν) (z : GL n E) (μ : n) : g.1 ∈ legIndices i → z.val.charpoly.Separable → a.reflection = markedReflection z μ → (a.act g α).IsLevelIso (levelGU n 𝔑) z a → IsTangentPoly dimension ((algPoints (ℂ) (CommRingCat.of R)).map (leg i ⟦1⟧)) ((algPoints (ℂ) (CommRingCat.of R)).map (leg i g.1 ≫ mulMap α)) ⟨point i a⟩ (localTerm α z.val.charpoly μ) /-- The congruence relation at a split place `w` satisfying `IsSafe`, with residue field k_w of order q = p^f: if `𝔭` contains the image of `w` and all g_A = `invHeckeIsogeny w A` lie in s_i, A a subspace of k_wⁿ of dimension r, then ∑_A (-1)^r q^{r(r-1)/2} [Frob_p^{(n-r)f} p_{g_A}(x)] = 0 in the sense of `CongruenceRelation`. -/ congruence (w : SplitFinPlace E) : IsSafe 𝔑 w.1 → ∀ i (𝔭 : Set R), (∀ c ∈ w.1.1, algebraMap (𝓞 E) R c ∈ 𝔭) → (∀ A, invHeckeIsogeny w A ∈ legIndices i) → let r (A : Submodule (ResField (w : FinPlace E)) (n → ResField (w : FinPlace E)))
Import route to Main
Lib.Shimura.HeckeTower.Model → Lib.Shimura.IntegralModel.PELDataExistence (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)