The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.Independence.Basic

182 declarations. Mathlib docs · Source

Independence of sets of sets and measure spaces (σ-algebras)

  • A family of sets of sets π : ι → Set (Set Ω) is independent with respect to a measure μ if for any finite set of indices s = {i_1, ..., i_n}, for any sets f i_1 ∈ π i_1, ..., f i_n ∈ π i_n, μ (⋂ i in s, f i) = ∏ i ∈ s, μ (f i). It will be used for families of π-systems.
  • A family of measurable space structures (i.e. of σ-algebras) is independent with respect to a measure μ (typically defined on a finer σ-algebra) if the family of sets of measurable sets they define is independent. I.e., m : ι → MeasurableSpace Ω is independent with respect to a measure μ if for any finite set of indices s = {i_1, ..., i_n}, for any sets f i_1 ∈ m i_1, ..., f i_n ∈ m i_n, then μ (⋂ i in s, f i) = ∏ i ∈ s, μ (f i).
  • Independence of sets (or events in probabilistic parlance) is defined as independence of the measurable space structures they generate: a set s generates the measurable space structure with measurable sets ∅, s, sᶜ, univ.
  • Independence of functions (or random variables) is also defined as independence of the measurable space structures they generate: a function f for which we have a measurable space m on the codomain generates MeasurableSpace.comap f m.

Main statements

  • iIndepSets.iIndep: if π-systems are independent as sets of sets, then the measurable space structures they generate are independent.
  • IndepSets.indep: variant with two π-systems.

Notation

  • X ⟂ᵢ[μ] Y for IndepFun X Y μ, independence of two random variables.
  • X ⟂ᵢ Y for IndepFun X Y volume.

These notations are scoped in the ProbabilityTheory namespace.

Implementation notes

The definitions of independence in this file are a particular case of independence with respect to a kernel and a measure, as defined in the file Kernel.lean.

We provide four definitions of independence:

  • iIndepSets: independence of a family of sets of sets pi : ι → Set (Set Ω). This is meant to be used with π-systems.
  • iIndep: independence of a family of measurable space structures m : ι → MeasurableSpace Ω,
  • iIndepSet: independence of a family of sets s : ι → Set Ω,
  • iIndepFun: independence of a family of functions. For measurable spaces m : Π (i : ι), MeasurableSpace (β i), we consider functions f : Π (i : ι), Ω → β i.

Additionally, we provide four corresponding statements for two measurable space structures (resp. sets of sets, sets, functions) instead of a family. These properties are denoted by the same names as for a family, but without the starting i, for example IndepFun is the version of iIndepFun for two functions.

The definition of independence for iIndepSets uses finite sets (Finset). See ProbabilityTheory.Kernel.iIndepSets. An alternative and equivalent way of defining independence would have been to use countable sets.

Most of the definitions and lemmas in this file list all variables instead of using the variable keyword at the beginning of a section, for example lemma Indep.symm {Ω} {m₁ m₂ : MeasurableSpace Ω} {_mΩ : MeasurableSpace Ω} {μ : measure Ω} ... . This is intentional, to be able to control the order of the MeasurableSpace variables. Indeed when defining μ in the example above, the measurable space used is the last one defined, here {_mΩ : MeasurableSpace Ω}, and not m₁ or m₂.

References

  • Williams, David. Probability with martingales. Cambridge university press, 1991. Part A, Chapter 4.

Deducing Indep from iIndep

π-system lemma

Independence of measurable spaces is equivalent to independence of generating π-systems.

Independence of measurable space structures implies independence of generating π-systems

Independence of generating π-systems implies independence of measurable space structures

Independence of measurable sets

We prove the following equivalences on IndepSet, for measurable sets s, t.

  • IndepSet s t μ ↔ μ (s ∩ t) = μ s * μ t,
  • IndepSet s t μ ↔ IndepSets {s} {t} μ.

Independence of random variables

def ProbabilityTheory.iIndepSets E1 #

{Ω : Type u_1} →
  {ι : Type u_2} →
    {_mΩ : MeasurableSpace Ω} →
      (ι → Set (Set Ω)) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.iIndepSets._auto_1 → Prop

A family of sets of sets π : ι → Set (Set Ω) is independent with respect to a measure μ if for any finite set of indices s = {i_1, ..., i_n}, for any sets f i_1 ∈ π i_1, ..., f i_n ∈ π i_n, then μ (⋂ i in s, f i) = ∏ i ∈ s, μ (f i) . It will be used for families of π-systems.

def ProbabilityTheory.IndepSets E1 #

{Ω : Type u_1} →
  {_mΩ : MeasurableSpace Ω} →
    Set (Set Ω) → Set (Set Ω) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.IndepSets._auto_1 → Prop

Two sets of sets s₁, s₂ are independent with respect to a measure μ if for any sets t₁ ∈ p₁, t₂ ∈ s₂, then μ (t₁ ∩ t₂) = μ (t₁) * μ (t₂)

def ProbabilityTheory.iIndep E3 #

{Ω : Type u_1} →
  {ι : Type u_2} →
    (ι → MeasurableSpace Ω) →
      {_mΩ : MeasurableSpace Ω} → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.iIndep._auto_1 → Prop

A family of measurable space structures (i.e. of σ-algebras) is independent with respect to a measure μ (typically defined on a finer σ-algebra) if the family of sets of measurable sets they define is independent. m : ι → MeasurableSpace Ω is independent with respect to measure μ if for any finite set of indices s = {i_1, ..., i_n}, for any sets f i_1 ∈ m i_1, ..., f i_n ∈ m i_n, then μ (⋂ i in s, f i) = ∏ i ∈ s, μ (f i).

def ProbabilityTheory.Indep E1 #

{Ω : Type u_1} →
  MeasurableSpace Ω →
    MeasurableSpace Ω →
      {_mΩ : MeasurableSpace Ω} → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.Indep._auto_1 → Prop

Two measurable space structures (or σ-algebras) m₁, m₂ are independent with respect to a measure μ (defined on a third σ-algebra) if for any sets t₁ ∈ m₁, t₂ ∈ m₂, μ (t₁ ∩ t₂) = μ (t₁) * μ (t₂)

def ProbabilityTheory.iIndepSet E3 #

{Ω : Type u_1} →
  {ι : Type u_2} →
    {_mΩ : MeasurableSpace Ω} →
      (ι → Set Ω) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.iIndepSet._auto_1 → Prop

A family of sets is independent if the family of measurable space structures they generate is independent. For a set s, the generated measurable space has measurable sets ∅, s, sᶜ, univ.

def ProbabilityTheory.IndepSet E1 #

{Ω : Type u_1} →
  {_mΩ : MeasurableSpace Ω} →
    Set Ω → Set Ω → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.IndepSet._auto_1 → Prop

Two sets are independent if the two measurable space structures they generate are independent. For a set s, the generated measurable space structure has measurable sets ∅, s, sᶜ, univ.

def ProbabilityTheory.iIndepFun E3 #

{Ω : Type u_1} →
  {ι : Type u_2} →
    {_mΩ : MeasurableSpace Ω} →
      {β : ι → Type u_6} →
        [m : (x : ι) → MeasurableSpace (β x)] →
          ((x : ι) → Ω → β x) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.iIndepFun._auto_1 → Prop

A family of functions defined on the same space Ω and taking values in possibly different spaces, each with a measurable space structure, is independent if the family of measurable space structures they generate on Ω is independent. For a function g with codomain having measurable space structure m, the generated measurable space structure is MeasurableSpace.comap g m.

def ProbabilityTheory.IndepFun E1 #

{Ω : Type u_1} →
  {β : Type u_6} →
    {γ : Type u_7} →
      {_mΩ : MeasurableSpace Ω} →
        [MeasurableSpace β] →
          [MeasurableSpace γ] →
            (Ω → β) → (Ω → γ) → autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.IndepFun._auto_1 → Prop

Two 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).

def ProbabilityTheory.«term_⟂ᵢ[_]_» E1 #

Lean.TrailingParserDescr

Two 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).

def ProbabilityTheory.«term_⟂ᵢ_» E1 #

Lean.TrailingParserDescr

Two 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).

theorem ProbabilityTheory.iIndepSets_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} (π : ι → Set (Set Ω)) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndepSets π μ ↔
    ∀ (s : Finset ι) {f : ι → Set Ω}, (∀ i ∈ s, f i ∈ π i) → μ (⋂ i ∈ s, f i) = ∏ i ∈ s, μ (f i)

theorem ProbabilityTheory.iIndepSets.meas_biInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.iIndepSets π μ →
    ∀ (s : Finset ι) {f : ι → Set Ω}, (∀ i ∈ s, f i ∈ π i) → μ (⋂ i ∈ s, f i) = ∏ i ∈ s, μ (f i)

theorem ProbabilityTheory.iIndepSets.isProbabilityMeasure E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.iIndepSets π μ → MeasureTheory.IsProbabilityMeasure μ

theorem ProbabilityTheory.iIndepSets.meas_iInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {s : ι → Set Ω} [inst : Fintype ι],
  ProbabilityTheory.iIndepSets π μ → (∀ (i : ι), s i ∈ π i) → μ (⋂ i, s i) = ∏ i, μ (s i)

theorem ProbabilityTheory.IndepSets_iff E0 #

∀ {Ω : Type u_1} {x : MeasurableSpace Ω} (s1 s2 : Set (Set Ω)) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.IndepSets s1 s2 μ ↔ ∀ (t1 t2 : Set Ω), t1 ∈ s1 → t2 ∈ s2 → μ (t1 ∩ t2) = μ t1 * μ t2

theorem ProbabilityTheory.iIndep_iff_iIndepSets E1 #

∀ {Ω : Type u_1} {ι : Type u_2} (m : ι → MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndep m μ ↔ ProbabilityTheory.iIndepSets (fun x ↦ {s | MeasurableSet s}) μ

theorem ProbabilityTheory.iIndep.iIndepSets' E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.iIndep m μ → ProbabilityTheory.iIndepSets (fun x ↦ {s | MeasurableSet s}) μ

theorem ProbabilityTheory.iIndep.isProbabilityMeasure E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.iIndep m μ → MeasureTheory.IsProbabilityMeasure μ

theorem ProbabilityTheory.iIndep_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} (m : ι → MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndep m μ ↔
    ∀ (s : Finset ι) {f : ι → Set Ω}, (∀ i ∈ s, MeasurableSet (f i)) → μ (⋂ i ∈ s, f i) = ∏ i ∈ s, μ (f i)

theorem ProbabilityTheory.iIndep.meas_biInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {S : Finset ι} {s : ι → Set Ω},
  ProbabilityTheory.iIndep m μ → (∀ i ∈ S, MeasurableSet (s i)) → μ (⋂ i ∈ S, s i) = ∏ i ∈ S, μ (s i)

theorem ProbabilityTheory.iIndep.meas_iInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {s : ι → Set Ω} [inst : Fintype ι],
  ProbabilityTheory.iIndep m μ → (∀ (i : ι), MeasurableSet (s i)) → μ (⋂ i, s i) = ∏ i, μ (s i)

theorem ProbabilityTheory.Indep_iff_IndepSets E1 #

∀ {Ω : Type u_1} (m₁ m₂ : MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.Indep m₁ m₂ μ ↔ ProbabilityTheory.IndepSets {s | MeasurableSet s} {s | MeasurableSet s} μ

theorem ProbabilityTheory.Indep_iff E0 #

∀ {Ω : Type u_1} (m₁ m₂ : MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.Indep m₁ m₂ μ ↔ ∀ (t1 t2 : Set Ω), MeasurableSet t1 → MeasurableSet t2 → μ (t1 ∩ t2) = μ t1 * μ t2

theorem ProbabilityTheory.iIndepSet_iff_iIndep E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} (s : ι → Set Ω) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndepSet s μ ↔ ProbabilityTheory.iIndep (fun i ↦ MeasurableSpace.generateFrom {s i}) μ

theorem ProbabilityTheory.iIndepSet.isProbabilityMeasure E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω},
  ProbabilityTheory.iIndepSet s μ → MeasureTheory.IsProbabilityMeasure μ

theorem ProbabilityTheory.iIndepSet_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} (s : ι → Set Ω) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndepSet s μ ↔
    ∀ (s' : Finset ι) {f : ι → Set Ω}, (∀ i ∈ s', MeasurableSet (f i)) → μ (⋂ i ∈ s', f i) = ∏ i ∈ s', μ (f i)

theorem ProbabilityTheory.IndepSet_iff_Indep E1 #

∀ {Ω : Type u_1} {x : MeasurableSpace Ω} (s t : Set Ω) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.IndepSet s t μ ↔
    ProbabilityTheory.Indep (MeasurableSpace.generateFrom {s}) (MeasurableSpace.generateFrom {t}) μ

theorem ProbabilityTheory.IndepSet_iff E0 #

∀ {Ω : Type u_1} {x : MeasurableSpace Ω} (s t : Set Ω) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.IndepSet s t μ ↔ ∀ (t1 t2 : Set Ω), MeasurableSet t1 → MeasurableSet t2 → μ (t1 ∩ t2) = μ t1 * μ t2

theorem ProbabilityTheory.iIndepFun_iff_iIndep E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {β : ι → Type u_7} (m : (x : ι) → MeasurableSpace (β x))
  (f : (x : ι) → Ω → β x) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndepFun f μ ↔ ProbabilityTheory.iIndep (fun x ↦ MeasurableSpace.comap (f x) (m x)) μ

theorem ProbabilityTheory.iIndepSets.of_subsingleton E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [Subsingleton ι]
  {m : ι → Set (Set Ω)} [MeasureTheory.IsProbabilityMeasure μ], ProbabilityTheory.iIndepSets m μ

theorem ProbabilityTheory.iIndep.of_subsingleton E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [Subsingleton ι]
  {m : ι → MeasurableSpace Ω} [MeasureTheory.IsProbabilityMeasure μ], ProbabilityTheory.iIndep m μ

theorem ProbabilityTheory.iIndepFun.of_subsingleton E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [Subsingleton ι]
  {β : ι → Type u_7} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i}
  [MeasureTheory.IsProbabilityMeasure μ], ProbabilityTheory.iIndepFun f μ

theorem ProbabilityTheory.iIndepFun.iIndep E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {κ : ι → Type u_5} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {m : (i : ι) → MeasurableSpace (κ i)} {f : (x : ι) → Ω → κ x},
  ProbabilityTheory.iIndepFun f μ → ProbabilityTheory.iIndep (fun x ↦ MeasurableSpace.comap (f x) (m x)) μ

theorem ProbabilityTheory.iIndepFun_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {β : ι → Type u_7} (m : (x : ι) → MeasurableSpace (β x))
  (f : (x : ι) → Ω → β x) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.iIndepFun f μ ↔
    ∀ (s : Finset ι) {f' : ι → Set Ω}, (∀ i ∈ s, MeasurableSet (f' i)) → μ (⋂ i ∈ s, f' i) = ∏ i ∈ s, μ (f' i)

theorem ProbabilityTheory.iIndepFun.meas_biInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {κ : ι → Type u_5} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {S : Finset ι}
  {s : ι → Set Ω} {m : (i : ι) → MeasurableSpace (κ i)} {f : (x : ι) → Ω → κ x},
  ProbabilityTheory.iIndepFun f μ → (∀ i ∈ S, MeasurableSet (s i)) → μ (⋂ i ∈ S, s i) = ∏ i ∈ S, μ (s i)

theorem ProbabilityTheory.iIndepFun.meas_iInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {κ : ι → Type u_5} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω}
  [inst : Fintype ι] {m : (i : ι) → MeasurableSpace (κ i)} {f : (x : ι) → Ω → κ x},
  ProbabilityTheory.iIndepFun f μ → (∀ (i : ι), MeasurableSet (s i)) → μ (⋂ i, s i) = ∏ i, μ (s i)

theorem ProbabilityTheory.IndepFun_iff_Indep E1 #

∀ {Ω : Type u_1} {β : Type u_3} {γ : Type u_4} {x : MeasurableSpace Ω} [mβ : MeasurableSpace β] [mγ : MeasurableSpace γ]
  (f : Ω → β) (g : Ω → γ) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.IndepFun f g μ ↔ ProbabilityTheory.Indep (MeasurableSpace.comap f mβ) (MeasurableSpace.comap g mγ) μ

theorem ProbabilityTheory.IndepFun_iff E0 #

∀ {Ω : Type u_1} {x : MeasurableSpace Ω} {β : Type u_7} {γ : Type u_8} [mβ : MeasurableSpace β] [mγ : MeasurableSpace γ]
  (f : Ω → β) (g : Ω → γ) (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.IndepFun f g μ ↔ ∀ (t1 t2 : Set Ω), MeasurableSet t1 → MeasurableSet t2 → μ (t1 ∩ t2) = μ t1 * μ t2

theorem ProbabilityTheory.IndepFun.meas_inter E1 #

∀ {Ω : Type u_1} {β : Type u_3} {γ : Type u_4} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [mβ : MeasurableSpace β] [mγ : MeasurableSpace γ] {f : Ω → β} {g : Ω → γ},
  ProbabilityTheory.IndepFun f g μ → ∀ {s t : Set Ω}, MeasurableSet s → MeasurableSet t → μ (s ∩ t) = μ s * μ t

theorem ProbabilityTheory.iIndepSets.precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι},
  Function.Injective g → ProbabilityTheory.iIndepSets π μ → ProbabilityTheory.iIndepSets (π ∘ g) μ

theorem ProbabilityTheory.iIndepSets.of_precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι},
  Function.Surjective g → ProbabilityTheory.iIndepSets (π ∘ g) μ → ProbabilityTheory.iIndepSets π μ

theorem ProbabilityTheory.iIndepSets_precomp_of_bijective E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {π : ι → Set (Set Ω)} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι},
  Function.Bijective g → (ProbabilityTheory.iIndepSets (π ∘ g) μ ↔ ProbabilityTheory.iIndepSets π μ)

theorem ProbabilityTheory.iIndep.precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι}, Function.Injective g → ProbabilityTheory.iIndep m μ → ProbabilityTheory.iIndep (m ∘ g) μ

theorem ProbabilityTheory.iIndep.of_precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι},
  Function.Surjective g → ProbabilityTheory.iIndep (m ∘ g) μ → ProbabilityTheory.iIndep m μ

theorem ProbabilityTheory.iIndep_precomp_of_bijective E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {ι' : Type u_6} {g : ι' → ι},
  Function.Bijective g → (ProbabilityTheory.iIndep (m ∘ g) μ ↔ ProbabilityTheory.iIndep m μ)

theorem ProbabilityTheory.iIndepSet.precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω} {ι' : Type u_6}
  {g : ι' → ι}, Function.Injective g → ProbabilityTheory.iIndepSet s μ → ProbabilityTheory.iIndepSet (s ∘ g) μ

theorem ProbabilityTheory.iIndepSet.of_precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω} {ι' : Type u_6}
  {g : ι' → ι}, Function.Surjective g → ProbabilityTheory.iIndepSet (s ∘ g) μ → ProbabilityTheory.iIndepSet s μ

theorem ProbabilityTheory.iIndepSet_precomp_of_bijective E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω} {ι' : Type u_6}
  {g : ι' → ι}, Function.Bijective g → (ProbabilityTheory.iIndepSet (s ∘ g) μ ↔ ProbabilityTheory.iIndepSet s μ)

theorem ProbabilityTheory.iIndepFun.precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι' : Type u_6} {g : ι' → ι}
  {β : ι → Type u_7} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  Function.Injective g → ProbabilityTheory.iIndepFun f μ → ProbabilityTheory.iIndepFun (fun i ↦ f (g i)) μ

theorem ProbabilityTheory.iIndepFun.of_precomp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι' : Type u_6} {g : ι' → ι}
  {β : ι → Type u_7} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  Function.Surjective g → ProbabilityTheory.iIndepFun (fun i ↦ f (g i)) μ → ProbabilityTheory.iIndepFun f μ

theorem ProbabilityTheory.iIndepFun_precomp_of_bijective E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {x : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι' : Type u_6} {g : ι' → ι}
  {β : ι → Type u_7} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  Function.Bijective g → (ProbabilityTheory.iIndepFun (fun i ↦ f (g i)) μ ↔ ProbabilityTheory.iIndepFun f μ)

theorem ProbabilityTheory.IndepSets.symm E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s₂ : Set (Set Ω)},
  ProbabilityTheory.IndepSets s₁ s₂ μ → ProbabilityTheory.IndepSets s₂ s₁ μ

theorem ProbabilityTheory.Indep.symm E1 #

∀ {Ω : Type u_1} {m₁ m₂ _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.Indep m₁ m₂ μ → ProbabilityTheory.Indep m₂ m₁ μ

theorem ProbabilityTheory.indep_bot_right E1 #

∀ {Ω : Type u_1} (m' : MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [MeasureTheory.IsZeroOrProbabilityMeasure μ], ProbabilityTheory.Indep m' ⊥ μ

theorem ProbabilityTheory.indep_bot_left E1 #

∀ {Ω : Type u_1} (m' : MeasurableSpace Ω) {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [MeasureTheory.IsZeroOrProbabilityMeasure μ], ProbabilityTheory.Indep ⊥ m' μ

theorem ProbabilityTheory.indepSet_empty_right E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsZeroOrProbabilityMeasure μ]
  (s : Set Ω), ProbabilityTheory.IndepSet s ∅ μ

theorem ProbabilityTheory.indepSet_empty_left E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsZeroOrProbabilityMeasure μ]
  (s : Set Ω), ProbabilityTheory.IndepSet ∅ s μ

theorem ProbabilityTheory.indepSets_of_indepSets_of_le_left E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s₂ s₃ : Set (Set Ω)},
  ProbabilityTheory.IndepSets s₁ s₂ μ → s₃ ⊆ s₁ → ProbabilityTheory.IndepSets s₃ s₂ μ

theorem ProbabilityTheory.indepSets_of_indepSets_of_le_right E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s₂ s₃ : Set (Set Ω)},
  ProbabilityTheory.IndepSets s₁ s₂ μ → s₃ ⊆ s₂ → ProbabilityTheory.IndepSets s₁ s₃ μ

theorem ProbabilityTheory.indep_of_indep_of_le_left E1 #

∀ {Ω : Type u_1} {m₁ m₂ m₃ _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.Indep m₁ m₂ μ → m₃ ≤ m₁ → ProbabilityTheory.Indep m₃ m₂ μ

theorem ProbabilityTheory.indep_of_indep_of_le_right E1 #

∀ {Ω : Type u_1} {m₁ m₂ m₃ _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.Indep m₁ m₂ μ → m₃ ≤ m₂ → ProbabilityTheory.Indep m₁ m₃ μ

theorem ProbabilityTheory.indep_of_indep_of_le E1 #

∀ {Ω : Type u_1} {m₁ m₂ m₃ m₄ _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.Indep m₁ m₂ μ → m₃ ≤ m₁ → m₄ ≤ m₂ → ProbabilityTheory.Indep m₃ m₄ μ

theorem ProbabilityTheory.iIndep_of_iIndep_of_le E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {m₁ m₂ : ι → MeasurableSpace Ω},
  ProbabilityTheory.iIndep m₂ μ → (∀ (i : ι), m₁ i ≤ m₂ i) → ProbabilityTheory.iIndep m₁ μ

theorem ProbabilityTheory.IndepSets.union E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s₂ s' : Set (Set Ω)},
  ProbabilityTheory.IndepSets s₁ s' μ → ProbabilityTheory.IndepSets s₂ s' μ → ProbabilityTheory.IndepSets (s₁ ∪ s₂) s' μ

theorem ProbabilityTheory.IndepSets.union_iff E0 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s₂ s' : Set (Set Ω)},
  ProbabilityTheory.IndepSets (s₁ ∪ s₂) s' μ ↔ ProbabilityTheory.IndepSets s₁ s' μ ∧ ProbabilityTheory.IndepSets s₂ s' μ

theorem ProbabilityTheory.IndepSets.iUnion E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)}
  {s' : Set (Set Ω)}, (∀ (n : ι), ProbabilityTheory.IndepSets (s n) s' μ) → ProbabilityTheory.IndepSets (⋃ n, s n) s' μ

theorem ProbabilityTheory.IndepSets.biUnion E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)}
  {s' : Set (Set Ω)} {u : Set ι},
  (∀ n ∈ u, ProbabilityTheory.IndepSets (s n) s' μ) → ProbabilityTheory.IndepSets (⋃ n ∈ u, s n) s' μ

theorem ProbabilityTheory.IndepSets.inter E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s₁ s' : Set (Set Ω)} (s₂ : Set (Set Ω)),
  ProbabilityTheory.IndepSets s₁ s' μ → ProbabilityTheory.IndepSets (s₁ ∩ s₂) s' μ

theorem ProbabilityTheory.IndepSets.iInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)}
  {s' : Set (Set Ω)}, (∃ n, ProbabilityTheory.IndepSets (s n) s' μ) → ProbabilityTheory.IndepSets (⋂ n, s n) s' μ

theorem ProbabilityTheory.IndepSets.bInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)}
  {s' : Set (Set Ω)} {u : Set ι},
  (∃ n ∈ u, ProbabilityTheory.IndepSets (s n) s' μ) → ProbabilityTheory.IndepSets (⋂ n ∈ u, s n) s' μ

theorem ProbabilityTheory.indepSets_singleton_iff E0 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s t : Set Ω},
  ProbabilityTheory.IndepSets {s} {t} μ ↔ μ (s ∩ t) = μ s * μ t

theorem ProbabilityTheory.indepSets_iff_singleton_indepSets E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {𝒜 ℬ : Set (Set Ω)},
  ProbabilityTheory.IndepSets 𝒜 ℬ μ ↔ ∀ A ∈ 𝒜, ProbabilityTheory.IndepSets {A} ℬ μ

theorem ProbabilityTheory.iIndepSets.indepSets E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)},
  ProbabilityTheory.iIndepSets s μ → ∀ {i j : ι}, i ≠ j → ProbabilityTheory.IndepSets (s i) (s j) μ

theorem ProbabilityTheory.iIndep.indep E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.iIndep m μ → ∀ {i j : ι}, i ≠ j → ProbabilityTheory.Indep (m i) (m j) μ

theorem ProbabilityTheory.iIndepFun.indepFun E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_6}
  {m : (x : ι) → MeasurableSpace (β x)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ → ∀ {i j : ι}, i ≠ j → ProbabilityTheory.IndepFun (f i) (f j) μ

theorem ProbabilityTheory.iIndep.iIndepSets E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {s : ι → Set (Set Ω)},
  (∀ (n : ι), m n = MeasurableSpace.generateFrom (s n)) →
    ProbabilityTheory.iIndep m μ → ProbabilityTheory.iIndepSets s μ

theorem ProbabilityTheory.Indep.indepSets E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s1 s2 : Set (Set Ω)},
  ProbabilityTheory.Indep (MeasurableSpace.generateFrom s1) (MeasurableSpace.generateFrom s2) μ →
    ProbabilityTheory.IndepSets s1 s2 μ

theorem ProbabilityTheory.IndepSets.indep E3 #

∀ {Ω : Type u_1} {m1 m2 _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [MeasureTheory.IsZeroOrProbabilityMeasure μ] {p1 p2 : Set (Set Ω)},
  m1 ≤ _mΩ →
    m2 ≤ _mΩ →
      IsPiSystem p1 →
        IsPiSystem p2 →
          m1 = MeasurableSpace.generateFrom p1 →
            m2 = MeasurableSpace.generateFrom p2 → ProbabilityTheory.IndepSets p1 p2 μ → ProbabilityTheory.Indep m1 m2 μ

theorem ProbabilityTheory.IndepSets.indep' E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsZeroOrProbabilityMeasure μ]
  {p1 p2 : Set (Set Ω)},
  (∀ s ∈ p1, MeasurableSet s) →
    (∀ s ∈ p2, MeasurableSet s) →
      IsPiSystem p1 →
        IsPiSystem p2 →
          ProbabilityTheory.IndepSets p1 p2 μ →
            ProbabilityTheory.Indep (MeasurableSpace.generateFrom p1) (MeasurableSpace.generateFrom p2) μ

theorem ProbabilityTheory.indepSets_piiUnionInter_of_disjoint E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set (Set Ω)}
  {S T : Set ι},
  ProbabilityTheory.iIndepSets s μ →
    Disjoint S T → ProbabilityTheory.IndepSets (piiUnionInter s S) (piiUnionInter s T) μ

theorem ProbabilityTheory.iIndepSet.indep_generateFrom_of_disjoint E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω},
  (∀ (n : ι), MeasurableSet (s n)) →
    ProbabilityTheory.iIndepSet s μ →
      ∀ (S T : Set ι),
        Disjoint S T →
          ProbabilityTheory.Indep (MeasurableSpace.generateFrom {t | ∃ n ∈ S, s n = t})
            (MeasurableSpace.generateFrom {t | ∃ k ∈ T, s k = t}) μ

theorem ProbabilityTheory.indep_iSup_of_disjoint E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  (∀ (i : ι), m i ≤ _mΩ) →
    ProbabilityTheory.iIndep m μ →
      ∀ {S T : Set ι}, Disjoint S T → ProbabilityTheory.Indep (⨆ i ∈ S, m i) (⨆ i ∈ T, m i) μ

theorem ProbabilityTheory.indep_iSup_of_directed_le E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {m1 _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [MeasureTheory.IsZeroOrProbabilityMeasure μ],
  (∀ (i : ι), ProbabilityTheory.Indep (m i) m1 μ) →
    (∀ (i : ι), m i ≤ _mΩ) → m1 ≤ _mΩ → Directed (fun x1 x2 ↦ x1 ≤ x2) m → ProbabilityTheory.Indep (⨆ i, m i) m1 μ

theorem ProbabilityTheory.iIndepSet.indep_generateFrom_lt E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [inst : Preorder ι]
  {s : ι → Set Ω},
  (∀ (n : ι), MeasurableSet (s n)) →
    ProbabilityTheory.iIndepSet s μ →
      ∀ (i : ι),
        ProbabilityTheory.Indep (MeasurableSpace.generateFrom {s i})
          (MeasurableSpace.generateFrom {t | ∃ j < i, s j = t}) μ

theorem ProbabilityTheory.iIndepSet.indep_generateFrom_le E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [inst : Preorder ι]
  {s : ι → Set Ω},
  (∀ (n : ι), MeasurableSet (s n)) →
    ProbabilityTheory.iIndepSet s μ →
      ∀ (i : ι) {k : ι},
        i < k →
          ProbabilityTheory.Indep (MeasurableSpace.generateFrom {s k})
            (MeasurableSpace.generateFrom {t | ∃ j ≤ i, s j = t}) μ

theorem ProbabilityTheory.iIndepSet.indep_generateFrom_le_nat E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ℕ → Set Ω},
  (∀ (n : ℕ), MeasurableSet (s n)) →
    ProbabilityTheory.iIndepSet s μ →
      ∀ (n : ℕ),
        ProbabilityTheory.Indep (MeasurableSpace.generateFrom {s (n + 1)})
          (MeasurableSpace.generateFrom {t | ∃ k ≤ n, s k = t}) μ

theorem ProbabilityTheory.indep_iSup_of_monotone E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {m1 _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [inst : SemilatticeSup ι] [MeasureTheory.IsZeroOrProbabilityMeasure μ],
  (∀ (i : ι), ProbabilityTheory.Indep (m i) m1 μ) →
    (∀ (i : ι), m i ≤ _mΩ) → m1 ≤ _mΩ → Monotone m → ProbabilityTheory.Indep (⨆ i, m i) m1 μ

theorem ProbabilityTheory.indep_iSup_of_antitone E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {m1 _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  [inst : SemilatticeInf ι] [MeasureTheory.IsZeroOrProbabilityMeasure μ],
  (∀ (i : ι), ProbabilityTheory.Indep (m i) m1 μ) →
    (∀ (i : ι), m i ≤ _mΩ) → m1 ≤ _mΩ → Antitone m → ProbabilityTheory.Indep (⨆ i, m i) m1 μ

theorem ProbabilityTheory.iIndepSets.piiUnionInter_of_notMem E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {π : ι → Set (Set Ω)} {a : ι}
  {S : Finset ι}, ProbabilityTheory.iIndepSets π μ → a ∉ S → ProbabilityTheory.IndepSets (piiUnionInter π ↑S) (π a) μ

theorem ProbabilityTheory.iIndepSets.iIndep E3 #

∀ {Ω : Type u_1} {ι : Type u_2} {m : ι → MeasurableSpace Ω} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  (∀ (i : ι), m i ≤ _mΩ) →
    ∀ (π : ι → Set (Set Ω)),
      (∀ (n : ι), IsPiSystem (π n)) →
        (∀ (i : ι), m i = MeasurableSpace.generateFrom (π i)) →
          ProbabilityTheory.iIndepSets π μ → ProbabilityTheory.iIndep m μ

The measurable space structures generated by independent pi-systems are independent.

theorem ProbabilityTheory.indepSet_iff_indepSets_singleton E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {s t : Set Ω},
  MeasurableSet s →
    MeasurableSet t →
      ∀ (μ : autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.indepSet_iff_indepSets_singleton._auto_1)
        [MeasureTheory.IsZeroOrProbabilityMeasure μ],
        ProbabilityTheory.IndepSet s t μ ↔ ProbabilityTheory.IndepSets {s} {t} μ

theorem ProbabilityTheory.indepSet_iff_measure_inter_eq_mul E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {s t : Set Ω},
  MeasurableSet s →
    MeasurableSet t →
      ∀ (μ : autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.indepSet_iff_measure_inter_eq_mul._auto_1)
        [MeasureTheory.IsZeroOrProbabilityMeasure μ], ProbabilityTheory.IndepSet s t μ ↔ μ (s ∩ t) = μ s * μ t

theorem ProbabilityTheory.IndepSet.measure_inter_eq_mul E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {s t : Set Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.IndepSet s t μ → μ (s ∩ t) = μ s * μ t

theorem ProbabilityTheory.IndepSets.indepSet_of_mem E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {s t : Set Ω} (S T : Set (Set Ω)),
  s ∈ S →
    t ∈ T →
      MeasurableSet s →
        MeasurableSet t →
          ∀ (μ : autoParam (MeasureTheory.Measure Ω) ProbabilityTheory.IndepSets.indepSet_of_mem._auto_1)
            [MeasureTheory.IsZeroOrProbabilityMeasure μ],
            ProbabilityTheory.IndepSets S T μ → ProbabilityTheory.IndepSet s t μ

theorem ProbabilityTheory.Indep.indepSet_of_measurableSet E1 #

∀ {Ω : Type u_1} {m₁ m₂ _mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω},
  ProbabilityTheory.Indep m₁ m₂ μ →
    ∀ {s t : Set Ω}, MeasurableSet s → MeasurableSet t → ProbabilityTheory.IndepSet s t μ

theorem ProbabilityTheory.indep_iff_forall_indepSet E1 #

∀ {Ω : Type u_1} {m₁ m₂ _mΩ : MeasurableSpace Ω} (μ : MeasureTheory.Measure Ω),
  ProbabilityTheory.Indep m₁ m₂ μ ↔
    ∀ (s t : Set Ω), MeasurableSet s → MeasurableSet t → ProbabilityTheory.IndepSet s t μ

theorem ProbabilityTheory.iIndep_comap_mem_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : ι → Set Ω},
  ProbabilityTheory.iIndep (fun i ↦ MeasurableSpace.comap (fun x ↦ x ∈ f i) ⊤) μ ↔ ProbabilityTheory.iIndepSet f μ

theorem ProbabilityTheory.iIndepSet.iIndep_comap_mem E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : ι → Set Ω},
  ProbabilityTheory.iIndepSet f μ → ProbabilityTheory.iIndep (fun i ↦ MeasurableSpace.comap (fun x ↦ x ∈ f i) ⊤) μ

Alias of the reverse direction of ProbabilityTheory.iIndep_comap_mem_iff.

theorem ProbabilityTheory.iIndepSets_singleton_iff E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {s : ι → Set Ω},
  ProbabilityTheory.iIndepSets (fun i ↦ {s i}) μ ↔ ∀ (t : Finset ι), μ (⋂ i ∈ t, s i) = ∏ i ∈ t, μ (s i)

theorem ProbabilityTheory.iIndepSet.meas_biInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : ι → Set Ω},
  ProbabilityTheory.iIndepSet f μ → ∀ (s : Finset ι), μ (⋂ i ∈ s, f i) = ∏ i ∈ s, μ (f i)

theorem ProbabilityTheory.iIndepSet_iff_iIndepSets_singleton E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : ι → Set Ω},
  (∀ (i : ι), MeasurableSet (f i)) → (ProbabilityTheory.iIndepSet f μ ↔ ProbabilityTheory.iIndepSets (fun i ↦ {f i}) μ)

theorem ProbabilityTheory.iIndepSet_iff_meas_biInter E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : ι → Set Ω},
  (∀ (i : ι), MeasurableSet (f i)) →
    (ProbabilityTheory.iIndepSet f μ ↔ ∀ (s : Finset ι), μ (⋂ i ∈ s, f i) = ∏ i ∈ s, μ (f i))

theorem ProbabilityTheory.iIndepSets.iIndepSet_of_mem E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {π : ι → Set (Set Ω)}
  {f : ι → Set Ω},
  (∀ (i : ι), f i ∈ π i) →
    (∀ (i : ι), MeasurableSet (f i)) → ProbabilityTheory.iIndepSets π μ → ProbabilityTheory.iIndepSet f μ

theorem ProbabilityTheory.indepFun_iff_measure_inter_preimage_eq_mul E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'},
  ProbabilityTheory.IndepFun f g μ ↔
    ∀ (s : Set β) (t : Set β'), MeasurableSet s → MeasurableSet t → μ (f ⁻¹' s ∩ g ⁻¹' t) = μ (f ⁻¹' s) * μ (g ⁻¹' t)

theorem ProbabilityTheory.IndepFun.measure_inter_preimage_eq_mul E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'},
  ProbabilityTheory.IndepFun f g μ →
    ∀ (s : Set β) (t : Set β'), MeasurableSet s → MeasurableSet t → μ (f ⁻¹' s ∩ g ⁻¹' t) = μ (f ⁻¹' s) * μ (g ⁻¹' t)

Alias of the forward direction of ProbabilityTheory.indepFun_iff_measure_inter_preimage_eq_mul.

theorem ProbabilityTheory.iIndepFun_iff_measure_inter_preimage_eq_mul E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_10} {β : ι → Type u_11}
  {m : (x : ι) → MeasurableSpace (β x)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ ↔
    ∀ (S : Finset ι) {sets : (i : ι) → Set (β i)},
      (∀ i ∈ S, MeasurableSet (sets i)) → μ (⋂ i ∈ S, f i ⁻¹' sets i) = ∏ i ∈ S, μ (f i ⁻¹' sets i)

theorem ProbabilityTheory.iIndepFun.measure_inter_preimage_eq_mul E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {ι : Type u_10} {β : ι → Type u_11}
  {m : (x : ι) → MeasurableSpace (β x)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    ∀ (S : Finset ι) {sets : (i : ι) → Set (β i)},
      (∀ i ∈ S, MeasurableSet (sets i)) → μ (⋂ i ∈ S, f i ⁻¹' sets i) = ∏ i ∈ S, μ (f i ⁻¹' sets i)

Alias of the forward direction of ProbabilityTheory.iIndepFun_iff_measure_inter_preimage_eq_mul.

theorem ProbabilityTheory.iIndepFun_congr E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {mβ : (i : ι) → MeasurableSpace (β i)} {f g : (i : ι) → Ω → β i},
  (∀ (i : ι), f i =ᵐ[μ] g i) → (ProbabilityTheory.iIndepFun f μ ↔ ProbabilityTheory.iIndepFun g μ)

theorem ProbabilityTheory.iIndepFun.congr E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {mβ : (i : ι) → MeasurableSpace (β i)} {f g : (i : ι) → Ω → β i},
  (∀ (i : ι), f i =ᵐ[μ] g i) → ProbabilityTheory.iIndepFun f μ → ProbabilityTheory.iIndepFun g μ

Alias of the forward direction of ProbabilityTheory.iIndepFun_congr.

theorem ProbabilityTheory.iIndepFun.comp E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {γ : ι → Type u_11} {mβ : (i : ι) → MeasurableSpace (β i)} {mγ : (i : ι) → MeasurableSpace (γ i)}
  {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    ∀ (g : (i : ι) → β i → γ i), (∀ (i : ι), Measurable (g i)) → ProbabilityTheory.iIndepFun (fun i ↦ g i ∘ f i) μ

theorem ProbabilityTheory.iIndepFun.comp₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {γ : ι → Type u_11} {mβ : (i : ι) → MeasurableSpace (β i)} {mγ : (i : ι) → MeasurableSpace (γ i)}
  {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    ∀ (g : (i : ι) → β i → γ i),
      (∀ (i : ι), AEMeasurable (f i) μ) →
        (∀ (i : ι), AEMeasurable (g i) (MeasureTheory.Measure.map (f i) μ)) →
          ProbabilityTheory.iIndepFun (fun i ↦ g i ∘ f i) μ

theorem ProbabilityTheory.indepFun_iff_indepSet_preimage E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} [MeasureTheory.IsZeroOrProbabilityMeasure μ],
  Measurable f →
    Measurable g →
      (ProbabilityTheory.IndepFun f g μ ↔
        ∀ (s : Set β) (t : Set β'),
          MeasurableSet s → MeasurableSet t → ProbabilityTheory.IndepSet (f ⁻¹' s) (g ⁻¹' t) μ)

theorem ProbabilityTheory.indepFun_iff_map_prod_eq_prod_map_map' E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'},
  AEMeasurable f μ →
    AEMeasurable g μ →
      MeasureTheory.SigmaFinite (MeasureTheory.Measure.map f μ) →
        MeasureTheory.SigmaFinite (MeasureTheory.Measure.map g μ) →
          (ProbabilityTheory.IndepFun f g μ ↔
            MeasureTheory.Measure.map (fun ω ↦ (f ω, g ω)) μ =
              (MeasureTheory.Measure.map f μ).prod (MeasureTheory.Measure.map g μ))

theorem ProbabilityTheory.indepFun_iff_map_prod_eq_prod_map_map E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} [MeasureTheory.IsFiniteMeasure μ],
  AEMeasurable f μ →
    AEMeasurable g μ →
      (ProbabilityTheory.IndepFun f g μ ↔
        MeasureTheory.Measure.map (fun ω ↦ (f ω, g ω)) μ =
          (MeasureTheory.Measure.map f μ).prod (MeasureTheory.Measure.map g μ))

theorem ProbabilityTheory.IndepFun.map_prod_eq_prod_map_map E0 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} [MeasureTheory.IsFiniteMeasure μ],
  AEMeasurable f μ →
    AEMeasurable g μ →
      ProbabilityTheory.IndepFun f g μ →
        MeasureTheory.Measure.map (fun ω ↦ (f ω, g ω)) μ =
          (MeasureTheory.Measure.map f μ).prod (MeasureTheory.Measure.map g μ)

Alias of the forward direction of ProbabilityTheory.indepFun_iff_map_prod_eq_prod_map_map.

theorem ProbabilityTheory.IndepFun.symm E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {x : MeasurableSpace β} {x_1 : MeasurableSpace β'},
  ProbabilityTheory.IndepFun f g μ → ProbabilityTheory.IndepFun g f μ

theorem ProbabilityTheory.IndepFun.congr E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} {f' : Ω → β} {g' : Ω → β'},
  ProbabilityTheory.IndepFun f g μ → f =ᵐ[μ] f' → g =ᵐ[μ] g' → ProbabilityTheory.IndepFun f' g' μ

theorem ProbabilityTheory.indepFun_prod E1 #

∀ {Ω : Type u_10} {Ω' : Type u_11} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {μ : MeasureTheory.Measure Ω}
  {ν : MeasureTheory.Measure Ω'} [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν]
  {𝓧 : Type u_12} {𝓨 : Type u_13} [inst : MeasurableSpace 𝓧] [inst_1 : MeasurableSpace 𝓨] {X : Ω → 𝓧} {Y : Ω' → 𝓨},
  Measurable X → Measurable Y → ProbabilityTheory.IndepFun (fun ω ↦ X ω.1) (fun ω ↦ Y ω.2) (μ.prod ν)

Given random variables X : Ω → 𝓧 and Y : Ω' → 𝓨, they are independent when viewed as random variables defined on the product space Ω × Ω'.

theorem ProbabilityTheory.indepFun_prod₀ E1 #

∀ {Ω : Type u_10} {Ω' : Type u_11} {mΩ : MeasurableSpace Ω} {mΩ' : MeasurableSpace Ω'} {μ : MeasureTheory.Measure Ω}
  {ν : MeasureTheory.Measure Ω'} [MeasureTheory.IsProbabilityMeasure μ] [MeasureTheory.IsProbabilityMeasure ν]
  {𝓧 : Type u_12} {𝓨 : Type u_13} [inst : MeasurableSpace 𝓧] [inst_1 : MeasurableSpace 𝓨] {X : Ω → 𝓧} {Y : Ω' → 𝓨},
  AEMeasurable X μ → AEMeasurable Y ν → ProbabilityTheory.IndepFun (fun ω ↦ X ω.1) (fun ω ↦ Y ω.2) (μ.prod ν)

Given random variables X : Ω → 𝓧 and Y : Ω' → 𝓨, they are independent when viewed as random variables defined on the product space Ω × Ω'.

theorem ProbabilityTheory.IndepFun.comp E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {γ : Type u_8} {γ' : Type u_9} {_mΩ : MeasurableSpace Ω}
  {μ : MeasureTheory.Measure Ω} {f : Ω → β} {g : Ω → β'} {_mβ : MeasurableSpace β} {_mβ' : MeasurableSpace β'}
  {_mγ : MeasurableSpace γ} {_mγ' : MeasurableSpace γ'} {φ : β → γ} {ψ : β' → γ'},
  ProbabilityTheory.IndepFun f g μ → Measurable φ → Measurable ψ → ProbabilityTheory.IndepFun (φ ∘ f) (ψ ∘ g) μ

theorem ProbabilityTheory.IndepFun.comp₀ E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {γ : Type u_8} {γ' : Type u_9} {_mΩ : MeasurableSpace Ω}
  {μ : MeasureTheory.Measure Ω} {f : Ω → β} {g : Ω → β'} {_mβ : MeasurableSpace β} {_mβ' : MeasurableSpace β'}
  {_mγ : MeasurableSpace γ} {_mγ' : MeasurableSpace γ'} {φ : β → γ} {ψ : β' → γ'},
  ProbabilityTheory.IndepFun f g μ →
    AEMeasurable f μ →
      AEMeasurable g μ →
        AEMeasurable φ (MeasureTheory.Measure.map f μ) →
          AEMeasurable ψ (MeasureTheory.Measure.map g μ) → ProbabilityTheory.IndepFun (φ ∘ f) (ψ ∘ g) μ

theorem ProbabilityTheory.indepFun_const_left E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} [MeasureTheory.IsZeroOrProbabilityMeasure μ] (c : β) (X : Ω → β'),
  ProbabilityTheory.IndepFun (fun x ↦ c) X μ

theorem ProbabilityTheory.indepFun_const_right E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
  {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} [MeasureTheory.IsZeroOrProbabilityMeasure μ] (X : Ω → β) (c : β'),
  ProbabilityTheory.IndepFun X (fun x ↦ c) μ

theorem ProbabilityTheory.IndepFun.neg_right E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {_mβ : MeasurableSpace β} {_mβ' : MeasurableSpace β'} [inst : Neg β'] [MeasurableNeg β'],
  ProbabilityTheory.IndepFun f g μ → ProbabilityTheory.IndepFun f (-g) μ

theorem ProbabilityTheory.IndepFun.neg_left E1 #

∀ {Ω : Type u_1} {β : Type u_6} {β' : Type u_7} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {f : Ω → β}
  {g : Ω → β'} {_mβ : MeasurableSpace β} {_mβ' : MeasurableSpace β'} [inst : Neg β] [MeasurableNeg β],
  ProbabilityTheory.IndepFun f g μ → ProbabilityTheory.IndepFun (-f) g μ

theorem ProbabilityTheory.iIndepFun.isProbabilityMeasure E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ → MeasureTheory.IsProbabilityMeasure μ

theorem ProbabilityTheory.iIndepFun.indepFun_set E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Set ι),
  Disjoint S T →
    ProbabilityTheory.iIndepFun f μ →
      (∀ (i : ι), Measurable (f i)) → ProbabilityTheory.IndepFun (fun a i ↦ f (↑i) a) (fun a i ↦ f (↑i) a) μ

If f is a family of mutually independent random variables (iIndepFun m f μ) and S, T are two disjoint index sets, then the tuple formed by (f i)_i for i ∈ S is independent of the tuple (f i)_i for i ∈ T.

theorem ProbabilityTheory.iIndepFun.indepFun_finset E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Finset ι),
  Disjoint S T →
    ProbabilityTheory.iIndepFun f μ →
      (∀ (i : ι), Measurable (f i)) → ProbabilityTheory.IndepFun (fun a i ↦ f (↑i) a) (fun a i ↦ f (↑i) a) μ

If f is a family of mutually independent random variables (iIndepFun m f μ) and S, T are two disjoint finite index sets, then the tuple formed by f i for i ∈ S is independent of the tuple (f i)_i for i ∈ T.

theorem ProbabilityTheory.iIndepFun.indepFun_finset₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Finset ι),
  Disjoint S T →
    ProbabilityTheory.iIndepFun f μ →
      (∀ (i : ι), AEMeasurable (f i) μ) → ProbabilityTheory.IndepFun (fun a i ↦ f (↑i) a) (fun a i ↦ f (↑i) a) μ

If f is a family of mutually independent random variables (iIndepFun m f μ) and S, T are two disjoint finite index sets, then the tuple formed by f i for i ∈ S is independent of the tuple (f i)_i for i ∈ T.

theorem ProbabilityTheory.iIndepFun.indepFun_prodMk E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (fun a ↦ (f i a, f j a)) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_prodMk₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (fun a ↦ (f i a, f j a)) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_prodMk_prodMk E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k l : ι),
        i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (fun a ↦ (f i a, f j a)) (fun a ↦ (f k a, f l a)) μ

theorem ProbabilityTheory.iIndepFun.indepFun_prodMk_prodMk₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k l : ι),
        i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (fun a ↦ (f i a, f j a)) (fun a ↦ (f k a, f l a)) μ

theorem ProbabilityTheory.iIndepFun_iff_finset E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ ↔ ∀ (s : Finset ι), ProbabilityTheory.iIndepFun (s.restrict f) μ

theorem ProbabilityTheory.iIndepFun.restrict E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.iIndepFun f μ → ∀ (s : Finset ι), ProbabilityTheory.iIndepFun (s.restrict f) μ

Alias of the forward direction of ProbabilityTheory.iIndepFun_iff_finset.

theorem ProbabilityTheory.iIndepFun.map_fun_eq_pi_map E0 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [inst : Fintype ι]
  {β : ι → Type u_11} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  (∀ (i : ι), AEMeasurable (f i) μ) →
    ProbabilityTheory.iIndepFun f μ →
      MeasureTheory.Measure.map (fun ω i ↦ f i ω) μ = MeasureTheory.Measure.pi fun i ↦ MeasureTheory.Measure.map (f i) μ

theorem ProbabilityTheory.iIndepFun_iff_map_fun_eq_pi_map E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [inst : Fintype ι]
  {β : ι → Type u_11} {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i}
  [MeasureTheory.IsProbabilityMeasure μ],
  (∀ (i : ι), AEMeasurable (f i) μ) →
    (ProbabilityTheory.iIndepFun f μ ↔
      MeasureTheory.Measure.map (fun ω i ↦ f i ω) μ =
        MeasureTheory.Measure.pi fun i ↦ MeasureTheory.Measure.map (f i) μ)

theorem ProbabilityTheory.iIndepFun_pi E1 #

∀ {ι : Type u_11} [inst : Fintype ι] {Ω : ι → Type u_12} {mΩ : (i : ι) → MeasurableSpace (Ω i)}
  {μ : (i : ι) → MeasureTheory.Measure (Ω i)} [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {𝓧 : ι → Type u_13}
  [inst_2 : (i : ι) → MeasurableSpace (𝓧 i)] {X : (i : ι) → Ω i → 𝓧 i},
  (∀ (i : ι), AEMeasurable (X i) (μ i)) → ProbabilityTheory.iIndepFun (fun i ω ↦ X i (ω i)) (MeasureTheory.Measure.pi μ)

Given random variables X i : Ω i → 𝓧 i, they are independent when viewed as random variables defined on the product space Π i, Ω i.

theorem ProbabilityTheory.iIndepFun.indepFun_add_left E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i + f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_left E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i * f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_add_left₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i + f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_left₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i * f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_right E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j * f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_add_right E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j + f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_right₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j * f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_add_right₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j + f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_mul E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i * f j) (f k * f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_add_add E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i + f j) (f k + f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_add_mul₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Add β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i + f j) (f k + f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_mul_mul₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Mul β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i * f j) (f k * f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_left E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i - f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_left E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i / f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_left₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i / f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_left₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.IndepFun (f i - f j) (f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_right E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j / f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_right E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j - f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_right₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j / f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_right₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) → ∀ (i j k : ι), i ≠ j → i ≠ k → ProbabilityTheory.IndepFun (f i) (f j - f k) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_div E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i / f j) (f k / f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_sub E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i - f j) (f k - f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_div_div₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Div β] [MeasurableDiv₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i / f j) (f k / f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sub_div₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : Sub β] [MeasurableSub₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ (i j k l : ι), i ≠ k → i ≠ l → j ≠ k → j ≠ l → ProbabilityTheory.IndepFun (f i - f j) (f k - f l) μ

theorem ProbabilityTheory.iIndepFun.indepFun_finsetSum_of_notMem E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : AddCommMonoid β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ {s : Finset ι} {i : ι}, i ∉ s → ProbabilityTheory.IndepFun (∑ j ∈ s, f j) (f i) μ

theorem ProbabilityTheory.iIndepFun.indepFun_finsetProd_of_notMem E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : CommMonoid β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), Measurable (f i)) → ∀ {s : Finset ι} {i : ι}, i ∉ s → ProbabilityTheory.IndepFun (∏ j ∈ s, f j) (f i) μ

theorem ProbabilityTheory.iIndepFun.indepFun_finsetSum_of_notMem₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : AddCommMonoid β] [MeasurableAdd₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ {s : Finset ι} {i : ι}, i ∉ s → ProbabilityTheory.IndepFun (∑ j ∈ s, f j) (f i) μ

theorem ProbabilityTheory.iIndepFun.indepFun_finsetProd_of_notMem₀ E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10}
  {m : MeasurableSpace β} [inst : CommMonoid β] [MeasurableMul₂ β] {f : ι → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ι), AEMeasurable (f i) μ) →
      ∀ {s : Finset ι} {i : ι}, i ∉ s → ProbabilityTheory.IndepFun (∏ j ∈ s, f j) (f i) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sum_range_succ E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10} {m : MeasurableSpace β}
  [inst : AddCommMonoid β] [MeasurableAdd₂ β] {f : ℕ → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ℕ), Measurable (f i)) → ∀ (n : ℕ), ProbabilityTheory.IndepFun (∑ j ∈ Finset.range n, f j) (f n) μ

theorem ProbabilityTheory.iIndepFun.indepFun_prod_range_succ E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10} {m : MeasurableSpace β}
  [inst : CommMonoid β] [MeasurableMul₂ β] {f : ℕ → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ℕ), Measurable (f i)) → ∀ (n : ℕ), ProbabilityTheory.IndepFun (∏ j ∈ Finset.range n, f j) (f n) μ

theorem ProbabilityTheory.iIndepFun.indepFun_sum_range_succ₀ E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10} {m : MeasurableSpace β}
  [inst : AddCommMonoid β] [MeasurableAdd₂ β] {f : ℕ → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ℕ), AEMeasurable (f i) μ) → ∀ (n : ℕ), ProbabilityTheory.IndepFun (∑ j ∈ Finset.range n, f j) (f n) μ

theorem ProbabilityTheory.iIndepFun.indepFun_prod_range_succ₀ E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {β : Type u_10} {m : MeasurableSpace β}
  [inst : CommMonoid β] [MeasurableMul₂ β] {f : ℕ → Ω → β},
  ProbabilityTheory.iIndepFun f μ →
    (∀ (i : ℕ), AEMeasurable (f i) μ) → ∀ (n : ℕ), ProbabilityTheory.IndepFun (∏ j ∈ Finset.range n, f j) (f n) μ

theorem ProbabilityTheory.iIndepSet.iIndepFun_indicator E1 #

∀ {Ω : Type u_1} {ι : Type u_2} {β : Type u_6} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [inst : Zero β]
  [inst_1 : One β] {m : MeasurableSpace β} {s : ι → Set Ω},
  ProbabilityTheory.iIndepSet s μ → ProbabilityTheory.iIndepFun (fun n ↦ (s n).indicator fun _ω ↦ 1) μ

theorem ProbabilityTheory.Indep.indicator_indepFun E1 #

∀ {Ω : Type u_1} {_mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {m : MeasurableSpace Ω} {M : Type u_10}
  {𝓧 : Type u_11} [inst : Zero M] [inst_1 : MeasurableSpace M] (c : M) {m𝓧 : MeasurableSpace 𝓧} {A : Set Ω} {X : Ω → 𝓧},
  MeasurableSet A →
    ProbabilityTheory.Indep m (MeasurableSpace.comap X m𝓧) μ → ProbabilityTheory.IndepFun (A.indicator fun x ↦ c) X μ

theorem ProbabilityTheory.cond_iInter E1 #

∀ {ι : Type u_6} {Ω : Type u_7} {α : Type u_8} {β : Type u_9} {mΩ : MeasurableSpace Ω} {mα : MeasurableSpace α}
  {mβ : MeasurableSpace β} {μ : MeasureTheory.Measure Ω} {X : ι → Ω → α} {Y : ι → Ω → β} {f : ι → Set Ω} {t : ι → Set β}
  {s : Finset ι} [Finite ι],
  (∀ (i : ι), Measurable (Y i)) →
    ProbabilityTheory.iIndepFun (fun i ω ↦ (X i ω, Y i ω)) μ →
      (∀ i ∈ s, MeasurableSet (f i)) →
        (∀ i ∉ s, μ (Y i ⁻¹' t i) ≠ 0) →
          (∀ (i : ι), MeasurableSet (t i)) → μ[⋂ i ∈ s, f i | ⋂ i, Y i ⁻¹' t i] = ∏ i ∈ s, μ[f i | Y i ⁻¹' t i]

The probability of an intersection of preimages conditioning on another intersection factors into a product.

theorem ProbabilityTheory.iIndepFun.cond E1 #

∀ {ι : Type u_6} {Ω : Type u_7} {α : Type u_8} {β : Type u_9} {mΩ : MeasurableSpace Ω} {mα : MeasurableSpace α}
  {mβ : MeasurableSpace β} {μ : MeasureTheory.Measure Ω} {X : ι → Ω → α} {Y : ι → Ω → β} {t : ι → Set β} [Finite ι],
  (∀ (i : ι), Measurable (Y i)) →
    ProbabilityTheory.iIndepFun (fun i ω ↦ (X i ω, Y i ω)) μ →
      (∀ (i : ι), μ (Y i ⁻¹' t i) ≠ 0) →
        (∀ (i : ι), MeasurableSet (t i)) → ProbabilityTheory.iIndepFun X μ[|⋂ i, Y i ⁻¹' t i]

theorem ProbabilityTheory.IndepFun.map_add_eq_map_conv_map₀' E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : AddMonoid M]
  [inst_1 : MeasurableSpace M] [MeasurableAdd₂ M] {f g : Ω → M},
  AEMeasurable f μ →
    AEMeasurable g μ →
      MeasureTheory.SigmaFinite (MeasureTheory.Measure.map f μ) →
        MeasureTheory.SigmaFinite (MeasureTheory.Measure.map g μ) →
          ProbabilityTheory.IndepFun f g μ →
            MeasureTheory.Measure.map (f + g) μ = (MeasureTheory.Measure.map f μ).conv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_mul_eq_map_mconv_map₀' E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : Monoid M]
  [inst_1 : MeasurableSpace M] [MeasurableMul₂ M] {f g : Ω → M},
  AEMeasurable f μ →
    AEMeasurable g μ →
      MeasureTheory.SigmaFinite (MeasureTheory.Measure.map f μ) →
        MeasureTheory.SigmaFinite (MeasureTheory.Measure.map g μ) →
          ProbabilityTheory.IndepFun f g μ →
            MeasureTheory.Measure.map (f * g) μ = (MeasureTheory.Measure.map f μ).mconv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_mul_eq_map_mconv_map' E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : Monoid M]
  [inst_1 : MeasurableSpace M] [MeasurableMul₂ M] {f g : Ω → M},
  Measurable f →
    Measurable g →
      MeasureTheory.SigmaFinite (MeasureTheory.Measure.map f μ) →
        MeasureTheory.SigmaFinite (MeasureTheory.Measure.map g μ) →
          ProbabilityTheory.IndepFun f g μ →
            MeasureTheory.Measure.map (f * g) μ = (MeasureTheory.Measure.map f μ).mconv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_add_eq_map_conv_map' E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : AddMonoid M]
  [inst_1 : MeasurableSpace M] [MeasurableAdd₂ M] {f g : Ω → M},
  Measurable f →
    Measurable g →
      MeasureTheory.SigmaFinite (MeasureTheory.Measure.map f μ) →
        MeasureTheory.SigmaFinite (MeasureTheory.Measure.map g μ) →
          ProbabilityTheory.IndepFun f g μ →
            MeasureTheory.Measure.map (f + g) μ = (MeasureTheory.Measure.map f μ).conv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_mul_eq_map_mconv_map₀ E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : Monoid M]
  [inst_1 : MeasurableSpace M] [MeasurableMul₂ M] [MeasureTheory.IsFiniteMeasure μ] {f g : Ω → M},
  AEMeasurable f μ →
    AEMeasurable g μ →
      ProbabilityTheory.IndepFun f g μ →
        MeasureTheory.Measure.map (f * g) μ = (MeasureTheory.Measure.map f μ).mconv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_add_eq_map_conv_map₀ E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : AddMonoid M]
  [inst_1 : MeasurableSpace M] [MeasurableAdd₂ M] [MeasureTheory.IsFiniteMeasure μ] {f g : Ω → M},
  AEMeasurable f μ →
    AEMeasurable g μ →
      ProbabilityTheory.IndepFun f g μ →
        MeasureTheory.Measure.map (f + g) μ = (MeasureTheory.Measure.map f μ).conv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_mul_eq_map_mconv_map E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : Monoid M]
  [inst_1 : MeasurableSpace M] [MeasurableMul₂ M] [MeasureTheory.IsFiniteMeasure μ] {f g : Ω → M},
  Measurable f →
    Measurable g →
      ProbabilityTheory.IndepFun f g μ →
        MeasureTheory.Measure.map (f * g) μ = (MeasureTheory.Measure.map f μ).mconv (MeasureTheory.Measure.map g μ)

theorem ProbabilityTheory.IndepFun.map_add_eq_map_conv_map E0 #

∀ {Ω : Type u_7} {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {M : Type u_10} [inst : AddMonoid M]
  [inst_1 : MeasurableSpace M] [MeasurableAdd₂ M] [MeasureTheory.IsFiniteMeasure μ] {f g : Ω → M},
  Measurable f →
    Measurable g →
      ProbabilityTheory.IndepFun f g μ →
        MeasureTheory.Measure.map (f + g) μ = (MeasureTheory.Measure.map f μ).conv (MeasureTheory.Measure.map g μ)