NLA-lib Explorer

Matrix.PosSemidef.variance_hutchpp_le_trace_sq_of_hasLaw_gaussianMatrix

Library · theorem

Headline of hutchpp-variance (provisional) General form: sizes are index types

The variance of Gaussian Hutch++ for a positive semidefinite matrix: if the n \times \lvert s \rvert sketch test matrix \mathbf{S} and the n \times \ell residual test matrix \mathbf{G}, \ell \ge 1, are independent and standard Gaussian, then for every real positive semidefinite \mathbf{A} and every r \ge 1 with 2r + 1 \le \lvert s \rvert, \operatorname{Var}[\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G})] \le \frac{(\operatorname{tr}\mathbf{A})^2}{\ell\, r}\,, NLAlib.variance_hutchpp_le_nuclearNorm_of_hasLaw_gaussianMatrix with \|\mathbf{A}\|_* = \operatorname{tr}\mathbf{A}. With r = (m - 2)/8, \lvert s \rvert = (m + 2)/4 and \ell = (m - 2)/2 it is 16(\operatorname{tr}\mathbf{A})^2/(m - 2)^2 for m = 2\lvert s \rvert + \ell products. [MeyerMuscoMuscoWoodruff2021, Theorem 10]; there with sign residual probes (see NLAlib.variance_hutchpp_of_hasLaw_rademacherMatrix). Result: hutchpp-variance

Matrix.PosSemidef.variance_hutchpp_le_trace_sq_of_hasLaw_gaussianMatrix.{u_1, u_3, u_4, u_5}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_3} {s : Type u_4}
  {t : Type u_5} [Fintype n] [Fintype s] [Fintype t] [DecidableEq n] [Nonempty t] {A : Matrix n n ℝ}
  (hA : A.PosSemidef) {S : Ω → Matrix n s ℝ} {G : Ω → Matrix n t ℝ}
  (hS : HasLaw S (gaussianMatrix n s) μ) (hG : HasLaw G (gaussianMatrix n t) μ) (hSG : S ⟂ᵢ[μ] G)
  {r : ℕ} (hr0 : 0 < r) (hr : 2 * r + 1 ≤ Fintype.card s) :
  Var[fun ω ↦ hutchpp A (S ω) (G ω); μ] ≤ A.trace ^ 2 / (↑(Fintype.card t) * ↑r)

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.