NLA-lib Explorer

NLAlib.conjTranspose_submatrix_mul_mul_submatrix

Library · theorem

Selecting columns of the two frames of a two-sided compression selects the corresponding block: if \mathbf{Q}_f has columns f(i) of \mathbf{Q} and \mathbf{W}_g columns g(j) of \mathbf{W}, then \mathbf{Q}_f^{\mathsf{H}}\mathbf{A}\mathbf{W}_g has (i, j) entry (\mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{W})_{f(i),g(j)}. With \mathbf{Q} = \mathbf{W} and f = g this is a principal block of the compression \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}.

NLAlib.conjTranspose_submatrix_mul_mul_submatrix.{u_1, u_2, u_4, u_5, u_6, u_7, u_8} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {p : Type u_4} {l : Type u_5} {q : Type u_6} {r : Type u_7}
  {s : Type u_8} [Fintype l] [Fintype m] (Q : Matrix m r 𝕜) (A : Matrix m l 𝕜) (W : Matrix l s 𝕜)
  (f : p → r) (g : q → s) : (Q.submatrix id f)ᴴ * A * W.submatrix id g = (Qᴴ * A * W).submatrix f g

Full source on GitHub

Import NLAlib.Matrix.Basic.Selection.