Bounded interior approximation of boundary-compatible half-space tests
ProvedHunterPDE.Shared.IsTestFunction.exists_boundaryCompatible_approxLet H be the open upper half-space in real Euclidean space, and let ψ be an ambient smooth compactly supported function. Fix a coordinate i; if i is normal to the boundary, assume ψ vanishes on the boundary hyperplane. Then there exist a compact set K, a nonnegative constant C, and smooth test functions φₙ compactly supported strictly inside H such that both |φₙ| and |∂ᵢφₙ| are bounded by C times the indicator of K, uniformly in n. At every point of H, φₙ converges to ψ and ∂ᵢφₙ converges to ∂ᵢψ. This is an elementary smooth approximation assertion, independent of weak derivatives and of any integration weights. A construction is φₙ(x)=χ((n+1)t)ψ(x), where χ vanishes for t≤1 and equals one for t≥2. In the normal case boundary vanishing bounds the extra derivative term uniformly.
import Definitions.Def_HunterPDE_Shared_WeakDeriv import Definitions.Def_HunterPDE_Compactness_HalfSpace import Mathlib.Topology.Algebra.Order.Field open MeasureTheory Filter open scoped Topology set_option autoImplicit false
theorem HunterPDE.Shared.IsTestFunction.exists_boundaryCompatible_approx
(m : ℕ) (i : Fin (m + 1)) (ψ : EuclideanSpace ℝ (Fin (m + 1)) → ℝ)
(hψ : HunterPDE.Shared.IsTestFunction Set.univ ψ)
(hb : i = Fin.last m → ∀ x, x (Fin.last m) = 0 → ψ x = 0) :
∃ K : Set (EuclideanSpace ℝ (Fin (m + 1))), IsCompact K ∧
∃ C : ℝ, 0 ≤ C ∧
∃ φ : ℕ → EuclideanSpace ℝ (Fin (m + 1)) → ℝ,
(∀ n, HunterPDE.Shared.IsTestFunction (HunterPDE.Compactness.upperHalfSpace m) (φ n)) ∧
(∀ n x, ‖φ n x‖ ≤ K.indicator (fun _ => C) x ∧
‖HunterPDE.Shared.multiDeriv (φ n) (Pi.single i 1) x‖ ≤
K.indicator (fun _ => C) x) ∧
(∀ x ∈ HunterPDE.Compactness.upperHalfSpace m,
Tendsto (fun n => φ n x) atTop (𝓝 (ψ x)) ∧
Tendsto (fun n => HunterPDE.Shared.multiDeriv (φ n) (Pi.single i 1) x)
atTop (𝓝 (HunterPDE.Shared.multiDeriv ψ (Pi.single i 1) x))) := by sorry