NLA-lib Explorer

NLAlib.Ops.Routine.readAt_eq_readViews

Library · theorem

The blocks a call reads are the blocks of the shapes of the operands read, whether or not the operands are contiguous.

NLAlib.Ops.Routine.readAt_eq_readViews {Op Tst K : Type} (R : Ops.Routine Op Tst) (m : Ops.Mem K)
  (d : List ℕ) (ops : List (ℕ × ℕ)) :
  R.readAt m d ops = m.readViews (R.readArgs ops) (R.readViews d)

Full source on GitHub

Import NLAlib.Ops.Routine.