I have a question (I guess) regarding my proof below. I have a feeling it's not correct. Would someone kindly verify?
Let $(X,d)$ be a metric space, $a \in X$, $K \subseteq X$ such that $K$ is compact and $a \notin K$. Show that there there exists a neighborhood $V$ of $a$ and an open set $W \supseteq K$ such that $V \cap W = \emptyset$.
Proof. Let $(X,d)$ be a metric space, $a \in X$, $K \subseteq X$ such that $K$ is compact and $a \notin K$.Then, $a \in K^c$. [Note that $K$ compact $\Rightarrow$ $K$ closed $\Rightarrow K^c$ open.] So, $a$ is an interior point of $K^c$. Let $V$ be a neighborhood of $a$, then $N_V(a) \subseteq K^c$. Let $W$ be an open set such that $K \subseteq W$. Now, there are two possible cases:
If $a \in W-K$, then clearly $V \cap W \neq \emptyset$. (Since $W$ contains $a$ and is open, so it also contains $V$.
If $a \in W^c$, then $a \notin W$. So, we can find a neighborhood $V$ of $a$ such that $V \cap W = \emptyset.\ □$
Thank you for the help!