NLA-lib Explorer

NLAlib.Ops.Store.readBlock_succ_of

Library · theorem

A block and the cell that follows it.

NLAlib.Ops.Store.readBlock_succ_of {K : Type} {s : Ops.Store K} {b off n : ℕ} {xs : List K} {v : K}
  (h1 : s.readBlock b off n = some xs) (h2 : s.get b (off + n) = some v) :
  s.readBlock b off (n + 1) = some (xs ++ [v])

Full source on GitHub

Import NLAlib.Ops.Frame.