NLA-lib Explorer

NLAlib.Ops.Store.readBlock_column

Library · theorem

The i-th column of a block of k columns is the part of the block at offset n * i.

NLAlib.Ops.Store.readBlock_column {K : Type} {s : Ops.Store K} {b off n k i : ℕ} {qs : List K}
  (h : s.readBlock b off (k * n) = some qs) (hi : i < k) :
  s.readBlock b (off + n * i) n = some (List.take n (List.drop (n * i) qs))

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.