I want a reference (or proof) for the following Stone-Weierstrass type Theorem stated in Wikipedia, Section 2.2 .
Theorem Let $X,\tilde X $ be compact Hausdorff topological spaces and $f\in C(X\times\tilde X)$, space of real-valued continuous functions on $X\times \tilde X$ equipped with the supremum norm. Then for all $\epsilon>0$ $\exists N,\ \{g_n\}_{n=1}^N\subset C(X),\ \{\tilde g_n\}_{n=1}^N\subset C(\tilde X)$ such that $$ \| f-\sum_{n=1}^N g_n\tilde g_n\|\le\epsilon. $$