NLA-lib Explorer

NLAlib.Ops.Routine.evalList_closeOps

Library · theorem

The layout operands of a program evaluate to the supplied buffers they name.

NLAlib.Ops.Routine.evalList_closeOps (d : List ℕ) (b : ℕ) (l : List ℕ) :
  (∀ i ∈ l, i < b) →
    Ops.Operand.evalList (Ops.Env.frame d (Ops.slots b)) (Ops.Routine.closeOps l) =
      some (List.filterMap (fun i ↦ (Ops.slots b)[i]?) l)

Full source on GitHub

Import NLAlib.Ops.Routine.