math / data /lean /OAI /AlgebraicGeometry /Cycles /Functoriality /AnalyticInverse.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
7.8 kB
import OAI.AlgebraicGeometry.Cycles.Functoriality.EtaleDifferential
import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff
import Mathlib.Geometry.Manifold.LocalDiffeomorph
import Mathlib.Geometry.Manifold.ContMDiff.Atlas
/-! # Analytic Inverse -/
namespace OAI.AlgebraicGeometry.Cycles.Functoriality.AnalyticInverse.Construction
noncomputable section
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 := EtaleDifferential.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
end OAI.AlgebraicGeometry.Cycles.Functoriality.AnalyticInverse.Construction