Conditional expectation of indicator functions #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file proves some results about the conditional expectation of an indicator function and as a corollary, also proves several results about the behaviour of the conditional expectation on a restricted measure.
Main result #
measure_theory.condexp_indicator
: Ifs
is am
-measurable set, then the conditional expectation of the indicator function ofs
is almost everywhere equal to the indicator ofs
of the conditional expectation. Namely,𝔼[s.indicator f | m] = s.indicator 𝔼[f | m]
a.e.
Auxiliary lemma for condexp_indicator
.
The conditional expectation of the indicator of a function over an m
-measurable set with
respect to the σ-algebra m
is a.e. equal to the indicator of the conditional expectation.
If the restriction to a m
-measurable set s
of a σ-algebra m
is equal to the restriction
to s
of another σ-algebra m₂
(hypothesis hs
), then μ[f | m] =ᵐ[μ.restrict s] μ[f | m₂]
.