Theorem 11.38 — continuous functions are dense in
ProvedRudin.ch11_continuous_denseanalysisapproximationmeasure-theory
If on and , there is a continuous function with .
Preamble
import Mathlib import Definitions.Def_Rudin_ch11_L2 open Filter Topology MeasureTheory
Formal statement
namespace Rudin
/-- Rudin, Theorem 11.38: the continuous functions are dense in `ℒ²` on `[a, b]`: for
`f ∈ ℒ²` on `[a, b]` and `ε > 0` there is a continuous `g` with `‖f - g‖₂ < ε`. -/
theorem ch11_continuous_dense (a b : ℝ) (hab : a ≤ b) (f : ℝ → ℝ)
(hf : MemL2 (volume.restrict (Set.Icc a b)) f) (ε : ℝ) (hε : 0 < ε) :
∃ g : ℝ → ℝ, Continuous g ∧
L2Norm (volume.restrict (Set.Icc a b)) (fun x => f x - g x) < ε := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 11, p. 326, Theorem 11.38
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be reals, let be Lebesgue measure restricted to the interval , let belong to — i.e. is measurable and — and let . Then there exists a function which is continuous on all of and satisfies
The approximation is measured only over ; nothing is asserted about the behaviour of outside, nor about having compact support or being bounded. The square root returns on negative arguments and the integral returns for non-integrable integrands, so the inequality is between a nonnegative real and .
Human review
Confirmed by the mission captain (proposal self-audit).