NLA-lib Explorer

NLAlib.Ops.Store.readBlock_upd_concat_zero

Library · theorem

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

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

Full source on GitHub

Import NLAlib.Ops.Frame.