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.Distributions.Gaussian.HasGaussianLaw.Independence

17 declarations. Mathlib docs · Source

Independence of Gaussian random variables

In this file we prove some results linking Gaussian random variables and independence. It is a well known fact that if (X, Y) is Gaussian, then X and Y are independent if their covariance is zero. We prove many versions of this theorem in different settings: in Banach spaces, Hilbert spaces, and for families of real random variables.

We also prove that independent Gaussian random variables are jointly Gaussian.

Main statements

  • iIndepFun.hasGaussianLaw: Independent Gaussian random variables are jointly Gaussian, indexed version.
  • IndepFun.hasGaussianLaw: Independent Gaussian random variables are jointly Gaussian, product version.
  • HasGaussianLaw.iIndepFun_of_covariance_eq_zero: If $(X_i)_{i \in \iota}$ are jointly Gaussian, then they are independent if for all $i \ne j$, $\mathrm{Cov}(X_i, X_j) = 0$.
  • HasGaussianLaw.indepFun_of_covariance_eq_zero: If $(X, Y)$ is Gaussian, then $X$ and $Y$ are independent if $\mathrm{Cov}(X, Y) = 0$.

Tags

Gaussian random variable

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw E3 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_2} [Finite ι] {E : ι → Type u_3}
  [inst : (i : ι) → NormedAddCommGroup (E i)] [inst_1 : (i : ι) → MeasurableSpace (E i)]
  [∀ (i : ι), CompleteSpace (E i)] [∀ (i : ι), BorelSpace (E i)] [∀ (i : ι), SecondCountableTopology (E i)]
  [inst_5 : (i : ι) → NormedSpace ℝ (E i)] {X : (i : ι) → Ω → E i},
  (∀ (i : ι), ProbabilityTheory.HasGaussianLaw (X i) P) →
    ProbabilityTheory.iIndepFun X P → ProbabilityTheory.HasGaussianLaw (fun ω x ↦ X x ω) P

Independent Gaussian random variables are jointly Gaussian.

theorem ProbabilityTheory.HasGaussianLaw.iIndepFun_of_covariance_strongDual E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_2} [Finite ι] {E : ι → Type u_3}
  [inst : (i : ι) → NormedAddCommGroup (E i)] [inst_1 : (i : ι) → MeasurableSpace (E i)]
  [∀ (i : ι), CompleteSpace (E i)] [∀ (i : ι), BorelSpace (E i)] [∀ (i : ι), SecondCountableTopology (E i)]
  [inst_5 : (i : ι) → NormedSpace ℝ (E i)] {X : (i : ι) → Ω → E i},
  ProbabilityTheory.HasGaussianLaw (fun ω i ↦ X i ω) P →
    (∀ (i j : ι),
        i ≠ j →
          ∀ (L₁ : StrongDual ℝ (E i)) (L₂ : StrongDual ℝ (E j)),
            ProbabilityTheory.covariance (⇑L₁ ∘ X i) (⇑L₂ ∘ X j) P = 0) →
      ProbabilityTheory.iIndepFun X P

If $(X_i)_{i \in \iota}$ are jointly Gaussian and uncorrelated, then they are independent.

theorem ProbabilityTheory.HasGaussianLaw.iIndepFun_of_covariance_inner E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_2} [Finite ι] {E : ι → Type u_3}
  [inst : (i : ι) → NormedAddCommGroup (E i)] [inst_1 : (i : ι) → MeasurableSpace (E i)]
  [∀ (i : ι), CompleteSpace (E i)] [∀ (i : ι), BorelSpace (E i)] [∀ (i : ι), SecondCountableTopology (E i)]
  [inst_5 : (i : ι) → InnerProductSpace ℝ (E i)] {X : (i : ι) → Ω → E i},
  ProbabilityTheory.HasGaussianLaw (fun ω i ↦ X i ω) P →
    (∀ (i j : ι),
        i ≠ j →
          ∀ (x : E i) (y : E j),
            ProbabilityTheory.covariance (fun ω ↦ inner ℝ x (X i ω)) (fun ω ↦ inner ℝ y (X j ω)) P = 0) →
      ProbabilityTheory.iIndepFun X P

If $(X_i)_{i \in \iota}$ are jointly Gaussian and uncorrelated, then they are independent.

theorem ProbabilityTheory.HasGaussianLaw.iIndepFun_of_covariance_eval E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_2} [Finite ι] {κ : ι → Type u_4}
  [∀ (i : ι), Finite (κ i)] {X : (i : ι) → κ i → Ω → ℝ},
  ProbabilityTheory.HasGaussianLaw (fun ω i j ↦ X i j ω) P →
    (∀ (i j : ι), i ≠ j → ∀ (k : κ i) (l : κ j), ProbabilityTheory.covariance (X i k) (X j l) P = 0) →
      ProbabilityTheory.iIndepFun (fun i ω j ↦ X i j ω) P

If $((X_{i,j}){j \in \kappa_i}){i \in \iota}$ are jointly Gaussian, then they are independent if for all $i_1 \ne i_2 \in \iota$ and for all $j_1 \in \kappa_{i_1}, j_2 \in \kappa_{i_2}$, $\mathrm{Cov}(X_{i_1, j_1}, X_{i_2, j_2}) = 0$.

theorem ProbabilityTheory.HasGaussianLaw.iIndepFun_of_covariance_eq_zero E3 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_2} [Finite ι] {X : ι → Ω → ℝ},
  ProbabilityTheory.HasGaussianLaw (fun ω x ↦ X x ω) P →
    (∀ (i j : ι), i ≠ j → ProbabilityTheory.covariance (X i) (X j) P = 0) → ProbabilityTheory.iIndepFun X P

If $(X_i)_{i \in \iota}$ are jointly Gaussian, then they are independent if for all $i \ne j$, $\mathrm{Cov}(X_i, X_j) = 0$.

theorem ProbabilityTheory.IndepFun.hasGaussianLaw E3 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} {F : Type u_3}
  [inst : NormedAddCommGroup E] [inst_1 : MeasurableSpace E] [CompleteSpace E] [BorelSpace E]
  [SecondCountableTopology E] [inst_5 : NormedAddCommGroup F] [inst_6 : MeasurableSpace F] [CompleteSpace F]
  [BorelSpace F] [SecondCountableTopology F] [inst_10 : NormedSpace ℝ E] [inst_11 : NormedSpace ℝ F] {X : Ω → E}
  {Y : Ω → F},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P →
      ProbabilityTheory.IndepFun X Y P → ProbabilityTheory.HasGaussianLaw (fun ω ↦ (X ω, Y ω)) P

Independent Gaussian random variables are jointly Gaussian.

theorem ProbabilityTheory.HasGaussianLaw.indepFun_of_covariance_strongDual E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} {F : Type u_3}
  [inst : NormedAddCommGroup E] [inst_1 : MeasurableSpace E] [CompleteSpace E] [BorelSpace E]
  [SecondCountableTopology E] [inst_5 : NormedAddCommGroup F] [inst_6 : MeasurableSpace F] [CompleteSpace F]
  [BorelSpace F] [SecondCountableTopology F] [inst_10 : NormedSpace ℝ E] [inst_11 : NormedSpace ℝ F] {X : Ω → E}
  {Y : Ω → F},
  ProbabilityTheory.HasGaussianLaw (fun ω ↦ (X ω, Y ω)) P →
    (∀ (L₁ : StrongDual ℝ E) (L₂ : StrongDual ℝ F), ProbabilityTheory.covariance (⇑L₁ ∘ X) (⇑L₂ ∘ Y) P = 0) →
      ProbabilityTheory.IndepFun X Y P

If $(X, Y)$ is Gaussian, then $X$ and $Y$ are independent if they are uncorrelated.

theorem ProbabilityTheory.HasGaussianLaw.indepFun_of_covariance_inner E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} {F : Type u_3}
  [inst : NormedAddCommGroup E] [inst_1 : MeasurableSpace E] [CompleteSpace E] [BorelSpace E]
  [SecondCountableTopology E] [inst_5 : NormedAddCommGroup F] [inst_6 : MeasurableSpace F] [CompleteSpace F]
  [BorelSpace F] [SecondCountableTopology F] [inst_10 : InnerProductSpace ℝ E] [inst_11 : InnerProductSpace ℝ F]
  {X : Ω → E} {Y : Ω → F},
  ProbabilityTheory.HasGaussianLaw (fun ω ↦ (X ω, Y ω)) P →
    (∀ (x : E) (y : F), ProbabilityTheory.covariance (fun ω ↦ inner ℝ x (X ω)) (fun ω ↦ inner ℝ y (Y ω)) P = 0) →
      ProbabilityTheory.IndepFun X Y P

If $(X, Y)$ is Gaussian, then $X$ and $Y$ are independent if they are uncorrelated.

theorem ProbabilityTheory.HasGaussianLaw.indepFun_of_covariance_eval E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {ι : Type u_4} {κ : Type u_5} [Finite ι]
  [Finite κ] {X : ι → Ω → ℝ} {Y : κ → Ω → ℝ},
  ProbabilityTheory.HasGaussianLaw (fun ω ↦ (fun i ↦ X i ω, fun j ↦ Y j ω)) P →
    (∀ (i : ι) (j : κ), ProbabilityTheory.covariance (X i) (Y j) P = 0) →
      ProbabilityTheory.IndepFun (fun ω i ↦ X i ω) (fun ω j ↦ Y j ω) P

If $((X_i){i \in \iota}, (Y_j){j \in \kappa})$ is Gaussian, then $(X_i){i \in \iota}$ and $(Y_j){j \in \kappa}$ are independent if for all $i \in \iota, j \in \kappa$, $\mathrm{Cov}(X_i, Y_j) = 0$.

theorem ProbabilityTheory.HasGaussianLaw.indepFun_of_covariance_eq_zero E3 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : Ω → ℝ},
  ProbabilityTheory.HasGaussianLaw (fun ω ↦ (X ω, Y ω)) P →
    ProbabilityTheory.covariance X Y P = 0 → ProbabilityTheory.IndepFun X Y P

If $(X, Y)$ is Gaussian, then $X$ and $Y$ are independent if $\mathrm{Cov}(X, Y) = 0$.

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_sum E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {ι : Type u_3} [inst_6 : Fintype ι] {X : ι → Ω → E},
  (∀ (i : ι), ProbabilityTheory.HasGaussianLaw (X i) P) →
    ProbabilityTheory.iIndepFun X P → ProbabilityTheory.HasGaussianLaw (∑ i, X i) P

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_fun_sum E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {ι : Type u_3} [inst_6 : Fintype ι] {X : ι → Ω → E},
  (∀ (i : ι), ProbabilityTheory.HasGaussianLaw (X i) P) →
    ProbabilityTheory.iIndepFun X P → ProbabilityTheory.HasGaussianLaw (fun ω ↦ ∑ i, X i ω) P

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_add E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {X Y : Ω → E},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P → ProbabilityTheory.IndepFun X Y P → ProbabilityTheory.HasGaussianLaw (X + Y) P

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_fun_add E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {X Y : Ω → E},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P →
      ProbabilityTheory.IndepFun X Y P → ProbabilityTheory.HasGaussianLaw (fun ω ↦ X ω + Y ω) P

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_sub E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {X Y : Ω → E},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P → ProbabilityTheory.IndepFun X Y P → ProbabilityTheory.HasGaussianLaw (X - Y) P

theorem ProbabilityTheory.iIndepFun.hasGaussianLaw_fun_sub E1 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [CompleteSpace E]
  {X Y : Ω → E},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P →
      ProbabilityTheory.IndepFun X Y P → ProbabilityTheory.HasGaussianLaw (fun ω ↦ X ω - Y ω) P

theorem ProbabilityTheory.IndepFun.hasGaussianLaw_sub_of_sub E2 #

∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {E : Type u_2} [inst : NormedAddCommGroup E]
  [inst_1 : NormedSpace ℝ E] [inst_2 : MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] {X Y : Ω → E},
  ProbabilityTheory.HasGaussianLaw X P →
    ProbabilityTheory.HasGaussianLaw Y P →
      ProbabilityTheory.IndepFun X (Y - X) P → ProbabilityTheory.HasGaussianLaw (Y - X) P

If X and Y are two Gaussian random variables such that X and Y - X are independent, then Y - X is Gaussian.

This lemma is useful to prove that a process with independent increments and whose marginals are Gaussian has Gaussian increments.