NLA-lib Explorer

NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix

Library · theorem

General form: sizes are index types

The variance of Gaussian Hutch++, Halko–Martinsson–Tropp 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 with r + 2 \le \lvert s \rvert, <!-- value gaussianProjectionFactor r {\lvert s \rvert} --> \operatorname{Var}[\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G})] \le \frac{2}{\ell} \Bigl(1 + \frac{r}{\lvert s \rvert - r - 1}\Bigr) \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,; the factor is gaussianProjectionFactor r (Fintype.card s). From the exact variance NLAlib.variance_hutchpp_of_hasLaw_gaussianMatrix, the bound \|(\mathbf{I} - \mathbf{P})\mathbf{H}(\mathbf{I} - \mathbf{P})\|_{\mathsf{F}} \le \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{S})\|_{\mathsf{F}} (no symmetry of \mathbf{A} needed) and NLAlib.integral_frobNorm_sub_rsvd_sq_le_of_hasLaw_gaussianMatrix. The sharper Epperly–Webber factor is NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix_of_rank_le; the nuclear form is NLAlib.variance_hutchpp_le_nuclearNorm_of_hasLaw_gaussianMatrix. [EpperlyTroppWebber2024, Theorem 1.1 (Hutch++ line) and Proposition 5.2]; [MeyerMuscoMuscoWoodruff2021, proof of Theorem 10 and Lemma 14]; there for symmetric (MMMW: positive semidefinite) \mathbf{A} and, in MMMW, r \ge 2. Result: hutchpp-variance

NLAlib.variance_hutchpp_le_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 : ℕ} (hr : r + 2 ≤ Fintype.card s) :
  Var[fun ω ↦ hutchpp A (S ω) (G ω); μ] ≤
    2 / ↑(Fintype.card t) * gaussianProjectionFactor r (Fintype.card s) *
      frobNorm (A - truncatedSVD A r) ^ 2

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.