Download data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/AnalyticLocalInverseAt.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 12.7 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/AnalyticLocalInverseAt.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/AnalyticLocalInverseAt.lean
-
curl -L -o AnalyticLocalInverseAt.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/AnalyticLocalInverseAt.lean
12.7 kB
| import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.EtaleDifferential | |
| import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff | |
| import Mathlib.Geometry.Manifold.LocalDiffeomorph | |
| import Mathlib.Geometry.Manifold.ContMDiff.Atlas | |
| /-! # Analytic Local Inverse At -/ | |
| namespace OAI | |
| noncomputable section | |
| namespace AlgebraicGeometry.CycleClass.Thom.AnalyticLocalInverseAt.Constructions.ProperImage.Construction | |
| open scoped ContDiff _root_.Manifold _root_.Topology | |
| open Filter IsManifold | |
| /-- The analytic inverse function theorem, restricted so that both | |
| directions are analytic throughout their open domains. -/ | |
| theorem exists_analytic_localInverse | |
| {E F : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [FiniteDimensional β E] [FiniteDimensional β F] | |
| (f : E β F) (x : E) (hf : ContDiffAt β Ο f x) | |
| (hbij : Function.Bijective (fderiv β f x)) : | |
| β q : OpenPartialHomeomorph E F, | |
| x β q.source β§ (q : E β F) = f β§ | |
| ContDiffOn β Ο q q.source β§ ContDiffOn β Ο q.symm q.target := by | |
| let := FiniteDimensional.complete β E | |
| let L : E βL[β] F := | |
| (LinearEquiv.ofBijective (fderiv β f x).toLinearMap hbij).toContinuousLinearEquiv | |
| have hd : HasFDerivAt f L.toContinuousLinearMap x := by | |
| change HasFDerivAt f (fderiv β f x) x | |
| exact (hf.differentiableAt (by simp)).hasFDerivAt | |
| let qβ := hf.toOpenPartialHomeomorph f hd (by simp) | |
| have hx : x β qβ.source := hf.mem_toOpenPartialHomeomorph_source hd (by simp) | |
| have hi : ContDiffAt β Ο qβ.symm (qβ x) := hf.to_localInverse hd (by simp) | |
| refine β¨qβ.restrContDiff β Ο (by simp), β¨hx, hf, hiβ©, rfl, ?_, ?_β© | |
| Β· exact qβ.contDiffOn_restrContDiff_source β (by simp) | |
| Β· exact qβ.contDiffOn_restrContDiff_target β (by simp) | |
| /-- On equal-dimensional regular affine charts, an unramified map has | |
| an actual analytic local inverse. -/ | |
| theorem exists_unramified_affineChart_localInverse | |
| {A B : Type*} [CommRing A] [Algebra β A] [CommRing B] [Algebra β B] | |
| {n : β} (h : A ββ[β] B) (hh : h.toRingHom.FormallyUnramified) | |
| (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin n β β)) | |
| (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n β β)) | |
| (he : e β ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B n) (hf : f β ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) | |
| (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x β e.source) | |
| (hfx : x.comp h β f.source) : | |
| β q : OpenPartialHomeomorph (Fin n β β) (Fin n β β), | |
| e x β q.source β§ (q : (Fin n β β) β (Fin n β β)) = | |
| (fun z => f ((e.symm z).comp h)) β§ | |
| ContDiffOn β Ο q q.source β§ ContDiffOn β Ο q.symm q.target := by | |
| have hinj := ProperImage.EtaleDifferential.Constructions.Construction.fderiv_affineChartComap_injective_of_unramified h hh e f he hf x hx hfx | |
| exact exists_analytic_localInverse _ _ | |
| (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx) | |
| β¨hinj, LinearMap.surjective_of_injective hinjβ© | |
| /-- Invertibility in genuine manifold charts gives a local analytic | |
| diffeomorphism on the original spaces. -/ | |
| theorem isLocalDiffeomorphAt_of_chart_bijective | |
| {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [FiniteDimensional β E] [FiniteDimensional β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold (π(β, E)) Ο M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold (π(β, F)) Ο N] | |
| (g : M β N) (hg : Continuous g) (x : M) | |
| (e : OpenPartialHomeomorph M E) (f : OpenPartialHomeomorph N F) | |
| (he : e β maximalAtlas (π(β, E)) Ο M) | |
| (hf : f β maximalAtlas (π(β, F)) Ο N) | |
| (hx : x β e.source) (hgx : g x β f.source) | |
| (hC : ContDiffAt β Ο (fun z => f (g (e.symm z))) (e x)) | |
| (hbij : Function.Bijective (fderiv β (fun z => f (g (e.symm z))) (e x))) : | |
| IsLocalDiffeomorphAt (π(β, E)) (π(β, F)) Ο g x := by | |
| obtain β¨q, hxq, hq, hqd, hqiβ© := exists_analytic_localInverse _ _ hC hbij | |
| let e' : PartialDiffeomorph (π(β, E)) (π(β, E)) M E Ο := | |
| { __ := e | |
| contMDiffOn_toFun := contMDiffOn_of_mem_maximalAtlas he | |
| contMDiffOn_invFun := contMDiffOn_symm_of_mem_maximalAtlas he } | |
| let f' : PartialDiffeomorph (π(β, F)) (π(β, F)) N F Ο := | |
| { __ := f | |
| contMDiffOn_toFun := contMDiffOn_of_mem_maximalAtlas hf | |
| contMDiffOn_invFun := contMDiffOn_symm_of_mem_maximalAtlas hf } | |
| let q' : PartialDiffeomorph (π(β, E)) (π(β, F)) E F Ο := | |
| { __ := q | |
| contMDiffOn_toFun := contMDiffOn_iff_contDiffOn.mpr hqd | |
| contMDiffOn_invFun := contMDiffOn_iff_contDiffOn.mpr hqi } | |
| let l := (e'.trans q').trans f'.symm | |
| let r := l.toOpenPartialHomeomorph.restr (g β»ΒΉ' f.source) | |
| refine β¨{ __ := r | |
| contMDiffOn_toFun := l.contMDiffOn_toFun.mono Set.inter_subset_left | |
| contMDiffOn_invFun := l.contMDiffOn_invFun.mono Set.inter_subset_left }, ?_, ?_β© | |
| Β· change x β l.toOpenPartialHomeomorph.source β© interior (g β»ΒΉ' f.source) | |
| refine β¨?_, (f.open_source.preimage hg).interior_eq.symm βΈ hgxβ© | |
| change (x β e.source β§ e x β q.source) β§ q (e x) β f.target | |
| refine β¨β¨hx, hxqβ©, ?_β© | |
| rw [hq] | |
| dsimp only | |
| rw [e.left_inv hx] | |
| exact f.map_source hgx | |
| Β· intro y hy | |
| change g y = f.symm (q (e y)) | |
| change ((y β e.source β§ e y β q.source) β§ q (e y) β f.target) β§ | |
| y β interior (g β»ΒΉ' f.source) at hy | |
| rw [hq] | |
| dsimp only | |
| rw [e.left_inv hy.1.1.1] | |
| have hgy : y β g β»ΒΉ' f.source := interior_subset hy.2 | |
| exact (f.left_inv hgy).symm | |
| /-- The complex inverse function theorem on the established manifold | |
| structures, with the actual manifold differential as its hypothesis. -/ | |
| theorem isLocalDiffeomorphAt_of_bijective_mfderiv | |
| {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [FiniteDimensional β E] [FiniteDimensional β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold (π(β, E)) Ο M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold (π(β, F)) Ο N] | |
| (g : M β N) (hg : ContMDiff (π(β, E)) (π(β, F)) Ο g) (x : M) | |
| (hbij : Function.Bijective (mfderiv (π(β, E)) (π(β, F)) g x)) : | |
| IsLocalDiffeomorphAt (π(β, E)) (π(β, F)) Ο g x := by | |
| have hC := (contMDiffAt_iff_of_mem_source | |
| (mem_chart_source E x) (mem_chart_source F (g x))).mp (hg x) | |
| have hC' : ContDiffAt β Ο | |
| (fun z => chartAt F (g x) (g ((chartAt E x).symm z))) (chartAt E x x) := by | |
| simpa only [extChartAt_coe, extChartAt_coe_symm, | |
| modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, | |
| Function.comp_def, id_eq, Set.range_id, contDiffWithinAt_univ] using hC.2 | |
| have hder : mfderiv (π(β, E)) (π(β, F)) g x = | |
| fderiv β (fun z => chartAt F (g x) (g ((chartAt E x).symm z))) | |
| (chartAt E x x) := by | |
| rw [((hg.of_le (show (1 : ββΟ) β€ Ο from le_top)).mdifferentiableAt | |
| (x := x) one_ne_zero).mfderiv] | |
| simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, | |
| modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, | |
| Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] | |
| rfl | |
| exact isLocalDiffeomorphAt_of_chart_bijective g hg.continuous x | |
| (chartAt E x) (chartAt F (g x)) (chart_mem_maximalAtlas x) | |
| (chart_mem_maximalAtlas (g x)) (mem_chart_source E x) | |
| (mem_chart_source F (g x)) hC' (hder βΈ hbij) | |
| end AlgebraicGeometry.CycleClass.Thom.AnalyticLocalInverseAt.Constructions.ProperImage.Construction | |
| namespace AlgebraicGeometry.CycleClass.Thom.AnalyticLocalInverseAt.Constructions | |
| /-! The analytic inverse function theorem only needs holomorphy at the specified point. -/ | |
| open scoped ContDiff _root_.Manifold _root_.Topology | |
| open Filter IsManifold | |
| theorem isLocalDiffeomorphAt_of_chart_bijective | |
| {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [FiniteDimensional β E] [FiniteDimensional β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold (π(β, E)) Ο M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold (π(β, F)) Ο N] | |
| (g : M β N) (x : M) (hg : ContinuousAt g x) | |
| (e : OpenPartialHomeomorph M E) (f : OpenPartialHomeomorph N F) | |
| (he : e β maximalAtlas (π(β, E)) Ο M) | |
| (hf : f β maximalAtlas (π(β, F)) Ο N) | |
| (hx : x β e.source) (hgx : g x β f.source) | |
| (hC : ContDiffAt β Ο (fun z => f (g (e.symm z))) (e x)) | |
| (hbij : Function.Bijective (fderiv β (fun z => f (g (e.symm z))) (e x))) : | |
| IsLocalDiffeomorphAt (π(β, E)) (π(β, F)) Ο g x := by | |
| obtain β¨q, hxq, hq, hqd, hqiβ© := ProperImage.Construction.exists_analytic_localInverse _ _ hC hbij | |
| let e' : PartialDiffeomorph (π(β, E)) (π(β, E)) M E Ο := | |
| { __ := e | |
| contMDiffOn_toFun := contMDiffOn_of_mem_maximalAtlas he | |
| contMDiffOn_invFun := contMDiffOn_symm_of_mem_maximalAtlas he } | |
| let f' : PartialDiffeomorph (π(β, F)) (π(β, F)) N F Ο := | |
| { __ := f | |
| contMDiffOn_toFun := contMDiffOn_of_mem_maximalAtlas hf | |
| contMDiffOn_invFun := contMDiffOn_symm_of_mem_maximalAtlas hf } | |
| let q' : PartialDiffeomorph (π(β, E)) (π(β, F)) E F Ο := | |
| { __ := q | |
| contMDiffOn_toFun := contMDiffOn_iff_contDiffOn.mpr hqd | |
| contMDiffOn_invFun := contMDiffOn_iff_contDiffOn.mpr hqi } | |
| let l := (e'.trans q').trans f'.symm | |
| let r := l.toOpenPartialHomeomorph.restr (g β»ΒΉ' f.source) | |
| refine β¨{ __ := r | |
| contMDiffOn_toFun := l.contMDiffOn_toFun.mono Set.inter_subset_left | |
| contMDiffOn_invFun := l.contMDiffOn_invFun.mono Set.inter_subset_left }, ?_, ?_β© | |
| Β· change x β l.toOpenPartialHomeomorph.source β© interior (g β»ΒΉ' f.source) | |
| refine β¨?_, mem_interior_iff_mem_nhds.mpr (hg.preimage_mem_nhds (f.open_source.mem_nhds hgx))β© | |
| change (x β e.source β§ e x β q.source) β§ q (e x) β f.target | |
| refine β¨β¨hx, hxqβ©, ?_β© | |
| rw [hq] | |
| dsimp only | |
| rw [e.left_inv hx] | |
| exact f.map_source hgx | |
| Β· intro y hy | |
| change g y = f.symm (q (e y)) | |
| change ((y β e.source β§ e y β q.source) β§ q (e y) β f.target) β§ | |
| y β interior (g β»ΒΉ' f.source) at hy | |
| rw [hq] | |
| dsimp only | |
| rw [e.left_inv hy.1.1.1] | |
| have hgy : y β g β»ΒΉ' f.source := interior_subset hy.2 | |
| exact (f.left_inv hgy).symm | |
| /-- The complex inverse function theorem on the established manifold | |
| structures, with the actual manifold differential as its hypothesis. -/ | |
| theorem isLocalDiffeomorphAt_of_bijective_mfderiv | |
| {E F M N : Type*} [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| [FiniteDimensional β E] [FiniteDimensional β F] | |
| [TopologicalSpace M] [ChartedSpace E M] [IsManifold (π(β, E)) Ο M] | |
| [TopologicalSpace N] [ChartedSpace F N] [IsManifold (π(β, F)) Ο N] | |
| (g : M β N) (x : M) (hg : ContMDiffAt (π(β, E)) (π(β, F)) Ο g x) | |
| (hbij : Function.Bijective (mfderiv (π(β, E)) (π(β, F)) g x)) : | |
| IsLocalDiffeomorphAt (π(β, E)) (π(β, F)) Ο g x := by | |
| have hC := (contMDiffAt_iff_of_mem_source | |
| (mem_chart_source E x) (mem_chart_source F (g x))).mp hg | |
| have hC' : ContDiffAt β Ο | |
| (fun z => chartAt F (g x) (g ((chartAt E x).symm z))) (chartAt E x x) := by | |
| simpa only [extChartAt_coe, extChartAt_coe_symm, | |
| modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, | |
| Function.comp_def, id_eq, Set.range_id, contDiffWithinAt_univ] using hC.2 | |
| have hder : mfderiv (π(β, E)) (π(β, F)) g x = | |
| fderiv β (fun z => chartAt F (g x) (g ((chartAt E x).symm z))) | |
| (chartAt E x x) := by | |
| rw [((hg.of_le (show (1 : ββΟ) β€ Ο from le_top)).mdifferentiableAt | |
| one_ne_zero).mfderiv] | |
| simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, | |
| modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, | |
| Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] | |
| rfl | |
| exact isLocalDiffeomorphAt_of_chart_bijective g x hg.continuousAt | |
| (chartAt E x) (chartAt F (g x)) (chart_mem_maximalAtlas x) | |
| (chart_mem_maximalAtlas (g x)) (mem_chart_source E x) | |
| (mem_chart_source F (g x)) hC' (hder βΈ hbij) | |
| end AlgebraicGeometry.CycleClass.Thom.AnalyticLocalInverseAt.Constructions | |
| end | |
| end OAI | |