NLA-lib Explorer

NLAlib.Ops.Store.readBlock_upd_concat

Library · theorem

A block that was read, extended by a cell that is put after it.

NLAlib.Ops.Store.readBlock_upd_concat {K : Type} {s : Ops.Store K} {b off n : ℕ} {xs : List K}
  (h : s.readBlock b off n = some xs) (hlen : off + n < s.len b) (v : K) :
  (s.upd b (off + n) v).readBlock b off (n + 1) = some (xs ++ [v])

Full source on GitHub

Import NLAlib.Ops.Frame.