LeanMachineLearning

ProbabilityTheory.cond_prod_univ🔗

Lemma

From the authors

Conditioning a product measure on an event of the first coordinate amounts to conditioning the first measure.

Types
  • α : Type u_1mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
  • β : Type u_2mβ : MeasurableSpace β
Given
  • μ : MeasureTheory.Measure αA measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure.MeasureTheory.SFinite μA measure is called s-finite if it is a countable sum of finite measures.
  • ν : MeasureTheory.Measure βMeasureTheory.IsProbabilityMeasure νA measure μ is called a probability measure if μ univ = 1.
  • s : Set αA set is a collection of elements of some type α.
Then
(μ.prod ν)[|s ×ˢ Set.univ] = μ[|s].prod ν
Code
lemma cond_prod_univ {μ : Measure α} [SFinite μ] {ν : Measure β} [IsProbabilityMeasure ν]
    (s : Set α) :
    (μ.prod ν)[|s ×ˢ Set.univ] = (μ[|s]).prod ν
Proof
by
  simp only [cond, Measure.prod_prod, measure_univ, mul_one, Measure.prod_smul_left,
    ← Measure.prod_restrict, Measure.restrict_univ]

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10).

Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file · open it in the Lean web editor.

Dependency graph

Nothing to draw. Its statement rests on no other declaration in this project, and names nothing from a package left unaudited — so the graph is this declaration alone. That is the answer, not a missing picture.

Audit surface: 0 project declarations, 13 external constants

✓ Proved: no sorry anywhere in its closure

This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.