ProbabilityTheory.indepFun_cond_comp
No docstring.
-
α : 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 forMeasurableSpaces such that each singleton is measurable.
-
μ : 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 : δ
-
hXY : IndepFun X Y μTwo functions are independent if the two measurable space structures they generate are independent. -
hY : Measurable YA functionfbetween measurable spaces is measurable if the preimage of every measurable set is measurable. -
hZ : Measurable Z
IndepFun X Y μ[|Z ∘ Y ⁻¹' {z}]MeasurableSpace : Type u_6 → Type u_6A measurable space is a space equipped with a σ-algebra.
MeasurableSingletonClass : (α : Type u_6) → [MeasurableSpace α] → PropA typeclass mixin for `MeasurableSpace`s such that each singleton is measurable.
MeasureTheory.Measure : (α : Type u_5) → [MeasurableSpace α] → Type u_5A 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. The measure of a set `s`, denoted `μ s`, is an extended nonnegative real. The real-valued version is written `μ.real s`.
ProbabilityTheory.IndepFun : {Ω : Type u_1} →
{β : Type u_6} →
{γ : Type u_7} →
{_mΩ : MeasurableSpace Ω} →
[MeasurableSpace β] →
[MeasurableSpace γ] →
(Ω → β) → (Ω → γ) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.IndepFun._auto_1 → PropTwo functions are independent if the two measurable space structures they generate are independent. For a function `f` with codomain having measurable space structure `m`, the generated measurable space structure is `MeasurableSpace.comap f m`. We use the notation `f ⟂ᵢ[μ] g` for `IndepFun f g μ` (scoped in `ProbabilityTheory`).
Measurable : {α : Type u_1} → {β : Type u_2} → [MeasurableSpace α] → [MeasurableSpace β] → (α → β) → PropA function `f` between measurable spaces is measurable if the preimage of every measurable set is measurable.
ProbabilityTheory.cond : {Ω : Type u_1} → {m : MeasurableSpace Ω} → MeasureTheory.Measure Ω → Set Ω → MeasureTheory.Measure ΩThe conditional probability measure of measure `μ` on set `s` is `μ` restricted to `s` and scaled by the inverse of `μ s` (to make it a probability measure): `(μ s)⁻¹ • μ.restrict s`.
Function.comp : {α : Sort u} → {β : Sort v} → {δ : Sort w} → (β → δ) → (α → β) → α → δFunction composition, usually written with the infix operator `∘`. A new function is created from two existing functions, where one function's output is used as input to the other. Examples: * `Function.comp List.reverse (List.drop 2) [3, 2, 4, 1] = [1, 4]` * `(List.reverse ∘ List.drop 2) [3, 2, 4, 1] = [1, 4]` Conventions for notations in identifiers: * The recommended spelling of `∘` in identifiers is `comp`.
Set.preimage : {α : Type u} → {β : Type v} → (α → β) → Set β → Set αThe preimage of `s : Set β` by `f : α → β`, written `f ⁻¹' s`, is the set of `x : α` such that `f x ∈ s`.
Singleton.singleton : {α : outParam (Type u)} → {β : Type v} → [self : Singleton α β] → α → β`singleton x` is a collection with the single element `x` (notation: `{x}`).
Conventions for notations in identifiers:
* The recommended spelling of `{x}` in identifiers is `singleton`.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}]] YProof
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.