29.2 Changes of variables and cutoffs
In this section \(V\) is a finite-dimensional real inner product space of dimension \(n\) with Lebesgue measure, \((e_i)_{i \in I}\) is the orthonormal basis of the dyadic grid of \(V\) (Definition 14.12), and \(\mathcal D(O)\) is the space of smooth \(\varphi \colon V \to \mathbb {R}\) with compact support in an open set \(O \subseteq V\). For a function \(f\) on \(V\), \(D_v f(x)\) is the line derivative \(\lim _{t \to 0} (f(x + t v) - f(x))/t\) where it exists and \(0\) elsewhere (Mathlib’s lineDeriv), and \(g = \partial _v f\) weakly on \(O\) means that \(f\) and \(g\) are locally integrable on \(O\) and \(\int \varphi g = -\int (\partial _v \varphi ) f\) for every \(\varphi \in \mathcal D(O)\) (Definition 29.1, Lemma 29.2); for a map \(\Phi \colon V \to V\), \(D\Phi (x)\) is the derivative where it exists and \(0\) elsewhere (Mathlib’s fderiv). For Lipschitz \(f\) and \(\Phi \) both exist almost everywhere by Rademacher’s theorem. \(W^{1}_{p}(O)\) is the space of the \(f \in L_p(O)\) with weak derivatives \(\partial _v f \in L_p(O)\) for all \(v \in V\) (Definition 29.1).
The section proves that Lipschitz functions are weakly differentiable, that weak derivatives are linear in the direction, \(L_p\) bounds for the products with a cutoff \(\chi \) supported in \(B\), an approximation by mollification on open sets in \(L_1\), and the chain rule for Lipschitz maps that preserve Lebesgue measure. These are the tools of the extension by reflection across Lipschitz graphs [ 28 , Section 4.4 ] , [ 4 , Chapter 9 ] .
Lipschitz functions.
Let \(F\) be a finite-dimensional real normed space with a Haar measure, and \(v \in F\).
If \(f \colon F \to \mathbb {R}\) is Lipschitz with compact support, then \(\int D_v f = 0\).
If \(G\) is a real Banach space and \(f \colon F \to G\) is Lipschitz with compact support, then \(D_v f\) is integrable.
If \(f \colon F \to \mathbb {C}\) is Lipschitz, then \(\operatorname {Re} D_v f = D_v \operatorname {Re} f\) and \(\operatorname {Im} D_v f = D_v \operatorname {Im} f\) almost everywhere; if moreover \(f\) has compact support, then \(\int D_v f = 0\).
Integration by parts for Lipschitz functions with the constant function \(1\), whose line derivatives vanish (Mathlib’s LipschitzWith.integral_lineDeriv_mul_eq). The line derivative \(D_v f\) is measurable (Mathlib’s aestronglyMeasurable_lineDeriv), bounded by \(C \| v\| \) for the Lipschitz constant \(C\), and zero outside the closed support of \(f\). For complex \(f\), \(f\) is differentiable almost everywhere by Rademacher’s theorem, so the real and imaginary parts of \(D_v f\) are almost everywhere the line derivatives of the Lipschitz functions \(\operatorname {Re} f\) and \(\operatorname {Im} f\).
Let \(\Omega \subseteq V\) be open and \(v \in V\).
For every \(\varphi \in \mathcal D(\Omega )\) and every Lipschitz \(u \colon V \to \mathbb {R}\),
\[ \int _V \varphi \, D_v u = -\int _V (\partial _v \varphi ) \, u . \]For every Lipschitz \(f \colon V \to \mathbb {C}\), \(D_v f\) is the weak derivative of \(f\) on \(\Omega \) in the direction \(v\).
The test function \(\varphi \) is smooth with compact support, hence Lipschitz (Mathlib’s ContDiff.lipschitzWith_of_hasCompactSupport), and Mathlib’s integration by parts for Lipschitz functions gives \(\int (D_v u) \varphi = \int (D_{-v} \varphi ) u\), with \(D_{-v} \varphi = -\partial _v \varphi \) (Lemma 13.25). For complex \(f\), \(f\) is continuous and \(D_v f\) is measurable and bounded, so both are locally integrable. The real and imaginary parts of \(\int \varphi \, D_v f\) are \(\int \varphi \, D_v \operatorname {Re} f\) and \(\int \varphi \, D_v \operatorname {Im} f\) (Lemma 29.16), and the first part for the Lipschitz functions \(\operatorname {Re} f\) and \(\operatorname {Im} f\) gives the identity of Lemma 29.2.
Directions.
Let \(\Omega \subseteq V\) be open. Then:
for every finite set \(s\), all locally integrable \(g_i\) on \(\Omega \) and all \(c_i\) in \(\mathbb {R}\) or \(\mathbb {C}\) (\(i \in s\)), \(\sum _{i \in s} c_i g_i\) is locally integrable on \(\Omega \);
for every finite set \(s\), all \(v_i \in V\) and \(c_i \in \mathbb {R}\) (\(i \in s\)), every locally integrable \(f\) on \(\Omega \) and all \(g_i\) with \(g_i = \partial _{v_i} f\) weakly on \(\Omega \) for every \(i \in s\), \(\sum _{i \in s} c_i g_i = \partial _v f\) weakly on \(\Omega \) for \(v = \sum _{i \in s} c_i v_i\);
for every \(f\) and all \(g_i\) with \(g_i = \partial _{e_i} f\) weakly on \(\Omega \) for every \(i \in I\), \(f\) is locally integrable on \(\Omega \), and for every \(v \in V\), \(\sum _{i \in I} \langle v, e_i \rangle g_i = \partial _v f\) weakly on \(\Omega \);
for every \(1 \leq p \leq \infty \), every \(f \in L_p(V)\) and all \(g_i \in L_p(V)\) with \(g_i = \partial _{e_i} f\) weakly on \(V\) for every \(i \in I\), \(f \in W^{1}_{p}(V)\);
for every \(1 \leq p \leq \infty \), every \(f \in L_p(\Omega )\) and all \(g_i \in L_p(\Omega )\) with \(g_i = \partial _{e_i} f\) weakly on \(\Omega \) for every \(i \in I\), \(f \in W^{1}_{p}(\Omega )\).
(1) Induction on \(s\). (2) For every \(\varphi \in \mathcal D(\Omega )\), \(\partial _v \varphi = \sum _i c_i \, \partial _{v_i} \varphi \), since \(\partial _w \varphi = D\varphi (\cdot ) \, w\) is linear in \(w\) (Lemma 13.25); integrate against \(f\) and apply Lemma 29.2 for every \(i\). (3) For \(n \geq 1\), \(f\) is locally integrable as a function with a weak derivative; for \(n = 0\), \(V\) is a point and every function on it is continuous. Then (2) with \(v = \sum _i \langle v, e_i \rangle e_i\). (4) By (3) the class of \(\sum _i \langle v, e_i \rangle g_i\) in \(L_p(V)\) is the weak derivative \(\partial _v f\) for every \(v\), and Lemma 29.3 for \(m = 1\) applies. (5) By (3), \(\sum _i \langle v, e_i \rangle g_i \in L_p(\Omega )\) is the weak derivative \(\partial _v f\) on \(\Omega \) for every \(v\), and \(f\) is its own derivative of order \(0\) (Lemma 29.3).
Cutoffs.
Let \((X, \mu )\) be a measure space, \(0 {\lt} p \leq \infty \) and \(C \geq 0\), and let \(c \colon X \to \mathbb {C}\) be almost everywhere strongly measurable with \(|c| \leq C\). Then \(\| c u\| _{L_p(\mu )} \leq C \, \| u\| _{L_p(\mu )}\) for every \(u \colon X \to \mathbb {C}\).
For almost everywhere strongly measurable \(u\) this is the pointwise bound \(|c u| \leq C |u|\). For the other \(u\), \(\| u\| _{L_p(\mu )} = \infty \) in Mathlib, and for \(C = 0\) the product \(c u\) is \(0\).
The product rule with a cutoff (Lemma 29.8) carries a weak derivative from \(O \cap B\) to \(O\); the next lemma bounds the \(L_p\) norms of the products.
Let \(O, B \subseteq V\) be open. Then:
for every \(1 \leq p \leq \infty \), every \(w \in V\), every smooth real function \(\chi \) on \(V\) with closed support in \(B\), all \(C, C' \geq 0\) with \(|\chi | \leq C\) and \(|\partial _w \chi | \leq C'\) and all \(f\), \(g\),
\[ \| \chi g + (\partial _w \chi ) f\| _{L_p(O)} \leq C \, \| g\| _{L_p(O \cap B)} + C' \, \| f\| _{L_p(O \cap B)} ; \]for every \(0 {\lt} p \leq \infty \), every \(h\) that vanishes outside \(B\) has \(\| h\| _{L_p(O)} = \| h\| _{L_p(O \cap B)}\), and for every continuous real \(\chi \) with closed support in \(B\) and \(|\chi | \leq C\) and every \(f\), \(\| \chi f\| _{L_p(O)} \leq C \, \| f\| _{L_p(O \cap B)}\).
(1) The function vanishes outside \(B\), so its norm in \(L_p(O)\) is its norm in \(L_p(O \cap B)\) by (2); Minkowski’s inequality and Lemma 29.19 give the estimate. (2) \(h = \mathbf1_B h\), and the \(L_p(O)\) norm of \(\mathbf1_B h\) is the \(L_p(O \cap B)\) norm of \(h\); \(\chi f\) vanishes outside \(B\), and Lemma 29.19 bounds it.
For every compact \(K \subseteq V\) and every open \(U \supseteq K\) there is a smooth \(\chi \colon V \to [0, 1]\) with compact closed support in \(U\) that equals \(1\) on a neighbourhood of \(K\).
For every smooth \(\chi \colon V \to \mathbb {R}\) with compact support there are \(d_i \geq 0\) with \(|\partial _{e_i} \chi | \leq d_i\) for every \(i \in I\).
Every real function with values in \([0, 1]\) has absolute value at most \(1\).
Choose a compact \(L\) with \(K \subseteq \operatorname {int} L\) and \(L \subseteq U\), and an open \(W \supseteq L\) with compact closure in \(U\) (Mathlib’s exists_compact_between and exists_open_between_and_isCompact_closure). Mathlib’s exists_contDiff_support_eq_eq_one_iff gives a smooth \(\chi \) with values in \([0, 1]\), support \(W\) and \(\chi = 1\) on \(L\). For the bounds, \(\partial _{e_i} \chi \) is continuous with compact support.
Let \(1 \leq p \leq \infty \), let \(O \subseteq V\) be open and \(d_i \geq 0\) for \(i \in I\), and let \(\chi \colon V \to [0, 1]\) be smooth with closed support in \(O\) and \(|\partial _{e_i} \chi | \leq d_i\) for every \(i \in I\). Then for all \(f\), \(g_i \colon V \to \mathbb {C}\),
Here \(|\chi | \leq 1\) (Lemma 29.21), so Lemma 29.20 (2) and (1) with \(V\) for \(O\) and \(O\) for \(B\) give \(\| \chi f\| _{L_p(V)} \leq \| f\| _{L_p(O)}\) and \(\| \chi g_i + (\partial _{e_i} \chi ) f\| _{L_p(V)} \leq \| g_i\| _{L_p(O)} + d_i \| f\| _{L_p(O)}\). The sum of these bounds is at most the right side.
Mollification on open sets.
Let \(K \colon V \to \mathbb {C}\) be smooth with compact support and \(v \in V\). Then \(K\) is a Schwartz function with \(\partial _v K = DK(\cdot ) \, v\), and for all \(h\), \(g\) with \(g = \partial _v h\) weakly on \(V\),
A smooth function with compact support is a Schwartz function, and its directional derivative as a Schwartz function is \(DK(\cdot ) v\). The function \(h\) is locally integrable (Lemma 29.3). By Lemma 23.80, \(D(K * h)(x) v = ((\partial _v K) * h)(x)\), which is \((K * g)(x)\) by Lemma 28.36 with \(\Omega = V\).
Let \(\eta \) be the standard bump of Theorem 23.83, a smooth nonnegative function with integral \(1\) supported in the unit ball, and \(\eta _c(x) = c^n \eta (c x)\).
For every topological space \(X\) with a measure and every locally integrable \(u\) on \(X\) with compact support, \(u\) is integrable. For every integrable \(h\), every \(K \subseteq V\) and every \(h'\) with \(h = h'\) almost everywhere on \(K\), \(\| \eta _{k+1} * h - h'\| _{L_1(K)} \to 0\) as \(k \to \infty \).
For every open \(O \subseteq V\), every \(w \in V\), all \(f\), \(g\) with \(g = \partial _w f\) weakly on \(O\) and every smooth real \(\chi \) with compact closed support in \(O\), the functions \(\chi f\) and \(\chi g + (\partial _w \chi ) f\) are integrable on \(V\), and \(\chi g + (\partial _w \chi ) f = \partial _w (\chi f)\) weakly on \(V\).
For every open \(O \subseteq V\), every compact \(K \subseteq O\), every family \((w_i)_{i \in J}\) in \(V\), every locally integrable \(f\) on \(O\) and all \(g_i\) with \(g_i = \partial _{w_i} f\) weakly on \(O\) for every \(i \in J\), there are smooth \(u_k\) with compact support (\(k \in \mathbb {N}\)) such that \(\| u_k - f\| _{L_1(K)} \to 0\) and \(\| D u_k(\cdot ) \, w_i - g_i\| _{L_1(K)} \to 0\) for every \(i \in J\).
(1) Such a function is integrable on its compact closed support and zero outside it. The mollifications converge to \(h\) in \(L_1(V)\) (Theorem 13.12), and on \(K\), \(h = h'\) almost everywhere. (2) Lemma 29.8 (3) with \(V\) for \(O\) and \(O\) for \(B\); both functions are locally integrable on \(V\) (Lemma 29.3) with compact support, so (1) applies. (3) Take \(\chi \) of Lemma 29.21 for \(K \subseteq O\) and \(u_k = \eta _{k+1} * (\chi f)\), which is smooth with compact support (Lemma 23.80, Lemma 13.9). By Lemma 29.23 and (2), \(D u_k(\cdot ) \, w_i = \eta _{k+1} * (\chi g_i + (\partial _{w_i} \chi ) f)\). On \(K\), \(\chi = 1\) and \(D\chi = 0\), so \(\chi f = f\) and \(\chi g_i + (\partial _{w_i} \chi ) f = g_i\) there, and (1) gives both limits.
The chain rule.
Let \((X, \mu )\) and \((Y, \nu )\) be measure spaces, \(\Phi \colon X \to Y\) measurable with \(\Phi _* \mu = \nu \), \(U \subseteq X\), and \(O \subseteq Y\) measurable with \(\Phi (U) \subseteq O\). Let \(E\) be a normed group and \(h \colon Y \to E\).
If \(h\) is almost everywhere strongly measurable on \(O\), then \(h \circ \Phi \) is almost everywhere strongly measurable on \(U\).
\(\| h \circ \Phi \| _{L_p(U)} \leq \| h\| _{L_p(O)}\) for every \(0 {\lt} p \leq \infty \).
The map \(\Phi \) carries \(\mu \) restricted to \(\Phi ^{-1}(O)\) to \(\nu \) restricted to \(O\) (Mathlib’s MeasurePreserving.restrict_preimage), and \(U \subseteq \Phi ^{-1}(O)\). Hence \(h \circ \Phi \) is almost everywhere strongly measurable on \(\Phi ^{-1}(O)\), so on \(U\), and \(\| h \circ \Phi \| _{L_p(U)} \leq \| h \circ \Phi \| _{L_p(\Phi ^{-1}(O))} = \| h\| _{L_p(O)}\). In Mathlib the \(L_p\) norm of a function that is not almost everywhere strongly measurable is \(\infty \), so the bound holds for every \(h\).
For all \(u \colon V \to \mathbb {C}\), \(\Phi \colon V \to V\) and \(x \in V\) such that \(u\) is differentiable at \(\Phi (x)\) and \(\Phi \) at \(x\), and for every \(v \in V\), \(D_v (u \circ \Phi )(x) = \sum _{i \in I} \langle D\Phi (x) v, e_i \rangle \, Du(\Phi (x)) \, e_i\).
For every smooth \(u \colon V \to \mathbb {C}\) with compact support, every Lipschitz \(\Phi \colon V \to V\), every open \(\Omega \subseteq V\) and every \(v \in V\), the function \(x \mapsto \sum _{i \in I} \langle D\Phi (x) v, e_i \rangle \, Du(\Phi (x)) \, e_i\) is the weak derivative of \(u \circ \Phi \) on \(\Omega \) in the direction \(v\).
For every \(1 \leq p \leq \infty \), every \(K \geq 0\), every \(K\)-Lipschitz \(\Phi \colon V \to V\) that preserves Lebesgue measure, every \(U \subseteq V\) and every measurable \(O \subseteq V\) with \(\Phi (U) \subseteq O\), every \(v \in V\) and all \(h_i\) (\(i \in I\)),
\[ \Bigl\| \sum _{i \in I} \langle D\Phi (\cdot ) v, e_i \rangle \, h_i \circ \Phi \Bigr\| _{L_p(U)} \leq K \| v\| \sum _{i \in I} \| h_i\| _{L_p(O)} . \]
(1) The chain rule and \(D\Phi (x) v = \sum _i \langle e_i, D\Phi (x) v \rangle e_i\). (2) The smooth \(u\) with compact support is Lipschitz, hence so is \(u \circ \Phi \), and Lemma 29.17 shows that \(D_v (u \circ \Phi )\) is its weak derivative. By Rademacher’s theorem (Mathlib’s LipschitzWith.ae_differentiableAt) \(\Phi \) is differentiable almost everywhere, where (1) applies, and weak derivatives only see functions almost everywhere (Lemma 29.3). (3) \(\| D\Phi (x)\| \leq K\) for every \(x\) (Mathlib’s norm_fderiv_le_of_lipschitz), so \(|\langle D\Phi (x) v, e_i \rangle | \leq K \| v\| \), and the coefficients are measurable (Mathlib’s measurable_fderiv_apply_const). Minkowski’s inequality, Lemma 29.19 and Lemma 29.25 give the bound.
Let \(U \subseteq V\) be open, \(v \in V^k\), and let \(F\), \(G\) be functions such that every compact \(K \subseteq U\) lies in an open set \(U'\) with \(G = \partial ^v F\) weakly on \(U'\). Then \(G = \partial ^v F\) weakly on \(U\).
For \(x \in U\) the compact set \(\{ x\} \) lies in such a \(U'\), a neighbourhood of \(x\), so \(F\) and \(G\) are locally integrable on \(U\). Every \(\varphi \in \mathcal D(U)\) is a test function on an open \(U'\) containing its closed support, with the same derivatives (Lemma 13.25), and Lemma 29.2 on \(U'\) gives the identity on \(U\).
Let \(O, U \subseteq V\) be open, \(K \geq 0\), \(\Phi \colon V \to V\) a \(K\)-Lipschitz map that preserves Lebesgue measure, and \(v \in V\).
Let \(L \subseteq O\) be compact with \(\Phi (U) \subseteq L\), let \(f\) be locally integrable on \(O\), and let \(g_i = \partial _{e_i} f\) weakly on \(O\) for every \(i \in I\). Then \(\partial _v (f \circ \Phi ) = \sum _{i \in I} \langle D\Phi (\cdot ) v, e_i \rangle \, g_i \circ \Phi \) weakly on \(U\).
Let \(\Phi \) map \(U\) into \(O\), and let \(g_i = \partial _{e_i} f\) weakly on \(O\) for every \(i \in I\). Then
\[ \partial _v (f \circ \Phi )(x) = \sum _{i \in I} \langle D\Phi (x) v, e_i \rangle \, g_i(\Phi (x)) \]weakly on \(U\).
(1) Let \(u_k\) be the smooth functions of Lemma 29.24 for \(L\) and the directions \(e_i\), and \(G\) the right side. By Lemma 29.26 (2), \(G_k(x) = \sum _i \langle D\Phi (x) v, e_i \rangle \, D u_k(\Phi (x)) \, e_i\) is the weak derivative \(\partial _v (u_k \circ \Phi )\) on \(U\). By Lemma 29.25, \(\| u_k \circ \Phi - f \circ \Phi \| _{L_1(U)} \leq \| u_k - f\| _{L_1(L)} \to 0\), and by Lemma 29.26 (3), \(\| G_k - G\| _{L_1(U)} \leq K \| v\| \sum _i \| D u_k(\cdot ) \, e_i - g_i\| _{L_1(L)} \to 0\). The same bounds give \(f \circ \Phi , G \in L_1(U)\), since \(f\) and the \(g_i\) are integrable on the compact \(L \subseteq O\). Theorem 29.11 with \(p = r = 1\) gives \(G = \partial _v (f \circ \Phi )\) weakly on \(U\).
(2) The function \(f\) is locally integrable on \(O\) (Lemma 29.18). By Lemma 29.27 it suffices to treat a compact \(K' \subseteq U\). Its image \(\Phi (K')\) is a compact subset of \(O\); choose a compact \(L \subseteq O\) with \(\Phi (K') \subseteq \operatorname {int} L\). The open set \(U' = \Phi ^{-1}(\operatorname {int} L)\) contains \(K'\), and \(\Phi (U') \subseteq L\), so (1) applies on \(U'\).
Measure preservation alone carries the convergence in \(L_1(L)\) to the convergence in \(L_1(U)\), so every Lipschitz map that preserves Lebesgue measure qualifies.