NLAlib.Ops.Algorithm.not_accepts_subset_of_wp
Library · theorem
Complete failure of the counted run (failure, a violated resource bound of the specification, or failure of Q) is a subset of failure of the total postcondition Q of the memory semantics.
NLAlib.Ops.Algorithm.not_accepts_subset_of_wp {Op Tst K : Type} {r b : ℕ} {P : Ops.Problem K r b}
{model : Ops.AccessModel Op Tst P} {S : Ops.Specification Op Tst P} (A : Ops.Algorithm model S)
{d : Fin r → ℕ} (hd : P.valid d) (x : P.Input d) (I : Ops.Interp Op Tst K)
(hI : model.contracts d x I) {Omega : Type} (tape : Omega → Ops.Tape K)
(Q : Omega → Ops.Mem K → Prop) :
{omega | ¬S.Accepts A.program I model.resources (tape omega) d x fun x m ↦ Q omega m} ⊆
{omega |
¬Ops.Wp Ops.Mode.total I (tape omega) A.program.body (Ops.Program.environment d) (Q omega)
(P.initial d x)}Import NLAlib.Ops.Probability.