Matrix.IsHermitian.variance_hutchpp_of_hasLaw_gaussianMatrix
Library · theorem
The exact variance of Hutch++ for a symmetric matrix, Pythagorean form: for real symmetric \mathbf{A}, an almost everywhere measurable sketch test matrix \mathbf{S} and a standard Gaussian n \times \ell residual test matrix \mathbf{G}, \ell \ge 1, independent of \mathbf{S}, with \mathbf{P} = \mathbf{P}_{\mathbf{A}\mathbf{S}}, \operatorname{Var}[\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G})] = \frac{2}{\ell}\Bigl( \mathbb{E}\,\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, \mathbf{S})\|_{\mathsf{F}}^2 - \mathbb{E}\,\|(\mathbf{I} - \mathbf{P})\mathbf{A}\mathbf{P}\|_{\mathsf{F}}^2\Bigr)\,: the randomized-SVD error less the part of it that leaves the range of the sketch on the right, by NLAlib.frobNorm_one_sub_rangeProjector_mul_sq_eq_add. Dropping the second term is the submultiplicativity step of [MeyerMuscoMuscoWoodruff2021, proof of Theorem 10].
Matrix.IsHermitian.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 ℝ} (hA : A.IsHermitian)
{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 (A - rsvd A (S ω)) ^ 2 ∂μ -
∫ (ω : Ω), frobNorm ((1 - rangeProjector (A * S ω)) * A * rangeProjector (A * S ω)) ^ 2 ∂μ)Import NLAlib.Estimation.Trace.HutchPlusPlus.