Theorem 7.32 — Stone–Weierstrass
DisprovedRudin.ch07_stone_weierstrassLet be an algebra of real continuous functions on a compact set . If separates points on and vanishes at no point of , then every real continuous function on lies in the uniform closure of : it is the uniform limit on of a sequence of members of .
import Mathlib import Definitions.Def_Rudin_ch07_families open Filter Topology
namespace Rudin
/-- Rudin, Theorem 7.32 (Stone–Weierstrass): let `A` be an algebra of real continuous functions
on a compact set `K`. If `A` separates points on `K` and vanishes at no point of `K`, then
the uniform closure of `A` on `K` contains every function that is continuous on `K`. -/
theorem ch07_stone_weierstrass {X : Type*} [MetricSpace X] (K : Set X) (hK : IsCompact K)
(A : Set (X → ℝ)) (halg : IsFunctionAlgebra A) (hcont : ∀ f ∈ A, ContinuousOn f K)
(hsep : SeparatesPointsOn A K) (hvan : VanishesAtNoPointOn A K) :
∀ g : X → ℝ, ContinuousOn g K → g ∈ UniformClosureOn A K := by sorry
end RudinRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be a metric space and compact. Let be a set of real-valued functions on such that:
- is an algebra: closed under pointwise sums, pointwise products, and multiplication by real scalars;
- every is continuous on (relative continuity; the members of are functions on all of but only their behaviour on is constrained);
- separates points on : for all with there is with ;
- vanishes at no point of : for every there is with .
Then for every function that is continuous on , belongs to the uniform closure of on — that is, there exists a sequence of members of with uniformly on .
The conclusion constrains only through uniform approximation on ; the approximating functions agree with nowhere in particular off . may be empty, in which case every trivially qualifies.
Confirmed by the mission captain (proposal self-audit).