I realized that I have become a bit rusty when it comes to the definition of a basis and have the following question:
Usually, a basis in a Hilbert space, denoted as $H$, is defined as an orthonormal set that is also a Schauder basis. In other words, it's a set $B := (e_i | i \in I) \subset H$, where $I$ may have any cardinality, and $\langle e_i, e_j \rangle = \delta_{ij}$ for all $i$ and $j$, such that $\mathrm{span} (B) := \left(\sum_{j \in J} c_j e_j \bigg| J \subset I, |J| < \infty, \text{ and } c_j \in \mathbb{F} \text{ for all } j \in J \right)$ is dense in $H$.
Now, my question would be: Is the dimension of a Hilbert space the number of elements in $B$? (Is this then well-defined because if there is another such basis, is the number then automatically the same etc.)
And does such a basis always exist for a Hilbert space? (Maybe this can be done with Zorn's Lemma?)
Perhaps some seasoned mathematicians can provide me with a quick answer to these questions to help me gain more clarity.