Download data/lean/OAI/AlgebraicGeometry/ComplexPoints/Analytic/ImmersionNormalForm.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 15.2 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexPoints/Analytic/ImmersionNormalForm.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/ComplexPoints/Analytic/ImmersionNormalForm.lean
-
curl -L -o ImmersionNormalForm.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/ComplexPoints/Analytic/ImmersionNormalForm.lean
15.2 kB
| import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothImmersion | |
| import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LinearImmersionComplement | |
| import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionChartDerivative | |
| import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionComplementDimension | |
| import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff | |
| import Mathlib.Geometry.Manifold.Immersion | |
| import Mathlib.LinearAlgebra.Complex.FiniteDimensional | |
| /-! # Immersion Normal Form -/ | |
| namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionNormalForm | |
| noncomputable section | |
| /-! | |
| # Analytic normal forms from injective differentials | |
| The normal coordinates are constructed by adjoining complementary linear | |
| directions to the given map and applying the genuine inverse function theorem. | |
| No implication from an injective differential to an immersion is assumed. | |
| -/ | |
| open scoped ContDiff _root_.Manifold _root_.Topology | |
| open Filter Set | |
| section InverseFunctionConstruction | |
| variable {K E F : Type*} [RCLike K] | |
| variable [NormedAddCommGroup E] [NormedSpace K E] | |
| variable [NormedAddCommGroup F] [NormedSpace K F] | |
| /-- Adjoin actual complementary target directions to a nonlinear map. -/ | |
| def immersionExtension (f : E β F) (C : Submodule K F) (z : E Γ C) : F := | |
| f z.1 + (z.2 : F) | |
| /-- The extension's differential is the original differential together with | |
| the inclusion of the complementary directions. -/ | |
| theorem hasFDerivAt_immersionExtension (f : E β F) (C : Submodule K F) | |
| (L : E βL[K] F) (x : E) (hf : HasFDerivAt f L x) : | |
| HasFDerivAt (immersionExtension f C) | |
| (L.comp (ContinuousLinearMap.fst K E C) + | |
| C.subtypeL.comp (ContinuousLinearMap.snd K E C)) (x, 0) := | |
| (hf.comp (x, 0) hasFDerivAt_fst).add | |
| (C.subtypeL.hasFDerivAt.comp (x, 0) hasFDerivAt_snd) | |
| /-- The extension is analytic whenever the original map is analytic. -/ | |
| theorem contDiffAt_immersionExtension (f : E β F) (C : Submodule K F) | |
| (x : E) {n : ββΟ} (hf : ContDiffAt K n f x) : | |
| ContDiffAt K n (immersionExtension f C) (x, 0) := | |
| (hf.comp (x, 0) contDiffAt_fst).add | |
| (C.subtypeL.contDiff.contDiffAt.comp (x, 0) contDiffAt_snd) | |
| variable [FiniteDimensional K E] [FiniteDimensional K F] | |
| /-- The inverse function theorem turns a proved linear complement into | |
| actual analytic normal coordinates, with both maps analytic on their domains. -/ | |
| theorem exists_analytic_immersionExtension_chart (f : E β F) (x : E) | |
| (hf : ContDiffAt K Ο f x) (C : Submodule K F) | |
| (e : (E Γ C) βL[K] F) | |
| (he : β z : E Γ C, e z = fderiv K f x z.1 + (z.2 : F)) : | |
| β q : OpenPartialHomeomorph (E Γ C) F, | |
| (x, 0) β q.source β§ | |
| (q : E Γ C β F) = immersionExtension f C β§ | |
| ContDiffOn K Ο q q.source β§ ContDiffOn K Ο q.symm q.target := by | |
| let := FiniteDimensional.complete K (E Γ C) | |
| have hd := hasFDerivAt_immersionExtension f C (fderiv K f x) x | |
| (hf.differentiableAt (by simp)).hasFDerivAt | |
| have heq : (fderiv K f x).comp (ContinuousLinearMap.fst K E C) + | |
| C.subtypeL.comp (ContinuousLinearMap.snd K E C) = e.toContinuousLinearMap := by | |
| apply ContinuousLinearMap.ext | |
| intro z | |
| exact (he z).symm | |
| rw [heq] at hd | |
| have hg := contDiffAt_immersionExtension f C x hf | |
| let qβ := hg.toOpenPartialHomeomorph (immersionExtension f C) hd (by simp) | |
| have hx : (x, (0 : C)) β qβ.source := | |
| hg.mem_toOpenPartialHomeomorph_source hd (by simp) | |
| have hi : ContDiffAt K Ο qβ.symm (qβ (x, 0)) := | |
| hg.to_localInverse hd (by simp) | |
| refine β¨qβ.restrContDiff K Ο (by simp), ?_, rfl, ?_, ?_β© | |
| Β· change (x, (0 : C)) β qβ.source β© | |
| {z | ContDiffAt K Ο qβ z β§ ContDiffAt K Ο qβ.symm (qβ z)} | |
| exact β¨hx, hg, hiβ© | |
| Β· exact qβ.contDiffOn_restrContDiff_source K (by simp) | |
| Β· exact qβ.contDiffOn_restrContDiff_target K (by simp) | |
| end InverseFunctionConstruction | |
| section EuclideanNormalForm | |
| variable {K E F C : Type*} [RCLike K] | |
| variable [NormedAddCommGroup E] [NormedSpace K E] | |
| variable [NormedAddCommGroup F] [NormedSpace K F] | |
| variable [NormedAddCommGroup C] [NormedSpace K C] | |
| /-- An analytic inverse-function chart whose zero slice is the original map | |
| gives the standard manifold immersion normal form. -/ | |
| theorem isImmersionAtOfComplement_of_normal_chart | |
| (f : E β F) (x : E) (e : (E Γ C) βL[K] F) | |
| (q : OpenPartialHomeomorph (E Γ C) F) | |
| (hx : (x, 0) β q.source) (hzero : β y, q (y, 0) = f y) | |
| (hq : ContDiffOn K Ο q q.source) | |
| (hqi : ContDiffOn K Ο q.symm q.target) : | |
| Manifold.IsImmersionAtOfComplement C π(K, E) π(K, F) Ο f x := by | |
| let U : Set E := (fun y : E => (y, (0 : C))) β»ΒΉ' q.source | |
| have hU : IsOpen U := q.open_source.preimage (continuous_id.prodMk continuous_const) | |
| let dom : OpenPartialHomeomorph E E := OpenPartialHomeomorph.ofSet U hU | |
| let cod : OpenPartialHomeomorph F F := q.symm.transHomeomorph e.toHomeomorph | |
| have hdom : dom β IsManifold.maximalAtlas π(K, E) Ο E := by | |
| apply OpenPartialHomeomorph.mem_maximalAtlas_of_contMDiffOn | |
| Β· exact contMDiff_id.contMDiffOn | |
| Β· exact contMDiff_id.contMDiffOn | |
| have hcod : cod β IsManifold.maximalAtlas π(K, F) Ο F := by | |
| apply OpenPartialHomeomorph.mem_maximalAtlas_of_contMDiffOn | |
| Β· apply ContDiffOn.contMDiffOn | |
| exact e.contDiff.comp_contDiffOn hqi | |
| Β· apply ContDiffOn.contMDiffOn | |
| exact hq.comp e.symm.contDiff.contDiffOn (fun _ hz => hz) | |
| refine Manifold.IsImmersionAtOfComplement.mk_of_charts e dom cod hx ?_ | |
| hdom hcod ?_ ?_ | |
| Β· change f x β q.target | |
| rw [β hzero x] | |
| exact q.map_source hx | |
| Β· intro y hy | |
| change f y β q.target | |
| rw [β hzero y] | |
| exact q.map_source hy | |
| Β· intro y hy | |
| have hy' : (y, (0 : C)) β q.source := by | |
| have : y β dom.target := by | |
| simpa only [OpenPartialHomeomorph.extend_target, modelWithCornersSelf_coe, | |
| modelWithCornersSelf_coe_symm, Set.range_id, Set.preimage_id, | |
| Set.inter_univ] using hy | |
| exact this | |
| change e (q.symm (f y)) = e (y, 0) | |
| rw [β hzero y, q.left_inv hy'] | |
| variable [FiniteDimensional K E] [FiniteDimensional K F] | |
| /-- In finite dimensions, an injective derivative of an analytic map yields | |
| genuine analytic manifold immersion charts. -/ | |
| theorem isImmersionAt_of_injective_fderiv (f : E β F) (x : E) | |
| (hf : ContDiffAt K Ο f x) (hi : Function.Injective (fderiv K f x)) : | |
| Manifold.IsImmersionAt π(K, E) π(K, F) Ο f x := by | |
| obtain β¨C, e, heβ© := LinearImmersionComplement.exists_linearImmersionComplement (fderiv K f x) hi | |
| obtain β¨q, hx, hqf, hq, hqiβ© := | |
| exists_analytic_immersionExtension_chart f x hf C e he | |
| have hzero : β y, q (y, 0) = f y := by | |
| intro y | |
| rw [hqf] | |
| simp only [immersionExtension, ZeroMemClass.coe_zero, add_zero] | |
| exact (isImmersionAtOfComplement_of_normal_chart f x e q hx hzero hq hqi).isImmersionAt | |
| end EuclideanNormalForm | |
| section ChartTransport | |
| variable {K E : Type*} [RCLike K] | |
| variable [NormedAddCommGroup E] [NormedSpace K E] | |
| variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] | |
| variable {n : ββΟ} [IsManifold π(K, E) n M] | |
| /-- Composition with an actual smooth model-space coordinate change stays | |
| in the same maximal atlas. -/ | |
| theorem mem_maximalAtlas_trans_self | |
| (c : OpenPartialHomeomorph M E) (d : OpenPartialHomeomorph E E) | |
| (hc : c β IsManifold.maximalAtlas π(K, E) n M) | |
| (hd : d β IsManifold.maximalAtlas π(K, E) n E) : | |
| c.trans d β IsManifold.maximalAtlas π(K, E) n M := by | |
| apply OpenPartialHomeomorph.mem_maximalAtlas_of_contMDiffOn | |
| Β· exact (contMDiffOn_of_mem_maximalAtlas hd).comp' | |
| (contMDiffOn_of_mem_maximalAtlas hc) | |
| Β· exact (contMDiffOn_symm_of_mem_maximalAtlas hc).comp' | |
| (contMDiffOn_symm_of_mem_maximalAtlas hd) | |
| variable {F N : Type*} [NormedAddCommGroup F] [NormedSpace K F] | |
| variable [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(K, F) n N] | |
| /-- A normal form constructed in genuine manifold coordinates transports | |
| back to a normal form on the manifolds themselves. -/ | |
| theorem isImmersionAt_of_coordinate_normal_form | |
| (f : M β N) (x : M) (c : OpenPartialHomeomorph M E) | |
| (d : OpenPartialHomeomorph N F) | |
| (hx : x β c.source) (hfx : f x β d.source) | |
| (hc : c β IsManifold.maximalAtlas π(K, E) n M) | |
| (hd : d β IsManifold.maximalAtlas π(K, F) n N) | |
| (hf : ContinuousAt f x) | |
| (h : Manifold.IsImmersionAt π(K, E) π(K, F) n | |
| (d β f β c.symm) (c x)) : | |
| Manifold.IsImmersionAt π(K, E) π(K, F) n f x := by | |
| apply Manifold.IsImmersionAt.mk_of_continuousAt hf h.equiv | |
| (c.trans h.domChart) (d.trans h.codChart) | |
| Β· exact β¨hx, h.mem_domChart_sourceβ© | |
| Β· refine β¨hfx, ?_β© | |
| change d (f x) β h.codChart.source | |
| simpa only [Function.comp_apply, c.left_inv hx] using h.mem_codChart_source | |
| Β· exact mem_maximalAtlas_trans_self c h.domChart hc h.domChart_mem_maximalAtlas | |
| Β· exact mem_maximalAtlas_trans_self d h.codChart hd h.codChart_mem_maximalAtlas | |
| Β· intro z hz | |
| have hzt : z β (c.trans h.domChart).target := by | |
| simpa only [OpenPartialHomeomorph.extend_target, modelWithCornersSelf_coe, | |
| modelWithCornersSelf_coe_symm, Set.range_id, Set.preimage_id, | |
| Set.inter_univ] using hz | |
| have hzd : z β (h.domChart.extend π(K, E)).target := by | |
| simpa only [OpenPartialHomeomorph.extend_target, modelWithCornersSelf_coe, | |
| modelWithCornersSelf_coe_symm, Set.range_id, Set.preimage_id, | |
| Set.inter_univ] using hzt.1 | |
| exact h.writtenInCharts hzd | |
| end ChartTransport | |
| section InjectiveManifoldDifferential | |
| variable {K E F M N : Type*} [RCLike K] | |
| variable [NormedAddCommGroup E] [NormedSpace K E] [FiniteDimensional K E] | |
| variable [NormedAddCommGroup F] [NormedSpace K F] [FiniteDimensional K F] | |
| variable [TopologicalSpace M] [ChartedSpace E M] [IsManifold π(K, E) Ο M] | |
| variable [TopologicalSpace N] [ChartedSpace F N] [IsManifold π(K, F) Ο N] | |
| /-- An injective actual manifold differential gives genuine analytic normal | |
| charts. The coordinate derivative is identified with the manifold derivative, | |
| then a complement and the inverse function theorem construct those charts. -/ | |
| theorem isImmersionAt_of_injective_mfderiv (f : M β N) (x : M) | |
| (hf : ContMDiffAt π(K, E) π(K, F) Ο f x) | |
| (hi : Function.Injective (mfderiv π(K, E) π(K, F) f x)) : | |
| Manifold.IsImmersionAt π(K, E) π(K, F) Ο f x := by | |
| apply isImmersionAt_of_coordinate_normal_form f x (chartAt E x) (chartAt F (f x)) | |
| (mem_chart_source E x) (mem_chart_source F (f x)) | |
| (IsManifold.chart_mem_maximalAtlas x) (IsManifold.chart_mem_maximalAtlas (f x)) | |
| hf.continuousAt | |
| exact isImmersionAt_of_injective_fderiv (ImmersionChartDerivative.preferredChartMap (E := E) (F := F) f x) | |
| (chartAt E x x) (ImmersionChartDerivative.contDiffAt_preferredChartMap hf) | |
| (ImmersionChartDerivative.preferredChartDerivative_injective hf (by simp) hi) | |
| /-- In finite dimensions, an analytic map with injective manifold | |
| differential everywhere is a global immersion with one fixed complement. -/ | |
| theorem isImmersion_of_injective_mfderiv (f : M β N) | |
| (hf : ContMDiff π(K, E) π(K, F) Ο f) | |
| (hi : β x, Function.Injective (mfderiv π(K, E) π(K, F) f x)) : | |
| Manifold.IsImmersion π(K, E) π(K, F) Ο f := | |
| ImmersionComplementDimension.isImmersion_of_forall_isImmersionAt | |
| (fun x => isImmersionAt_of_injective_mfderiv f x (hf x) (hi x)) | |
| end InjectiveManifoldDifferential | |
| open _root_.CategoryTheory _root_.AlgebraicGeometry | |
| variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} | |
| variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] | |
| local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β β) | |
| local notation "ModelY" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) β β) | |
| /-- An actual immersion of smooth integral complex schemes has analytic | |
| normal charts on its native complex-point manifolds. -/ | |
| theorem nativeScheme_isImmersionAt (Ο : X βΆ Y) [AlgebraicGeometry.IsImmersion Ο.left] | |
| (x : SchemePointHomeomorphs.schemeComplexPoints X) : | |
| Manifold.IsImmersionAt π(β, ModelX) π(β, ModelY) Ο (SchemePointHomeomorphs.schemeComplexPoints.map Ο) x := | |
| isImmersionAt_of_injective_mfderiv (SchemePointHomeomorphs.schemeComplexPoints.map Ο) x | |
| (IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map Ο Ο x) (IntrinsicSmoothImmersion.mfderiv_nativeScheme_immersion_injective Ο x) | |
| /-- The same native immersion admits genuine real analytic normal charts. -/ | |
| theorem real_nativeScheme_isImmersionAt (Ο : X βΆ Y) | |
| [AlgebraicGeometry.IsImmersion Ο.left] (x : SchemePointHomeomorphs.schemeComplexPoints X) : | |
| Manifold.IsImmersionAt π(β, ModelX) π(β, ModelY) Ο (SchemePointHomeomorphs.schemeComplexPoints.map Ο) x := | |
| isImmersionAt_of_injective_mfderiv (SchemePointHomeomorphs.schemeComplexPoints.map Ο) x | |
| (IntrinsicSmoothSchemeMaps.real_contMDiff_nativeScheme_map Ο Ο x) (IntrinsicSmoothImmersion.real_mfderiv_nativeScheme_immersion_injective Ο x) | |
| /-- Native complex points of an actual algebraic immersion have a fixed | |
| normal model of precisely the difference in algebraic dimensions. -/ | |
| theorem nativeScheme_isImmersionOfComplement (Ο : X βΆ Y) | |
| [AlgebraicGeometry.IsImmersion Ο.left] : | |
| Manifold.IsImmersionOfComplement | |
| (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom - | |
| Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β β) | |
| π(β, ModelX) π(β, ModelY) Ο (SchemePointHomeomorphs.schemeComplexPoints.map Ο) := by | |
| intro x | |
| let h := nativeScheme_isImmersionAt Ο x | |
| let := ImmersionComplementDimension.immersionComplement_finiteDimensional h | |
| let e : h.complement βL[β] | |
| (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom - | |
| Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β β) := | |
| ContinuousLinearEquiv.ofFinrankEq (by | |
| rw [ImmersionComplementDimension.immersionComplement_finrank h] | |
| simp only [Module.finrank_fin_fun]) | |
| exact h.isImmersionAtOfComplement_complement.trans_F e | |
| /-- Actual scheme immersions realize as genuine complex analytic manifold | |
| immersions, including mathlib's requirement of one global normal model. -/ | |
| theorem nativeScheme_isImmersion (Ο : X βΆ Y) [AlgebraicGeometry.IsImmersion Ο.left] : | |
| Manifold.IsImmersion π(β, ModelX) π(β, ModelY) Ο (SchemePointHomeomorphs.schemeComplexPoints.map Ο) := | |
| (nativeScheme_isImmersionOfComplement Ο).isImmersion | |
| /-- The underlying native real manifolds likewise form a genuine global | |
| real analytic immersion. -/ | |
| theorem real_nativeScheme_isImmersion (Ο : X βΆ Y) | |
| [AlgebraicGeometry.IsImmersion Ο.left] : | |
| Manifold.IsImmersion π(β, ModelX) π(β, ModelY) Ο (SchemePointHomeomorphs.schemeComplexPoints.map Ο) := | |
| ImmersionComplementDimension.isImmersion_of_forall_isImmersionAt (real_nativeScheme_isImmersionAt Ο) | |
| end | |
| end OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionNormalForm | |