Lemma 2.2
Let $(X,d)$ be a compact metric space and suppose that $U$ is a clopen subset of $X$.
There exists $\delta >0 $ s.t $d(x,y) \geq \delta $ $\forall x \in U $ and $y\in X-U $
Proof attempt
Suppose that it is not true then for all $\delta >0 $ $\exists x \in U $ and $\exists y\in X-U $s.t $d(x,y) < \delta $
Consider $d(x_i,y_i) <\frac{1}{i}$ pick a sub-sequence converging to $x$ then from the sequence $d(x,y_i)< \frac {1}{i} $ pick a sub-sequence converging to $y$. Then this pair $x,y$ has the property that for $\delta >0 $ we have $d(x,y) <\delta$ hence $x=y$ but this is a contradiction as if $ x\in U $ then $x\notin X-U$
Can anyone give a constructive proof? (ie not with negation)
Take $y \in U^c$. For each $n \ge 1$, let $E_n = \{x \in U : d(x,y) \ge \frac{1}{n}\}$. Each $E_n$ is closed and $\cap_{n \ge 1} E_n = \emptyset$. By compactness (and the fact that $E_n \subseteq E_m$ for $n \ge m$), some $E_N \not = \emptyset$.
For $n \ge 1$, let $F_n = \{y \not \in U : \exists x \in U, d(x,y) \le \frac{1}{n}\}$. Each $F_n$ is closed. The above shows that $\cap_n F_n \not = \emptyset$. Therefore, some $F_N \not = \emptyset$. We're done.