The set K is nonempty, since u1∈K. By claim 1 of Nearest-Point Projection onto a Nonempty Closed Convex Subset of the Lebesgue Space of Square-Integrable Vector-Valued Functions the nearest-point projection p=πK(u) of u onto K exists, and by claim 2 of that theorem
⟨u−p,v−p⟩L2≤0for every v∈K.
Taking v=un and expanding by linearity of the pairing in the second argument (claim 4 of The Lebesgue Space of Square-Integrable Vector-Valued Functions is a Real Inner Product Space) gives
⟨u−p,un⟩L2≤⟨u−p,p⟩L2(n∈N).
By symmetry of the pairing (claim 4 of that lemma), ⟨u−p,un⟩L2=⟨un,u−p⟩L2, and weak convergence of (un)n∈N to u, applied to the test element u−p, says that the real sequence (⟨un,u−p⟩L2)n∈N has limit ⟨u,u−p⟩L2.
The constant sequence with value ⟨u−p,p⟩L2 has that value as its limit, and weak inequalities between convergent sequences are preserved in the limit by claim 1 (comparison) of Order Properties of Limits of Real Sequences. Hence
⟨u−p,u⟩L2≤⟨u−p,p⟩L2,
that is, again by linearity in the second argument, ⟨u−p,u−p⟩L2≤0. By claim 4 of the inner-product lemma the left-hand side equals ∥u−p∥L22, which is nonnegative; therefore ∥u−p∥L22=0, so ∥u−p∥L2=0 and u=p by claim 4 of that lemma. Since p∈K, this gives u∈K.