If is a compact metric space and is continuous, then is uniformly continuous.
Theorem
(Heine–Cantor Theorem)
Ordinary continuity allows to depend on the point . Uniform continuity demands a single that works everywhere on . Compactness is exactly the hypothesis needed to promote the former to the latter.