Let $H$ be a Hilbert space. I am trying to prove the Riesz theorem, but without using the orthogonal projection theorem.
Let $f: H \longrightarrow K$ be a functional. The key is that since $f$ is continuous, $\ker f$ is closed and we can use the orthogonal projection theorem to find a (nonzero) element in $(\ker f)^\perp $.
But, could I find a (nonzero) element in $(\ker f)^\perp $ without that theorem?
My attempt: since in $(\ker f)$ is closed and has codim 1, it turns out that $H= \ker f \oplus K $. I suspect that I could find that $(\ker f)^\perp \neq 0$ from that, but I don't know how to do it.