import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Reduction import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure /-! # Support Map -/ namespace OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.SupportMap.Constructions.Construction noncomputable section open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace /-- The underlying morphism with the carriers made explicit. -/ def algebraicMap {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) : X.carrier ⟶ Y.carrier := f.left theorem algebraicMap_over {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) : algebraicMap f ≫ Y.structureMap = X.structureMap := f.w theorem supportMap_imageClosure {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : Geometric.StratumClosure.integralImageClosure (Z.inclusion ≫ algebraicMap f) = Reduction.Constructions.imageSupport f Z := by apply IrreducibleCloseds.ext change closure (Set.range (algebraicMap f ∘ Z.inclusion)) = _ rw [Set.range_comp, show Set.range Z.inclusion = (Z.1 : Set X.carrier) from Geometric.GenericPoint.range_reducedSupportι Z.1] have h : algebraicMap f '' (Z.1 : Set X.carrier) = (Reduction.Constructions.imageSupport f Z : Set Y.carrier) := (Reduction.Constructions.imageSupport_eq_image f hf Z).symm rw [h] exact (Reduction.Constructions.imageSupport f Z).isClosed.closure_eq theorem supportMap_kernel {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : (Z.inclusion ≫ algebraicMap f).ker = Geometric.GenericPoint.reducedSupportIdeal (Reduction.Constructions.imageSupport f Z) := by let : IsProper (algebraicMap f) := hf exact (Geometric.StratumClosure.kernel_eq_reducedImageClosureIdeal (Z.inclusion ≫ algebraicMap f)).trans (congrArg Geometric.GenericPoint.reducedSupportIdeal (supportMap_imageClosure f hf Z)) /-- The genuine morphism from a reduced support to the reduced image support. -/ def supportImageMap {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : Z.scheme ⟶ Geometric.GenericPoint.reducedSupportScheme (Reduction.Constructions.imageSupport f Z) := by apply IsClosedImmersion.lift (Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z)) (Z.inclusion ≫ algebraicMap f) change (Geometric.GenericPoint.reducedSupportIdeal (Reduction.Constructions.imageSupport f Z)).subschemeι.ker ≤ _ rw [Scheme.IdealSheafData.ker_subschemeι, supportMap_kernel f hf Z] theorem supportImageMap_inclusion {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : supportImageMap f hf Z ≫ Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z) = Z.inclusion ≫ algebraicMap f := by exact IsClosedImmersion.lift_fac (Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z)) (Z.inclusion ≫ algebraicMap f) _ theorem supportImageMap_over {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : supportImageMap f hf Z ≫ Geometric.SupportFiniteType.supportStructureMap (Reduction.Constructions.imageSupport f Z) Y.structureMap = Z.structureMap := by change supportImageMap f hf Z ≫ Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z) ≫ Y.structureMap = Z.inclusion ≫ X.structureMap rw [← Category.assoc, supportImageMap_inclusion, Category.assoc, algebraicMap_over] theorem supportImageMap_isProper {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : IsProper (supportImageMap f hf Z) := by let : IsProper (algebraicMap f) := hf let : IsProper (supportImageMap f hf Z ≫ Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z)) := by rw [supportImageMap_inclusion] infer_instance exact IsProper.of_comp (supportImageMap f hf Z) (Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z)) theorem supportImageMap_surjective {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : Function.Surjective (supportImageMap f hf Z) := by intro y have hy : Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z) y ∈ (Reduction.Constructions.imageSupport f Z : Set Y.carrier) := by rw [← Geometric.GenericPoint.range_reducedSupportι] exact ⟨y, rfl⟩ rw [Reduction.Constructions.imageSupport_eq_image f hf Z] at hy obtain ⟨x, hx, hxy⟩ := hy rw [← Geometric.GenericPoint.range_reducedSupportι Z.1] at hx obtain ⟨z, rfl⟩ := hx refine ⟨z, (Geometric.GenericPoint.reducedSupportι (Reduction.Constructions.imageSupport f Z)).isClosedEmbedding.injective ?_⟩ have h := congrArg (fun k : Z.scheme ⟶ Y.carrier => k z) (supportImageMap_inclusion f hf Z) exact h.trans hxy /-- Surjectivity sends the generic point to the generic point. -/ theorem genericPoint_eq_of_surjective {S T : Scheme} [IrreducibleSpace S] [IrreducibleSpace T] (f : S ⟶ T) (hf : Function.Surjective f) : f (genericPoint S) = genericPoint T := by apply IsGenericPoint.eq _ (genericPoint_spec T) have h := (genericPoint_spec S).image f.continuous simpa only [Set.image_univ, hf.range_eq, closure_univ] using h theorem supportImageMap_genericPoint {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport X p) : supportImageMap f hf Z (genericPoint Z.scheme) = genericPoint (Geometric.GenericPoint.reducedSupportScheme (Reduction.Constructions.imageSupport f Z)) := genericPoint_eq_of_surjective _ (supportImageMap_surjective f hf Z) end end OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.SupportMap.Constructions.Construction