NLAlib.Ops.RunsFromW.of_writes
Library · theorem
A block specification, counted at its static cost: the bridge from Writes to the counted judgment for the parts whose counts do not depend on the data.
NLAlib.Ops.RunsFromW.of_writes {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
{τ : Ops.Tape K} {ρ : Ops.Env} {s : Ops.Stmt Op Tst} {st : Ops.St Op Tst K} {F : Ops.Fp}
{P : Ops.Mem K → Prop} (h : Ops.Writes Ops.Mode.total I τ s ρ F P st.mem) :
Ops.RunsFromW I W τ s ρ st (Ops.stmtPeak W s ρ.idx) fun c m' ↦
c ≤ Ops.stmtCost s ρ.idx ∧ Ops.Store.EqOff F st.mem.store m'.store ∧ P m'Import NLAlib.Ops.Logic.Count.