Documentation

CslibFrontier.Foundations.Probability.WeightedSecondMoment

Weighted second-moment concentration for locally dependent random variables #

CslibFrontier/Foundations/Probability/SecondMoment.lean proves Chebyshev concentration for sums of unweighted indicators of locally dependent events in a product probability space. This module proves the corresponding bound for sums of bounded nonnegative local random variables X k : (Π i, Ω i) → ℝ (0 ≤ X k ω ≤ W, such as w k * (A k).indicator 1 ω): if each X k depends only on coordinates in S k and each S k meets at most D other S l (l ∈ F), then Var[∑ k ∈ F, X k] ≤ #F * W ^ 2 * D, so the sum deviates from its mean by at least c > 0 with probability at most #F * W ^ 2 * D / c ^ 2.

Main results #

theorem ProbabilityTheory.variance_pi_sum_bounded_le {ι : Type u_1} {κ : Type u_2} [Fintype ι] {Ω : ι → Type u_3} [(i : ι) → MeasurableSpace (Ω i)] {μ : (i : ι) → MeasureTheory.Measure (Ω i)} [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] (F : Finset κ) {X : κ → ((i : ι) → Ω i) → ℝ} (hX : ∀ k ∈ F, Measurable (X k)) {W : ℝ} (h0 : ∀ k ∈ F, ∀ (ω : (i : ι) → Ω i), 0 ≤ X k ω) (hle : ∀ k ∈ F, ∀ (ω : (i : ι) → Ω i), X k ω ≤ W) (S : κ → Set ι) (hXS : ∀ k ∈ F, DependsOn (X k) (S k)) (G : κ → κ → Prop) [DecidableRel G] (hG : ∀ k ∈ F, ∀ l ∈ F, ¬G k l → Disjoint (S k) (S l)) {D : ℕ} (hD : ∀ k ∈ F, {l ∈ F | G k l}.card ≤ D) :
variance (fun (ω : (i : ι) → Ω i) => ∑ k ∈ F, X k ω) (MeasureTheory.Measure.pi μ) ≤ ↑F.card * W ^ 2 * ↑D

Variance of a sum of bounded nonnegative local random variables.

theorem ProbabilityTheory.measureReal_pi_le_abs_sum_bounded_sub_le {ι : Type u_1} {κ : Type u_2} [Fintype ι] {Ω : ι → Type u_3} [(i : ι) → MeasurableSpace (Ω i)] {μ : (i : ι) → MeasureTheory.Measure (Ω i)} [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] (F : Finset κ) {X : κ → ((i : ι) → Ω i) → ℝ} (hX : ∀ k ∈ F, Measurable (X k)) {W : ℝ} (h0 : ∀ k ∈ F, ∀ (ω : (i : ι) → Ω i), 0 ≤ X k ω) (hle : ∀ k ∈ F, ∀ (ω : (i : ι) → Ω i), X k ω ≤ W) (S : κ → Set ι) (hXS : ∀ k ∈ F, DependsOn (X k) (S k)) (G : κ → κ → Prop) [DecidableRel G] (hG : ∀ k ∈ F, ∀ l ∈ F, ¬G k l → Disjoint (S k) (S l)) {D : ℕ} (hD : ∀ k ∈ F, {l ∈ F | G k l}.card ≤ D) {c : ℝ} (hc : 0 < c) :
(MeasureTheory.Measure.pi μ).real {ω : (i : ι) → Ω i | c ≤ |∑ k ∈ F, X k ω - ∑ k ∈ F, ∫ (ω' : (i : ι) → Ω i), X k ω' ∂MeasureTheory.Measure.pi μ|} ≤ ↑F.card * W ^ 2 * ↑D / c ^ 2

Chebyshev concentration for bounded nonnegative local random variables.

theorem ProbabilityTheory.measureReal_pi_le_abs_sum_weighted_indicator_sub_le {ι : Type u_1} {κ : Type u_2} [Fintype ι] {Ω : ι → Type u_3} [(i : ι) → MeasurableSpace (Ω i)] {μ : (i : ι) → MeasureTheory.Measure (Ω i)} [∀ (i : ι), MeasureTheory.IsProbabilityMeasure (μ i)] (F : Finset κ) {A : κ → Set ((i : ι) → Ω i)} (hA : ∀ k ∈ F, MeasurableSet (A k)) {w : κ → ℝ} {W : ℝ} (hW0 : 0 ≤ W) (hw0 : ∀ k ∈ F, 0 ≤ w k) (hwW : ∀ k ∈ F, w k ≤ W) (S : κ → Set ι) (hAS : ∀ k ∈ F, DependsOn (fun (x : (i : ι) → Ω i) => x ∈ A k) (S k)) (G : κ → κ → Prop) [DecidableRel G] (hG : ∀ k ∈ F, ∀ l ∈ F, ¬G k l → Disjoint (S k) (S l)) {D : ℕ} (hD : ∀ k ∈ F, {l ∈ F | G k l}.card ≤ D) {c : ℝ} (hc : 0 < c) :
(MeasureTheory.Measure.pi μ).real {ω : (i : ι) → Ω i | c ≤ |∑ k ∈ F, w k * (A k).indicator 1 ω - ∑ k ∈ F, w k * (MeasureTheory.Measure.pi μ).real (A k)|} ≤ ↑F.card * W ^ 2 * ↑D / c ^ 2

Weighted indicator concentration for locally dependent events in a product probability space: when 0 ≤ w k ≤ W on F, ∑ k ∈ F, w k * 1_{A k} deviates from ∑ k ∈ F, w k * P(A k) by at least c > 0 with probability at most #F * W ^ 2 * D / c ^ 2.