Bounded continuous functions are dense in Lᵖ
ProvedFamousTheorems.bounded_continuous_dense_Lp_6bBounded continuous functions are dense in . Let be a normal topological space with its Borel -algebra and a weakly regular measure on . Let be a real normed space such that or is second countable, and let . Then the bounded continuous functions form a dense subset of .
This is the standard approximation theorem of theory. It lets one prove an identity or inequality for continuous functions first and then extend it to all of . It is used for the continuity of translation in , for the Riemann–Lebesgue lemma, and for the density of test functions.
Formalization note. Mathlib's MeasureTheory.Lp.boundedContinuousFunction_dense. MeasureTheory.Lp.boundedContinuousFunction E p μ is the subgroup of consisting of the classes of bounded continuous functions. SecondCountableTopologyEither α E means that or is second countable. The hypothesis p ≠ ⊤ excludes , where the result fails.
import Mathlib
namespace FamousTheorems
theorem bounded_continuous_dense_Lp_6b {α : Type*} [TopologicalSpace α] [NormalSpace α] [MeasurableSpace α] [BorelSpace α]
(E : Type*) [NormedAddCommGroup E] [NormedSpace ℝ E] (μ : MeasureTheory.Measure α) [μ.WeaklyRegular]
{p : ENNReal} [Fact (1 ≤ p)] [SecondCountableTopologyEither α E] (hp : p ≠ ⊤) :
Dense (MeasureTheory.Lp.boundedContinuousFunction E p μ : Set (MeasureTheory.Lp E p μ)) := by sorry
end FamousTheorems