Proof of Theorem 7.1, p. 8:11 — per-direction tail for
ProvedTraceEstimation.Hutchinson.coordinate_tailLet be a unit vector, an integer, and . Let be independent random vectors with independent Rademacher entries and put . If the number of samples satisfies
then
In the proof of Theorem 7.1, is one of the orthonormal eigenvectors of and ; a union bound over the eigenvectors with nonzero eigenvalue then controls all directions at once.
Formalization Note The page states this step without a range on ; it follows from Lemma 7.2 because , which holds exactly when , so is stated (the same correction as in Theorem 7.1). The page's , the -th entry of , is written here as for a unit vector , which avoids the page's inconsistent indexing of . The integer replaces so that the statement does not depend on a matrix. is a natural number; the hypothesis forces .
import Mathlib import Definitions.Def_TraceEstimation_Hutchinson_hutchinsonEstimator
namespace TraceEstimation.Hutchinson
open MeasureTheory ProbabilityTheory Matrix
/-- Proof of Theorem 7.1 (Avron–Toledo, p. 8:11, second display), in the corrected form the
proof establishes. Let `α ∈ ℝⁿ` be a unit vector (`αᵀα = 1`; in the proof, a row of the
eigenvector matrix), `r ≥ 1` an integer (in the proof, `rank(A)`), `0 < ε ≤ 1/2`,
`0 < δ < 1`, and let `z_1, …, z_M ∈ ℝⁿ` be independent with i.i.d. Rademacher entries,
`y_i = αᵀ z_i`. If `M ≥ 6 ε⁻² ln(2r/δ)` then
`Pr(|(1/M) ∑_{i=1}^M y_i² - 1| ≥ ε) ≤ δ / r`.
The page states no range for `ε`; the step from Lemma 7.2 needs
`(M/2)(ε²/2 - ε³/3) ≥ M ε²/6`, which holds exactly when `ε ≤ 1/2`. -/
theorem coordinate_tail {n : ℕ} (α : Fin n → ℝ) (hα : α ⬝ᵥ α = 1) (r : ℕ) (hr : 1 ≤ r)
(ε δ : ℝ) (hε : 0 < ε) (hε' : ε ≤ 1 / 2) (hδ : 0 < δ) (hδ' : δ < 1) (M : ℕ)
(hMbound : 6 * ε⁻¹ ^ 2 * Real.log (2 * (r : ℝ) / δ) ≤ (M : ℝ)) :
(hutchinsonSampleMeasure n M).real
{ω | ε ≤ |(M : ℝ)⁻¹ * ∑ i : Fin M, (α ⬝ᵥ ω i) ^ 2 - 1|} ≤ δ / r := by sorry
end TraceEstimation.Hutchinson
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.