Let $(V,\left \langle .,. \right \rangle)$ be a space of Hilbert and $F\in V'$. Then $U=\{v\in V: F(v)=0\}$ is a closed subspace of $V$.
I have thought of doing the following: Let's take $\{x_n\}_n\subset U$ a sequence and prove that $x_n\to x$ in $U$. Note that $F(x_n)=0$ for all $n\in \mathbb{N}$ so $F(x_n)\to 0$. But I don't know how to prove that $\{x_n\}_n$ converges and that this limit is an element of $U$, any idea? Thank you!
An alternative way is to see that $U=F^{-1}(\{0\})$ and $\{0\}$ is a closed set and the pre-image of a closed set of a continuity map is still closed.