f-Rings and the Stone-Weierstrass Theorem

Using an appropriate notion of separating subring, it is shown that the classical Stone-Weierstrass Theorem for compact Hausdorff spaces is ultimately a result about f-rings. As an application the constructively valid Stone-Weierstrass Theorem for compact completely regular frames is obtained.