Conditional probability #
Lemmas on mathlib's conditional measure μ[|s] that mathlib does not state: monotonicity in
the conditioning event, real-valued forms, pushforwards and products, invariance under scaling
with the composition of two Bayesian updates, and nested events: ratios, the chain rule, and
conditioning up to null sets.
[UPSTREAM] candidates for Mathlib/Probability/ConditionalProbability.lean.
Evaluation lemmas for conditionals #
Pushforwards and products #
Sequential conditioning #
Conditioning is scale-invariant, so two Bayesian updates compose: reweighting by f,
normalizing, reweighting by g and normalizing again is one reweighting by f * g.
Nested events #
The conditional of an event given a larger one is the ratio of their masses, and conditionals of nested events chain. Conditioning sees an event only up to a null set, so conditioning on an event almost contained in another is conditioning the conditional, and the two conditionals are then comparable.