Let $E$ be a Hausdorff topological vector space. Then $K\subseteq E$ is compact if and only if $K$ is complete and precompact (i.e., the closure of $K$ in the completion $\hat{E}$ of $E$ is compact).
For the $\Leftarrow$-proof, we can say:$K$ is complete therefore $K=\overline{K}^{\hat{E}}$; $K$ is precompact, therefore $\overline{K}^{\hat{E}}$ is compact. We conclude that $K$ is compact.
Now, why is $K=\overline{K}^{\hat{E}}$? We know that there is an ismorphism $i:E\to\hat{E}$, so we can identify $K$ as a subset of $\hat{E}$, which shows $K\subseteq \overline{K}^{\hat{E}}$. For the other direction, I know that $K=\overline{K}^E$ (i.e., closed in the Hausdorff space $E$, since $K$ is complete). Is $\overline{K}^{\hat{E}}=\overline{K}^E$? Or $K=E\cap \overline{K}^{\hat{E}}$?
Thanks.