NLA-lib Explorer

NLAlib.Ops.Store.fits_of_readView

Library · theorem

A view that is read lies inside its buffer.

NLAlib.Ops.Store.fits_of_readView {K : Type} {s : Ops.Store K} {b off : ℕ} {v : Ops.View}
  {xs : List K} (h : s.readView b off v = some xs) (hv : 0 < v.cells) : v.Fits off (s.len b)

Full source on GitHub

Import NLAlib.Ops.Logic.View.