I found a proof in the book Fourier Analysis On Number Fields that the closure of any subgroup is a subgroup, using the continuity argument along with the nets.
Nevertheless, the following proof seems also plausible, but is it valid?
Statement: If $H$ is a subgroup of a topological group $G$, then so is its closure in $G$.
Denote the closure of $H$ by $H^{closure}$. Let h,h' be two elements in $H^{closure}$, and let $U$ be a neighbourhood of the unity in $G$. Since h and h' lie in $H^{closure}$, there are elements a, a' in $U$ such that
ha$\in H$,
h'a'$\in H$.
Then, as the congugation function is continuous, the left and the right toplogies are the same, and hence there are b, b' $\in U$ such that
hah'a'= bhh'a'= bh"=h"b' $\in H$, where h" is in $H^{closure}H$ $\subseteq H^{closure}$.
As to $H^{closure}H$ $\subseteq H^{closure}$, take two elements e $\in H^{closure}$, f $\in H$, and $v$ in $V$, an arbitrary neighbourhood of unity in $G$. Then there is an element $g$ in $V$ such that
$efv=(eg)f \in HH \in H$.
So $H^{closure}H$ $\subseteq H^{closure}$.
C.Q.F.D.
The proof for the inversion is similar; is there any problem in the argument? Thank a lot here.