Download data/lean/OAI/Analysis/Foundations/SplitDerivativeNormalChart.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.82 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Foundations/SplitDerivativeNormalChart.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Foundations/SplitDerivativeNormalChart.lean
-
curl -L -o SplitDerivativeNormalChart.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Foundations/SplitDerivativeNormalChart.lean
6.82 kB
| /- | |
| Copyright 2026 The Formal Conjectures Authors. | |
| Released under Apache 2.0 license as described in the file LICENSE. | |
| This file has been modified. | |
| -/ | |
| import Mathlib.Analysis.Calculus.InverseFunctionTheorem.FDeriv | |
| import Mathlib.Analysis.Calculus.FDeriv.Add | |
| import Mathlib.Analysis.Calculus.FDeriv.Prod | |
| import Mathlib.Analysis.Normed.Module.FiniteDimension | |
| /-! # Split Derivative Normal Chart -/ | |
| namespace OAI.Analysis.Foundations.SplitDerivativeNormalChart | |
| noncomputable section | |
| open _root_.ContinuousLinearMap | |
| open _root_.HasStrictFDerivAt | |
| /-! | |
| # Normal coordinates from a split derivative | |
| A map with a split injective strict derivative extends to a local coordinate map | |
| by adding vectors in the kernel of a left inverse. This is an application of the inverse | |
| function theorem, not an assumed flattening equivalence. The zero-normal slice is exactly | |
| the original parametrization on the coordinate domain. Identifying that slice | |
| with an entire geometric support additionally requires a local embedding assertion. | |
| -/ | |
| open _root_.Topology | |
| namespace ContinuousLinearMap | |
| variable {π E F : Type*} [NontriviallyNormedField π] [CompleteSpace π] | |
| [NormedAddCommGroup E] [NormedSpace π E] | |
| [NormedAddCommGroup F] [NormedSpace π F] | |
| [FiniteDimensional π E] [FiniteDimensional π F] | |
| /-- Let `E,F` be finite-dimensional normed vector spaces over a complete nontrivially normed field | |
| `π`. If continuous linear maps `A: E β F` and `P: F β E` satisfy `P β A = id`, this continuous | |
| linear equivalence `E Γ ker(P) β F` sends `(v,n)` to `A(v)+n`. Its inverse sends `y` to | |
| `(P(y),y-A(P(y)))`. -/ | |
| def splitKernelEquiv (A : E βL[π] F) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) : (E Γ P.ker) βL[π] F := | |
| LinearEquiv.toContinuousLinearEquiv | |
| { toFun := fun z => A z.1 + z.2 | |
| invFun := fun y => (P y, β¨y - A (P y), by | |
| have hPA : P (A (P y)) = P y := DFunLike.congr_fun h (P y) | |
| change P (y - A (P y)) = 0 | |
| rw [map_sub, hPA, sub_self]β©) | |
| left_inv := by | |
| intro z | |
| have hPA : P (A z.1) = z.1 := DFunLike.congr_fun h z.1 | |
| have hz : P (z.2 : F) = 0 := z.2.property | |
| ext <;> simp [hPA, hz] | |
| right_inv := by intro y; dsimp; abel | |
| map_add' := by intros; simp only [Prod.fst_add, Prod.snd_add, map_add, | |
| Submodule.coe_add]; abel | |
| map_smul' := by intros; simp } | |
| @[simp] theorem splitKernelEquiv_apply (A : E βL[π] F) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) (z : E Γ P.ker) : | |
| (splitKernelEquiv A) P h z = A z.1 + z.2 := rfl | |
| @[simp] theorem splitKernelEquiv_symm_fst (A : E βL[π] F) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) (y : F) : | |
| (((splitKernelEquiv A) P h).symm y).1 = P y := rfl | |
| end ContinuousLinearMap | |
| namespace HasStrictFDerivAt | |
| variable {π E F : Type*} [NontriviallyNormedField π] [CompleteSpace π] | |
| [NormedAddCommGroup E] [NormedSpace π E] [CompleteSpace E] | |
| [NormedAddCommGroup F] [NormedSpace π F] | |
| [FiniteDimensional π E] [FiniteDimensional π F] | |
| {f : E β F} {A : E βL[π] F} {a : E} | |
| local instance splitNormalKernelComplete (P : F βL[π] E) : CompleteSpace P.ker := | |
| FiniteDimensional.complete π P.ker | |
| omit [CompleteSpace E] in | |
| /-- Adding normal vectors makes the split injective derivative invertible. -/ | |
| theorem add_kernel (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) : | |
| HasStrictFDerivAt (fun z : E Γ P.ker => f z.1 + z.2) | |
| ((SplitDerivativeNormalChart.ContinuousLinearMap.splitKernelEquiv A) P h).toContinuousLinearMap (a, 0) := by | |
| have h1 := hf.comp (a, (0 : P.ker)) | |
| (ContinuousLinearMap.fst π E P.ker).hasStrictFDerivAt | |
| have h2 := P.ker.subtypeL.hasStrictFDerivAt.comp | |
| (a, (0 : P.ker)) (ContinuousLinearMap.snd π E P.ker).hasStrictFDerivAt | |
| convert h1.add h2 using 1 <;> rfl | |
| /-- Let `E,F` be finite-dimensional normed vector spaces over a complete nontrivially normed field | |
| `π`. Suppose `f: E β F` has strict derivative `A` at `a`, with continuous linear left inverse | |
| `P`. This local homeomorphism from `E Γ ker(P)` to `F` is given near `(a,0)` by `(v,n) β¦ | |
| f(v)+n`. Its local inverse is supplied by the inverse function theorem. -/ | |
| def normalChart (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) : | |
| OpenPartialHomeomorph (E Γ P.ker) F := | |
| ((add_kernel hf) P h).toOpenPartialHomeomorph _ | |
| @[simp] theorem normalChart_apply (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) (z : E Γ P.ker) : | |
| (normalChart hf) P h z = f z.1 + z.2 := rfl | |
| /-- The selected point belongs to the coordinate domain. -/ | |
| theorem normalChart_mem_source (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) : | |
| (a, 0) β ((normalChart hf) P h).source := | |
| ((add_kernel hf) P h).mem_toOpenPartialHomeomorph_source | |
| /-- The selected image point belongs to the ambient coordinate neighborhood. -/ | |
| theorem normalChart_mem_target (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) : | |
| f a β ((normalChart hf) P h).target := by | |
| simpa using ((normalChart hf) P h).map_source ((normalChart_mem_source hf) P h) | |
| /-- Inverse normal coordinates send every parametrized point in the coordinate domain | |
| to precisely its tangent parameter and zero normal coordinate. -/ | |
| theorem normalChart_symm_apply (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) (v : E) | |
| (hv : (v, 0) β ((normalChart hf) P h).source) : | |
| ((normalChart hf) P h).symm (f v) = (v, 0) := by | |
| simpa using ((normalChart hf) P h).left_inv hv | |
| /-- On its ambient target, zero normal coordinate is equivalent to membership in the | |
| image of the zero-normal part of the coordinate domain. -/ | |
| theorem normalChart_normal_eq_zero_iff (hf : HasStrictFDerivAt f A a) (P : F βL[π] E) | |
| (h : P.comp A = ContinuousLinearMap.id π E) (y : F) | |
| (hy : y β ((normalChart hf) P h).target) : | |
| (((normalChart hf) P h).symm y).2 = 0 β | |
| β v : E, (v, 0) β ((normalChart hf) P h).source β§ f v = y := by | |
| let e := (normalChart hf) P h | |
| constructor | |
| Β· intro hn | |
| change (e.symm y).2 = 0 at hn | |
| refine β¨(e.symm y).1, ?_, ?_β© | |
| Β· simpa only [β hn] using e.map_target hy | |
| Β· have hright := e.right_inv hy | |
| change f (e.symm y).1 + (e.symm y).2 = y at hright | |
| rw [hn] at hright | |
| simpa only [Submodule.coe_zero, add_zero] using hright | |
| Β· rintro β¨v, hv, rflβ© | |
| rw [(normalChart_symm_apply hf) P h v hv] | |
| end HasStrictFDerivAt | |
| end | |
| end OAI.Analysis.Foundations.SplitDerivativeNormalChart | |