Definition 8.1 (Simple functions): for a function f : Ω → ℝ on a measurable-domain
subset Ω ⊆ ℝ^n, being simple means Ω is measurable, f is measurable, and f takes
only finitely many values (equivalently, f(Ω) is finite).
Equations
- IsSimpleFunction Ω f = (MeasurableSet Ω ∧ Measurable f ∧ (Set.range f).Finite)
Instances For
Helper for Lemma 8.1: simple functions are closed under pointwise addition.
Helper for Lemma 8.1: simple functions are closed under real scalar multiplication.
Lemma 8.1: simple functions are closed under pointwise addition and scalar multiplication.
Definition 8.2 (Characteristic function): for a measurable set Ω ⊆ ℝ^n and a
measurable subset E ⊆ Ω, the characteristic (indicator) function χ_E : Ω → ℝ is
χ_E(x) = 1 for x ∈ E and χ_E(x) = 0 for x ∉ E.
Instances For
Helper for Lemma 8.2: the ambient-space fibers of a measurable f : Ω → ℝ
are measurable and lie inside Ω.
Helper for Lemma 8.2: distinct fibers of coefficient values are disjoint.
Lemma 8.2: if f : Ω → ℝ is simple, then there are N : ℕ, coefficients
c : Fin N → ℝ, and pairwise disjoint measurable sets E i ⊆ Ω such that
f = ∑ i=1^N c_i χ_{E_i} on Ω.
In this file, IsSimpleFunction Ω f (Definition 8.1) already packages that Ω
is measurable, f is measurable, and f has finite range; the book's phrase
"simple, i.e. finitely many values" is used as shorthand.
Definition 8.3 (Lebesgue integral of a non-negative simple function): for
f : Ω → [0, ∞) simple, define
∫_Ω f dm = ∑_{λ ∈ f(Ω), λ > 0} λ * m({x ∈ Ω | f x = λ}).
Equations
- lebesgueIntegralNonnegSimple f = ∑ r ∈ ⋯.toFinset with 0 < r, ENNReal.ofReal r * MeasureTheory.volume (Subtype.val '' (↑f ⁻¹' {r}))
Instances For
Helper for Proposition 8.1.1: the integral sum is zero exactly when each positive-value fiber has zero ambient volume.
Helper for Proposition 8.1.1: each positive-value fiber is contained in the ambient nonzero
image of f.
Helper for Proposition 8.1.1: every ambient nonzero point belongs to a positive-value fiber
from the finite range of f.
Helper for Proposition 8.1.1: a finite union has zero volume when each indexed piece has zero volume.
Proposition 8.1.1: for a non-negative simple function f on Ω, one has
0 ≤ ∫_Ω f dm ≤ ∞; moreover ∫_Ω f dm = 0 iff m({x ∈ Ω | f(x) ≠ 0}) = 0.
Helper for Lemma 8.3: each approximation x ↦ (eapprox f k x).toReal is a simple function
on Ω.
Helper for Lemma 8.3: toReal ∘ eapprox is pointwise nonnegative and monotone in the
approximation index.
Helper for Lemma 8.3: converting eapprox to ℝ and back with ofReal recovers the
original ENNReal value.
Helper for Lemma 8.3: ENNReal.ofReal applied to toReal ∘ eapprox converges pointwise to
f.
Lemma 8.3: if Ω ⊆ ℝ^n is measurable and f : Ω → [0, +∞] is measurable, then there
exists a sequence (f_n) of nonnegative simple functions f_n : Ω → ℝ such that
(i) 0 ≤ f_n ≤ f_{n+1} pointwise, and
(ii) for every x ∈ Ω, f_n x converges to f x in [0, +∞] (via ENNReal.ofReal).
Helper for Lemma 8.4: if x ∈ E i, pairwise disjointness makes the
indicator expansion collapse to c i.
Helper for Lemma 8.4: for positive r, membership in the r-fiber is
equivalent to lying in some E i with coefficient c i = r.
Helper for Lemma 8.4: each positive fiber has measure equal to the sum of
the measures of those E i whose coefficients equal that value.
Helper for Lemma 8.4: replacing positive values in the range of f by
positive values in the coefficient-image changes only zero terms.
Helper for Lemma 8.4: regrouping the coefficient-filtered double sum gives the direct index-sum formula.
Lemma 8.4: if a nonnegative simple function on Ω is represented by a finite
pairwise-disjoint indicator expansion ∑ c_i χ_{E_i}, then its integral is
∑ c_i m(E_i).