NLA-lib Explorer

NLAlib.conjTranspose_selectionMatrix_mul_mul_selectionMatrix

Library · theorem

A compression \mathbf{S}^{\mathsf{H}}\mathbf{A}\mathbf{S} by a selection matrix is a principal submatrix: its (i, j) entry is \mathbf{A}_{s(i),s(j)}.

NLAlib.conjTranspose_selectionMatrix_mul_mul_selectionMatrix.{u_1, u_3, u_4} {𝕜 : Type u_1}
  [RCLike 𝕜] {n : Type u_3} {p : Type u_4} [DecidableEq n] [Fintype n] (s : p → n)
  (A : Matrix n n 𝕜) : (selectionMatrix s)ᴴ * A * selectionMatrix s = A.submatrix s s

Full source on GitHub

Import NLAlib.Matrix.Basic.Selection.