NLA-lib Explorer

NLAlib.ae_hutchpp_eq_trace_of_hasLaw_gaussianMatrix

Library · theorem

Hutch++ is exact at low rank with a Gaussian sketch: if the n \times \lvert s \rvert sketch test matrix \mathbf{S} is standard Gaussian and \operatorname{rank}\mathbf{A} \le \lvert s \rvert, then for every residual test matrix \mathbf{G} (of any law, dependent or not), \mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G}) = \operatorname{tr}\mathbf{A} almost surely; in particular its variance is 0. From NLAlib.ae_rsvd_eq_self_of_hasLaw_gaussianMatrix and NLAlib.hutchpp_eq_trace_of_rank_eq.

NLAlib.ae_hutchpp_eq_trace_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] (A : Matrix n n ℝ) {S : Ω → Matrix n s ℝ}
  (hS : HasLaw S (gaussianMatrix n s) μ) (hA : A.rank ≤ Fintype.card s) (G : Ω → Matrix n t ℝ) :
  ∀ᵐ (ω : Ω) ∂μ, hutchpp A (S ω) (G ω) = A.trace

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.