LeanMachineLearning

ProbabilityTheory.hasCondDistrib_prodMk_right_unique_iff🔗

Lemma

From the authors

Conditioning on a pair whose second component takes values in a type with a unique element is the same as conditioning on the first component.

Types
  • α : Type u_1mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
  • β : Type u_2mβ : MeasurableSpace β
  • Ω : Type u_4mΩ : MeasurableSpace Ω
  • δ : Type u_6mδ : MeasurableSpace δUnique δUnique α expresses that α is a type with a unique term default.
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.
  • X : α → β
  • Y : α → Ω
  • U : α → δ
  • η : Kernel × δ) ΩA kernel from a measurable space α to another measurable space β is a measurable function κ : α → Measure β.IsSFiniteKernel ηA kernel is s-finite if it can be written as the sum of countably many finite kernels.
Then
HasCondDistrib Y (fun ω => (X ω, U ω)) η μHasCondDistrib Y X (η.sectL default) μ
Code
lemma hasCondDistrib_prodMk_right_unique_iff {U : α → δ} {η : Kernel (β × δ) Ω}
    [IsSFiniteKernel η] :
    HasCondDistrib Y (fun ω ↦ (X ω, U ω)) η μ ↔ HasCondDistrib Y X (η.sectL default) μ
Proof
by
  have hU : U = fun _ ↦ default := funext fun _ ↦ Unique.eq_default _
  subst hU
  exact hasCondDistrib_measurableEmbedding_comp_right_iff
    (measurableEmbedding_prod_mk_right default)

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, 14 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.