NLA-lib Explorer

NLAlib.mulVec_backSubst

Library · theorem

Back substitution solves an upper triangular system with nonzero diagonal: if \mathbf{x} is the output for \mathbf{U}, \mathbf{b} then \mathbf{U}\mathbf{x} = \mathbf{b}.

NLAlib.mulVec_backSubst.{u_2} {K : Type u_2} [Field K] {n : ℕ} {U : Matrix (Fin n) (Fin n) K}
  (hU : U.IsUpperTriangular) (hd : ∀ (i : Fin n), U i i ≠ 0) (b : Fin n → K) :
  U *ᵥ backSubst U b = b

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.