L₂-to-L₁ near-uniformity criterion #
A normalized real vector v : α → ℝ (∑ i, v i = 1) on a finite nonempty m-element type α
whose squared L₂ norm satisfies ∑ i, v i ^ 2 ≤ (1 + β) ^ 2 / m for some β ∈ [0, 1] has L₁
distance from the uniform distribution at most √(3β).
Main results #
Cslib.Probability.sq_l1_sub_uniform_le: Cauchy–Schwarz L₁-to-L₂ bound against the uniform vector for any normalized real vector.Cslib.Probability.l1_sub_uniform_le_sqrt_three_mul: L₂-to-L₁ near-uniformity bound.
theorem Cslib.Probability.sq_l1_sub_uniform_le {α : Type u_1} [Fintype α] [Nonempty α] (v : α → ℝ) (hsum : ∑ i : α, v i = 1) :
Cauchy–Schwarz L₁-to-L₂ bound against the uniform vector: for any normalized real
vector v : α → ℝ on a nonempty finite type α with ∑ i, v i = 1,
(∑ i, |v i - 1 / |α||) ^ 2 ≤ |α| * ∑ i, v i ^ 2 - 1.
theorem Cslib.Probability.l1_sub_uniform_le_sqrt_three_mul {α : Type u_1} [Fintype α] [Nonempty α] (v : α → ℝ) (hsum : ∑ i : α, v i = 1) {β : ℝ} (hβ0 : 0 ≤ β) (hβ1 : β ≤ 1) (hl2 : ∑ i : α, v i ^ 2 ≤ (1 + β) ^ 2 / ↑(Fintype.card α)) :
L₂-to-L₁ near-uniformity criterion:
If a normalized vector v : α → ℝ on a nonempty finite type α satisfies
∑ i, v i = 1 and ∑ i, v i ^ 2 ≤ (1 + β) ^ 2 / |α| for β ∈ [0, 1], then
∑ i, |v i - 1 / |α|| ≤ √(3β).