The real-valued conditional measure formula
ProvedProbabilityTheory.cond_real_applyConditional probability, in real-valued form.
For a measurable set and any set ,
stated with the real-valued measure throughout: .
This is the definition of conditioning, but having it in rather than
is what makes it usable. Probabilistic and information-theoretic arguments work in ,
where subtraction and logarithms are available; the ENNReal form would require establishing
finiteness before every manipulation.
The identity holds with no hypothesis that : when the inverse is by Mathlib's convention and both sides vanish, so the degenerate case needs no separate treatment.
Formalization note. μ[|s] is ProbabilityTheory.cond μ s and μ.real t is
(μ t).toReal; measurability of is needed for the restriction defining the conditional
measure.
Preamble
import Mathlib
Formal statement
namespace ProbabilityTheory
open MeasureTheory ProbabilityTheory in
theorem cond_real_apply {Ω : Type*} {_ : MeasurableSpace Ω} {s : Set Ω}
(hms : MeasurableSet s) (μ : Measure Ω) (t : Set Ω) :
μ[|s].real t = (μ.real s)⁻¹ * μ.real (s ∩ t) := by sorry
end ProbabilityTheorySource
Adapted from the Polynomial Freiman–Ruzsa (PFR) project (Terence Tao and contributors, Apache-2.0), as vendored in `Salt/Entropy/` of the Salt project, https://github.com/jyh/salt (Apache-2.0, Jason Hickey).