Conditional measures are densities #
cond_eq_withDensity: conditioning on an event is reweighting by the density
(μ s)⁻¹ on s and 0 off it — an exact measure equality with no
side conditions beyond measurability. The Radon-Nikodym facts
(rnDeriv_cond, rnDeriv_cond_ae_const) are its corollaries.
[UPSTREAM] candidates. Mathlib has no withDensity or rnDeriv
characterization of cond in either direction; its
Probability/ConditionalProbability.lean imports only measure typeclasses, so
the realistic upstream shape is a new leaf holding this file's three lemmas
(importing ConditionalProbability + WithDensity + Decomposition.Lebesgue,
the pattern of WithDensityFinite.lean), unless review pulls
cond_eq_withDensity alone into ConditionalProbability.lean at the cost of
one import.
The conditional measure μ[|s] is μ with density (μ s)⁻¹ on s and 0 off it.
The Radon-Nikodym derivative of the conditional measure μ[|s] with
respect to μ is (μ s)⁻¹ on s and 0 off it.
On its own event, the conditional measure's density is the constant (μ s)⁻¹.
Evaluation lemmas for conditionals #
Bounds and real-valued forms of cond at an event. [UPSTREAM] candidates
alongside the density characterization above.
Values of a conditional of a finite measure never exceed 1.
Conditional values are finite for finite measures.
Conditioning gives probability 1 to any superset of the conditioning event.
The conditional as a ratio of real-valued masses.
Total probability in real-valued form: a measurable conditioning event splits any event's mass.
In a finite discrete space, an event's mass is the sum of its atoms'
masses (the register of Mathlib.Probability.Decision.Risk.Countable).
The counting measure of an event in a finite discrete space is the
number of its atoms. Loop-safe as a simp rewrite (the right-hand side
contains no measure application).