Blueprint: Characterizations of Function Spaces

33.6 The area formula for Lipschitz graphs

Throughout this section \(\Omega = \{ x : \varphi (x) {\lt} \langle x, e \rangle \} \) is a Lipschitz graph domain (Definition 33.1) with Lipschitz constant \(M\), hyperplane \(H = e^\perp \) of dimension \(n - 1\), projection \(P\) and graph map \(\gamma (x') = x' + \varphi (x') e\) (Definition 34.1). For \(d \in \mathbb {N}\), \(\mathcal H^d\) is Mathlib’s \(d\)-dimensional Euclidean Hausdorff measure (MeasureTheory.Measure.euclideanHausdorffMeasure): the Hausdorff measure \(\mu _H^d\) times the constant that makes it the Lebesgue measure on every \(d\)-dimensional inner product space (Mathlib’s InnerProductSpace.euclideanHausdorffMeasure_eq_volume); isometries preserve it. The area formula expresses \(\mathcal H^{n-1}\) on the boundary of \(\Omega \) through the graph map. The proof is the one of Federer [ 29 , 3.2.3 ] and Evans and Gariepy [ 28 , Section 3.3 ] , for a graph, which is injective and antilipschitz with constant \(1\), so that every point of the graph has exactly one preimage.

Lemma 33.33 Lipschitz maps and Euclidean Hausdorff measures
✓

Let \(d \in \mathbb {N}\).

  1. For all metric spaces \(X\), \(Y\), every \(K \geq 0\), every \(s \subseteq X\) and every \(f \colon X \to Y\) that is \(K\)-Lipschitz on \(s\), \(\mathcal H^d(f(s)) \leq K^d \mathcal H^d(s)\).

  2. For all normed groups \(X\), \(Y\), all \(f_1, f_2 \colon X \to Y\), \(P \subseteq X\) and \(\delta \geq 0\) with \(\| x - y\| \leq \| f_2(x) - f_2(y)\| \) and \(\| (f_1(x) - f_1(y)) - (f_2(x) - f_2(y))\| \leq \delta \| x - y\| \) for all \(x, y \in P\),

    \[ \mathcal H^d(f_1(P)) \leq (1 + \delta )^d \, \mathcal H^d(f_2(P)). \]
Proof ▼

The first bound is Mathlib’s LipschitzOnWith.hausdorffMeasure_image_le for \(\mu _H^d\), multiplied by the constant. For the second, \(f_2\) is injective on \(P\), so it has a left inverse \(q\) on \(P\) (Mathlib’s Function.invFunOn); \(f_1 \circ q\) maps \(f_2(P)\) onto \(f_1(P)\), and for \(x, y \in P\), \(\| f_1(x) - f_1(y)\| \leq \| f_2(x) - f_2(y)\| + \delta \| x - y\| \leq (1 + \delta ) \| f_2(x) - f_2(y)\| \).

Definition 33.34 The area factor
✓
#

For \(m \in \mathbb {N}\) and \(\varepsilon \in \mathbb {R}\), the area factor is \(C_\varepsilon = (1 + 2\varepsilon )^m (1 + \varepsilon )\).

In the area formula \(m = n - 1\): comparing a graph with a linear graph costs the factor \((1 + 2\varepsilon )^m\), and comparing the Gram density with a constant costs \(1 + \varepsilon \).

Lemma 33.35 Three elementary bounds
✓
  1. For all \(a, b \in \mathbb {R}\), \(|\sqrt{1 + a^2} - \sqrt{1 + b^2}| \leq |a - b|\).

  2. For every \(m \in \mathbb {N}\), the area factor \(C_\varepsilon = (1 + 2\varepsilon )^m (1 + \varepsilon )\) tends to \(1\) as \(\varepsilon \to 0+\).

  3. For all \(a, b \in [0, \infty ]\) and every \(c \colon \mathbb {R}\to \mathbb {R}\) with \(c(\varepsilon ) \to 1\) as \(\varepsilon \to 0+\) and \(a \leq \max (c(\varepsilon ), 0) \, b\) for every \(\varepsilon {\gt} 0\), \(a \leq b\).

Proof ▼

\(|\sqrt{1 + a^2} - \sqrt{1 + b^2}| (\sqrt{1 + a^2} + \sqrt{1 + b^2}) = |a - b| |a + b|\) and \(|a + b| \leq \sqrt{1 + a^2} + \sqrt{1 + b^2}\). The area factor is continuous in \(\varepsilon \) with value \(1\) at \(0\). In the last statement \(\max (c(\varepsilon ), 0) \, b \to b\) as \(\varepsilon \to 0+\).

Definition 33.36 Graphs over the hyperplane
✓

For \(h : H \to \mathbb {R}\), the graph of \(h\) over \(H\) is the map \(\gamma _h(x') = x' + h(x') e\) from \(H\) to \(V\). For \(g \in H\), the linear graph of \(g\) is the linear map \(S_g = \gamma _{\langle g, \cdot \rangle }\), \(S_g x' = x' + \langle g, x' \rangle e\), from \(H\) to \(V\).

Let \(h, h_1, h_2 \colon H \to \mathbb {R}\), \(x', y' \in H\) and \(a \in \mathbb {R}\).

  1. \(P \gamma _h(x') = x'\), so \(\gamma _h\) is injective.

  2. \(\| x' + a e\| ^2 = \| x'\| ^2 + a^2\).

  3. The increment \(\Delta _h = \gamma _h(x') - \gamma _h(y')\) is \((x' - y') + (h(x') - h(y')) e\), so \(\| x' - y'\| \leq \| \Delta _h\| \).

  4. \(\Delta _{h_1} - \Delta _{h_2} = \bigl((h_1(x') - h_1(y')) - (h_2(x') - h_2(y'))\bigr) e\).

Proof ▼

\(P e = 0\) and \(P x' = x'\) on \(H\) (Definition 34.1); Pythagoras, since \(x' \perp e\). The bound \(\| x' - y'\| \leq \| \Delta _h\| \) holds since \(x' - y' = P \Delta _h\) and \(\| P z\| \leq \| z\| \).

Lemma 33.38 Hausdorff measures of nearby graphs
✓

For all \(h_1, h_2 : H \to \mathbb {R}\), \(P \subseteq H\), \(\delta \geq 0\) and \(d \in \mathbb {N}\) with \(|(h_1(x') - h_1(y')) - (h_2(x') - h_2(y'))| \leq \delta \| x' - y'\| \) for all \(x', y' \in P\),

\[ \mathcal H^d(\gamma _{h_1}(P)) \leq (1 + \delta )^d \, \mathcal H^d(\gamma _{h_2}(P)). \]
Proof ▼

Lemma 33.33 with \(f_2 = \gamma _{h_2}\), by Lemma 33.37.

For finite-dimensional real inner product spaces \(U\), \(W\), the norm determinant of a linear map \(T : U \to W\) is \(\sqrt{\det (T^* T)}\) (Mathlib’s LinearMap.normDet and LinearMap.normDet_sq), and \(\mathcal H^{\dim U}(T(P)) = \sqrt{\det (T^* T)} \, |P|\) for every \(P \subseteq U\) (Mathlib’s LinearMap.euclideanHausdorffMeasure_image_eq_normDet_mul_volume).

Lemma 33.39 The norm determinant of a linear graph
✓

Let \(g \in H\), with the linear graph \(S_g x' = x' + \langle g, x' \rangle e\).

  1. For all \(x', y' \in H\), \(\langle S_g x', S_g y' \rangle = \langle x', y' \rangle + \langle g, x' \rangle \langle g, y' \rangle \).

  2. \(S_g^* S_g x' = x' + \langle g, x' \rangle g\) for every \(x' \in H\).

  3. \(\sqrt{\det (S_g^* S_g)} = \sqrt{1 + \| g\| ^2}\).

Proof ▼

\(x', y' \perp e\) and \(\| e\| = 1\). Hence \(\langle S_g^* S_g x', y' \rangle = \langle S_g x', S_g y' \rangle = \langle x' + \langle g, x' \rangle g, y' \rangle \) for all \(y' \in H\). The map \(x' \mapsto x' + \langle g, x' \rangle g\) is a transvection, of determinant \(1 + \langle g, g \rangle \) (Mathlib’s LinearMap.transvection.det).

Theorem 33.40 The area formula for linear graphs
✓

For every \(g \in H\) and every \(P \subseteq H\),

\[ \mathcal H^{n-1}(S_g(P)) = \sqrt{1 + \| g\| ^2} \, |P| , \]

with the Lebesgue measure \(|P|\) of \(H\).

Proof ▼

Mathlib’s area formula for linear maps, with \(\dim H = n - 1\) and the norm determinant of Lemma 33.39.

The linear graph as a tilted stretch.

Explicitly, \(S_g\) for \(g \neq 0\) is a stretch of \(H\) along \(g/\| g\| \) followed by an isometry of \(H\) into \(V\) (Lemma 33.44); then \(\mathcal H^{n-1}(S_g(P)) = |\det D| \, |P|\) for the stretch \(D\), of determinant \(\sqrt{1 + \| g\| ^2}\) (Lemma 33.42, Mathlib’s MeasureTheory.Measure.addHaar_image_linearMap).

Definition 33.41 Stretches
✓
#

Let \(E\) be a real inner product space, \(u \in E\) and \(c \in \mathbb {R}\). The stretch by \(c\) along \(u\) is the linear map \(D x = x + (c - 1) \langle u, x \rangle u\) of \(E\).

For a unit vector \(u\), \(D\) multiplies \(u\) by \(c\) and fixes the vectors orthogonal to \(u\); it is Mathlib’s transvection (LinearMap.transvection) of the linear form \((c - 1)\langle u, \cdot \rangle \) and the vector \(u\).

Lemma 33.42 The determinant of a stretch
✓
#

For every finite-dimensional real inner product space \(E\), every unit vector \(u \in E\) and every \(c \in \mathbb {R}\), the stretch by \(c\) along \(u\) has determinant \(c\).

Proof ▼

A transvection \(x \mapsto x + f(x) u\) has determinant \(1 + f(u)\) (Mathlib’s LinearMap.transvection.det), here \(1 + (c - 1) \langle u, u \rangle = c\).

Definition 33.43 The tilt
✓
#

For \(u \in H\) and \(b \in \mathbb {R}\), with \(c = \sqrt{1 + b^2}\), the tilt is the map \(J x' = x' + \langle u, x' \rangle \bigl(c^{-1}(u + b e) - u\bigr)\) from \(H\) to \(V\).

For a unit vector \(u\) the tilt maps \(u\) to the unit vector \((u + b e)/c\) and fixes the vectors of \(H\) orthogonal to \(u\).

  1. For every unit vector \(u \in H\) and every \(b \in \mathbb {R}\), the tilt \(J\) is an isometry of \(H\) into \(V\), and \(J(D x') = x' + b \langle u, x' \rangle e\) for every \(x' \in H\), where \(D\) is the stretch by \(\sqrt{1 + b^2}\) along \(u\).

  2. For every \(g \in H \setminus \{ 0\} \), \(S_g = J \circ D\) for \(u = g/\| g\| \) and \(b = \| g\| \).

Proof ▼

\(J\) is linear. With \(a = \langle u, x' \rangle \) and \(w = c^{-1}(u + b e) - u\), \(\langle x', w \rangle = a (c^{-1} - 1)\) and \(\| w\| ^2 = 2 - 2c^{-1}\), since \(c^2 = 1 + b^2\), so \(\| x' + a w\| ^2 = \| x'\| ^2\). Further \(\langle u, D x' \rangle = c a\), and \(D x' + c a w = x' + (c - 1) a u + a (u + b e) - c a u = x' + a b e\).

The graph map and the Gram density.

The graph map is the graph \(\gamma = \gamma _{\varphi |_H}\) of the \(M\)-Lipschitz function \(\varphi |_H\) over \(H\). It is injective, \((1 + M)\)-Lipschitz, satisfies \(\| x' - y'\| \leq \| \gamma (x') - \gamma (y')\| \) for all \(x', y' \in H\), and is a measurable embedding (measurable, injective, and it maps measurable sets to measurable sets).

Proof ▼

Lemma 33.37 and Definition 34.1; an antilipschitz and uniformly continuous map of the complete space \(H\) is a closed embedding, hence a measurable embedding.

The range of the graph map is the boundary of \(\Omega \) (Lemma 34.43).

Lemma 33.46 The graph map keeps null sets
✓

For every null set \(N \subseteq H\), \(\mathcal H^{n-1}(\gamma (N)) = 0\).

Proof ▼

\(\mathcal H^{n-1}(\gamma (N)) \leq (1 + M)^{n-1} \mathcal H^{n-1}(N)\) by Lemma 33.33, and \(\mathcal H^{n-1}\) is the Lebesgue measure on \(H\).

Definition 33.47 The gradient and the Gram density
✓

For \(x' \in H\), \(\nabla \varphi (x') \in H\) is the gradient of \(\varphi |_H\) at \(x'\) (Mathlib’s gradient, which is \(0\) where \(\varphi |_H\) is not differentiable), and \(\sqrt{1 + \| \nabla \varphi (x')\| ^2}\) is the Gram density of the graph map.

Let \(x', v, g \in H\).

  1. \(\langle \nabla \varphi (x'), v \rangle \) is the derivative of \(\varphi |_H\) at \(x'\) in the direction \(v\).

  2. \(\| \nabla \varphi (x')\| \leq M\) and \(1 \leq \sqrt{1 + \| \nabla \varphi (x')\| ^2} \leq \sqrt{1 + M^2}\).

  3. \(|\sqrt{1 + \| \nabla \varphi (x')\| ^2} - \sqrt{1 + \| g\| ^2}| \leq \| \nabla \varphi (x') - g\| \).

  4. The gradient and the Gram density are measurable, and \(\varphi |_H\) is differentiable almost everywhere on \(H\).

Proof ▼

The derivative of an \(M\)-Lipschitz function has norm at most \(M\); Lemma 33.35 and the reverse triangle inequality. The derivative is measurable (Mathlib’s measurable_fderiv), and Rademacher’s theorem (Mathlib’s LipschitzWith.ae_differentiableAt).

Definition 33.49 Good pieces
✓
#

For \(\varepsilon \in \mathbb {R}\) and \(g \in H\), a set \(P \subseteq H\) is a good piece if \(|(\varphi (x') - \varphi (y')) - \langle g, x' - y' \rangle | \leq 2 \varepsilon \| x' - y'\| \) and \(\| \nabla \varphi (x') - g\| \leq \varepsilon \) for all \(x', y' \in P\).

Let \(\varepsilon \geq 0\), \(g \in H\) and \(P\) a good piece for \(\varepsilon \) and \(g\).

  1. Every subset of \(P\) is a good piece for \(\varepsilon \) and \(g\).

  2. For every \(x' \in P\), \(\sqrt{1 + \| g\| ^2} \leq (1 + \varepsilon ) \sqrt{1 + \| \nabla \varphi (x')\| ^2}\) and \(\sqrt{1 + \| \nabla \varphi (x')\| ^2} \leq (1 + \varepsilon ) \sqrt{1 + \| g\| ^2}\).

Proof ▼

The two square roots differ by at most \(\varepsilon \) (Lemma 33.48), and both are at least \(1\).

Let \(\varepsilon \geq 0\), \(g \in H\) and \(P\) a good piece for \(\varepsilon \) and \(g\), and let \(C_\varepsilon = (1 + 2\varepsilon )^{n-1} (1 + \varepsilon )\) be the area factor for \(m = n - 1\). Then

\[ \mathcal H^{n-1}(\gamma (P)) \leq C_\varepsilon \int _P \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' \]

and

\[ \int _P \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' \leq C_\varepsilon \mathcal H^{n-1}(\gamma (P)). \]
Proof ▼

By Lemma 33.38 with \(\delta = 2\varepsilon \), \(\mathcal H^{n-1}(\gamma (P))\) and \(\mathcal H^{n-1}(S_g(P)) = \sqrt{1 + \| g\| ^2} \, |P|\) (Theorem 33.40) differ at most by the factor \((1 + 2\varepsilon )^{n-1}\), and \(\sqrt{1 + \| g\| ^2} \, |P|\) and the integral differ at most by the factor \(1 + \varepsilon \) (Lemma 33.50).

Definition 33.52 Good sets
✓
#

Let \((u_l)_l\) be a dense sequence in \(H\). For \(\varepsilon \in \mathbb {R}\) and \(i, k \in \mathbb {N}\), the good set consists of the \(x' \in H\) at which \(\varphi |_H\) is differentiable, with \(\| \nabla \varphi (x') - u_i\| {\lt} \varepsilon \) and \(|\varphi (u_l) - \varphi (x') - \langle \nabla \varphi (x'), u_l - x' \rangle | \leq \varepsilon \| u_l - x'\| \) for every \(l\) with \(\| u_l - x'\| {\lt} 1/(k+1)\).

Let \((u_l)_l\) be the dense sequence of Definition 33.52.

  1. For every \(\varepsilon \in \mathbb {R}\), all \(i, k \in \mathbb {N}\) and every \(x'\) in the good set of \(\varepsilon \), \(i\) and \(k\), \(|\varphi (y') - \varphi (x') - \langle \nabla \varphi (x'), y' - x' \rangle | \leq \varepsilon \| y' - x'\| \) for every \(y' \in H\) with \(\| y' - x'\| {\lt} 1/(k+1)\).

  2. For every \(\varepsilon \in \mathbb {R}\), all \(i, k \in \mathbb {N}\) and every \(c \in H\), the intersection of the good set of \(\varepsilon \), \(i\) and \(k\) with the ball of radius \(1/(2(k+1))\) around \(c\) is a good piece for \(\varepsilon \) and \(u_i\).

  3. For every \(\varepsilon {\gt} 0\) and every \(x'\) at which \(\varphi |_H\) is differentiable there are \(i, k, j \in \mathbb {N}\) such that \(x'\) lies in the good set of \(\varepsilon \), \(i\) and \(k\) and in the ball of radius \(1/(2(k+1))\) around \(u_j\).

  4. The good sets are measurable.

Proof ▼

The inequality is closed in \(y'\) and holds on the dense sequence. On the intersection with the ball, \(\| x' - y'\| {\lt} 1/(k+1)\), and the bound at \(y'\) together with \(\| \nabla \varphi (y') - u_i\| {\lt} \varepsilon \) gives the good piece. For the covering, \(k\) comes from the definition of the derivative, \(i\) and \(j\) from density. Measurability: the set of differentiability points is measurable (Mathlib’s measurableSet_of_differentiableAt), the gradient is measurable, and the Taylor condition quantifies over countably many \(l\).

Lemma 33.54 A countable partition into good pieces
✓

For every \(\varepsilon {\gt} 0\) there are pairwise disjoint measurable sets \(Q_0, Q_1, \ldots \subseteq H\) whose union has a null complement, and \(g_0, g_1, \ldots \in H\), such that every \(Q_m\) is a good piece for \(\varepsilon \) and \(g_m\).

Proof ▼

Enumerate the intersections of Lemma 33.53 by \(\mathbb {N}\) and make them disjoint (Mathlib’s disjointed); their union contains every point of differentiability, and the others form a null set by Rademacher’s theorem.

For every \(\varepsilon {\gt} 0\) and every measurable \(A \subseteq H\), with the area factor \(C_\varepsilon \) for \(m = n - 1\),

\[ \mathcal H^{n-1}(\gamma (A)) \leq C_\varepsilon \int _A \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' \]

and

\[ \int _A \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' \leq C_\varepsilon \mathcal H^{n-1}(\gamma (A)). \]
Proof ▼

With the partition of Lemma 33.54, \(A \cap Q_m\) is a good piece for every \(m\) (Lemma 33.50), and the rest of \(A\) is a null set whose image is \(\mathcal H^{n-1}\)-null (Lemma 33.46). Sum the bounds of Lemma 33.51: \(\mathcal H^{n-1}\) is countably subadditive, and the images \(\gamma (A \cap Q_m)\) are pairwise disjoint and measurable (Lemma 33.45).

  1. For every measurable \(A \subseteq H\),

    \[ \mathcal H^{n-1}(\gamma (A)) = \int _A \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' . \]
  2. The image under \(\gamma \) of the measure on \(H\) with density \(\sqrt{1 + \| \nabla \varphi \| ^2}\) is \(\mathcal H^{n-1}\) restricted to \(\gamma (H)\), and for every \(F \colon V \to [0, \infty ]\),

    \[ \int _{\gamma (H)} F \, d\mathcal H^{n-1} = \int _H F(\gamma (x')) \sqrt{1 + \| \nabla \varphi (x')\| ^2} \, dx' . \]
  3. The identity of (2) holds for every \(F \colon V \to \mathbb {C}\) that is \(\mathcal H^{n-1}\)-integrable on \(\gamma (H)\).

Proof ▼

Lemma 33.55 and the last two parts of Lemma 33.35, in both directions. The measure form follows on measurable sets \(B \subseteq V\) with \(\gamma (\gamma ^{-1}(B)) = B \cap \gamma (H)\), and the integral form from it, since \(\gamma \) is a measurable embedding and the density is finite.

By Lemma 33.45, \(\gamma (H)\) is the boundary of \(\Omega \), so the theorem expresses \(\mathcal H^{n-1}\) on the boundary in the chart. The integral form holds for every \(F\), measurable or not; in Lean the complex form holds for every \(F : V \to \mathbb {C}\), both sides being \(0\) by Mathlib’s convention when \(F\) is not integrable.

Definition 33.57 The outward unit normal
✓
#

For \(x' \in H\), the outward unit normal at \(\gamma (x')\) is \(\nu (x') = (\nabla \varphi (x') - e)/\sqrt{1 + \| \nabla \varphi (x')\| ^2}\).

Where \(\varphi |_H\) is differentiable, \(\nu (x')\) is the normalised gradient at \(\gamma (x')\) of \(x \mapsto \varphi (Px) - \langle x, e \rangle \), a function that is negative on \(\Omega \).

  1. For every \(x' \in H\), \(\| \nabla \varphi (x') - e\| = \sqrt{1 + \| \nabla \varphi (x')\| ^2}\), \(\| \nu (x')\| = 1\), \(\langle \nu (x'), e \rangle = -1/\sqrt{1 + \| \nabla \varphi (x')\| ^2}\), and \(\langle \nu (x'), y \rangle {\lt} 0\) for every \(y\) in the cone \(K\) of \(\Omega \).

  2. The normal \(\nu \) is measurable.

Proof ▼

Pythagoras, since \(\nabla \varphi (x') \perp e\). For \(y \in K\), \(\langle \nabla \varphi (x'), y \rangle = \langle \nabla \varphi (x'), y - \langle y, e \rangle e \rangle \leq M \| y - \langle y, e \rangle e\| {\lt} \langle y, e \rangle \).