Conditional Probability #
This file provides the conditional probability API for probability theory, built on mathlib's conditional expectation infrastructure.
Main Definitions #
condProb μ m A: Conditional probability of eventAgiven σ-algebramDefined asμ[1_A | m](conditional expectation of the indicator)
Main Results #
condProb_ae_nonneg_le_one: Conditional probability takes values in [0,1] a.e.condProb_integral_eq: Integration property: ∫ P[A|m] over B equals μ(A ∩ B)condProb_univ,condProb_empty,condProb_compl: Basic properties
All proofs are complete with no sorries.
Conditional Probability #
Note: Many lemmas in this file explicitly include {m₀ : MeasurableSpace Ω} as a parameter
to work with multiple measurable space structures on Ω (e.g., m₀, m for conditioning). This makes
the section variable [MeasurableSpace Ω] unused for those lemmas, requiring set_option linter.unusedSectionVars false before each affected declaration.
Conditional probability of an event A given a σ-algebra m.
This is the conditional expectation of the indicator function of A.
We define it using mathlib's condexp applied to the indicator function.
Instances For
Conditional probability takes values in [0,1] almost everywhere.
Uniform bound: conditional probability is in [0,1] a.e. uniformly over A.
Conditional probability integrates to the expected measure on sets that are measurable with respect to the conditioning σ-algebra.