NLA-lib Explorer

NLAlib.Ops.ScalarIns.evalBlock

Library · def

The evaluation of a block on a cell function, given the function sem of each operation: the cells written, in order, with their values; each instruction reads the cells as updated by the instructions before it. none if an operand does not evaluate, a cell read holds no word or sem is undefined.

NLAlib.Ops.ScalarIns.evalBlock {Op K : Type} (sem : Op → List K → Option K) (ρ : Ops.Env) :
  List (Ops.ScalarIns Op) → (ℕ × ℕ → Option K) → Option (List ((ℕ × ℕ) × K))

Full source on GitHub

Import NLAlib.Ops.Logic.Scalar.