NLA-lib Explorer

NLAlib.Ops.Reference.execution_iff_exec

Library · theorem

Canonical execution succeeds with exactly an outcome when the independent source rules derive that same outcome. No admission, success or resource bound is a premise.

NLAlib.Ops.Reference.execution_iff_exec {Op Tst K : Type} (I : Ops.Interp Op Tst K)
  (R : Ops.ResourceModel Op Tst) (τ : Ops.Tape K) {r b : ℕ} (p : Ops.Program Op Tst r b)
  (formats : Fin b → Ops.StorageFormat) (d : Fin r → ℕ) (m : Ops.Mem K)
  (out : Ops.Reference.State Op Tst K) :
  Ops.Reference.Execution p I R formats τ d m out ↔ Ops.exec p I R formats τ d m = some out

Full source on GitHub

Import NLAlib.Ops.Reference.Equivalence.