Stone-Weierstrass theorem

A broad generalization of the classical Weierstrass theorem on the approximation of functions, due to M.H. Stone (1937). Let C(X) be the ring of continuous functions on a compact X with the topology of uniform convergence, i.e. the topology generated by the norm

f=maxxX|f(x)|,fC(X),

and let C0C(X) be a subring containing all constants and separating the points of X, i.e. for any two different points x1,x2X there exists a function fC0 for which f(x1)f(x2). Then [C0]=C(X), i.e. every continuous function on X is the limit of a uniformly converging sequence of functions in C0.