import OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality /-! # Open Immersion -/ namespace OAI.AlgebraicGeometry.CycleClass.Thom.OpenImmersion.Constructions.Raw noncomputable section /-! Restricting a closed holomorphic immersion to an ambient open, for arbitrary complex model spaces. -/ open _root_.CategoryTheory _root_.TopologicalSpace open scoped _root_.Manifold ContDiff open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold set_option backward.isDefEq.respectTransparency false set_option backward.isDefEq.respectTransparency.types false variable {M N E G : Type} [TopologicalSpace M] [TopologicalSpace N] [NormedAddCommGroup E] [NormedSpace โ„‚ E] [ChartedSpace E M] [NormedAddCommGroup G] [NormedSpace โ„‚ G] [ChartedSpace G N] (f : M โ†’ N) (hf : ContMDiff ๐“˜(โ„‚, E) ๐“˜(โ„‚, G) ฯ‰ f) (U : Opens N) theorem restrictedBase_differential_injective (hi : โˆ€ x, Function.Injective (mfderiv ๐“˜(โ„‚, E) ๐“˜(โ„‚, G) f x)) (x : GraphOpenImmersion.Constructions.graphSourceOpen f hf U) : Function.Injective (mfderiv ๐“˜(โ„‚, E) ๐“˜(โ„‚, G) (GraphOpenImmersion.Constructions.restrictedBase f hf U) x) := by have hv := (show ContMDiff ๐“˜(โ„‚, E) ๐“˜(โ„‚, E) 1 (Subtype.val : GraphOpenImmersion.Constructions.graphSourceOpen f hf U โ†’ M) from contMDiff_subtype_val).mdifferentiableAt (x := x) one_ne_zero have hd := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (๐•œ := โ„‚) (ยซEยป := E) (F := G) U (GraphOpenImmersion.Constructions.restrictedBase f hf U) x change mfderiv ๐“˜(โ„‚, E) ๐“˜(โ„‚, G) (GraphOpenImmersion.Constructions.restrictedBase f hf U) x = mfderiv ๐“˜(โ„‚, E) ๐“˜(โ„‚, G) (f โˆ˜ (Subtype.val : GraphOpenImmersion.Constructions.graphSourceOpen f hf U โ†’ M)) x at hd rw [mfderiv_comp x ((hf x.val).mdifferentiableAt (by simp)) hv, Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] at hd exact (congrArg (fun L : E โ†’L[โ„‚] G => Function.Injective L) hd).mpr (hi x.val) theorem restrictedBase_closedEmbedding (he : Topology.IsClosedEmbedding f) : Topology.IsClosedEmbedding (GraphOpenImmersion.Constructions.restrictedBase f hf U) := (U : Set N).restrictPreimage_isClosedEmbedding he theorem restriction_mapsTo : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) (U : Set N)) (Set.range (GraphOpenImmersion.Constructions.restrictedBase f hf U))แถœ (Set.range f)แถœ := by intro y hy h obtain โŸจz, hzโŸฉ := h apply hy have hzU : f z โˆˆ U := hz.symm โ–ธ y.property exact โŸจโŸจz, hzUโŸฉ, Subtype.ext hzโŸฉ end end OAI.AlgebraicGeometry.CycleClass.Thom.OpenImmersion.Constructions.Raw