NLA-lib Explorer

NLAlib.variance_hutchpp_le_nuclearNorm_of_hasLaw_gaussianMatrix

Library · theorem

General form: sizes are index types

The variance of Gaussian Hutch++, nuclear form: 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 square \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{\|\mathbf{A}\|_*^2}{\ell\, r}\,. The Halko–Martinsson–Tropp factor is at most 2 when \lvert s \rvert \ge 2r + 1, and \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 \le \|\mathbf{A}\|_*^2/(4r) (NLAlib.frobNorm_sub_truncatedSVD_le_nuclearNorm_div). With MMMW's parameters r = (m - 2)/8, \lvert s \rvert = (m + 2)/4 = 2r + 1 and \ell = (m - 2)/2, so that m = 2\lvert s \rvert + \ell, it is their 16\|\mathbf{A}\|_*^2/(m - 2)^2. Asymptotic form: NLAlib.exists_forall_variance_hutchpp_le_of_hasLaw_gaussianMatrix. [MeyerMuscoMuscoWoodruff2021, Theorem 10 and Lemma 14]; [EpperlyTroppWebber2024, Theorem 1.1 (Hutch++ line)]; MMMW for m products with the parameters above, Theorem 10 for positive semidefinite \mathbf{A} with \operatorname{tr}^2\mathbf{A} (here Matrix.PosSemidef.variance_hutchpp_le_trace_sq_of_hasLaw_gaussianMatrix). Result: hutchpp-variance

NLAlib.variance_hutchpp_le_nuclearNorm_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 ℝ) {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 ω); μ] ≤ nuclearNorm A ^ 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.