import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralActiveKernels import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.CanonicalQuotients /-! # Integral Quotients -/ namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralQuotients noncomputable section /-! Construct the complete integral abelian quotient for each literal original parameter, with the original source action and ordered marking. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralActiveKernels variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] [NumberField.IsCMField E] [Field K] [NumberField K] {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} {iota : E →+* K} {κ : K →+* ℂ} {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) (O : D.OrdinaryKernelData j iota hsplit labels) {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] [IsAdicComplete (IsLocalRing.maximalIdeal R) R] [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := (l.genericAction (L := L)).preservesGroup (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) variable (hlabels : ∀ v : Fin (s + 1), labels (v, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, false)) (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) def originalIntegralQuotient := letI := a.evaluation.scalarAlgebra R letI := a.evaluation.scalarTower R let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a (l.overEvaluationDVR v).canonicalIntegralQuotient j hsplit labels hlabels (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) 0 (Fin.cases false (O.compact x)) (Over.mk (𝟙 (Spec (.of v.carrier)))) (IntegralActiveKernels.originalIntegralActiveKernel j hsplit labels O l hTorsionQuotient a i p) def originalIntegralQuotientAction := letI := a.evaluation.scalarAlgebra R letI := a.evaluation.scalarTower R let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a (l.overEvaluationDVR v).canonicalIntegralQuotientAction j hsplit labels hlabels (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) 0 (Fin.cases false (O.compact x)) (Over.mk (𝟙 (Spec (.of v.carrier)))) (IntegralActiveKernels.originalIntegralActiveKernel j hsplit labels O l hTorsionQuotient a i p) def originalIntegralQuotientLevel := letI := a.evaluation.scalarAlgebra R letI := a.evaluation.scalarTower R let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a (l.overEvaluationDVR v).canonicalIntegralQuotientLevel j hsplit labels hlabels (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) 0 (Fin.cases false (O.compact x)) (Over.mk (𝟙 (Spec (.of v.carrier)))) (IntegralActiveKernels.originalIntegralActiveKernel j hsplit labels O l hTorsionQuotient a i p) end end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralQuotients