For S⊂X compact and a x∈S Show ∃ε>0, s.t. y∈Sinfd(x,y)≥ε>0 Then according to d(x,y) is continue, we can say f(y)=−d(x,y) is also continue. After that we can say (∃y0)y∈Ssupf(y)=f(y0) is true by Thm 28 OH. According to x∈S, we can say f(y0)=0 is true. Hence we can take ε=d(x,y0) and y∈Sinfd(x,y)≥ε=d(x,y0)>0 is true. □