The L² truncation error of a square-integrable function vanishes
ProvedMeasureTheory.tendsto_integral_sq_sub_truncationTruncation converges in . If is measurable and is integrable, and denotes clipped to , then
This is the statement that bounded functions are dense in , in the concrete form given by truncation, which is the form used when a theorem proved for bounded observables is extended to square-integrable ones. The clipping map is chosen because it is simultaneously a contraction towards (so , giving the domination) and eventually the identity at each fixed point (so the pointwise limit is ).
Proof. Dominated convergence. For the domination, an inspection of the three cases , , gives whenever , hence , which is integrable by hypothesis. For the pointwise limit, fix and choose ; for every the clipping leaves unchanged, so the integrand is eventually identically at .
import Mathlib.MeasureTheory.Integral.Bochner.Set import Mathlib.MeasureTheory.Integral.DominatedConvergence open Filter MeasureTheory ProbabilityTheory open scoped ENNReal NNReal Topology
theorem MeasureTheory.tendsto_integral_sq_sub_truncation {X : Type*} [MeasurableSpace X]
(π : Measure X) [IsProbabilityMeasure π]
(f : X → ℝ) (hf : Measurable f) (hL2 : Integrable (fun x => (f x) ^ 2) π) :
Tendsto (fun K : ℕ => ∫ x, (f x - max (min (f x) (K : ℝ)) (-(K : ℝ))) ^ 2 ∂π)
atTop (𝓝 0) := by sorry