LeanMachineLearning

ProbabilityTheory.indepFun_cond_comp🔗

Lemma

No docstring.

Types
  • α : Type u_6mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
  • β : Type u_7mβ : MeasurableSpace β
  • γ : Type u_8mγ : MeasurableSpace γ
  • δ : Type u_9mδ : MeasurableSpace δMeasurableSingletonClass δA typeclass mixin for MeasurableSpaces such that each singleton is measurable.
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 : α → β
  • Y : α → γ
  • Z : γ → δ
  • z : δ
Assuming
  • hXY : IndepFun X Y μTwo functions are independent if the two measurable space structures they generate are independent.
  • hY : Measurable YA function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
  • hZ : Measurable Z
Then
IndepFun X Y μ[|ZY ⁻¹' {z}]
Code
lemma indepFun_cond_comp {α β γ δ : Type*} {mα : MeasurableSpace α} {mβ : MeasurableSpace β}
    {mγ : MeasurableSpace γ} {mδ : MeasurableSpace δ} [MeasurableSingletonClass δ] {μ : Measure α}
    {X : α → β} {Y : α → γ} (hXY : X ⟂ᵢ[μ] Y) (hY : Measurable Y)
    {Z : γ → δ} (hZ : Measurable Z) (z : δ) :
    X ⟂ᵢ[μ[|(Z ∘ Y) ⁻¹' {z}]] Y
Proof
by
  have h_preim : (Z ∘ Y) ⁻¹' {z} = Y ⁻¹' (Z ⁻¹' {z}) := by grind
  simp_rw [h_preim]
  exact indepFun_cond_of_indepFun hXY hY (hZ (measurableSet_singleton z))

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