Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Weakest precondition, strongest postcondition?

Também chamado de: weakest precondition · strongest postcondition

Definition 20.3 University Computer Science — Year 3 · Capítulo 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.

Ler no capítulo →