LeanMachineLearning

ProbabilityTheory.indepFun_cond_preimage_singleton_right🔗

Lemma

From the authors

Under μ conditioned on the event X = b, the random variable X is almost surely constant, hence independent of any other random variable.

Types
  • α : Type u_6mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
  • β : Type u_7mβ : MeasurableSpace βMeasurableSingletonClass βA typeclass mixin for MeasurableSpaces such that each singleton is measurable.
  • γ : Type u_8mγ : 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.
  • X : α → β
  • b : β
  • Y : α → γ
Assuming
  • hX : Measurable XA function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
Then
IndepFun Y X μ[|X ⁻¹' {b}]
Two functions are independent if the two measurable space structures they generate are independent.
Code
lemma indepFun_cond_preimage_singleton_right {α β γ : Type*} {mα : MeasurableSpace α}
    {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ} [MeasurableSingletonClass β] {μ : Measure α}
    {X : α → β} (hX : Measurable X) (b : β) (Y : α → γ) :
    Y ⟂ᵢ[μ[|X ⁻¹' {b}]] X
Proof
(indepFun_cond_preimage_singleton_left hX b Y).symm

Meaning last changed in v4.35.0-rc2-1-g61e506b (2026-09-22), the 2th recorded change.

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