Download data/lean/OAI/Analysis/Calculus/FiniteExtension/NormedSublevelExtension.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/FiniteExtension/NormedSublevelExtension.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/FiniteExtension/NormedSublevelExtension.lean
-
curl -L -o NormedSublevelExtension.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/FiniteExtension/NormedSublevelExtension.lean
2.2 kB
| import OAI.Analysis.Calculus.FiniteExtension.Halfspace.Extension.Sublevel | |
| /-! Finite-order regular-sublevel extension is invariant under a linear | |
| change to Euclidean coordinates; in particular it applies to product spaces | |
| equipped with the usual maximum norm. -/ | |
| noncomputable section | |
| open Set | |
| open scoped ContDiff | |
| namespace OAI.Analysis.Calculus.FiniteExtension | |
| variable {X F : Type*} [NormedAddCommGroup X] [NormedSpace β X] | |
| [FiniteDimensional β X] [Nontrivial X] | |
| [NormedAddCommGroup F] [NormedSpace β F] | |
| theorem exists_contDiff_extension_regular_sublevel_normed | |
| {N : β} (r : X β β) (hr : ContDiff β β r) | |
| (hreg : β x, r x = 0 β fderiv β r x β 0) | |
| (f : X β F) (hf : ContDiffOn β N f {x | r x β€ 0}) : | |
| β g : X β F, ContDiff β N g β§ β x, r x β€ 0 β g x = f x := by | |
| let d := Module.finrank β X | |
| have hd : 0 < d := Module.finrank_pos (R := β) (M := X) | |
| let e : EuclideanSpace β (Fin d) βL[β] X := | |
| ContinuousLinearEquiv.ofFinrankEq (by simp [d]) | |
| have hr' : ContDiff β β (fun y => r (e y)) := hr.comp e.contDiff | |
| have hreg' : β y, r (e y) = 0 β fderiv β (fun y => r (e y)) y β 0 := by | |
| intro y hy hz | |
| have he : fderiv β (fun y => r (e y)) y = | |
| (fderiv β r (e y)).comp e.toContinuousLinearMap := | |
| ((hr.differentiable (by simp) (e y)).hasFDerivAt.comp y | |
| e.toContinuousLinearMap.hasFDerivAt).fderiv | |
| apply hreg (e y) hy | |
| ext v | |
| have hv := congrArg (fun L : EuclideanSpace β (Fin d) βL[β] β => L (e.symm v)) hz | |
| rw [he] at hv | |
| simpa only [ContinuousLinearMap.comp_apply,ContinuousLinearEquiv.coe_coe, | |
| ContinuousLinearEquiv.apply_symm_apply,zero_apply] using hv | |
| have hf' : ContDiffOn β N (fun y => f (e y)) {y | r (e y) β€ 0} := | |
| hf.comp e.contDiff.contDiffOn (fun y hy => hy) | |
| obtain β¨g,hg,hgfβ© := exists_contDiff_extension_regular_sublevel hd | |
| (fun y => r (e y)) hr' hreg' (fun y => f (e y)) hf' | |
| refine β¨fun x => g (e.symm x),hg.comp e.symm.contDiff,?_β© | |
| intro x hx | |
| have hh := hgf (e.symm x) (by simpa only [e.apply_symm_apply] using hx) | |
| simpa only [e.apply_symm_apply] using hh | |
| end OAI.Analysis.Calculus.FiniteExtension | |