Proposition (closest-point projection)

Following the notation here, for all $v\in V$ and $w\in W$, $$ \begin{align*} \|v - \pi_W(v)\| \leq \|v - w\| \end{align*} $$ with equality iff $w=\pi_W(v)$.

Proof