NLA-lib Explorer

NLAlib.Ops.Routine.Domain.readBlocks_initial

Library · theorem

The initial memory holds the blocks read: the readable operands of the routine, at the supplied buffers, read the words of their slots.

NLAlib.Ops.Routine.Domain.readBlocks_initial {K Op Tst : Type} {r b : ℕ} {R : Ops.Routine Op Tst}
  (D : R.Domain K r b) {d : Fin r → ℕ} (X : D.problem.Input d) :
  (D.problem.initial d X).readBlocks (R.readArgs (Ops.slots b)) (R.readLens (List.ofFn d)) =
    some (D.blocks d (↑X).1)

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.