Assume that a profinite group $G$ is generated by $X$ as abstract group. Here $X$ is assumed to be a closed subset of $G$ such that $X=X^{-1}$ and $1\in X$. For each $n$ let $X_n$ be the set of all finite products $x_1^{\pm 1}\cdots x_{n}^{\pm 1}$ where $x_1,\cdots, x_n\in X$. It is clear that $$G=\bigcup_{n=1}^nX_n$$
How to prove that each $X_n$ is closed in $G$?
I think that it should be simple but I have not got an answer yet.
Thankssssss.