Lemma 5.3, proof, Eq. (2) — gives failure probability
ProvedTraceEstimation.ProjectionRank.sample_bound_eq2gaussianp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1projection-matrixsample-complexitytrace-estimation
Let be an orthogonal projection matrix (symmetric with ) of rank , let and , and let be an integer with
Then the Gaussian trace estimator of satisfies
This converts the exponential tail bound into a sample-size requirement; it is the bound into which the proof of Lemma 5.3 substitutes .
Formalization Note The probability is Measure.real under the product Gaussian measure of Definition 3.1. The range is inherited from the tail bound. For the right side of (2) is non-positive and the conclusion holds trivially since probabilities are at most ; no upper bound on is imposed, matching the paper.
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), Eq. (2): for an orthogonal projection `A`
(symmetric, `A * A = A`) with `rank(A) ≥ 1`, `0 < ε ≤ 1/2`, `δ > 0` and a number of samples
`M ≥ 1` with `M ≥ 6 rank(A)⁻¹ ε⁻² ln(2/δ)`, we have `Pr(|G_M - rank(A)| ≥ rank(A) ε) ≤ δ`. -/
theorem sample_bound_eq2 {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (hA : A.IsHermitian)
(hA2 : A * A = A) (hr : 0 < A.rank) (ε : ℝ) (hε : 0 < ε) (hε2 : ε ≤ 1 / 2) (δ : ℝ)
(hδ : 0 < δ) (M : ℕ) (hM : 0 < M)
(hMε : 6 * (A.rank : ℝ)⁻¹ * ε⁻¹ ^ 2 * Real.log (2 / δ) ≤ M) :
(Shared.gaussianSampleMeasure n M).real
{ω | (A.rank : ℝ) * ε ≤ |Shared.gaussianEstimator A M ω - A.rank|} ≤ δ := 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, Eq. (2)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.