NLAlib.Ops.cost_le_of_exec
Library · theorem
A counted run only adds counts, so the counts of a run from a state are those of the state plus an increment.
NLAlib.Ops.cost_le_of_exec {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
{τ : Ops.Tape K} {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {st st' : Ops.St Op Tst K}
(h : Ops.evalCounted I W τ s ρ st = some st') : st.cost ≤ st'.costImport NLAlib.Ops.Exec.