Theorem 3 (Weierstrass-Stone)
Tag 0CF2, permanent. Cite it as [Bourbaki, Tag 0CF2].
General Topology, chapter X, § 4. Approximation of continuous real-valued functions
Let X be a compact space and let H be a set of continuous real-valued functions on X which separates the points of X. Then every continuous real-valued function on X can be uniformly approximated by polynomials (with real coefficients) in the functions of H.
An equivalent statement of the theorem is that any subalgebra of which contains the constant functions and separates the points of X is dense in .
Let be the set of all polynomials in the functions of H, and let be the closure of in . If g is any polynomial in n variables with real coefficients, then is a continuous mapping of into , which maps into , and therefore maps into (Chapter I, § 2, no. 1, Theorem 1). In particular, is a vector subspace of and evidently satisfies the first and third conditions of Theorem 2; we shall show that it also satisfies the second condition, and this will prove that .
Since every function is bounded in , it is enough to prove the following lemma:
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.