NLA-lib Explorer

NLAlib.list_prod_isUpperTriangular_apply_self

Library · theorem

A product of upper triangular matrices is upper triangular, with the products of the diagonal entries on its diagonal.

NLAlib.list_prod_isUpperTriangular_apply_self {n : ℕ}
  {L : List (Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)} (hL : ∀ R ∈ L, R.IsUpperTriangular)
  (i : Fin (n + 1)) : L.prod.IsUpperTriangular ∧ L.prod i i = (List.map (fun R ↦ R i i) L).prod

Full source on GitHub

Import NLAlib.Matrix.QRIteration.StableStep.