I've seen, during some proofs, in many texts an argument as the following:
Consider $x\in H,$ $x\neq 0,$ $H$ a complex Hilbert space. The orthonormal set $\{\frac{x}{||x||}\}$ can be extended to an orthonormal basis of $H.$
Another kind of is: if $\{e_{1},\ldots,e_{n}\}$ is an orthonormal set, then such set can be extended to an orthonormal basis.
I know that every Hilbert space has orthonormal basis. Even more, if $H$ is separable, then every orthonormal basis has to be numerable.
I was thinking, in the last case, if we have an independent set, we can use Gram-Schmidt process to get the desire basis, but what about in the above cases? I begin to believe in the use of Zorn's lemma, but I'm not sure.
Any kind of help is thanked in advanced.