So, we have that for particles in a central potential, the wavefunction can be expressed as: $$\psi(\mathbf{x})=R(r)Y^m_l(\theta,\phi)$$
Explanation (not crucial in the question):
$Y^m_l(\theta,\phi)$ are spherical harmonics (functions associated to the eigenvalues of the orbital angular momentum $\mathbf{L}^2$ and one of the components of $\mathbf{L}$). And $u(r)=rR(r)$ satisfy the following form Schrödinger equation: $$Eu(r)=-\frac{\hbar^2}{2\mu}\frac{d^2u(r)}{dr^2}+\left[V(r)+\frac{l(l+1)\hbar^2}{2\mu r^2}\right]u(r)$$ Source: Weinberg, S. (2015). Lectures on Quantum Mechanics. Cambridge: Cambridge University Press. doi:10.1017/CBO9781316276105
My question is:
In this case what is the dimensionality of the space $\mathcal{H}$ of the solutions?
On the one hand, the solutions in the particular case of the Hydrogen atom are products of Laguerre polynomials and Spherical Harmonics, which can be identified using the quantum numbers $n, l, m$, thus the states are linear combinations of $\varphi^m_{n,l}$, a countable set:$$\psi=\sum_{n,l,m}C_{n,l,m}\varphi^m_{n,l}$$
On the other hand, as functions, the $\psi(\mathbf{x})$ can be thought of as linear combinations of the position basis $\delta(\mathbf{x})$, since there are as many $\delta(\mathbf{x})$ as there are $\mathbf{x}\in \mathbb{R}^3$, this set is uncountable: $$\psi=\int_{\mathbb{R}^3}d\mathbf{x}\:C(\mathbf{x})\delta(\mathbf{x})$$
This baffles me since on the one hand we have that the basis is countable ($\aleph_0$-dimensional) and on the other the basis appears to be uncountable ($\aleph_1$-dimensional*). Clearly they can't both be right.
*assuming that the continuum hypothesis holds.