Given a Hilbert space , let be a sequence with for all . Recall that the closed convex hull of is the closure of the set of all convex combinations of elements in .
is linearly independent and orthonormal. We now throw out all such that is linearly independent. If all that remains is , then is finite dimensional by assumption. Otherwise, after renumbering, is linearly independent, and by Gram-Schmidt, we may assume without loss of generality that is orthonormal.
Repeating this process, we obtain an orthonormal set at the -th stage. If this process terminates, then and we are done. Now suppose that this does not terminate, so we get an orthonormal sequence which still spans linearly.
Consider and notice that the partial sums are Cauchy:
so . Hence, by assumption, we may express it as a finite linear combination . But observe that
i.e., the coefficients of the finite linear combination matches up with those of the infinite one. This means that any finite linear combination cannot represent , a contradiction, so must have been finite dimensional to begin with.
Let be the closed convex hull in question. Since is closed and convex, there exists a unique such that . Since is a minimizer, for any , by convexity and so . Expanding,
Sending , we see . But if we let , then
by assumption, so .