Theorem 8.4 — is an -approximator for
ProvedTraceEstimation.UnitVector.mixed_unit_vector_estimator_approximatorLet , let be an orthogonal seed matrix with , and let be symmetric positive semi-definite. Let and . If the number of samples satisfies
then the mixed unit vector estimator
is an -approximator of :
Here with diagonal with i.i.d. Rademacher entries, and are independent uniform samples from , independent of . For Fourier-type seeds, where , the bound is samples independently of , each sample requiring only random bits (plus the bits of ).
Formalization Note The probability is over the product space of the diagonal of and the indices of the (mixedSampleMeasure n M). The constant is the one printed in Theorem 8.4, which the proof establishes. The paper's Table I (p. 8:5) lists for this estimator, which drops the square on and presumes a specific seed; that entry is not what is stated here.
import Mathlib import Definitions.Def_TraceEstimation_Shared_IsApproximator import Definitions.Def_TraceEstimation_UnitVector_mixedUnitVectorEstimator
namespace TraceEstimation.UnitVector
open MeasureTheory ProbabilityTheory Matrix Real
/-- Theorem 8.4 (Avron–Toledo, p. 8:13): let `F` be an orthogonal `n × n` seed matrix (`n ≥ 1`)
with `η = max |F_ij|²`, `A` a symmetric positive semi-definite `n × n` matrix, `0 < ε`,
`0 < δ < 1`, and `M ≥ 1` with `M ≥ 2 n² η² ε⁻² ln(4/δ) ln²(4n²/δ)`. Then the mixed unit vector
estimator `T_M = (n/M) ∑_{i=1}^M z_iᵀ 𝓕 A 𝓕ᵀ z_i` — with `𝓕 = F D`, `D` a diagonal matrix of
i.i.d. Rademacher signs, and `z_1, …, z_M` independent uniform samples from `{e_1, …, e_n}`
drawn independently of `D` — is an `(ε, δ)`-approximator of `trace(A)`. -/
theorem mixed_unit_vector_estimator_approximator {n : ℕ} (hn : 0 < n)
(F : Matrix (Fin n) (Fin n) ℝ) (hF : Fᵀ * F = 1)
(A : Matrix (Fin n) (Fin n) ℝ) (hA : A.PosSemidef)
(ε δ : ℝ) (hε : 0 < ε) (hδ : 0 < δ) (hδ1 : δ < 1)
(M : ℕ) (hM : 0 < M)
(hMbound : 2 * (n : ℝ) ^ 2 * eta F ^ 2 * ε⁻¹ ^ 2 * Real.log (4 / δ) *
Real.log (4 * (n : ℝ) ^ 2 / δ) ^ 2 ≤ (M : ℝ)) :
Shared.IsApproximator (mixedSampleMeasure n M) (mixedUnitVectorEstimator F A M) A ε δ := by sorry
end TraceEstimation.UnitVector
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.