NLA-lib Explorer

NLAlib.Ops.Store.get_of_readBlock

Library · theorem

Cell j of a block that was read, with any default value.

NLAlib.Ops.Store.get_of_readBlock {K : Type} {s : Ops.Store K} {b off n : ℕ} {xs : List K}
  (h : s.readBlock b off n = some xs) {j : ℕ} (hj : j < n) (d : K) :
  s.get b (off + j) = some (xs.getD j d)

Full source on GitHub

Import NLAlib.Ops.Store.