import OAI.AlgebraicGeometry.PELModuli.IntegralModel.FromPrime.ModelsArithmeticOrbitExistence import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.QuotientOver /-! # Models Arithmetic Quotient Existence -/ namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FromPrime.ModelsArithmeticQuotientExistence.FromPrimeModels noncomputable section /-! IntegralModel construction from actual arithmetic prime-level PEL models. The original family, prescribed level, and full conclusion are retained. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry theorem exists_arithmetic_prime_pel_quotient (h43 : ReferenceFamily.ModuliInput) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] [IsGalois ℚ E] (s : ℕ) (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) {K : Type} [Field K] [NumberField K] (iota : E →+* K) (κ : K →+* ℂ) (hemb : κ.comp iota = P.μ) (N : ℕ) (hN : 3 ≤ N) (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) [Arithmetic.PrimeModels.ArithmeticPrimePELModels P] : ∃ B : Base.ArithmeticBaseExtension K κ, IsUnit (N : B.R) ∧ ∃ p : ℕ, ∃ hp : p.Prime, 3 ≤ p ∧ Nat.Coprime p N ∧ Nat.Coprime p (∏ i, P.polarizationType i) ∧ IsUnit (p : B.R) ∧ let _ : Fact p.Prime := ⟨hp⟩ ∃ V : Over B.base, ∃ hred : IsReduced V.left, let _ : IsReduced V.left := hred IsNoetherian V.left ∧ LocallyOfFiniteType V.hom ∧ QuasiCompact V.hom ∧ IsSeparated V.hom ∧ ∃ U : IntegralAdded.PELId.IntegralAddedPELLevel P B.R (B.integralEmbedding iota) p N V, ∃ hU : U.IsFine, U.PrescribedRigid ∧ (∃ e : (Over.pullback B.generic).obj V ≅ Arithmetic.ReferencePrimeFrame.ArithmeticPELComparison.primeFrame B M p, Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso ((Arithmetic.ReferencePrimeFrame.ArithmeticPELComparison.primeUniversal B M p).pullback e.hom) (U.genericIntegralFamily B iota))) ∧ ∃ (Q : Over B.base) (π : V ⟶ Q), IsReduced Q.left ∧ IsNoetherian Q.left ∧ LocallyOfFiniteType Q.hom ∧ QuasiCompact Q.hom ∧ IsFinite π.left ∧ Etale π.left ∧ Surjective π.left ∧ IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source V (3 * s) p).left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left ∧ ∀ (T : Over B.base) (f : V ⟶ T), IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source V (3 * s) p ≫ f = IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU ≫ f → ∃! q : Q ⟶ T, π ≫ q = f := by obtain ⟨B, hNB, p, hp, hp3, hpN, hpδ, hpB, V, hr, hn, hft, hqc, hsep, U, hU, hrigid, hcomp, hOrbit⟩ := ModelsArithmeticOrbitExistence.FromPrimeModels.exists_arithmetic_prime_pel_model_with_affine_orbits h43 hPresentations s hs hdegree P hP iota κ hemb N hN M hM have : Fact p.Prime := ⟨hp⟩ have : IsReduced V.left := hr have : LocallyOfFiniteType V.hom := hft have : QuasiCompact V.hom := hqc exact ⟨B, hNB, p, hp, hp3, hpN, hpδ, hpB, V, hr, hn, hft, hqc, hsep, U, hU, hrigid, hcomp, IntegralAuxiliary.QuotientOver.IntegralAuxiliaryAction.exists_quotient_over U hU hrigid hOrbit⟩ end end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FromPrime.ModelsArithmeticQuotientExistence.FromPrimeModels