NLA-lib Explorer

NLAlib.Ops.Store.readBlock_updBlock_of_readBlock

Library · theorem

Reading back a block put over a readable block of the same length.

NLAlib.Ops.Store.readBlock_updBlock_of_readBlock {K : Type} {s : Ops.Store K} {b off n : ℕ}
  {xs ys : List K} (h : s.readBlock b off n = some ys) (hx : xs.length = n) :
  (s.updBlock b off xs).readBlock b off n = some xs

Full source on GitHub

Import NLAlib.Ops.Store.