NLAlib.Ops.Reference.eval_after_tally
Library · theorem
A source tally followed by another statement starts that statement at the charged state.
NLAlib.Ops.Reference.eval_after_tally {Op Tst K : Type} (I : Ops.Interp Op Tst K)
(R : Ops.ResourceModel Op Tst) (τ : Ops.Tape K) (ks : List Ops.Bookkeeping)
(s : Ops.Stmt (Op ⊕ Ops.Bookkeeping) Tst) (ρ : Ops.Env) (a : Ops.Reference.State Op Tst K)
(ha : a.cur ≤ a.peak) :
Ops.evalCounted I.instrument (Ops.instrumentWorkspace R.workspace) τ ((Ops.tally ks).seq s) ρ a =
Ops.evalCounted I.instrument (Ops.instrumentWorkspace R.workspace) τ s ρ
(Ops.Reference.charge (Ops.Reference.charges ks) a)Import NLAlib.Ops.Reference.Accounting.