NLA-lib Explorer

NLAlib.Ops.runs_iff_runsW

Library · theorem

A run within a budget is a run whose counts are within the budget.

NLAlib.Ops.runs_iff_runsW {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
  {τ : Ops.Tape K} {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {m : Ops.Mem K} {B : Ops.Count Op Tst}
  {M : ℕ} {Q : Ops.Mem K → Prop} :
  Ops.ConditionalRuns I W τ s ρ m B M Q ↔ Ops.ConditionalRunsW I W τ s ρ m M fun c m' ↦ c ≤ B ∧ Q m'

Full source on GitHub

Import NLAlib.Ops.Static.