The areas / V18. Measure and integration
Mathlib.MeasureTheory.Function.ConvergenceInDistribution
20 declarations. Mathlib docs · Source
Convergence in distribution
We introduce a definition of convergence in distribution of random variables: this is the
weak convergence of the laws of the random variables. In Mathlib terms this is a Tendsto in the
ProbabilityMeasure type.
We also state results relating convergence in probability (TendstoInMeasure)
and convergence in distribution.
Main definitions
TendstoInDistribution X l Z μ: the sequence of random variablesX nconverges in distribution to the random variableZalong the filterlwith respect to the probability measureμ.
Main statements
TendstoInDistribution.continuous_comp: Continuous mapping theorem. IfX ntends toZin distribution andgis continuous, theng ∘ X ntends tog ∘ Zin distribution.tendstoInDistribution_of_tendstoInMeasure_sub: the main technical tool for the next results. LetX, Ybe two sequences of measurable functions such thatX nconverges in distribution toZ, andY n - X nconverges in probability to0. ThenY nconverges in distribution toZ.TendstoInMeasure.tendstoInDistribution: convergence in probability implies convergence in distribution.TendstoInDistribution.prodMk_of_tendstoInMeasure_const: Slutsky's theorem. IfX nconverges in distribution toZ, andY nconverges in probability to a constantc, then the pair(X n, Y n)converges in distribution to(Z, c).
theorem MeasureTheory.TendstoInDistribution.congr_simp E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{m' : MeasurableSpace Ω'} {mE : MeasurableSpace E} [inst : TopologicalSpace E] [inst_1 : OpensMeasurableSpace E]
(X X_1 : (i : ι) → Ω i → E),
X = X_1 →
∀ (l l_1 : Filter ι),
l = l_1 →
∀ (Z Z_1 : Ω' → E),
Z = Z_1 →
∀ (μ μ_1 : (i : ι) → MeasureTheory.Measure (Ω i)) (e_μ : μ = μ_1)
[inst_2 : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] (μ' μ'_1 : MeasureTheory.Measure Ω')
(e_μ' : μ' = μ'_1) [inst_3 : MeasureTheory.IsProbabilityMeasure μ'],
MeasureTheory.TendstoInDistribution X l Z μ μ' = MeasureTheory.TendstoInDistribution X_1 l_1 Z_1 μ_1 μ'_1
structure MeasureTheory.TendstoInDistribution E1 #
{ι : Type u_1} →
{E : Type u_2} →
{Ω' : Type u_3} →
{Ω : ι → Type u_5} →
{m : (i : ι) → MeasurableSpace (Ω i)} →
{m' : MeasurableSpace Ω'} →
{mE : MeasurableSpace E} →
[inst : TopologicalSpace E] →
[OpensMeasurableSpace E] →
((i : ι) → Ω i → E) →
Filter ι →
(Ω' → E) →
(μ : (i : ι) → MeasureTheory.Measure (Ω i)) →
[∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] →
(μ' : autoParam (MeasureTheory.Measure Ω') MeasureTheory.TendstoInDistribution._auto_1) →
[MeasureTheory.IsProbabilityMeasure μ'] → Prop
Convergence in distribution of random variables.
This is the weak convergence of the laws of the random variables: Tendsto in the
ProbabilityMeasure type.
ctor MeasureTheory.TendstoInDistribution.mk E0 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{m' : MeasurableSpace Ω'} {mE : MeasurableSpace E} [inst : TopologicalSpace E] [inst_1 : OpensMeasurableSpace E]
{X : (i : ι) → Ω i → E} {l : Filter ι} {Z : Ω' → E} {μ : (i : ι) → MeasureTheory.Measure (Ω i)}
[inst_2 : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{μ' : autoParam (MeasureTheory.Measure Ω') MeasureTheory.TendstoInDistribution._auto_1}
[inst_3 : MeasureTheory.IsProbabilityMeasure μ'],
(∀ (i : ι), AEMeasurable (X i) (μ i)) →
autoParam (AEMeasurable Z μ') MeasureTheory.TendstoInDistribution.aemeasurable_limit._autoParam →
Filter.Tendsto (fun n ↦ ⟨MeasureTheory.Measure.map (X n) (μ n), ⋯⟩) l (nhds ⟨MeasureTheory.Measure.map Z μ', ⋯⟩) →
MeasureTheory.TendstoInDistribution X l Z μ μ'
theorem MeasureTheory.TendstoInDistribution.forall_aemeasurable E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{m' : MeasurableSpace Ω'} {mE : MeasurableSpace E} [inst : TopologicalSpace E] [inst_1 : OpensMeasurableSpace E]
{X : (i : ι) → Ω i → E} {l : Filter ι} {Z : Ω' → E} {μ : (i : ι) → MeasureTheory.Measure (Ω i)}
[inst_2 : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{μ' : autoParam (MeasureTheory.Measure Ω') MeasureTheory.TendstoInDistribution._auto_1}
[inst_3 : MeasureTheory.IsProbabilityMeasure μ'],
MeasureTheory.TendstoInDistribution X l Z μ μ' → ∀ (i : ι), AEMeasurable (X i) (μ i)
theorem MeasureTheory.TendstoInDistribution.aemeasurable_limit E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{m' : MeasurableSpace Ω'} {mE : MeasurableSpace E} [inst : TopologicalSpace E] [inst_1 : OpensMeasurableSpace E]
{X : (i : ι) → Ω i → E} {l : Filter ι} {Z : Ω' → E} {μ : (i : ι) → MeasureTheory.Measure (Ω i)}
[inst_2 : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{μ' : autoParam (MeasureTheory.Measure Ω') MeasureTheory.TendstoInDistribution._auto_1}
[inst_3 : MeasureTheory.IsProbabilityMeasure μ'], MeasureTheory.TendstoInDistribution X l Z μ μ' → AEMeasurable Z μ'
theorem MeasureTheory.TendstoInDistribution.tendsto E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{m' : MeasurableSpace Ω'} {mE : MeasurableSpace E} [inst : TopologicalSpace E] [inst_1 : OpensMeasurableSpace E]
{X : (i : ι) → Ω i → E} {l : Filter ι} {Z : Ω' → E} {μ : (i : ι) → MeasureTheory.Measure (Ω i)}
[inst_2 : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{μ' : autoParam (MeasureTheory.Measure Ω') MeasureTheory.TendstoInDistribution._auto_1}
[inst_3 : MeasureTheory.IsProbabilityMeasure μ'],
MeasureTheory.TendstoInDistribution X l Z μ μ' →
Filter.Tendsto (fun n ↦ ⟨MeasureTheory.Measure.map (X n) (μ n), ⋯⟩) l (nhds ⟨MeasureTheory.Measure.map Z μ', ⋯⟩)
theorem MeasureTheory.tendstoInDistribution_iff_forall_integral_rclike_tendsto E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{μ : (i : ι) → MeasureTheory.Measure (Ω i)} [inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'} [inst_1 : MeasureTheory.IsProbabilityMeasure μ']
{mE : MeasurableSpace E} {X : (i : ι) → Ω i → E} {Z : Ω' → E} {l : Filter ι} [inst_2 : TopologicalSpace E]
(𝕜 : Type u_6) [inst_3 : RCLike 𝕜] [inst_4 : OpensMeasurableSpace E],
(∀ (i : ι), AEMeasurable (X i) (μ i)) →
AEMeasurable Z μ' →
(MeasureTheory.TendstoInDistribution X l Z μ μ' ↔
∀ (f : BoundedContinuousFunction E 𝕜),
Filter.Tendsto (fun i ↦ ∫ (ω : Ω i), f (X i ω) ∂μ i) l (nhds (∫ (ω : Ω'), f (Z ω) ∂μ')))
theorem MeasureTheory.tendstoInDistribution_const E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'}
[inst : MeasureTheory.IsProbabilityMeasure μ'] {mE : MeasurableSpace E} {Z : Ω' → E} {l : Filter ι}
[inst_1 : TopologicalSpace E] [inst_2 : OpensMeasurableSpace E],
AEMeasurable Z μ' → MeasureTheory.TendstoInDistribution (fun x ↦ Z) l Z (fun x ↦ μ') μ'
theorem MeasureTheory.tendstoInDistribution_of_identDistrib E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{μ : (i : ι) → MeasureTheory.Measure (Ω i)} [inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'} [inst_1 : MeasureTheory.IsProbabilityMeasure μ']
{mE : MeasurableSpace E} {X : (i : ι) → Ω i → E} {Z : Ω' → E} {l : Filter ι} [inst_2 : TopologicalSpace E]
[inst_3 : OpensMeasurableSpace E] (i : ι),
(∀ (j : ι), ProbabilityTheory.IdentDistrib (X i) (X j) (μ i) (μ j)) →
ProbabilityTheory.IdentDistrib (X i) Z (μ i) μ' → MeasureTheory.TendstoInDistribution X l Z μ μ'
theorem MeasureTheory.TendstoInDistribution.congr E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{μ : (i : ι) → MeasureTheory.Measure (Ω i)} [inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'} [inst_1 : MeasureTheory.IsProbabilityMeasure μ']
{mE : MeasurableSpace E} {X Y : (i : ι) → Ω i → E} {Z : Ω' → E} {l : Filter ι} [inst_2 : TopologicalSpace E]
[inst_3 : OpensMeasurableSpace E] {T : Ω' → E},
(∀ (i : ι), X i =ᵐ[μ i] Y i) →
Z =ᵐ[μ'] T → MeasureTheory.TendstoInDistribution X l Z μ μ' → MeasureTheory.TendstoInDistribution Y l T μ μ'
theorem MeasureTheory.tendstoInDistribution_of_isEmpty E0 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{μ : (i : ι) → MeasureTheory.Measure (Ω i)} [inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'} [inst_1 : MeasureTheory.IsProbabilityMeasure μ']
{mE : MeasurableSpace E} {X : (i : ι) → Ω i → E} {Z : Ω' → E} {l : Filter ι} [inst_2 : TopologicalSpace E]
[inst_3 : IsEmpty E], MeasureTheory.TendstoInDistribution X l Z μ μ'
theorem MeasureTheory.tendstoInDistribution_unique E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω'' : Type u_4} {Ω : ι → Type u_5}
{m : (i : ι) → MeasurableSpace (Ω i)} {μ : (i : ι) → MeasureTheory.Measure (Ω i)}
[inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] {m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'}
[inst_1 : MeasureTheory.IsProbabilityMeasure μ'] {m'' : MeasurableSpace Ω''} {μ'' : MeasureTheory.Measure Ω''}
[inst_2 : MeasureTheory.IsProbabilityMeasure μ''] {mE : MeasurableSpace E} {l : Filter ι}
[inst_3 : TopologicalSpace E] [HasOuterApproxClosed E] [inst_5 : BorelSpace E] (X : (i : ι) → Ω i → E) {Z : Ω' → E}
{W : Ω'' → E} [l.NeBot],
MeasureTheory.TendstoInDistribution X l Z μ μ' →
MeasureTheory.TendstoInDistribution X l W μ μ'' → MeasureTheory.Measure.map Z μ' = MeasureTheory.Measure.map W μ''
theorem MeasureTheory.TendstoInDistribution.continuous_comp E3 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω : ι → Type u_5} {m : (i : ι) → MeasurableSpace (Ω i)}
{μ : (i : ι) → MeasureTheory.Measure (Ω i)} [inst : ∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)]
{m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'} [inst_1 : MeasureTheory.IsProbabilityMeasure μ']
{mE : MeasurableSpace E} {X : (i : ι) → Ω i → E} {Z : Ω' → E} {l : Filter ι} [inst_2 : TopologicalSpace E]
{F : Type u_6} [inst_3 : OpensMeasurableSpace E] [inst_4 : TopologicalSpace F] [inst_5 : MeasurableSpace F]
[inst_6 : BorelSpace F] {g : E → F},
Continuous g →
MeasureTheory.TendstoInDistribution X l Z μ μ' →
MeasureTheory.TendstoInDistribution (fun n ↦ g ∘ X n) l (g ∘ Z) μ μ'
Continuous mapping theorem: if X n tends to Z in distribution and g is continuous,
then g ∘ X n tends to g ∘ Z in distribution.
theorem MeasureTheory.tendstoInDistribution_of_ae_tendsto E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'}
[inst : MeasureTheory.IsProbabilityMeasure μ'] {mE : MeasurableSpace E} {Z : Ω' → E} {l : Filter ι}
[inst_1 : TopologicalSpace E] [l.IsCountablyGenerated] [inst_3 : OpensMeasurableSpace E] {X : ι → Ω' → E},
(∀ (i : ι), AEMeasurable (X i) μ') →
AEMeasurable Z μ' →
(∀ᵐ (ω : Ω') ∂μ', Filter.Tendsto (fun i ↦ X i ω) l (nhds (Z ω))) →
MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ') μ'
Almost sure convergence implies convergence in distribution.
theorem MeasureTheory.TendstoInMeasure.tendstoInDistribution E3 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'}
[inst : MeasureTheory.IsProbabilityMeasure μ'] {mE : MeasurableSpace E} {Z : Ω' → E} {l : Filter ι}
[inst_1 : PseudoEMetricSpace E] [inst_2 : BorelSpace E] [l.IsCountablyGenerated] [l.NeBot] {X : ι → Ω' → E},
MeasureTheory.TendstoInMeasure μ' X l Z →
(∀ (i : ι), AEMeasurable (X i) μ') → MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ') μ'
Convergence in probability (TendstoInMeasure) implies convergence in distribution
(TendstoInDistribution).
theorem MeasureTheory.tendstoInDistribution_of_tendstoInMeasure_sub E3 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω'' : Type u_4} {m' : MeasurableSpace Ω'}
{μ' : MeasureTheory.Measure Ω'} [inst : MeasureTheory.IsProbabilityMeasure μ'] {m'' : MeasurableSpace Ω''}
{μ'' : MeasureTheory.Measure Ω''} [inst_1 : MeasureTheory.IsProbabilityMeasure μ''] {mE : MeasurableSpace E}
{l : Filter ι} [inst_2 : SeminormedAddCommGroup E] [SecondCountableTopology E] [inst_4 : BorelSpace E]
{X : ι → Ω'' → E} [l.IsCountablyGenerated] (Y : ι → Ω'' → E) (Z : Ω' → E),
MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ'') μ' →
MeasureTheory.TendstoInMeasure μ'' (Y - X) l 0 →
(∀ (i : ι), AEMeasurable (Y i) μ'') → MeasureTheory.TendstoInDistribution Y l Z (fun x ↦ μ'') μ'
Let X, Y be two sequences of measurable functions such that X n converges in distribution
to Z, and Y n - X n converges in probability to 0.
Then Y n converges in distribution to Z.
theorem MeasureTheory.TendstoInMeasure.tendstoInDistribution_of_aemeasurable E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {m' : MeasurableSpace Ω'} {μ' : MeasureTheory.Measure Ω'}
[inst : MeasureTheory.IsProbabilityMeasure μ'] {mE : MeasurableSpace E} {Z : Ω' → E} {l : Filter ι}
[inst_1 : SeminormedAddCommGroup E] [SecondCountableTopology E] [inst_3 : BorelSpace E] [l.IsCountablyGenerated]
{X : ι → Ω' → E},
MeasureTheory.TendstoInMeasure μ' X l Z →
(∀ (i : ι), AEMeasurable (X i) μ') → AEMeasurable Z μ' → MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ') μ'
Convergence in probability (TendstoInMeasure) implies convergence in distribution
(TendstoInDistribution).
theorem MeasureTheory.TendstoInDistribution.prodMk_of_tendstoInMeasure_const E3 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω'' : Type u_4} {m' : MeasurableSpace Ω'}
{μ' : MeasureTheory.Measure Ω'} [inst : MeasureTheory.IsProbabilityMeasure μ'] {m'' : MeasurableSpace Ω''}
{μ'' : MeasureTheory.Measure Ω''} [inst_1 : MeasureTheory.IsProbabilityMeasure μ''] {mE : MeasurableSpace E}
{l : Filter ι} [inst_2 : SeminormedAddCommGroup E] [SecondCountableTopology E] [inst_4 : BorelSpace E] {E' : Type u_6}
{mE' : MeasurableSpace E'} [inst_5 : SeminormedAddCommGroup E'] [inst_6 : SecondCountableTopology E']
[inst_7 : BorelSpace E'] [l.IsCountablyGenerated] (X : ι → Ω'' → E) (Y : ι → Ω'' → E') (Z : Ω' → E) {c : E'},
MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ'') μ' →
(MeasureTheory.TendstoInMeasure μ'' Y l fun x ↦ c) →
(∀ (i : ι), AEMeasurable (Y i) μ'') →
MeasureTheory.TendstoInDistribution (fun n ω ↦ (X n ω, Y n ω)) l (fun ω ↦ (Z ω, c)) (fun x ↦ μ'') μ'
Slutsky's theorem: if X n converges in distribution to Z, and Y n converges in
probability to a constant c, then the pair (X n, Y n) converges in distribution to (Z, c).
theorem MeasureTheory.TendstoInDistribution.continuous_comp_prodMk_of_tendstoInMeasure_const E3 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω'' : Type u_4} {m' : MeasurableSpace Ω'}
{μ' : MeasureTheory.Measure Ω'} [inst : MeasureTheory.IsProbabilityMeasure μ'] {m'' : MeasurableSpace Ω''}
{μ'' : MeasureTheory.Measure Ω''} [inst_1 : MeasureTheory.IsProbabilityMeasure μ''] {mE : MeasurableSpace E}
{Z : Ω' → E} {l : Filter ι} [inst_2 : SeminormedAddCommGroup E] [SecondCountableTopology E] [inst_4 : BorelSpace E]
{E' : Type u_6} {F : Type u_7} {mE' : MeasurableSpace E'} [inst_5 : SeminormedAddCommGroup E']
[SecondCountableTopology E'] [BorelSpace E'] [inst_8 : TopologicalSpace F] [inst_9 : MeasurableSpace F]
[inst_10 : BorelSpace F] {g : E × E' → F},
Continuous g →
∀ [l.IsCountablyGenerated] {X : ι → Ω'' → E} {Y : ι → Ω'' → E'} {c : E'},
MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ'') μ' →
(MeasureTheory.TendstoInMeasure μ'' Y l fun x ↦ c) →
(∀ (i : ι), AEMeasurable (Y i) μ'') →
MeasureTheory.TendstoInDistribution (fun n ω ↦ g (X n ω, Y n ω)) l (fun ω ↦ g (Z ω, c)) (fun x ↦ μ'') μ'
Slutsky's theorem for a continuous function: if X n converges in distribution to Z,
Y n converges in probability to a constant c, and g is a continuous function, then
g (X n, Y n) converges in distribution to g (Z, c).
theorem MeasureTheory.TendstoInDistribution.add_of_tendstoInMeasure_const E1 #
∀ {ι : Type u_1} {E : Type u_2} {Ω' : Type u_3} {Ω'' : Type u_4} {m' : MeasurableSpace Ω'}
{μ' : MeasureTheory.Measure Ω'} [inst : MeasureTheory.IsProbabilityMeasure μ'] {m'' : MeasurableSpace Ω''}
{μ'' : MeasureTheory.Measure Ω''} [inst_1 : MeasureTheory.IsProbabilityMeasure μ''] {mE : MeasurableSpace E}
{Z : Ω' → E} {l : Filter ι} [inst_2 : SeminormedAddCommGroup E] [SecondCountableTopology E] [inst_4 : BorelSpace E]
{X Y : ι → Ω'' → E} [l.IsCountablyGenerated] {c : E},
MeasureTheory.TendstoInDistribution X l Z (fun x ↦ μ'') μ' →
(MeasureTheory.TendstoInMeasure μ'' Y l fun x ↦ c) →
(∀ (i : ι), AEMeasurable (Y i) μ'') →
MeasureTheory.TendstoInDistribution (fun n ↦ X n + Y n) l (fun ω ↦ Z ω + c) (fun x ↦ μ'') μ'