Proposition 4
Tag 0CF6, permanent. Cite it as [Bourbaki, Tag 0CF6].
General Topology, chapter X, § 4. Approximation of continuous real-valued functions
Let be a compact space, let be a closed subspace of , and let be a set of continuous real-valued functions on which separates the points of and is such that is the intersection of the sets as runs through . Then every continuous real-valued function on which is zero on can be uniformly approximated by polynomials without constant terms in the functions of .
Consider first the particular case in which consists of a single point . The hypotheses then imply that separates the points of ; for, if , then by hypothesis there is a function such that . Hence, for each and each continuous real-valued function on such that , there exists (Theorem 3) a polynomial in the functions of such that for all . In particular , so that
for all ; and since is a polynomial in the functions of with no constant term, the result is established in this case.
In the general case, consider the equivalence relation on whose classes are the set and the sets for . The quotient space is Hausdorff (Chapter I, § 8, no. 6, Proposition 15) and therefore compact. Let be the canonical mapping. Every continuous real-valued function on which vanishes on can be written in the form , where is a continuous real-valued function on which vanishes at the point . Applying the result already proved to the space and the point , we obtain the final result.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.