NLA-lib Explorer

Matrix.IsLowerTriangular.submatrix_mul_of_isLowerSet

Library · theorem

Leading blocks of a product with a lower triangular left factor: for \mathbf{L} lower triangular, any \mathbf{B}, and a lower set s of indices, the principal submatrix of \mathbf{L}\mathbf{B} on s is the product of the principal submatrices of \mathbf{L} and \mathbf{B} on s. With \mathbf{B} upper triangular these are the leading blocks of an LU factorization.

Matrix.IsLowerTriangular.submatrix_mul_of_isLowerSet.{u_1, u_4} {R : Type u_1} {n : Type u_4}
  [LinearOrder n] [Fintype n] [NonUnitalNonAssocSemiring R] {L : Matrix n n R}
  (hL : L.IsLowerTriangular) (B : Matrix n n R) {s : Finset n} (hs : IsLowerSet ↑s) :
  (L * B).submatrix Subtype.val Subtype.val =
    L.submatrix Subtype.val Subtype.val * B.submatrix Subtype.val Subtype.val

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.