Theorem 8.2 — is an -approximator for
ProvedTraceEstimation.UnitVector.unit_vector_estimator_approximatorhoeffdingp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1randomized-numerical-linear-algebratrace-estimation
Let () be symmetric positive semi-definite, let , and let and . If the number of samples satisfies
then the unit vector estimator is an -approximator of :
The bound depends on only through , which is small when the diagonal of is nearly uniform and as large as when the trace sits on one diagonal entry.
Formalization Note The sentence of Theorem 8.2 names no hypothesis on ; the section's matrix is that of Definition 3.4 (positive definite), and the proof uses that samples lie in , i.e. . The statement is made for positive semi-definite , the weaker hypothesis. No hypothesis is added: for positive semi-definite with trace , and the claim holds trivially (Lean's ).
Preamble
import Mathlib import Definitions.Def_TraceEstimation_Shared_IsApproximator import Definitions.Def_TraceEstimation_UnitVector_unitVectorEstimator import Definitions.Def_TraceEstimation_UnitVector_rD
Formal statement
namespace TraceEstimation.UnitVector
open MeasureTheory ProbabilityTheory Matrix Real
/-- Theorem 8.2 (Avron–Toledo, p. 8:12): for a symmetric positive semi-definite `n × n` matrix `A`
(`n ≥ 1`), `0 < ε`, `0 < δ < 1` and `M ≥ 1` samples with
`M ≥ (1/2) ε⁻² ln(2/δ) r_D²(A)`, where `r_D(A) = n · max_i A_ii / trace(A)`, the unit vector
estimator `U_M` is an `(ε, δ)`-approximator of `trace(A)`. -/
theorem unit_vector_estimator_approximator {n : ℕ} (hn : 0 < n)
(A : Matrix (Fin n) (Fin n) ℝ) (hA : A.PosSemidef)
(ε δ : ℝ) (hε : 0 < ε) (hδ : 0 < δ) (hδ1 : δ < 1)
(M : ℕ) (hM : 0 < M)
(hMbound : (1 / 2 : ℝ) * ε⁻¹ ^ 2 * Real.log (2 / δ) * rD A ^ 2 ≤ (M : ℝ)) :
Shared.IsApproximator (indexSampleMeasure n M) (unitVectorEstimator A M) A ε δ := by sorry
end TraceEstimation.UnitVector
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:12, Theorem 8.2
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.