NLAlib.hutchpp_reindex
Library ยท theorem
Hutch++ is invariant under relabelling the rows: for a bijection e of the row indices, reindexing \mathbf{A} (rows and columns) and \mathbf{S}, \mathbf{G} (rows) along e leaves \mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G}) unchanged. Realisations of programs are stated at Fin N (docs/design/Computation.md, D9), and reach any finite index type through this lemma.
NLAlib.hutchpp_reindex.{u_2, u_3, u_4, u_5, u_6} {๐ : Type u_2} [RCLike ๐] {n : Type u_3}
{s : Type u_4} {t : Type u_5} [Fintype n] [Fintype s] [Fintype t] [DecidableEq n] {n' : Type u_6}
[Fintype n'] [DecidableEq n'] (e : n โ n') (A : Matrix n n ๐) (S : Matrix n s ๐)
(G : Matrix n t ๐) :
hutchpp ((reindex e e) A) ((reindex e (Equiv.refl s)) S) ((reindex e (Equiv.refl t)) G) =
hutchpp A S GImport NLAlib.Estimation.Trace.HutchPlusPlus.