NLA-lib Explorer

NLAlib.Ops.Store.holdsEntries_of_readBlock

Library · theorem

A dense packed block supplies the actual component reads of its decoded matrix.

NLAlib.Ops.Store.holdsEntries_of_readBlock {K E : Type} [Inhabited K] {s : Ops.Store K}
  {C : Ops.EntryCodec K E} {L : Ops.MatLayout} {xs : List K} (hL : L.rows = L.ld)
  (h : s.readBlock L.buf L.off (L.cols * L.rows * C.width) = some xs) :
  s.HoldsEntries C L fun i j ↦ C.entry xs (j * L.rows + i)

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.