introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.87 kB
import OAI.Analysis.Calculus.FiniteExtension.Halfspace.Extension
/-! Localizing the classical reflection construction before extension. -/
noncomputable section
open Set Filter
open scoped Topology ContDiff
namespace OAI.Analysis.Calculus.FiniteExtension
variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[NormedAddCommGroup F] [NormedSpace ℝ F]
theorem contDiffOn_cutoff_smul {N : β„•} {s U : Set E} (hU : IsOpen U)
(f : E β†’ F) (hf : ContDiffOn ℝ N f (s ∩ U))
(Ξ· : E β†’ ℝ) (hΞ· : ContDiff ℝ N Ξ·) (hsupport : tsupport Ξ· βŠ† U) :
ContDiffOn ℝ N (fun x => Ξ· x β€’ f x) s := by
intro x hx
by_cases hxU : x ∈ U
Β· have hfx : ContDiffWithinAt ℝ N f s x :=
(contDiffWithinAt_inter (hU.mem_nhds hxU)).mp (hf x ⟨hx, hxU⟩)
exact hΞ·.contDiffAt.contDiffWithinAt.smul hfx
Β· have hnot : x βˆ‰ tsupport Ξ· := fun h => hxU (hsupport h)
have he : (fun y => Ξ· y β€’ f y) =αΆ [𝓝 x] (fun _ => (0 : F)) := by
filter_upwards [notMem_tsupport_iff_eventuallyEq.mp hnot] with y hy
simp only [hy, Pi.zero_apply, zero_smul]
exact (contDiffAt_const.congr_of_eventuallyEq he).contDiffWithinAt
theorem exists_contDiff_extension_of_local_halfspace {N : β„•}
(β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1)
{U : Set E} (hU : IsOpen U) (f : E β†’ F)
(hf : ContDiffOn ℝ N f ({x | 0 ≀ β„“ x} ∩ U))
(Ξ· : E β†’ ℝ) (hΞ· : ContDiff ℝ N Ξ·) (hsupport : tsupport Ξ· βŠ† U) :
βˆƒ g : E β†’ F, ContDiff ℝ N g ∧
βˆ€ x, 0 ≀ β„“ x β†’ Ξ· x = 1 β†’ g x = f x := by
obtain ⟨g, hg, heq⟩ := exists_contDiff_extension_of_contDiffOn_halfspace β„“ Ξ½ hΞ½
(fun x => Ξ· x β€’ f x) (contDiffOn_cutoff_smul hU f hf Ξ· hΞ· hsupport)
refine ⟨g, hg, ?_⟩
intro x hx hΞ·x
simpa only [hΞ·x, one_smul] using heq hx
end OAI.Analysis.Calculus.FiniteExtension