cfahlgren1/math / lean /OAI /Geometry /NodalSets /Charts /ManifoldCompactExtension.lean
cfahlgren1's picture
download
raw
2.41 kB
import Mathlib.Geometry.Manifold.PartitionOfUnity
namespace OAI
namespace Yau.Geometry
open Set Filter Manifold
open scoped ContDiff Topology
noncomputable section
variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
{H : Type*} [TopologicalSpace H] {I : ModelWithCorners ℝ E H}
{M : Type*} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I ∞ M]
[T2Space M] [NormalSpace M] [SigmaCompactSpace M] [LocallyCompactSpace M]
{F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F]
lemma manifold_compact_smooth_cutoff {K U : Set M} (hK : IsCompact K)
(hU : IsOpen U) (hKU : K ⊆ U) :
∃ b : M → ℝ, ContMDiff I 𝓘(ℝ) ∞ b ∧ HasCompactSupport b ∧
tsupport b ⊆ U ∧ (∀ x, 0 ≤ b x ∧ b x ≤ 1) ∧
∀ x ∈ K, b =ᶠ[𝓝 x] (fun _ ↦ 1) := by
obtain ⟨L,hL,hKL,hLU⟩ := exists_compact_between hK hU hKU
obtain ⟨b,hb1,hb0,hb⟩ := exists_contMDiffMap_one_nhds_of_subset_interior
I hK.isClosed hKL (n := (⊤ : ℕ∞))
have hsupp : tsupport (b : M → ℝ) ⊆ L := by
apply closure_minimal _ hL.isClosed
intro x hx
by_contra h
exact hx (hb0 x h)
refine ⟨b,b.contMDiff,hL.of_isClosed_subset isClosed_closure hsupp,
hsupp.trans hLU,hb,?_⟩
intro x hx
exact Filter.Eventually.filter_mono (nhds_le_nhdsSet hx) hb1
lemma manifold_compact_smooth_extension {K U : Set M} (hK : IsCompact K)
(hU : IsOpen U) (hKU : K ⊆ U) (f : M → F) (hf : ContMDiffOn I 𝓘(ℝ,F) ∞ f U) :
∃ G : M → F, ContMDiff I 𝓘(ℝ,F) ∞ G ∧ HasCompactSupport G ∧ tsupport G ⊆ U ∧
∀ x ∈ K, G =ᶠ[𝓝 x] f := by
obtain ⟨b,hb,hbc,hbU,hbr,hb1⟩ := manifold_compact_smooth_cutoff (I := I) hK hU hKU
let G := fun x ↦ b x • f x
have hG : ContMDiff I 𝓘(ℝ,F) ∞ G := by
intro x
by_cases hx : x ∈ tsupport b
· exact (hb x).smul ((hf x (hbU hx)).contMDiffAt (hU.mem_nhds (hbU hx)))
· apply (contMDiffAt_const (c := (0:F))).congr_of_eventuallyEq
filter_upwards [notMem_tsupport_iff_eventuallyEq.mp hx] with z hz
simp [G,hz]
have hsupp : tsupport G ⊆ tsupport b := by
apply closure_mono
intro x hx hz
exact hx (by simp [G,hz])
refine ⟨G,hG,hbc.of_isClosed_subset isClosed_closure hsupp,hsupp.trans hbU,?_⟩
intro x hx
filter_upwards [hb1 x hx] with z hz
simp [G,hz]
end
end Yau.Geometry
end OAI

Xet Storage Details

Size:
2.41 kB
·
Xet hash:
35fa004a684fbfbd7bf033d554f1f41f1d1d0e03ba70170084945f0c860d9524

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.