NLA-lib Explorer

NLAlib.backSubst_castLE_of_apply_eq_zero

Library · theorem

Back substitution past a zero block, the leading entries: if \mathbf{U}_{i,j} = 0 whenever i \ge r or j \ge r, the first r entries of \mathsf{backSubst}(\mathbf{U}, \mathbf{b}) are back substitution on the leading r \times r block.

NLAlib.backSubst_castLE_of_apply_eq_zero.{u_2} {K : Type u_2} [Field K] {n r : ℕ} (h : r ≤ n)
  {U : Matrix (Fin n) (Fin n) K} (hU : ∀ (i j : Fin n), r ≤ ↑i ∨ r ≤ ↑j → U i j = 0) (b : Fin n → K)
  (i : Fin r) :
  backSubst U b (Fin.castLE h i) =
    backSubst (U.submatrix (Fin.castLE h) (Fin.castLE h)) (b ∘ Fin.castLE h) i

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.