If $X$ and $Y$ are compact subsets of $\mathbb R^n$, then $X+Y$ is compact.
Is the statement true in NLS.
"Since $X$ and $Y$ are compact then $X\times Y\subseteq\mathbb{R}^{2n}$ is compact, and use the continuity of the function $(x,y)\mapsto x+y$ and the fact that continuous images of compact sets are compact, to conclude that $X+Y$ is compact."
Can this idea be used?
I think it's a great idea. I even think it's a full proof, unless you need to prove that $(x,y)\to x+y$ is continuous, or that the product of two compact spaces is compact.