Lemma 5.3, proof —
ProvedTraceEstimation.ProjectionRank.estimator_tailconcentration-inequalitygaussianp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1projection-matrixtrace-estimation
Let be an orthogonal projection matrix (symmetric with ) of rank , let , let be the Gaussian trace estimator of with samples, and let . Then
This is the tail bound transferred to the Gaussian estimator of a projection: the relative error of as an estimate of is exponentially unlikely to exceed in the product .
Formalization Note The probabilities are Measure.real of events under the product Gaussian measure of Definition 3.1. The range is that of the tail bound the paper applies (see the milestone on that bound, where the page states no range and the bound fails for ); the paper uses only . "Projection matrix" is read as orthogonal projection.
Preamble
import Mathlib import Definitions.Def_TraceEstimation_Shared_gaussianEstimator
Formal statement
namespace TraceEstimation.ProjectionRank
open MeasureTheory ProbabilityTheory Matrix
/-- Avron–Toledo, Lemma 5.3, proof (p. 8:9), the display after "By applying this result to
`MG_M`": for an orthogonal projection `A` (symmetric, `A * A = A`) with `rank(A) ≥ 1`, `M ≥ 1`
and `0 < ε ≤ 1/2` (the range of the `χ²` tail bound it applies),
`Pr(|G_M - rank(A)| ≥ rank(A) ε) = Pr(|M G_M - M rank(A)| ≥ M rank(A) ε)
≤ 2 exp(-M rank(A) ε² / 6)`. -/
theorem estimator_tail {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (hA : A.IsHermitian)
(hA2 : A * A = A) (hr : 0 < A.rank) (M : ℕ) (hM : 0 < M) (ε : ℝ) (hε : 0 < ε)
(hε2 : ε ≤ 1 / 2) :
(Shared.gaussianSampleMeasure n M).real
{ω | (A.rank : ℝ) * ε ≤ |Shared.gaussianEstimator A M ω - A.rank|} =
(Shared.gaussianSampleMeasure n M).real
{ω | (M : ℝ) * A.rank * ε ≤ |(M : ℝ) * Shared.gaussianEstimator A M ω - (M : ℝ) * A.rank|} ∧
(Shared.gaussianSampleMeasure n M).real
{ω | (A.rank : ℝ) * ε ≤ |Shared.gaussianEstimator A M ω - A.rank|} ≤
2 * Real.exp (-((M : ℝ) * A.rank * ε ^ 2 / 6)) := by sorry
end TraceEstimation.ProjectionRank
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, proof of Lemma 5.3, display after "By applying this result to MG_M"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.