NLA-lib Explorer

NLAlib.Ops.Store.readBlock_add

Library · theorem

Two adjacent blocks are one block.

NLAlib.Ops.Store.readBlock_add {K : Type} {s : Ops.Store K} {b off n k : ℕ} {xs ys : List K}
  (h1 : s.readBlock b off n = some xs) (h2 : s.readBlock b (off + n) k = some ys) :
  s.readBlock b off (n + k) = some (xs ++ ys)

Full source on GitHub

Import NLAlib.Ops.Frame.