Let $V$ be a vector space. Let $H_{1}$ and $H_{2}$ be two Hilbert spaces contained in $V$. Suppose some orthonormal basis of $H_{1}$ is also an orthonormal basis of $H_{2}$. Is $H_{1}=H_{2}$?
My approach:
Suppose $f$ is in $H_{1}$. Then there exists $\{f_{n}\}$, in the linear span of the orthonormal basis, such that $f_{n}\to f$. Now $\{f_{n}\}$ is also Cauchy in $H_{2}$. But $f_{n}$ may converge to $g$ (wrt the norm on $H_{2}$) that need not be equal to $f$. How can I show that $H_{1}\subseteq H_{2}$ and vice versa?
I have figured out that if both $H_{1}$ and $H_{2}$ are an RKHS then $H_{1}=H_{2}$. That is by norm convergence imply pointwise convergence in an RKHS. Proof: Suppose $f_{n}$ converges to f in $H_{1}$ and $f_{n}$ converges to g in $H_{2}$. Then norm convergence imply pointwise convergence. this implies $f_{n}(x)\to f(x)$ for all $x\in H_{1}$ and similiarly $f_{n}(x)\to g(x)$ for all $x\in H_{2}$. Then f=g.
I am not able to think of any counterexample so far. Kindly help me in this.