If $X$ is compact Hausdorf and $A$ is closed than $Y=A^c$ is locally compact
I attempted this question but I am not sure of my solution and whether it can be simplified if correct.
Take $y\in Y$, as $X$ is compact it is locally compact and there is a compact set $y \in K \subseteq X$, I want to show that $\tilde K = K\cap Y$ is also compact. Let $\tilde K\subseteq \bigcup_\alpha (U_\alpha \cap Y)$ be a covering of $\tilde K$, then we can add to this covering $K\cap A$ and then intersect with $Y$ to get the empty set: $\tilde K \subseteq (\bigcup_\alpha U_\alpha \cup (K\cap A)) \cap Y$. Now I can look at the expression before taking the intersection with $Y$, since $K\cap A$ is closed in a regular space (since it is compact Hausdorf), there is an open set $K\cap A\subseteq U$. Since $K\subseteq \bigcup_\alpha U_\alpha \cup U$ is a an open cover there is a finite subcover $K\subseteq \bigcup _iU_i$ and $\tilde K \subseteq (\bigcup_i U_i) \cap Y$.
Is this correct?