NLA-lib Explorer

NLAlib.Ops.ConditionalRunsW

Library · def

A run whose postcondition sees the counts: from the memory m, the counted run succeeds within the workspace M, and Q holds of the final counts and the final memory. This is the form of a statement whose bound on the counts depends on the data, or is a weighted bound.

NLAlib.Ops.ConditionalRunsW {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) (M : ℕ)
  (Q : Ops.Count Op Tst → Ops.Mem K → Prop) : Prop

Full source on GitHub

Import NLAlib.Ops.Static.