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 conditioning on nested events up to null sets.
[UPSTREAM] candidates for Mathlib/Probability/ConditionalProbability.lean.
Evaluation lemmas for conditionals #
Conditioning on a subset that sheds only worlds outside e can only raise the conditional
probability of e.
The conditional as a ratio of real-valued masses.
Pushforwards and products #
Conditioning a pushforward on a set is pushing forward the conditional on its preimage.
Conditioning a product on an event of its first coordinate conditions the first factor.
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.
Conditioning is invariant under scaling the measure by a positive finite constant.
Normalizing after reweighting by f and again after reweighting by g is normalizing once
after reweighting by f * g, so two Bayesian updates compose.
Nested events #
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.
Conditioning on an event almost contained in another is conditioning the conditional.
One conditional is absolutely continuous with respect to another exactly when the first event is almost contained in the second.