NLAlib.variance_hutchpp_of_hasLaw_gaussianMatrix
Library · theorem
General form: sizes are index types
The exact variance of Hutch++ with a Gaussian residual test matrix: if the sketch test matrix \mathbf{S} is almost everywhere measurable and the n \times \ell residual test matrix \mathbf{G}, \ell \ge 1, is standard Gaussian and independent of \mathbf{S}, then for every real square \mathbf{A}, with \mathbf{H} = \tfrac12(\mathbf{A} + \mathbf{A}^{\mathsf{T}}) its symmetric part, \operatorname{Var}[\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G})] = \frac{2}{\ell}\, \mathbb{E}\,\|(\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\mathbf{H} (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\|_{\mathsf{F}}^2\,. Exact for every law of the sketch; Gaussianity of \mathbf{S} enters only the bounds (NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix). With \ell = 0 the right side would be 0 while the output \operatorname{tr}\mathsf{rsvd}(\mathbf{A}, \mathbf{S}) is random, hence \ell \ge 1. The sign-probe identity is NLAlib.variance_hutchpp_of_hasLaw_rademacherMatrix. [MeyerMuscoMuscoWoodruff2021, proof of Theorem 10, Imported Lemma 11]; [EpperlyTroppWebber2024, Proposition 5.2]; there for symmetric (MMMW: positive semidefinite) \mathbf{A} and Gaussian \mathbf{S}, as the first line of a bound. MMMW's Algorithm 3 samples \mathbf{G} with sign entries while applying the Gaussian Lemma 11; their bound survives because the sign variance is at most the Gaussian one. Result: hutchpp-variance
NLAlib.variance_hutchpp_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 : AEMeasurable S μ) (hG : HasLaw G (gaussianMatrix n t) μ)
(hSG : S ⟂ᵢ[μ] G) :
Var[fun ω ↦ hutchpp A (S ω) (G ω); μ] =
2 / ↑(Fintype.card t) *
∫ (ω : Ω),
frobNorm
((1 - rangeProjector (A * S ω)) * hermitianPart A * (1 - rangeProjector (A * S ω))) ^
2 ∂μ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.