NLAlib.Ops.RunsFromW.of_wp
Library · theorem
Everything whose counts do not depend on the data: a total Wp and the static cost.
NLAlib.Ops.RunsFromW.of_wp {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
{τ : Ops.Tape K} {ρ : Ops.Env} {st : Ops.St Op Tst K} {s : Ops.Stmt Op Tst} {P : Ops.Mem K → Prop}
(h : Ops.Wp Ops.Mode.total I τ s ρ P st.mem) :
Ops.RunsFromW I W τ s ρ st (Ops.stmtPeak W s ρ.idx) fun c m ↦ c ≤ Ops.stmtCost s ρ.idx ∧ P mImport NLAlib.Ops.Counted.