import OAI.RepresentationTheory.Theta.Geometric.DifferentiableLocalLift import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion /-! # Open Differentiable Lift -/ namespace OAI.RepresentationTheory.Theta.Geometric.Intrinsic.OpenDifferentiableLift noncomputable section section /-! Differentiable lifting through an actual open immersion of smooth integral complex schemes. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential open scoped _root_.Manifold variable {V : Type*} [NormedAddCommGroup V] [NormedSpace โ„‚ V] {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] set_option backward.isDefEq.respectTransparency false in theorem mdifferentiableAt_nativeOpenLift (f : X โŸถ Y) [IsOpenImmersion f.left] (g : V โ†’ AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (x : V) (hg : ContinuousAt g x) (hfg : MDifferentiableAt (๐“˜(โ„‚, V)) (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) โ†’ โ„‚)) (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f โˆ˜ g) x) : MDifferentiableAt (๐“˜(โ„‚, V)) (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) โ†’ โ„‚)) g x := by let d : (Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) โ†’ โ„‚) โ†’L[โ„‚] (Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) โ†’ โ„‚) := mfderiv (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) โ†’ โ„‚)) (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) โ†’ โ„‚)) (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) (g x) have hd := AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential.mfderiv_nativeScheme_openImmersion_bijective f (g x) obtain โŸจi, hiโŸฉ := DifferentiableLocalLift.continuousLinearMap_exists_leftInverse d hd exact DifferentiableLocalLift.mdifferentiableAt_localLift (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) g x d i (((AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map f 1).mdifferentiableAt one_ne_zero).hasMFDerivAt) hi hg hfg end /-! Holomorphic local inverse functions for native open immersions. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential open scoped _root_.Manifold _root_.Topology variable {V : Type*} [NormedAddCommGroup V] [NormedSpace โ„‚ V] {X Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] theorem mdifferentiableAt_nativeOpenInverse (f : X โŸถ Y) [IsOpenImmersion f.left] [Nonempty (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] (p : V โ†’ AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (x : V) (hp : MDifferentiableAt (๐“˜(โ„‚, V)) (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) โ†’ โ„‚)) p x) (hx : p x โˆˆ Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) : MDifferentiableAt (๐“˜(โ„‚, V)) (๐“˜(โ„‚, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) โ†’ โ„‚)) (((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion f).toOpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)).symm โˆ˜ p) x := by let h := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion f let e := h.toOpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) have htarget : e.target = Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) := h.toOpenPartialHomeomorph_target _ have hg : ContinuousAt (e.symm โˆ˜ p) x := (e.continuousAt_symm (htarget.symm โ–ธ hx)).comp hp.continuousAt have heq : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f โˆ˜ (e.symm โˆ˜ p) =แถ [๐“ x] p := by filter_upwards [hp.continuousAt (e.open_target.mem_nhds (htarget.symm โ–ธ hx))] with y hy exact h.toOpenPartialHomeomorph_right_inv _ (htarget โ–ธ hy) exact mdifferentiableAt_nativeOpenLift f (e.symm โˆ˜ p) x hg (hp.congr_of_eventuallyEq heq) end end OAI.RepresentationTheory.Theta.Geometric.Intrinsic.OpenDifferentiableLift