NLAlib.Ops.RunsFromWL.runsFromW
Library · theorem
A liberal counted run of a program that succeeds (a total Wp, with any postcondition) is a total one.
NLAlib.Ops.RunsFromWL.runsFromW {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
{τ : Ops.Tape K} {ρ : Ops.Env} {st : Ops.St Op Tst K} {p : ℕ}
{Q : Ops.Count Op Tst → Ops.Mem K → Prop} {s : Ops.Stmt Op Tst} {P : Ops.Mem K → Prop}
(h : Ops.RunsFromWL I W τ s ρ st p Q) (hs : Ops.Wp Ops.Mode.total I τ s ρ P st.mem) :
Ops.RunsFromW I W τ s ρ st p fun c m ↦ Q c m ∧ P mImport NLAlib.Ops.Counted.