Bottom-up synthesis of recursive functional programs using angelic execution
Bottom-up synthesis of recursive functional programs using angelic execution
复制标题
使用天使执行的递归函数程序的自下而上综合
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Işıl Dillig
中科院分区:
文献类型:
--
作者:
Anders Miltner;A. Nunez;Ana Brendel;Swarat Chaudhuri;Işıl Dillig
We present a novel bottom-up method for the synthesis of functional recursive programs. While bottom-up synthesis techniques can work better than top-down methods in certain settings, there is no prior technique for synthesizing recursive programs from logical specifications in a purely bottom-up fashion. The main challenge is that effective bottom-up methods need to execute sub-expressions of the code being synthesized, but it is impossible to execute a recursive subexpression of a program that has not been fully constructed yet. In this paper, we address this challenge using the concept of angelic semantics. Specifically, our method finds a program that satisfies the specification under angelic semantics (we refer to this as angelic synthesis), analyzes the assumptions made during its angelic execution, uses this analysis to strengthen the specification, and finally reattempts synthesis with the strengthened specification. Our proposed angelic synthesis algorithm is based on version space learning and therefore deals effectively with many incremental synthesis calls made during the overall algorithm. We have implemented this approach in a prototype called Burst and evaluate it on synthesis problems from prior work. Our experiments show that Burst is able to synthesize a solution to 94% of the benchmarks in our benchmark suite, outperforming prior work.
DOI:
10.1145/3385412.3386027
发表时间:
2020
期刊:
Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation
影响因子:
--
作者:
Huang, Kangjing;Qiu, Xiaokang;Shen, Peiyuan;Wang, Yanjun
通讯作者:
Wang, Yanjun
DOI:
10.1145/3453483.3454087
发表时间:
2021
期刊:
Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation
影响因子:
--
作者:
Itzhaky, Shachar;Peleg, Hila;Polikarpova, Nadia;Rowe, Reuben N.;Sergey, Ilya
通讯作者:
Sergey, Ilya
影响因子:
--
作者:
Lubin, Justin;Collins, Nick;Omar, Cyrus;Chugh, Ravi
通讯作者:
Chugh, Ravi