import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.BlockProducts import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionFunctoriality /-! # Assembly -/ namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Assembly.Construction noncomputable section /-! The full kernel is constructed as the product of its actual chosen and opposite block schemes and embedded in the abelian scheme through its scheme-theoretic torsion. The construction proves finite local freeness, closedness, the group law, and the multiplier-torsion bound. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory open scoped _root_.CategoryTheory.MonObj universe u variable {g : โ„•} {S : Scheme.{u}} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) /-- The zero-fiber representing equivalence proves that the torsion inclusion preserves the group law on every test scheme. -/ instance torsionInclusion_isMonHom (n : โ„•) : IsMonHom (A.torsionInclusion n) where one_hom := by have h := congrArg (fun x : A.torsionPoints n (๐Ÿ™_ (Over S)) => x.val) (((A.torsionSchemeYonedaIso n).hom.app (op (๐Ÿ™_ (Over S)))).hom.map_one) change (1 : ๐Ÿ™_ (Over S) โŸถ A.torsionScheme n) โ‰ซ A.torsionInclusion n = 1 at h simpa only [Hom.one_def, toUnit_unit, Category.id_comp] using h mul_hom := by let T := A.torsionScheme n let i := A.torsionInclusion n have h := congrArg (fun x : A.torsionPoints n (T โŠ— T) => x.val) (((A.torsionSchemeYonedaIso n).hom.app (op (T โŠ— T))).hom.map_mul (fst T T) (snd T T)) change (fst T T * snd T T) โ‰ซ i = (fst T T โ‰ซ i) * (snd T T โ‰ซ i) at h have hp : lift (fst T T โ‰ซ i) (snd T T โ‰ซ i) = i โŠ—โ‚˜ i := by apply CartesianMonoidalCategory.hom_ext ยท simp only [lift_fst, tensorHom_fst]; rfl ยท simp only [lift_snd, tensorHom_snd]; rfl exact (congrArg (fun f => f โ‰ซ i) (MonObj.mul_eq_mul (M := T))).trans (h.trans (congrArg (fun f => f โ‰ซ ฮผ[A.scheme]) hp)) /-- The torsion group scheme, bundled for its block decomposition. -/ abbrev torsionGroup (n : โ„•) : Grp (Over S) := Grp.mk (A.torsionScheme n) /-- Assemble the block subgroups and their actual inclusion into A. -/ def fullKernelToAbelian (n k : โ„•) (H B : Fin k โ†’ Grp (Over S)) (i : โˆ€ v, H v โŸถ B v) (split : torsionGroup A n โ‰… BlockProducts.Construction.groupBlockProduct k B) : (BlockProducts.Construction.groupBlockProduct k H).X โŸถ A.scheme := (BlockProducts.Construction.fullBlockKernelInclusion k H B i (torsionGroup A n) split).hom.hom โ‰ซ A.torsionInclusion n instance fullKernelToAbelian_isMonHom (n k : โ„•) (H B : Fin k โ†’ Grp (Over S)) (i : โˆ€ v, H v โŸถ B v) (split : torsionGroup A n โ‰… BlockProducts.Construction.groupBlockProduct k B) : IsMonHom (fullKernelToAbelian A n k H B i split) := by unfold fullKernelToAbelian infer_instance theorem fullKernelToAbelian_closed (n k : โ„•) (H B : Fin k โ†’ Grp (Over S)) (i : โˆ€ v, H v โŸถ B v) (hi : โˆ€ v, IsClosedImmersion (i v).hom.hom.left) (split : torsionGroup A n โ‰… BlockProducts.Construction.groupBlockProduct k B) : IsClosedImmersion (fullKernelToAbelian A n k H B i split).left := by have := BlockProducts.Construction.fullBlockKernelInclusion_closed k H B i hi (torsionGroup A n) split change IsClosedImmersion ((BlockProducts.Construction.fullBlockKernelInclusion k H B i (torsionGroup A n) split).hom.hom.left โ‰ซ (A.torsionInclusion n).left) infer_instance /-- The assembled kernel is killed by the single total multiplier n on all test schemes, including infinitesimal tests. -/ theorem fullKernelToAbelian_killed (n k : โ„•) (H B : Fin k โ†’ Grp (Over S)) (i : โˆ€ v, H v โŸถ B v) (split : torsionGroup A n โ‰… BlockProducts.Construction.groupBlockProduct k B) (T : Over S) (x : T โŸถ (BlockProducts.Construction.groupBlockProduct k H).X) : (x โ‰ซ fullKernelToAbelian A n k H B i split) ^ n = 1 := by change (x โ‰ซ (BlockProducts.Construction.fullBlockKernelInclusion k H B i (torsionGroup A n) split).hom.hom โ‰ซ A.torsionInclusion n) ^ n = 1 rw [โ† Category.assoc, โ† MonObj.comp_pow, A.torsionInclusion_pow, MonObj.comp_one] end end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Assembly.Construction