Download data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/Extension/Compact.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/Extension/Compact.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/Extension/Compact.lean
-
curl -L -o Compact.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/Extension/Compact.lean
1.17 kB
| import OAI.Analysis.Calculus.SmoothExtension.Periodic.Extension.Local | |
| open Set Filter Metric | |
| open scoped Topology ContDiff Manifold | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.SmoothExtension | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace β E] [FiniteDimensional β E] | |
| theorem exists_smooth_compact_one_on_compact {C : Set E} (hC : IsCompact C) : | |
| βΟ : E β β, ContDiff β β Ο β§ HasCompactSupport Ο β§ | |
| (βx, 0 β€ Ο x) β§ βx β C, Ο x = 1 := by | |
| obtain β¨R,hR,hCRβ© := hC.isBounded.exists_pos_norm_le | |
| have hsub : C β interior (closedBall (0 : E) (R + 1)) := by | |
| intro x hx | |
| apply isOpen_ball.subset_interior_iff.mpr ball_subset_closedBall | |
| simp only [mem_ball,dist_zero_right] | |
| linarith [hCR x hx] | |
| obtain β¨Ο,hΟ1,hΟ0,hΟβ© := exists_contMDiffMap_one_nhds_of_subset_interior | |
| (π(β,E)) hC.isClosed hsub (n := (β€ : ββ)) | |
| refine β¨Ο,?_,?_,fun x β¦ (hΟ x).1,fun x hx β¦ hΟ1.self_of_nhdsSet x hxβ© | |
| Β· exact contMDiff_iff_contDiff.mp Ο.contMDiff | |
| Β· exact HasCompactSupport.intro (isCompact_closedBall (0 : E) (R + 1)) hΟ0 | |
| end OAI.Analysis.Calculus.SmoothExtension | |