NLA-lib Explorer

NLAlib.Ops.Interp.callS_eq_some_iff

Library · theorem

The call of the evaluator succeeds with m' exactly when the operands are buffers of the store, the call of the interpretation gives m', and the shape of the store is unchanged.

NLAlib.Ops.Interp.callS_eq_some_iff {Op Tst K : Type} {I : Ops.Interp Op Tst K} {o : Op}
  {d : List ℕ} {ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m m' : Ops.Mem K} :
  I.callS o d ins outs τ m = some m' ↔
    m.Live (ins ++ outs) ∧ I.call o d ins outs τ m = some m' ∧ m'.store.shape = m.store.shape

Full source on GitHub

Import NLAlib.Ops.Exec.