I am going through the functional analysis book by John B. Conway. I have a problem
If $\{h\in\mathcal{H}:||h||\leq1\}$ is compact, show that $\text{dim}\mathcal{H}<\infty$.
Where $\mathcal{H}$ is Hilbert space. My proof is following :
Let $\mathcal{E}$ be an orthonormal basis of $\mathcal{H}$ with infinite cardinality, and let $$U:=\cup_{e\in\mathcal{E}}U_e:=\cup_{e\in\mathcal{E}}\{h\in\mathcal{H}:||h-e/2||\leq 1/200\}.$$ Then $U\subset \{h\in\mathcal{H}:||h||\leq 1\}$ because for all $h\in\mathcal{H}$, $$||h-e/2||<1/200\Rightarrow||h||=||h-e/2+e/2||\leq||h-e/2||+||e/2||<1$$ for some $e\in\mathcal{E}$. Now take open cover $\{V_e\}_{e\in\mathcal{E}}$ of $U$, where $$V_i:=\{h\in\mathcal{H}:||h-e/2||< 1/100\}.$$ Then $\{V_e\}_{e\in\mathcal{E}}$ is pairwise disjoint : let $e,e'\in\mathcal{E}$, $e\neq e'$, $h\in V_e$, and $h'\in V_{e'}$. Then $$\begin{align}||h-h'||&=||h-e/2+e/2-e'/2-(h'-e'/2)||\\&\geq\bigg|||h-e/2-(h'-e'/2)||-||e/2-e'/2||\bigg|\\&=\bigg|||h-e/2-(h'-e'/2)||-\frac{\sqrt{2}}{2}\bigg|\\&\geq\bigg|\frac{\sqrt{2}}{2}-\frac{1}{50}\bigg|>0.\end{align}$$ Therefore from $U$ is closed and $U$ is not compact, $U\subset\{h\in\mathcal{H}:||h||\leq 1\}$ is not compact.
Is my proof correct?