Let $H_1, H_2$ be Hilbert spaces and consider their Hilbert space tensor product $$H_1 \hat{\otimes} H_2$$ which is the completion of the algebraic tensor product $H_1 \otimes H_2$ with respect to the unique inner product on $H_1 \otimes H_2$ satisfying $$\langle x \otimes y, x' \otimes y'\rangle = \langle x , x' \rangle \langle y, y'\rangle$$
If $E_1$ is an orthonormal basis for $H_1$ and $E_2$ is an orthonormal basis for $H_2$, I proved that $$E_1 \otimes E_2:= \{x \otimes y: x \in E_1, y\in E_2\}$$ is an orthonormal basis for $H_1 \hat{\otimes} H_2$. From this, I want to deduce that $$\dim(H_1 \hat{\otimes} H_2 ) = \dim (H_1) \dim (H_2)$$ (product of cardinal numbers). I see that it suffices to check that the map $$E_1 \times E_2 \to E_1 \otimes E_2: (x,y) \mapsto x \otimes y$$ is injective, but I can't see why this holds: $$x \otimes y = x' \otimes y' \implies x= x', y = y'$$ must not be true for general pure tensors, but maybe because we have the orthogonality we can say something more?