NLA-lib Explorer

NLAlib.fromBlocks_one_submatrix_mul_mul_fromBlocks_one

Library · theorem

Conjugating a block upper triangular matrix by block diagonal matrices \operatorname{diag}(\mathbf{I}, \mathbf{S}') and \operatorname{diag}(\mathbf{I}, \mathbf{S}), in the original indices: for \mathbf{M} with block form \begin{\mathbf{b}matri\mathbf{x}} \mathbf{D} & \mathbf{r} \\ \mathbf{0} & \mathbf{M}' \end{\mathbf{b}matri\mathbf{x}} along e : q \oplus p \simeq n, the product \operatorname{diag}(\mathbf{I}, \mathbf{S}') \, \mathbf{M} \operatorname{diag}(\mathbf{I}, \mathbf{S}) has block form \begin{bmatrix} \mathbf{D} & \mathbf{r}\mathbf{S} \\ \mathbf{0} & \mathbf{S}'\mathbf{M}'\mathbf{S} \end{bmatrix}. The induction step of a triangularisation applies it with \mathbf{S}' = \mathbf{S}^{-1} or \mathbf{S}' = \mathbf{S}^{\mathsf{H}}.

NLAlib.fromBlocks_one_submatrix_mul_mul_fromBlocks_one.{u_1, u_4, u_5, u_6} {K : Type u_1} [Field K]
  {n : Type u_4} [Fintype n] {p : Type u_5} {q : Type u_6} [Fintype p] [Finite q] [DecidableEq q]
  (e : q ⊕ p ≃ n) {M : Matrix n n K} {D : Matrix q q K} {r : Matrix q p K} {M' : Matrix p p K}
  (hM : M.submatrix ⇑e ⇑e = fromBlocks D r 0 M') (S S' : Matrix p p K) :
  (fromBlocks 1 0 0 S').submatrix ⇑e.symm ⇑e.symm * M *
      (fromBlocks 1 0 0 S).submatrix ⇑e.symm ⇑e.symm =
    (fromBlocks D (r * S) 0 (S' * M' * S)).submatrix ⇑e.symm ⇑e.symm

Full source on GitHub

Import NLAlib.Matrix.Spectral.EigenvalueListing.