NLA-lib Explorer

Matrix.IsUpperTriangular.submatrix_mul_of_isLowerSet

Library · theorem

Leading blocks of a product with an upper triangular right factor: for any \mathbf{A}, \mathbf{U} upper triangular, and a lower set s of indices, the principal submatrix of \mathbf{A}\mathbf{U} on s is the product of the principal submatrices of \mathbf{A} and \mathbf{U} on s.

Matrix.IsUpperTriangular.submatrix_mul_of_isLowerSet.{u_1, u_4} {R : Type u_1} {n : Type u_4}
  [LinearOrder n] [Fintype n] [NonUnitalNonAssocSemiring R] {U : Matrix n n R}
  (hU : U.IsUpperTriangular) (A : Matrix n n R) {s : Finset n} (hs : IsLowerSet ↑s) :
  (A * U).submatrix Subtype.val Subtype.val =
    A.submatrix Subtype.val Subtype.val * U.submatrix Subtype.val Subtype.val

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.