Density of simple functions #
Show that each Borel measurable function can be approximated pointwise by a sequence of simple functions.
Main definitions #
MeasureTheory.SimpleFunc.nearestPt (e : ℕ → α) (N : ℕ) : α →ₛ ℕ
: theSimpleFunc
sending eachx : α
to the pointe k
which is the nearest tox
amonge 0
, ...,e N
.MeasureTheory.SimpleFunc.approxOn (f : β → α) (hf : Measurable f) (s : Set α) (y₀ : α) (h₀ : y₀ ∈ s) [SeparableSpace s] (n : ℕ) : β →ₛ α
: a simple function that takes values ins
and approximatesf
.
Main results #
tendsto_approxOn
(pointwise convergence): Iff x ∈ s
, then the sequence of simple approximationsMeasureTheory.SimpleFunc.approxOn f hf s y₀ h₀ n
, evaluated atx
, tends tof x
asn
tends to∞
.
Notations #
α →ₛ β
(local notation): the type of simple functionsα → β
.
Pointwise approximation by simple functions #
nearestPtInd e N x
is the index k
such that e k
is the nearest point to x
among the
points e 0
, ..., e N
. If more than one point are at the same distance from x
, then
nearestPtInd e N x
returns the least of their indexes.
Equations
- One or more equations did not get rendered due to their size.
- MeasureTheory.SimpleFunc.nearestPtInd e 0 = MeasureTheory.SimpleFunc.const α 0
Instances For
nearestPt e N x
is the nearest point to x
among the points e 0
, ..., e N
. If more than
one point are at the same distance from x
, then nearestPt e N x
returns the point with the
least possible index.
Equations
Instances For
Approximate a measurable function by a sequence of simple functions F n
such that
F n x ∈ s
.
Equations
- MeasureTheory.SimpleFunc.approxOn f hf s y₀ h₀ n = (MeasureTheory.SimpleFunc.nearestPt (fun (k : ℕ) => Nat.casesOn k y₀ (Subtype.val ∘ TopologicalSpace.denseSeq ↑s)) n).comp f hf
Instances For
A continuous function with compact support on a product space can be uniformly approximated by simple functions. The subtlety is that we do not assume that the spaces are separable, so the product of the Borel sigma algebras might not contain all open sets, but still it contains enough of them to approximate compactly supported continuous functions.
A continuous function with compact support on a product space is measurable for the product sigma-algebra. The subtlety is that we do not assume that the spaces are separable, so the product of the Borel sigma algebras might not contain all open sets, but still it contains enough of them to approximate compactly supported continuous functions.