NLA-lib Explorer

NLAlib.TriangularSolve.CellsHold.update

Library · theorem

After a write of the cell off + o, and of scratch in another buffer, the cells hold W updated at o.

NLAlib.TriangularSolve.CellsHold.update {K : Type} {s s' : Ops.Store K} {b off n o : ℕ} {W : ℕ → K}
  {v : K} {w : ℕ × ℕ} (h : TriangularSolve.CellsHold s b off n W)
  (hfr : Ops.Store.EqOff (Ops.Store.inBlock b (off + o) 1 ⊔ Ops.Store.inBlock w.1 w.2 1) s s')
  (hw : w.1 ≠ b) (hv : s'.get b (off + o) = some v) :
  TriangularSolve.CellsHold s' b off n (Function.update W o v)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.TriangularSolve.Substitution.