Completeness of C(K) under the sup norm

On a compact metric space K, the space of continuous functions is complete in the sup metric
Completeness of C(K) under the sup norm

Let (K,d)(K,d) be a and let C(K,R)C(K,\mathbb{R}) denote the set of f:KRf:K\to\mathbb{R}.

Define the by f=supxKf(x), \|f\|_\infty=\sup_{x\in K}|f(x)|, and the induced metric d(f,g)=fg=supxKf(x)g(x). d_\infty(f,g)=\|f-g\|_\infty=\sup_{x\in K}|f(x)-g(x)|.

Theorem: The metric space (C(K,R),d)\bigl(C(K,\mathbb{R}),d_\infty\bigr) is .

This is the basic Banach-space fact behind many compactness and approximation arguments: sequences of continuous functions converge uniformly to a continuous function.