16.3 Finite \(L_2\) sums of Hilbert spaces
For a normed space \(X\) and \(m \in \mathbb {N}\), \(X^m\) is the space of the tuples \(x = (x_1, \dots , x_m)\) with \(\| x\| ^2 = \sum _i \| x_i\| ^2\), and for an inner product space \(X\) it carries the inner product \(\langle x, y \rangle = \sum _i \langle x_i, y_i \rangle \) (the Hilbert direct sum of \(m\) copies of \(X\) when \(X\) is a Hilbert space); in Lean it is WithLp 2 (Fin m \(\to \) X). In this section \(X\) and \(Y\) are complex normed spaces and \(E\) is a complex inner product space. The vector-valued Sobolev spaces on domains and boundaries are such sums of scalar Sobolev spaces, and their traces, extensions and isomorphisms act componentwise (Section 36.9).
For a bounded linear operator \(f \colon X \to Y\), \(f^m \colon X^m \to Y^m\) is the linear map \((x_1, \dots , x_m) \mapsto (f x_1, \dots , f x_m)\). The same formula defines \(e^m\) for an isomorphism \(e\) of normed spaces, which is again an isomorphism of normed spaces with inverse \((e^{-1})^m\), and for a linear or conjugate-linear isometric isomorphism \(e\), which is again an isometric isomorphism of the same kind. For a subspace \(K \subseteq X\), \(K^m \subseteq X^m\) is the subspace of the tuples whose components all lie in \(K\).
For an isometric \(e\), \(\| e^m x\| ^2 = \sum _i \| e x_i\| ^2 = \sum _i \| x_i\| ^2 = \| x\| ^2\). In Lean \(f^m\) and, for an isomorphism \(e\), \(e^m\) are Mathlib’s ContinuousLinearMap.piMap and ContinuousLinearEquiv.piCongrRight on the product, transported to \(X^m\). Mathlib’s LinearIsometryEquiv.piLpCongrRight is the linear isometric case; the semilinear isometric case, such as the conjugate-linear Riesz maps, is built directly (PiLp.congrRightSL).
Let \(f \colon X \to Y\) be a bounded linear operator and \(K \subseteq X\) a subspace with the inclusion \(j_K \colon K \to X\).
\(f^m\) is a bounded linear operator with \(\| f^m\| \leq \| f\| \).
If \(f\) is isometric, then \(f^m\) is isometric.
If \(f\) is onto, then \(f^m\) is onto.
\(\ker f^m = (\ker f)^m\).
The range of \(f^m\) is \((\operatorname {ran} f)^m\). In particular the range of \(j_K^m\) is \(K^m\).
\(\| f^m x\| ^2 = \sum _i \| f x_i\| ^2 \leq \| f\| ^2 \sum _i \| x_i\| ^2 = \| f\| ^2 \| x\| ^2\), and \(\| f^m x\| ^2 = \sum _i \| x_i\| ^2 = \| x\| ^2\) if \(f\) is isometric. The equation \(f^m x = 0\) holds if and only if \(f x_i = 0\) for every \(i\), and a tuple of preimages of the components is a preimage, so \(y\) lies in the range of \(f^m\) if and only if \(y_i\) lies in the range of \(f\) for every \(i\).
On the product \(X \times \dots \times X\) without a norm, Mathlib has the map, the surjectivity, the kernel and the range (LinearMap.compLeft, Function.Surjective.piMap, LinearMap.ker_compLeft, LinearMap.range_compLeft).
For \(i \in \{ 1, \dots , m\} \) and \(a \in E\) let \(\iota _i a \in E^m\) be the tuple with \(a\) at \(i\) and \(0\) elsewhere.
\(\langle \iota _i a, x \rangle = \langle a, x_i \rangle \) and \(\langle x, \iota _i a \rangle = \langle x_i, a \rangle \) for all \(i\), \(a \in E\) and \(x \in E^m\).
For every subspace \(K \subseteq E\), closed or not, \((K^m)^\perp = (K^\perp )^m\).
If \(E\) is complete, then \(\ell \mapsto (\ell \circ \iota _i)_i\) is a linear isometric isomorphism of the dual of \(E^m\) onto \((E^*)^m\).
In \(\langle \iota _i a, x \rangle = \sum _j \langle (\iota _i a)_j, x_j \rangle \) only \(j = i\) contributes, and likewise on the right. If \(x \perp K^m\) and \(k \in K\), then \(\iota _i k \in K^m\), so \(\langle k, x_i \rangle = \langle \iota _i k, x \rangle = 0\). If \(x_i \in K^\perp \) for every \(i\), then \(\langle y, x \rangle = \sum _i \langle y_i, x_i \rangle = 0\) for every \(y \in K^m\). For the dual, let \(R_m \colon E^m \to (E^m)^*\) and \(R \colon E \to E^*\) be the Riesz isomorphisms (Mathlib’s InnerProductSpace.toDual), both conjugate-linear and isometric. Then \(R^m \circ R_m^{-1}\) is linear and isometric (Definition 16.5), and for \(y = R_m^{-1} \ell \), \((R^m y)_i(a) = \langle y_i, a \rangle = \langle y, \iota _i a \rangle = \ell (\iota _i a)\).
Mathlib has the first identity for EuclideanSpace (EuclideanSpace.inner_single_left), for \(\ell _2\) sums (lp.inner_single_left) and for finite sums of Hilbert \(C^*\)-modules (WithCStarModule.inner_single_left), but not for \(E^m\) in its Lean form WithLp 2 (Fin m \(\to \) E), and it has neither the orthogonal complement of \(K^m\) nor the dual of \(E^m\). The dual of \(X^m\) is \((X^*)^m\) isometrically, by the same map \(\ell \mapsto (\ell \circ \iota _i)_i\), for every normed space \(X\); completeness and the inner product are needed only for the proof by Riesz’s representation.