an open set in ) the Stone-Weierstrass theorem applies—in the case of real-valued functions, any subalgebra of that separates points and contains the constant functions (e.g., the subalgebra of polynomials) is dense.