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!


(Thank you Izaak, brain wasn't online) Quotients of Hausdorff topological groups by closed subgroups are themselves Hausdorff, so $Q$ is a compact subset of a Hausdorff space, and thus is closed. By continuity of $p$, $p^{-1}(Q)$ is hence a closed set, so the intersection of it with a compact set is thus compact. You are correct that $p^{-1}(Q)$ is not necessarily compact.