The proof for Theorem 13.9 from "Introduction to Metric & Topological Spaces" by Wilson Sutherland. The definition for compact is that any open cover can be reduced to a finite open cover for a compact set.
I understand the proof, but I don't see why we need x > a.