NLA-lib Explorer

NLAlib.Ops.View.fits_of_block

Library · theorem

A view inside a block that fits in a buffer fits in it.

NLAlib.Ops.View.fits_of_block {v : Ops.View} {r N off L : ℕ} (hr : r ≤ N)
  (h : ∀ k < v.cells, r + v.offset k < N) (hL : off + N ≤ L) : v.Fits (off + r) L

Full source on GitHub

Import NLAlib.Ops.Logic.View.