Existence of PEL data at levels good at all safe places, with the form ξ and a Lagrangian
Lib.Shimura.IntegralModel.PELDataExistence.lean
Reading
Upstream documentation written by Claude
PEL data (
New.PEL) are the arithmetic input of the moduli problem; this file constructs them.
New.Variety.exists_lagrangian: an isotropic set lies in a self-annihilating subgroup.New.Variety.IsSafeGoodPEL: PEL data of given rank, level andβ, good at all safe places.New.Variety.exists_pel: PEL data of any nonzero rank at every nonzero level divisible by someNthat lies in none of the places of a given finite setB, good at all safe places.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Conventions: CMBase E is a CM type Φ together with a base place v₀; Φ v is the embedding the
CM type picks at v, ψf the standard character of the finite adeles, xiForm ξ x y = ξ yᴴ x,
Ô E the integral finite adeles, and torsionClass the quotient map onto
AdelicTorsion E (Fin n), whose kernel is the vectors with entries in Ô E.
Notions from other files:
New.HasPrimitiveRoot5040:Econtains a primitive root of unity of order7! = 5040.New.Variety.IsSafe 𝔑 w(forℚ(√−d)inE): the place u of ℚ(√−d) below w contains some (1 + √−d)/2 − b, b ∈ ℤ, that is coprime to its conjugate, and 𝔑 lies neither in w nor in any place above ū.
Relation to the literature
Known; see Lib.Shimura.IntegralModel.TowerExistence for sources.
Declarations
lemma exists_pel (n : ℕ) {d : ℕ} {E : Type} [Field E] [NumberField E] [IsCMField E] [HasQuadSubfield d E] [NeZero n] [HasPrimitiveRoot5040 E] (σ : E →+* ℂ) (B : Finset (FinPlace E)) : ∃ Ψ : CMBase E, (Ψ.Φ Ψ.v₀ = σ ∧ ∀ v : InfinitePlace E, v ≠ Ψ.v₀ → (Ψ.Φ v).comp (algebraMap (QuadField d) E) ≠ (Ψ.Φ Ψ.v₀).comp (algebraMap (QuadField d) E)) ∧ ∃ N : ℕ+, (∀ w ∈ B, ↑N ∉ w.asIdeal) ∧ ∀ 𝔑 : 𝓞 E, 𝔑 ≠ 0 → ↑N ∣ 𝔑 → ∃ D : PEL E, IsSafeGoodPEL d n 𝔑 D
Import route to Main
Lib.Shimura.IntegralModel.PELDataExistence → 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)