Download data/lean/OAI/Analysis/Calculus/FiniteExtension/Halfspace/Extension/Sublevel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/FiniteExtension/Halfspace/Extension/Sublevel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/FiniteExtension/Halfspace/Extension/Sublevel.lean
-
curl -L -o Sublevel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/FiniteExtension/Halfspace/Extension/Sublevel.lean
3.13 kB
| import OAI.Analysis.Calculus.FiniteExtension.Halfspace.Extension.Chart | |
| import OAI.Analysis.PDE.Elliptic.Calculus.SmoothCoordinateChart | |
| import OAI.Analysis.PDE.Elliptic.PeriodicChartCoverage | |
| import OAI.Analysis.Calculus.SmoothExtension.Periodic.Extension.Local | |
| /-! Genuine classical extensions of functions smooth up to a regular | |
| closed sublevel. No global extension is assumed in the hypotheses. -/ | |
| noncomputable section | |
| open Set Metric | |
| open scoped ContDiff | |
| namespace OAI.Analysis.Calculus.FiniteExtension | |
| open OAI.Analysis.PDE.Elliptic | |
| variable {m N : β} {F : Type*} [NormedAddCommGroup F] [NormedSpace β F] | |
| local notation "E" => EuclideanSpace β (Fin m) | |
| theorem exists_local_extension_regular_sublevel (hm : 0 < m) | |
| (r : E β β) (hr : ContDiff β β r) | |
| (hreg : β x, r x = 0 β fderiv β r x β 0) | |
| (f : E β F) (hf : ContDiffOn β N f {x | r x β€ 0}) | |
| (a : E) (ha : r a β€ 0) : | |
| β W : Set E, IsOpen W β§ a β W β§ | |
| β g : E β F, ContDiffOn β N g W β§ β x β W, r x β€ 0 β g x = f x := by | |
| by_cases hlt : r a < 0 | |
| Β· refine β¨{x | r x < 0}, isOpen_lt hr.continuous continuous_const, hlt, | |
| f, hf.mono (fun x hx => (show r x β€ 0 from le_of_lt hx)), ?_β© | |
| intro x hx hxr | |
| rfl | |
| Β· have hra : r a = 0 := le_antisymm ha (le_of_not_gt hlt) | |
| let k : Fin m := β¨0, hmβ© | |
| obtain β¨c, C, G, P, hc, hC, hG, hP, hG0, hchartβ© := | |
| OAI.Analysis.PDE.Elliptic.exists_smooth_bounded_coordinate_chart k hr a (hreg a hra) isOpen_univ (mem_univ a) | |
| have hinv := (hchart 0 (mem_closedBall_self (by norm_num))).2.1 | |
| obtain β¨hPa, R, hR, V, hV, haV, hRV, hGP, hPVβ© := | |
| OAI.Analysis.PDE.Elliptic.exists_inverse_chart_neighborhood (hP.of_le (by simp)) (hG.of_le (by simp)) | |
| hG0 hinv (show (0 : β) < 1 by norm_num) | |
| have hside : β z β ball (0 : E) 2, r (G z) β€ 0 β 0 β€ z k := by | |
| intro z hz | |
| have he := (hchart z (ball_subset_closedBall hz)).2.2.1 | |
| rw [hra, sub_zero] at he | |
| rw [he] | |
| constructor <;> intro h <;> nlinarith | |
| obtain β¨W, hW, haW, g, hg, hgfβ© := exists_contDiff_extension_in_chart k r f hf | |
| G P (hG.of_le (by simp)) (hP.of_le (by simp)) hPa isOpen_ball | |
| (mem_ball_self (by norm_num)) hV haV hGP hside | |
| exact β¨W, hW, haW, g, hg.contDiffOn, hgfβ© | |
| /-- A Cα΄Ί function on the closed regular domain has an actual global Cα΄Ί | |
| extension. This finite-order result applies in particular to N=3 and N=4. -/ | |
| theorem exists_contDiff_extension_regular_sublevel (hm : 0 < m) | |
| (r : E β β) (hr : ContDiff β β r) | |
| (hreg : β x, r x = 0 β fderiv β r x β 0) | |
| (f : E β F) (hf : ContDiffOn β N f {x | r x β€ 0}) : | |
| β g : E β F, ContDiff β N g β§ β x, r x β€ 0 β g x = f x := by | |
| apply OAI.Analysis.Calculus.SmoothExtension.exists_contDiff_extension_of_local_on | |
| (isClosed_le hr.continuous continuous_const) N f | |
| intro x hx | |
| obtain β¨W, hW, hxW, g, hg, hgfβ© := | |
| exists_local_extension_regular_sublevel hm r hr hreg f hf x hx | |
| exact β¨W, hW, hxW, g, hg, fun y hy => hgf y hy.2 hy.1β© | |
| end OAI.Analysis.Calculus.FiniteExtension | |