Commit 2021-05-01 20:07 ea379b09
View on Github →feat(topology/continuous_function): the Stone-Weierstrass theorem (#7305)
The Stone-Weierstrass theorem
If a subalgebra A of C(X, ℝ), where X is a compact Hausdorff space,
separates points, then it is dense.
We argue as follows.
- In any subalgebra AofC(X, ℝ), iff ∈ A, thenabs f ∈ A.topological_closure. This follows from the Weierstrass approximation theorem on[-∥f∥, ∥f∥]by approximatingabsuniformly thereon by polynomials.
- This ensures that A.topological_closureis actually a sublattice: if it containsfandg, then it contains the pointwise supremumf ⊔ gand the pointwise infimumf ⊓ g.
- Any nonempty sublattice LofC(X, ℝ)which separates points is dense, by a nice argument approximating a givenfabove and below using separating functions. For eachx y : X, we pick a functiong x y ∈ Lsog x y x = f xandg x y y = f y. By continuity these functions remain close tofon small patches aroundxandy. We use compactness to identify a certain finitely indexed infimum of finitely indexed supremums which is then close tofeverywhere, obtaining the desired approximation.
- Finally we put these pieces together. L = A.topological_closureis a nonempty sublattice which separates points sinceAdoes, and so is dense (in fact equal to⊤).
Future work
Prove the complex version for self-adjoint subalgebras A, by separately approximating
the real and imaginary parts using the real subalgebra of real-valued functions in A
(which still separates points, by taking the norm-square of a separating function).
Extend to cover the case of subalgebras of the continuous functions vanishing at infinity,
on non-compact Hausdorff spaces.