NLA-lib Explorer

NLAlib.TriangularSolve.SubstPrefix.succ

Library · theorem

Standard rounding

Writing the quotient of row r at σ r extends the prefix of rows that are traces.

NLAlib.TriangularSolve.SubstPrefix.succ {K : Type} {M : Ops.Machine K} {u : ℝ} {dec : K → ℝ}
  (hM : Ops.StdModel u dec M) {T : ℕ → ℕ → K} {b : ℕ → ℝ} {σ : ℕ → ℕ} {W : ℕ → K} {r n : ℕ} {D : K}
  (h : TriangularSolve.SubstPrefix u dec (fun i j ↦ dec (T i j)) b σ W r) (hr : r < n)
  (hinj : ∀ i < n, ∀ l < n, σ i = σ l → i = l) (hv : dec (W (σ r)) = b r) (hD : D = T r r)
  (hne : dec D ≠ 0) :
  TriangularSolve.SubstPrefix u dec (fun i j ↦ dec (T i j)) b σ
    (Function.update W (σ r)
      (M.div (TriangularSolve.mulSubWord M (T r) (fun j ↦ W (σ j)) (W (σ r)) r) D))
    (r + 1)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.TriangularSolve.Substitution.