NLAlib.trace_sub_hutchpp
Library · theorem
This statement changed in the recorded rename: 2026-10-naming.
The error of Hutch++ is the error of Girard–Hutchinson on the compressed residual: for every square \mathbf{A} and all test matrices \mathbf{S}, \mathbf{G}, with \mathbf{\Delta} = (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\mathbf{A} (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}}), \operatorname{tr}\mathbf{A} - \mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G}) = \operatorname{tr}\mathbf{\Delta} - \mathsf{girardHutchinson}(\mathbf{\Delta}, \mathbf{G})\,. Deterministic; from the trace split IsIdempotentElem.trace_mul_add_trace_one_sub_mul_mul_one_sub. [MeyerMuscoMuscoWoodruff2021, §3, proof of Theorem 1]; [EpperlyTroppWebber2024, §1.1.2].
NLAlib.trace_sub_hutchpp.{u_2, u_3, u_4, u_5} {𝕜 : Type u_2} [RCLike 𝕜] {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 𝕜) (G : Matrix n t 𝕜) :
A.trace - hutchpp A S G =
((1 - rangeProjector (A * S)) * A * (1 - rangeProjector (A * S))).trace -
girardHutchinson ((1 - rangeProjector (A * S)) * A * (1 - rangeProjector (A * S))) GImport NLAlib.Estimation.Trace.HutchPlusPlus.