NLAlib.Ops.Reference.eval_core
Library · theorem
A bookkeeping call at evaluated dimensions has its declared charge and no memory effect.
NLAlib.Ops.Reference.eval_core {Op Tst K : Type} (I : Ops.Interp Op Tst K)
(R : Ops.ResourceModel Op Tst) (τ : Ops.Tape K) (k : Ops.Bookkeeping) (ds : List Ops.IExp)
(ρ : Ops.Env) (a : Ops.Reference.State Op Tst K) (ha : a.cur ≤ a.peak) {d : List ℕ}
(hd : Ops.IExp.evalList ρ.idx ds = some d) :
Ops.evalCounted I.instrument (Ops.instrumentWorkspace R.workspace) τ
(Ops.Stmt.call (Sum.inr k) ds [] []) ρ a =
some (Ops.Reference.charge (Ops.Reference.core k d) a)Import NLAlib.Ops.Reference.Accounting.