arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.08724cs.PLcs.LO
收藏

通过示例编程:循环程序的合成

Programming-By-Example by Programming-By-Example: Synthesis of Looping Programs

Shmuel Berman, Mark Santolucito

摘要:

程序合成近年来有了许多新的应用,这在很大程度上要归功于SyGuS的引入。然而,现有的SyGuS求解器都不支持合成递归函数。我们介绍了一个多阶段的算法,在SyGuS中的递归“loolike”程序的合成编程的例子。我们单独解决约束,并将其视为递归程序如何行为的“展开”示例,并求解广义递归解。我们的方法是模块化的,支持任何SyGuS求解器。

英文摘要:

Program synthesis has seen many new applications in recent years, in large part thanks to the introduction of SyGuS. However, no existing SyGuS solvers have support for synthesizing recursive functions. We introduce an multi-phase algorithm for the synthesis of recursive ``looplike'' programs in SyGuS for programming-by-example. We solve constraints individually and treat them as ``unrolled`` examples of how a recursive program would behave, and solve for the generalized recursive solution. Our approach is modular and supports any SyGuS Solver.

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

↑