The Hilbert space projetion theorem is the following theorem:
Let $H$ be a Hilbert space and $C$ any closed convex subset. Then for $h \in H$ there exists a unique $c_0 \in C$ such that $\|h-c_0\| = \inf_{c\in C}\|h-c\|$.
Please could someone show me how to finish my idea for a proof?
Proof:
Note that $C$ is a closed set therefore $\inf_{c\in C}\|h-c\| = \min_{c\in C}\|h-c\|$, or in other words: there exists $c_0 \in C$ with $\|h-c_0\|=\min_{c\in C}\|h-c\|$. This shows existence.
We have to show uniqueness next. Let $c_0' \in C$ be another element with $\|h-c_0'\| = \min_{c\in C}\|h-c\|$.
We have not yet used that $C$ is convex and that $H$ is a Hilbert space. Convexity could mean we have to use that ${1\over 2}(c_0 + c_0')\in C$ but I can't proceed from there. That $H$ is a Hilbert space could mean we have to use the parallelogram identity. I tried to apply it to $\|c_0 - c_0'\|^2 = \|(c_0 - h) - (c_0'-h)\|^2$ to show it is zero but couldn't finish the idea either.