I have this lemma from "Kazhdan’s Property (T)" book (page 343 in the link).
Here, $G$ is locally compact and $H$ is a closed subgroup of $G$.
Can't really understand why $K$ is compact. The union is obviously compact, but $p^{-1}(Q)$ not necessarily.
Also, I understand why $p(K) \subseteq Q$, but the other direction is not clear to me.
Thanks!

