NLA-lib Explorer

NLAlib.Ops.run_instrument

Library · theorem

Instrumentation preserves exactly the result or failure of the original program. The additional instructions are visible in counts but cannot introduce a different computation.

NLAlib.Ops.run_instrument {Op Tst K : Type} (I : Ops.Interp Op Tst K) (τ : Ops.Tape K)
  (s : Ops.Stmt Op Tst) (ρ : Ops.Env) (m : Ops.Mem K) :
  Ops.eval I.instrument τ s.instrument ρ m = Ops.eval I τ s ρ m

Full source on GitHub

Import NLAlib.Ops.Exec.