Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Weakest precondition, strongest postcondition?

Ook bekend als: weakest precondition · strongest postcondition

Definition 20.3 University Computer Science — Year 3 · Hoofdstuk 20 — Program Verification: Hoare Logic and Model Checking

The weakest precondition wp(S,Q)\mathrm{wp}(S, Q) is a formula that holds in exactly the states from which every run of SS terminates in a state satisfying QQ. The strongest postcondition sp(P,S)\mathrm{sp}(P, S) holds in exactly the states that runs of SS from PP can end in.

Lees in het hoofdstuk →