arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.15340cs.LO
收藏

通过抽象解释对正确性与错误性变换程序逻辑的计算化设计

Calculational Design of [In]Correctness Transformational Program Logics by Abstract Interpretation

Patrick Cousot

AI总结:

研究正确性与错误性变换程序逻辑,扩展以处理终止与非终止,证明其为自然关系语义的抽象解释,提供计算化方法设计可靠完备证明系统,并扩展 Hoare 逻辑及设计新前置条件逻辑。

摘要:

我们研究正确性与错误性的变换程序逻辑,并将其扩展以显式处理终止与非终止。我们证明,这些逻辑是对自然关系语义(涵盖有限与无限执行)的右图像转换子的抽象解释。将逻辑理解为语义的抽象,有助于通过它们各自对语义的抽象进行比较(而非通过形式化证明系统进行比较,后者困难得多)。更重要的是,该形式化提供了一种计算化方法,通过对语义的抽象来构造性地设计可靠且完备的形式化证明系统。作为示例,我们将 Hoare 逻辑扩展以覆盖非确定性程序的所有可能行为,并设计了一种新的前置条件正确性/错误性逻辑。

英文摘要:

We study transformational program logics for correctness and incorrectness that we extend to explicitly handle both termination and nontermination. We show that the logics are abstract interpretations of the right image transformer for a natural relational semantics covering both finite and infinite executions. This understanding of logics as abstractions of a semantics facilitates their comparisons through their respective abstractions of the semantics (rather that the much more difficult comparison through their formal proof systems). More importantly, the formalization provides a calculational method for constructively designing the sound and complete formal proof system by abstraction of the semantics. As an example, we extend Hoare logic to cover all possible behaviors of nondeterministic programs and design a new precondition (in)correctness logic.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑