全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Weakest precondition, strongest postcondition?

又称: weakest precondition · strongest postcondition

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

在原文中阅读 →