arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.02283cs.PL
收藏

关系程序合成

Relational Program Synthesis

Yuepeng Wang, Xinyu Wang, Isil Dillig

摘要:

本文提出了关系程序合成,一个新的问题,涉及合成一个或多个程序,集体满足关系规范。关系程序合成作为关系程序验证的对偶,是一个重要的问题,具有许多实际应用,如自动程序求逆和比较器的自动生成。然而,这种关系合成问题引入了新的挑战,其非关系的副本,由于组合更大的搜索空间。作为解决这个问题的第一步,本文提出了一种合成技术,结合了反例引导归纳合成框架与一种新的归纳合成算法,是基于关系版本空间学习。我们已经实现了所提出的技术,在一个框架称为Relish,它可以通过提供一个合适的特定于域的语言和相关的关系规范实例化到不同的应用领域。我们使用Relish框架来构建关系合成器,以自动生成字符串编码器/解码器以及比较器,并且我们根据之前的工作和在线论坛中的几个基准来评估我们的工具。我们的实验结果表明,所提出的技术可以解决几乎所有这些基准,它显着优于EUSolver,通用的合成框架,赢得了一般的轨道最近的SyGuS竞争。

英文摘要:

This paper proposes relational program synthesis, a new problem that concerns synthesizing one or more programs that collectively satisfy a relational specification. As a dual of relational program verification, relational program synthesis is an important problem that has many practical applications, such as automated program inversion and automatic generation of comparators. However, this relational synthesis problem introduces new challenges over its non-relational counterpart due to the combinatorially larger search space. As a first step towards solving this problem, this paper presents a synthesis technique that combines the counterexample-guided inductive synthesis framework with a novel inductive synthesis algorithm that is based on relational version space learning. We have implemented the proposed technique in a framework called Relish, which can be instantiated to different application domains by providing a suitable domain-specific language and the relevant relational specification. We have used the Relish framework to build relational synthesizers to automatically generate string encoders/decoders as well as comparators, and we evaluate our tool on several benchmarks taken from prior work and online forums. Our experimental results show that the proposed technique can solve almost all of these benchmarks and that it significantly outperforms EUSolver, a generic synthesis framework that won the general track of the most recent SyGuS competition.

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

↑