Half-space weak integration by parts for boundary-compatible tests
ProvedHunterPDE.Shared.HasWeakDeriv.integral_mul_boundaryCompatibleLet . Suppose are locally integrable for the restricted measure , including in neighborhoods of the boundary, and weakly in the open half-space. Let . If is the normal coordinate, assume ; for tangential coordinates impose no boundary condition. Then
Thus weak integration by parts extends from tests supported strictly inside to smooth ambient tests compatible with the direction of differentiation. A boundary cutoff has no tangential derivative. In the normal case, the zero boundary value gives on the relevant compact set, controlling the cutoff derivative term by an integrable multiple of . This is an auxiliary distributional lemma derived from the reflection construction; it does not assume that an extension theorem has already been proved.
import Definitions.Def_HunterPDE_Shared_WeakDeriv import Definitions.Def_HunterPDE_Compactness_HalfSpace open MeasureTheory set_option autoImplicit false
theorem HunterPDE.Shared.HasWeakDeriv.integral_mul_boundaryCompatible
(m : ℕ) (i : Fin (m + 1)) (f g ψ : EuclideanSpace ℝ (Fin (m + 1)) → ℝ)
(hf : LocallyIntegrable f (volume.restrict (HunterPDE.Compactness.upperHalfSpace m)))
(hg : LocallyIntegrable g (volume.restrict (HunterPDE.Compactness.upperHalfSpace m)))
(hd : HunterPDE.Shared.HasWeakDeriv (HunterPDE.Compactness.upperHalfSpace m)
(Pi.single i 1) f g)
(hψ : HunterPDE.Shared.IsTestFunction Set.univ ψ)
(hb : i = Fin.last m → ∀ x, x (Fin.last m) = 0 → ψ x = 0) :
(∫ x in HunterPDE.Compactness.upperHalfSpace m, g x * ψ x) =
-(∫ x in HunterPDE.Compactness.upperHalfSpace m,
f x * HunterPDE.Shared.multiDeriv ψ (Pi.single i 1) x) := by sorry