NLA-lib Explorer

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 G

Full source on GitHub

Import NLAlib.Estimation.Trace.HutchPlusPlus.