12.2 Eigenbases of compact self-adjoint operators
Let \(E\) be a Hilbert space over \(\mathbb {R}\) or \(\mathbb {C}\). Mathlib’s spectral theorem for a compact self-adjoint operator \(T\) on \(E\) states that the orthogonal complement of the sum of all eigenspaces of \(T\) is \(\{ 0\} \), that is, the eigenspaces together span a dense subspace. The theorem below turns this into a Hilbert basis of eigenvectors. Its construction follows the proof of the corresponding theorem of the Lean project TauCeti [ 73 ] , turned into definitions; the auxiliary statement on Hilbert bases of subspaces is copied from there with its name, and TauCeti’s theorem for injective operators (Corollary 12.13) is restated with its name and proved as a corollary. In contrast to [ 4 , Theorem 6.11, p. 167 ] , \(E\) need not be separable: the basis is indexed by the pairs of an eigenvalue and an index of a basis of its eigenspace.
Let \(T\) be a bounded symmetric operator on \(E\) such that the orthogonal complement of the sum of all eigenspaces of \(T\) is \(\{ 0\} \), and for every scalar \(\mu \) let \((e_{\mu , j})_{j \in W_\mu }\) be a Hilbert basis of the eigenspace \(\ker (T - \mu )\).
\((e_{\mu , j})_{\mu , \, j \in W_\mu }\) is a Hilbert basis of \(E\), and \(T e_{\mu , j} = \mu e_{\mu , j}\) for every \(\mu \) and every \(j \in W_\mu \).
If \(T\) is injective, then \(W_0\) is empty.
Each eigenspace is closed, hence a Hilbert space, so the bases \((e_{\mu , j})_j\) exist. The eigenspaces of a symmetric operator are mutually orthogonal, so the whole family is orthonormal. A vector \(x\) orthogonal to every \(e_{\mu , j}\) is orthogonal to the eigenspace of \(\mu \), since every \(y\) in it is the sum \(\sum _j \langle e_{\mu , j}, y \rangle e_{\mu , j}\); so \(x\) lies in the orthogonal complement of all eigenspaces, and \(x = 0\). If \(T\) is injective, the eigenspace of \(0\) is \(\ker T = \{ 0\} \), which contains no unit vector.
Let \(T\) be an injective compact self-adjoint operator on \(E\). Then there is a Hilbert basis of \(E\) of eigenvectors of \(T\) with nonzero eigenvalues.
By Mathlib’s spectral theorem the orthogonal complement of the sum of all eigenspaces of \(T\) is \(\{ 0\} \), so Theorem 12.12 applies, with \(W_0\) empty.