Theorem 7.26 — Weierstrass approximation theorem
ProvedRudin.ch07_weierstrass_approximationanalysisapproximation
If is a continuous complex function on , there is a sequence of polynomials with uniformly on .
Preamble
import Mathlib import Definitions.Def_Rudin_ch07_families open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 7.26 (Weierstrass approximation theorem): every continuous complex function
on `[a, b]` is the uniform limit on `[a, b]` of a sequence of polynomials. -/
theorem ch07_weierstrass_approximation (a b : ℝ) (hab : a ≤ b) (f : ℝ → ℂ)
(hf : ContinuousOn f (Set.Icc a b)) :
∃ P : ℕ → Polynomial ℂ,
TendstoUniformlyOn (fun n (x : ℝ) => (P n).eval (x : ℂ)) f atTop (Set.Icc a b) := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 7, p. 159, Theorem 7.26
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be reals and let be continuous on the closed interval (relative continuity at each of its points; no assumption elsewhere). Then there exists a sequence of polynomials with complex coefficients such that the functions
converge to uniformly on as .
No bound on the degrees is asserted, and nothing is claimed about approximation outside . The degenerate case is allowed.
Human review
Confirmed by the mission captain (proposal self-audit).