Lemma EC.1 — the mean of i.i.d. vectors with is within of its expectation w.p.
ProvedColumnRandLP.lemma_EC_1Let () be independent and identically distributed random vectors in such that for , and let . Then for every , with probability at least ,
This is the vector concentration inequality of Rahimi and Recht (2009, Lemma 4), which the paper uses to show that the importance-weighted sparsification is close to (Step 1 of Proposition EC.3) and, through Lemma EC.2, that is close to .
Formalization Note The vectors are measurable maps from a probability space into EuclideanSpace ℝ (Fin d); independence is iIndepFun and identical distribution is pairwise IdentDistrib. The bound holds at every sample point, so is integrable and is its Bochner integral. is the natural logarithm.
Differences from the source:
- encoding: i.i.d. random vectors with ‖w_k‖₂ ≤ C → measurable maps on a probability space into EuclideanSpace ℝ (Fin d), iIndepFun plus pairwise IdentDistrib, bound at every sample point; reason: the standard measure-theoretic reading of the same hypotheses
- reading: K, the number of vectors → 1 ≤ K; reason: the bound contains 1/√K and averages K vectors
import Mathlib open MeasureTheory ProbabilityTheory
namespace ColumnRandLP
/-- **Lemma EC.1** (Akchen–Mišić, arXiv:2007.10461v5, Lemma EC.1, p.ec7; attributed there to
Rahimi and Recht 2009, Lemma 4). Let `w₁, …, w_K` be i.i.d. random vectors in `ℝ^d` with
`‖w_k‖₂ ≤ C` for every `k`, and `w̄ = (1/K) ∑_k w_k`. For every `δ ∈ (0,1)`, with probability at
least `1 − δ`,
`‖w̄ − E[w̄]‖₂ ≤ C/√K · (1 + √(2 log(1/δ)))`.
**Formalization Note** The vectors live in `EuclideanSpace ℝ (Fin d)` (its norm is `‖·‖₂`) and
are measurable functions on a probability space `(Ω, μ)`; "i.i.d." is `iIndepFun` together with
pairwise `IdentDistrib`. The bound `‖w_k‖₂ ≤ C` holds at every sample point. `E[w̄]` is the
Bochner integral of `w̄`, which is integrable because it is bounded and measurable. `K ≥ 1` (the
paper's `K` is a number of vectors and appears as `1/√K`); `log` is the natural logarithm. -/
theorem lemma_EC_1 {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ]
{d K : ℕ} (hK : 1 ≤ K) (w : Fin K → Ω → EuclideanSpace ℝ (Fin d))
(hmeas : ∀ k, Measurable (w k)) (hind : iIndepFun w μ)
(hident : ∀ k k', IdentDistrib (w k) (w k') μ μ)
(C : ℝ) (hbound : ∀ k ω, ‖w k ω‖ ≤ C) (δ : ℝ) (hδ0 : 0 < δ) (hδ1 : δ < 1) :
ENNReal.ofReal (1 - δ) ≤
μ {ω | ‖(1 / (K : ℝ)) • ∑ k, w k ω - ∫ ω', (1 / (K : ℝ)) • ∑ k, w k ω' ∂μ‖ ≤
C / Real.sqrt K * (1 + Real.sqrt (2 * Real.log (1 / δ)))} := by sorry
end ColumnRandLP
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.