Section 5, p. 8:9 — both tails of are at most
ProvedTraceEstimation.Gaussian.two_tailsconcentrationgaussianp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1trace-estimation
Let be an real symmetric positive semi-definite matrix with , let and , and let be a natural number with
Then the Gaussian trace estimator satisfies
- , and
- .
These are the two one-sided bounds that, combined with a union bound, give Theorem 5.2.
Formalization Note The closing sentence of the paper's proof reads "if then . Using the same technique, a lower bound can be shown". The first inequality is a misprint for the upper tail , which is part 1; the lower bound the page announces without a constant is stated in part 2 with the same threshold on , which is what the union bound requires. The hypothesis excludes , for which both events are certain.
Preamble
import Mathlib import Definitions.Def_TraceEstimation_Shared_gaussianEstimator
Formal statement
namespace TraceEstimation.Gaussian
open MeasureTheory ProbabilityTheory Matrix
/-- Section 5, p. 8:9 (Avron–Toledo), the closing sentence of the proof of Theorem 5.2, with
its two misprints corrected. For a symmetric positive semi-definite `A` with
`τ = trace(A) > 0`, `0 < ε ≤ 0.1`, `0 < δ < 1` and `M ≥ 20 ε⁻² ln(2/δ)`:
`Pr(G_M ≥ τ(1 + ε)) ≤ δ/2` (the upper tail) and `Pr(G_M ≤ τ(1 - ε)) ≤ δ/2` (the lower tail,
"shown using the same technique"). The page prints `Pr(G_M ≤ τ(1+ε)) ≤ δ/2` for the first. -/
theorem two_tails {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (hA : A.PosSemidef)
(htr : 0 < A.trace) (ε δ : ℝ) (hε : 0 < ε) (hε' : ε ≤ 1 / 10) (hδ : 0 < δ) (hδ' : δ < 1)
(M : ℕ) (hM : 0 < M) (hMbound : 20 * ε⁻¹ ^ 2 * Real.log (2 / δ) ≤ (M : ℝ)) :
(Shared.gaussianSampleMeasure n M).real {ω | A.trace * (1 + ε) ≤ Shared.gaussianEstimator A M ω} ≤
δ / 2 ∧
(Shared.gaussianSampleMeasure n M).real {ω | Shared.gaussianEstimator A M ω ≤ A.trace * (1 - ε)} ≤
δ / 2 := by sorry
end TraceEstimation.Gaussian
Source
Avron and Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, J. ACM 58(2), Article 8 (2011), p. 8:9, Section 5, end of the proof of Theorem 5.2
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.