NLA-lib Explorer

NLAlib.backSubst_eq_inv_mulVec

Library · theorem

Back substitution computes the action of the inverse: for \mathbf{U} upper triangular with nonzero diagonal, its output is \mathbf{U}^{-1}\mathbf{b}.

NLAlib.backSubst_eq_inv_mulVec.{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) :
  backSubst U b = U⁻¹ *ᵥ b

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.