Lemma 5.3, proof — two-sided tail bound for
ProvedTraceEstimation.ProjectionRank.chi_squared_tailLet , let be independent standard normal random variables, and let , so that . For every with ,
This is the concentration inequality that Avron and Toledo cite from Li, Hastie and Church (2007) and apply to in the proof of Lemma 5.3.
Formalization Note Two corrections to the printed display. The paper prints ; the inner is a misprint for , as the next display, which applies the bound, shows. The paper gives no range for , and the bound is false for and large : the upper tail decays like , slower than . The statement is therefore restricted to , which contains the only value the proof uses, . The variable is modelled as the sum of squares on the product space Fin k → ℝ with Measure.pi (fun _ => gaussianReal 0 1), and the probability is Measure.real.
import Mathlib
namespace TraceEstimation.ProjectionRank
open MeasureTheory ProbabilityTheory
/-- The `χ²` tail bound Avron–Toledo cite from [Li et al. 2007] (Lemma 5.3, proof, p. 8:9):
if `X = ∑_{l=1}^k g_l²` with `g_1, …, g_k` i.i.d. standard normal (`X ∼ χ²(k)`), `k ≥ 1`,
and `0 < ε ≤ 1/2`, then `Pr(|X - k| ≥ ε k) ≤ 2 exp(-k ε² / 6)`.
Two corrections to the printed display `Pr(|X - k| ≤ ε k) ≤ 2 exp(-k ε²/6)`: the `≤` inside
the probability is a misprint for `≥` (the next display, which applies the bound, has `≥`);
and the page gives no range for `ε`, while the bound fails for `ε = 1` and large `k` (the
upper tail decays like `exp(-k (1 - ln 2)/2)`, slower than `exp(-k/6)`). It holds for
`0 < ε ≤ 1/2`, which covers the only value the proof uses, `ε = 1/(2 rank(A))`. -/
theorem chi_squared_tail (k : ℕ) (hk : 0 < k) (ε : ℝ) (hε : 0 < ε) (hε2 : ε ≤ 1 / 2) :
(Measure.pi fun _ : Fin k => gaussianReal 0 1).real
{g | ε * k ≤ |∑ l, g l ^ 2 - k|} ≤ 2 * Real.exp (-(k * ε ^ 2 / 6)) := by sorry
end TraceEstimation.ProjectionRank
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.