arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2402.18962cs.LO
收藏

饱和中的程序综合

Program Synthesis in Saturation

Petra Hozzová, Laura Kovács, Chase Norman, Andrei Voronkov

AI总结:

本文提出利用基于饱和的一阶定理证明同时验证规约并综合无递归程序,扩展叠加演算并在 Vampire 中实现。

摘要:

我们提出了一种使用基于饱和的定理证明来综合无递归程序的自动推理框架。给定一个编码为一阶逻辑公式的函数式规约,我们使用一阶定理证明器来既建立该公式的有效性,又发现满足该规约的程序片段。因此,在推导程序正确性证明时,我们还综合出一个相对于给定规约正确的程序。我们描述了能够进行综合的基于饱和的证明器所应采用的演算性质,并以相应方式扩展了叠加演算。我们在一阶证明器 Vampire 中实现了这项工作,将一阶证明的成功适用性扩展到程序综合。这是同名且作者相同的 Automated Deduction -- CADE 29 论文的扩展版本。

英文摘要:

We present an automated reasoning framework for synthesizing recursion-free programs using saturation-based theorem proving. Given a functional specification encoded as a first-order logical formula, we use a first-order theorem prover to both establish validity of this formula and discover program fragments satisfying the specification. As a result, when deriving a proof of program correctness, we also synthesize a program that is correct with respect to the given specification. We describe properties of the calculus that a saturation-based prover capable of synthesis should employ, and extend the superposition calculus in a corresponding way. We implemented our work in the first-order prover Vampire, extending the successful applicability of first-order proving to program synthesis. This is an extended version of an Automated Deduction -- CADE 29 paper with the same title and the same authors.

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

↑