I need to decide if this statement is true or false:
" Every Lie subgroup of non-abelian compact Lie group is compact."
I think that it is false. I thought in a counterexample in which the center is discrete and infinite. Let $G=\prod_{n=1}^{\infty}SU(2)$. By Tychonoff theorem $G$ is compact (since $SU(2)$ is compact). But since $Z(SU(2))\cong \mathbb{Z}_{2}$ (cyclic group of order two) then $Z(G)\cong \prod_{n=1}^{\infty}\mathbb{Z}_{2}$ which is infinite and discrete. Therefore although $G$ is compact, its center (which is a closed Lie subgroup) is not compact. This example is right? Thanks!!