NLA-lib Explorer

NLAlib.mulVec_forwardSubst

Library · theorem

Forward substitution solves a lower triangular system with nonzero diagonal: if \mathbf{x} is the output for \mathbf{L}, \mathbf{b} then \mathbf{L}\mathbf{x} = \mathbf{b}.

NLAlib.mulVec_forwardSubst.{u_2} {K : Type u_2} [Field K] {n : ℕ} {L : Matrix (Fin n) (Fin n) K}
  (hL : L.IsLowerTriangular) (hd : ∀ (i : Fin n), L i i ≠ 0) (b : Fin n → K) :
  L *ᵥ forwardSubst L b = b

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Triangular.