Smooth approximation in Lᵖ with control of the support #
Mathlib's MeasureTheory.MemLp.exist_eLpNorm_sub_le approximates a function in Lᵖ, p < ∞, by
smooth compactly supported functions, with no control on where the approximants live. If the
function vanishes off a closed set s, the approximants can be taken to be supported in any
neighbourhood t of s, for example a closed thickening Metric.cthickening δ s with δ > 0:
multiply an approximant by a smooth cutoff with values in [0, 1] that equals 1 on s and has
topological support in t. Multiplying by the cutoff does not increase the distance to the
function, which is unchanged by it.
Such support control is what is needed to pass a statement about an operator off the support of
its argument from smooth functions to all of Lᵖ.
A function in Lᵖ, 1 ≤ p < ∞, vanishing almost everywhere off a closed set s is the
Lᵖ limit of smooth compactly supported functions supported in t, for any neighbourhood t
of s.