NLA-lib Explorer

NLAlib.Ops.Store.readView_upd

Library · theorem

Writing one cell of a view whose runs do not overlap: the block read changes at that entry only.

NLAlib.Ops.Store.readView_upd {K : Type} {s : Ops.Store K} {b off : ℕ} {v : Ops.View} {xs : List K}
  (h : s.readView b off v = some xs) (hv : v.Regular) {k : ℕ} (hk : k < v.cells) (x : K) :
  (s.upd b (off + v.offset k) x).readView b off v = some (xs.set k x)

Full source on GitHub

Import NLAlib.Ops.Logic.View.