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.Kernel.IndepFun

79 declarations. Mathlib docs · Source

def ProbabilityTheory.Kernel.iIndepFun E1 #

{α : Type u_1} →
  {Ω : Type u_2} →
    {ι : Type u_3} →
      {mα : MeasurableSpace α} →
        {mΩ : MeasurableSpace Ω} →
          {β : ι → Type u_8} →
            [m : (x : ι) → MeasurableSpace (β x)] →
              ((x : ι) → Ω → β x) →
                ProbabilityTheory.Kernel α Ω →
                  autoParam (MeasureTheory.Measure α) ProbabilityTheory.Kernel.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.Kernel.IndepFun E1 #

{α : Type u_1} →
  {Ω : Type u_2} →
    {β : Type u_4} →
      {γ : Type u_6} →
        {mα : MeasurableSpace α} →
          {mΩ : MeasurableSpace Ω} →
            [mβ : MeasurableSpace β] →
              [mγ : MeasurableSpace γ] →
                (Ω → β) →
                  (Ω → γ) →
                    ProbabilityTheory.Kernel α Ω →
                      autoParam (MeasureTheory.Measure α) ProbabilityTheory.Kernel.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.

theorem ProbabilityTheory.Kernel.iIndepFun_zero_right E0 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {β : ι → Type u_10} {m : (x : ι) → MeasurableSpace (β x)} {f : (x : ι) → Ω → β x},
  ProbabilityTheory.Kernel.iIndepFun f κ 0

theorem ProbabilityTheory.Kernel.indepFun_zero_right E0 #

∀ {α : Type u_1} {Ω : Type u_2} {γ : Type u_6} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {β : Type u_10} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] {f : Ω → β}
  {g : Ω → γ}, ProbabilityTheory.Kernel.IndepFun f g κ 0

theorem ProbabilityTheory.Kernel.indepFun_zero_left E0 #

∀ {α : Type u_1} {Ω : Type u_2} {γ : Type u_6} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {μ : MeasureTheory.Measure α} {β : Type u_10} [inst : MeasurableSpace β] [inst_1 : MeasurableSpace γ] {f : Ω → β}
  {g : Ω → γ}, ProbabilityTheory.Kernel.IndepFun f g 0 μ

theorem ProbabilityTheory.Kernel.iIndepFun_congr E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ η : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_10}
  {m : (x : ι) → MeasurableSpace (β x)} {f : (x : ι) → Ω → β x},
  ⇑κ =ᵐ[μ] ⇑η → (ProbabilityTheory.Kernel.iIndepFun f κ μ ↔ ProbabilityTheory.Kernel.iIndepFun f η μ)

theorem ProbabilityTheory.Kernel.iIndepFun.congr E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ η : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_10}
  {m : (x : ι) → MeasurableSpace (β x)} {f : (x : ι) → Ω → β x},
  ⇑κ =ᵐ[μ] ⇑η → ProbabilityTheory.Kernel.iIndepFun f κ μ → ProbabilityTheory.Kernel.iIndepFun f η μ

Alias of the forward direction of ProbabilityTheory.Kernel.iIndepFun_congr.

theorem ProbabilityTheory.Kernel.indepFun_congr E1 #

∀ {α : Type u_1} {Ω : Type u_2} {γ : Type u_6} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ η : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : Type u_10} [inst : MeasurableSpace β]
  [inst_1 : MeasurableSpace γ] {f : Ω → β} {g : Ω → γ},
  ⇑κ =ᵐ[μ] ⇑η → (ProbabilityTheory.Kernel.IndepFun f g κ μ ↔ ProbabilityTheory.Kernel.IndepFun f g η μ)

theorem ProbabilityTheory.Kernel.IndepFun.congr E1 #

∀ {α : Type u_1} {Ω : Type u_2} {γ : Type u_6} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ η : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : Type u_10} [inst : MeasurableSpace β]
  [inst_1 : MeasurableSpace γ] {f : Ω → β} {g : Ω → γ},
  ⇑κ =ᵐ[μ] ⇑η → ProbabilityTheory.Kernel.IndepFun f g κ μ → ProbabilityTheory.Kernel.IndepFun f g η μ

Alias of the forward direction of ProbabilityTheory.Kernel.indepFun_congr.

theorem ProbabilityTheory.Kernel.iIndepFun.of_subsingleton E0 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} [Subsingleton ι] {β : ι → Type u_10}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} [ProbabilityTheory.IsMarkovKernel κ],
  ProbabilityTheory.Kernel.iIndepFun f κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.iIndep E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.ae_isProbabilityMeasure E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {f : (x : ι) → Ω → β x},
  ProbabilityTheory.Kernel.iIndepFun f κ μ → ∀ᵐ (a : α) ∂μ, MeasureTheory.IsProbabilityMeasure (κ a)

theorem ProbabilityTheory.Kernel.iIndepFun.meas_biInter E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {s : ι → Set Ω} {S : Finset ι} {f : (x : ι) → Ω → β x},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    (∀ i ∈ S, MeasurableSet (s i)) → ∀ᵐ (a : α) ∂μ, (κ a) (⋂ i ∈ S, s i) = ∏ i ∈ S, (κ a) (s i)

theorem ProbabilityTheory.Kernel.iIndepFun.meas_iInter E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {s : ι → Set Ω} {f : (x : ι) → Ω → β x} [inst : Fintype ι],
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    (∀ (i : ι), MeasurableSet (s i)) → ∀ᵐ (a : α) ∂μ, (κ a) (⋂ i, s i) = ∏ i, (κ a) (s i)

theorem ProbabilityTheory.Kernel.IndepFun.meas_inter E1 #

∀ {α : Type u_1} {Ω : Type u_2} {γ : Type u_6} {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : Type u_10} [mβ : MeasurableSpace β]
  [mγ : MeasurableSpace γ] {f : Ω → β} {g : Ω → γ},
  ProbabilityTheory.Kernel.IndepFun f g κ μ →
    ∀ {s t : Set Ω}, MeasurableSet s → MeasurableSet t → ∀ᵐ (a : α) ∂μ, (κ a) (s ∩ t) = (κ a) s * (κ a) t

theorem ProbabilityTheory.Kernel.iIndepFun.precomp E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {f : (x : ι) → Ω → β x} {ι' : Type u_9} {g : ι' → ι},
  Function.Injective g →
    ProbabilityTheory.Kernel.iIndepFun f κ μ → ProbabilityTheory.Kernel.iIndepFun (fun i ↦ f (g i)) κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.of_precomp E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {f : (x : ι) → Ω → β x} {ι' : Type u_9} {g : ι' → ι},
  Function.Surjective g →
    ProbabilityTheory.Kernel.iIndepFun (fun i ↦ f (g i)) κ μ → ProbabilityTheory.Kernel.iIndepFun f κ μ

theorem ProbabilityTheory.Kernel.iIndepFun_precomp_of_bijective E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : ι → Type u_8} {mβ : (i : ι) → MeasurableSpace (β i)}
  {_mα : MeasurableSpace α} {_mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α}
  {f : (x : ι) → Ω → β x} {ι' : Type u_9} {g : ι' → ι},
  Function.Bijective g →
    (ProbabilityTheory.Kernel.iIndepFun (fun i ↦ f (g i)) κ μ ↔ ProbabilityTheory.Kernel.iIndepFun f κ μ)

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun E1 #

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

theorem ProbabilityTheory.Kernel.indepFun_iff_measure_inter_preimage_eq_mul E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {mβ : MeasurableSpace β}
  {mβ' : MeasurableSpace β'},
  ProbabilityTheory.Kernel.IndepFun f g κ μ ↔
    ∀ (s : Set β) (t : Set β'),
      MeasurableSet s → MeasurableSet t → ∀ᵐ (a : α) ∂μ, (κ a) (f ⁻¹' s ∩ g ⁻¹' t) = (κ a) (f ⁻¹' s) * (κ a) (g ⁻¹' t)

theorem ProbabilityTheory.Kernel.IndepFun.measure_inter_preimage_eq_mul E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {mβ : MeasurableSpace β}
  {mβ' : MeasurableSpace β'},
  ProbabilityTheory.Kernel.IndepFun f g κ μ →
    ∀ (s : Set β) (t : Set β'),
      MeasurableSet s → MeasurableSet t → ∀ᵐ (a : α) ∂μ, (κ a) (f ⁻¹' s ∩ g ⁻¹' t) = (κ a) (f ⁻¹' s) * (κ a) (g ⁻¹' t)

Alias of the forward direction of ProbabilityTheory.Kernel.indepFun_iff_measure_inter_preimage_eq_mul.

theorem ProbabilityTheory.Kernel.iIndepFun_iff_measure_inter_preimage_eq_mul E1 #

∀ {α : Type u_1} {Ω : Type u_2} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω}
  {μ : MeasureTheory.Measure α} {ι : Type u_8} {β : ι → Type u_9} (m : (x : ι) → MeasurableSpace (β x))
  (f : (i : ι) → Ω → β i),
  ProbabilityTheory.Kernel.iIndepFun f κ μ ↔
    ∀ (S : Finset ι) {sets : (i : ι) → Set (β i)},
      (∀ i ∈ S, MeasurableSet (sets i)) →
        ∀ᵐ (a : α) ∂μ, (κ a) (⋂ i ∈ S, f i ⁻¹' sets i) = ∏ i ∈ S, (κ a) (f i ⁻¹' sets i)

theorem ProbabilityTheory.Kernel.iIndepFun.measure_inter_preimage_eq_mul E1 #

∀ {α : Type u_1} {Ω : Type u_2} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω}
  {μ : MeasureTheory.Measure α} {ι : Type u_8} {β : ι → Type u_9} (m : (x : ι) → MeasurableSpace (β x))
  (f : (i : ι) → Ω → β i),
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    ∀ (S : Finset ι) {sets : (i : ι) → Set (β i)},
      (∀ i ∈ S, MeasurableSet (sets i)) →
        ∀ᵐ (a : α) ∂μ, (κ a) (⋂ i ∈ S, f i ⁻¹' sets i) = ∏ i ∈ S, (κ a) (f i ⁻¹' sets i)

Alias of the forward direction of ProbabilityTheory.Kernel.iIndepFun_iff_measure_inter_preimage_eq_mul.

theorem ProbabilityTheory.Kernel.iIndepFun.congr' E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {mβ : (i : ι) → MeasurableSpace (β i)} {f g : (i : ι) → Ω → β i},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    (∀ (i : ι), ∀ᵐ (a : α) ∂μ, f i =ᵐ[κ a] g i) → ProbabilityTheory.Kernel.iIndepFun g κ μ

theorem ProbabilityTheory.Kernel.iIndepFun_congr' E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {mβ : (i : ι) → MeasurableSpace (β i)} {f g : (i : ι) → Ω → β i},
  (∀ (i : ι), ∀ᵐ (a : α) ∂μ, f i =ᵐ[κ a] g i) →
    (ProbabilityTheory.Kernel.iIndepFun f κ μ ↔ ProbabilityTheory.Kernel.iIndepFun g κ μ)

theorem ProbabilityTheory.Kernel.iIndepFun.comp E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8} {γ : ι → Type u_9}
  {mβ : (i : ι) → MeasurableSpace (β i)} {mγ : (i : ι) → MeasurableSpace (γ i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    ∀ (g : (i : ι) → β i → γ i),
      (∀ (i : ι), Measurable (g i)) → ProbabilityTheory.Kernel.iIndepFun (fun i ↦ g i ∘ f i) κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.comp₀ E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8} {γ : ι → Type u_9}
  {mβ : (i : ι) → MeasurableSpace (β i)} {mγ : (i : ι) → MeasurableSpace (γ i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    ∀ (g : (i : ι) → β i → γ i),
      (∀ (i : ι), AEMeasurable (f i) (μ.bind ⇑κ)) →
        (∀ (i : ι), AEMeasurable (g i) (MeasureTheory.Measure.map (f i) (μ.bind ⇑κ))) →
          ProbabilityTheory.Kernel.iIndepFun (fun i ↦ g i ∘ f i) κ μ

theorem ProbabilityTheory.Kernel.indepFun_iff_indepSet_preimage E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {mβ : MeasurableSpace β}
  {mβ' : MeasurableSpace β'} [ProbabilityTheory.IsZeroOrMarkovKernel κ],
  Measurable f →
    Measurable g →
      (ProbabilityTheory.Kernel.IndepFun f g κ μ ↔
        ∀ (s : Set β) (t : Set β'),
          MeasurableSet s → MeasurableSet t → ProbabilityTheory.Kernel.IndepSet (f ⁻¹' s) (g ⁻¹' t) κ μ)

theorem ProbabilityTheory.Kernel.IndepFun.symm E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {x : MeasurableSpace β}
  {x_1 : MeasurableSpace β'}, ProbabilityTheory.Kernel.IndepFun f g κ μ → ProbabilityTheory.Kernel.IndepFun g f κ μ

theorem ProbabilityTheory.Kernel.IndepFun.congr' E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {mβ : MeasurableSpace β}
  {mβ' : MeasurableSpace β'} {f' : Ω → β} {g' : Ω → β'},
  ProbabilityTheory.Kernel.IndepFun f g κ μ →
    (∀ᵐ (a : α) ∂μ, f =ᵐ[κ a] f') → (∀ᵐ (a : α) ∂μ, g =ᵐ[κ a] g') → ProbabilityTheory.Kernel.IndepFun f' g' κ μ

theorem ProbabilityTheory.Kernel.IndepFun.comp E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {γ : Type u_6} {γ' : Type u_7} {mα : MeasurableSpace α}
  {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'}
  {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} {mγ : MeasurableSpace γ} {mγ' : MeasurableSpace γ'} {φ : β → γ}
  {ψ : β' → γ'},
  ProbabilityTheory.Kernel.IndepFun f g κ μ →
    Measurable φ → Measurable ψ → ProbabilityTheory.Kernel.IndepFun (φ ∘ f) (ψ ∘ g) κ μ

theorem ProbabilityTheory.Kernel.IndepFun.comp₀ E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {γ : Type u_6} {γ' : Type u_7} {mα : MeasurableSpace α}
  {mΩ : MeasurableSpace Ω} {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'}
  {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'} {mγ : MeasurableSpace γ} {mγ' : MeasurableSpace γ'} {φ : β → γ}
  {ψ : β' → γ'},
  ProbabilityTheory.Kernel.IndepFun f g κ μ →
    AEMeasurable f (μ.bind ⇑κ) →
      AEMeasurable g (μ.bind ⇑κ) →
        AEMeasurable φ (MeasureTheory.Measure.map f (μ.bind ⇑κ)) →
          AEMeasurable ψ (MeasureTheory.Measure.map g (μ.bind ⇑κ)) →
            ProbabilityTheory.Kernel.IndepFun (φ ∘ f) (ψ ∘ g) κ μ

theorem ProbabilityTheory.Kernel.indepFun_const_left E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'}
  [ProbabilityTheory.IsZeroOrMarkovKernel κ] (c : β') (X : Ω → β), ProbabilityTheory.Kernel.IndepFun (fun x ↦ c) X κ μ

theorem ProbabilityTheory.Kernel.indepFun_const_right E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {mβ : MeasurableSpace β} {mβ' : MeasurableSpace β'}
  [ProbabilityTheory.IsZeroOrMarkovKernel κ] (X : Ω → β) (c : β'), ProbabilityTheory.Kernel.IndepFun X (fun x ↦ c) κ μ

theorem ProbabilityTheory.Kernel.IndepFun.neg_right E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {_mβ : MeasurableSpace β}
  {_mβ' : MeasurableSpace β'} [inst : Neg β'] [MeasurableNeg β'],
  ProbabilityTheory.Kernel.IndepFun f g κ μ → ProbabilityTheory.Kernel.IndepFun f (-g) κ μ

theorem ProbabilityTheory.Kernel.IndepFun.neg_left E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {β' : Type u_5} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {f : Ω → β} {g : Ω → β'} {_mβ : MeasurableSpace β}
  {_mβ' : MeasurableSpace β'} [inst : Neg β] [MeasurableNeg β],
  ProbabilityTheory.Kernel.IndepFun f g κ μ → ProbabilityTheory.Kernel.IndepFun (-f) g κ μ

theorem ProbabilityTheory.Kernel.indepFun_iff_compProd_map_prod_eq_compProd_prod_map_map E1 #

∀ {α : Type u_1} {Ω : Type u_2} {β : Type u_4} {γ : Type u_6} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {mβ : MeasurableSpace β} {mγ : MeasurableSpace γ}
  [MeasureTheory.IsFiniteMeasure μ] [ProbabilityTheory.IsFiniteKernel κ] {f : Ω → β} {g : Ω → γ},
  Measurable f →
    Measurable g →
      (ProbabilityTheory.Kernel.IndepFun f g κ μ ↔
        μ.compProd (κ.map fun ω ↦ (f ω, g ω)) = μ.compProd ((κ.map f).prod (κ.map g)))

Two random variables f, g are independent given a kernel κ and a measure μ iff μ ⊗ₘ κ.map (fun ω ↦ (f ω, g ω)) = μ ⊗ₘ (κ.map f ×ₖ κ.map g).

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_set E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Set ι),
  Disjoint S T →
    ProbabilityTheory.Kernel.iIndepFun f κ μ →
      (∀ (i : ι), Measurable (f i)) → ProbabilityTheory.Kernel.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 for i ∈ S is independent of the tuple (f i)_i for i ∈ T.

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_finset E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Finset ι),
  Disjoint S T →
    ProbabilityTheory.Kernel.iIndepFun f κ μ →
      (∀ (i : ι), Measurable (f i)) → ProbabilityTheory.Kernel.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.Kernel.iIndepFun.indepFun_finset₀ E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i} (S T : Finset ι),
  Disjoint S T →
    ProbabilityTheory.Kernel.iIndepFun f κ μ →
      (∀ (i : ι), AEMeasurable (f i) (μ.bind ⇑κ)) →
        ProbabilityTheory.Kernel.IndepFun (fun a i ↦ f (↑i) a) (fun a i ↦ f (↑i) a) κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prodMk E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prodMk₀ E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    (∀ (i : ι), AEMeasurable (f i) (μ.bind ⇑κ)) →
      ∀ (i j k : ι), i ≠ k → j ≠ k → ProbabilityTheory.Kernel.IndepFun (fun a ↦ (f i a, f j a)) (f k) κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prodMk_prodMk E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prodMk_prodMk₀ E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {β : ι → Type u_8}
  {m : (i : ι) → MeasurableSpace (β i)} {f : (i : ι) → Ω → β i},
  ProbabilityTheory.Kernel.iIndepFun f κ μ →
    (∀ (i : ι), AEMeasurable (f i) (μ.bind ⇑κ)) →
      ∀ (i j k l : ι),
        i ≠ k →
          i ≠ l →
            j ≠ k → j ≠ l → ProbabilityTheory.Kernel.IndepFun (fun a ↦ (f i a, f j a)) (fun a ↦ (f k a, f l a)) κ μ

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_left E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_left E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_left₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_left₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_right E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_right E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_right₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_right₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_mul E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_add E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_mul_mul₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_add_mul₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_left E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_left E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_left₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_left₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_right E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_right E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_right₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_right₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_div E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_sub E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_div_div₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sub_div₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_finsetSum_of_notMem E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_finsetProd_of_notMem E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_finsetSum_of_notMem₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_finsetProd_of_notMem₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sum_range_succ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prod_range_succ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_prod_range_succ₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.indepFun_sum_range_succ₀ E1 #

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

theorem ProbabilityTheory.Kernel.iIndepSet.iIndepFun_indicator E1 #

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

theorem ProbabilityTheory.Kernel.Indep.indicator_const_indepFun E1 #

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

theorem ProbabilityTheory.Kernel.iIndepFun.cond_iInter E1 #

∀ {α : Type u_1} {Ω : Type u_2} {ι : Type u_3} {β : Type u_4} {mα : MeasurableSpace α} {mΩ : MeasurableSpace Ω}
  {κ : ProbabilityTheory.Kernel α Ω} {μ : MeasureTheory.Measure α} {mβ : MeasurableSpace β} {X : ι → Ω → α}
  {Y : ι → Ω → β} {f : ι → Set Ω} {t : ι → Set β} {s : Finset ι} [Finite ι],
  (∀ (i : ι), Measurable (Y i)) →
    ProbabilityTheory.Kernel.iIndepFun (fun i ω ↦ (X i ω, Y i ω)) κ μ →
      (∀ i ∈ s, MeasurableSet (f i)) →
        (∀ᵐ (a : α) ∂μ, ∀ i ∉ s, (κ a) (Y i ⁻¹' t i) ≠ 0) →
          (∀ (i : ι), MeasurableSet (t i)) →
            ∀ᵐ (a : α) ∂μ, (κ a)[⋂ i ∈ s, f i | ⋂ i, Y i ⁻¹' t i] = ∏ i ∈ s, (κ a)[f i | Y i ⁻¹' t i]

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