Skip to main content
arXiv is now an independent nonprofit! Learn more
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Programming Languages

arXiv:2107.06253 (cs)
[Submitted on 13 Jul 2021 (v1), last revised 8 Dec 2021 (this version, v2)]

Title:Bottom-up Synthesis of Recursive Functional Programs using Angelic Execution

Authors:Anders Miltner, Adrian Trejo Nuñez, Ana Brendel, Swarat Chaudhuri, Isil Dillig
View a PDF of the paper titled Bottom-up Synthesis of Recursive Functional Programs using Angelic Execution, by Anders Miltner and Adrian Trejo Nu\~nez and Ana Brendel and Swarat Chaudhuri and Isil Dillig
View PDF
Abstract: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.
Subjects: Programming Languages (cs.PL)
Cite as: arXiv:2107.06253 [cs.PL]
  (or arXiv:2107.06253v2 [cs.PL] for this version)
  https://doi.org/10.48550/arXiv.2107.06253
arXiv-issued DOI via DataCite

Submission history

From: Anders Miltner [view email]
[v1] Tue, 13 Jul 2021 17:25:26 UTC (760 KB)
[v2] Wed, 8 Dec 2021 22:59:39 UTC (738 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Bottom-up Synthesis of Recursive Functional Programs using Angelic Execution, by Anders Miltner and Adrian Trejo Nu\~nez and Ana Brendel and Swarat Chaudhuri and Isil Dillig
  • View PDF
  • TeX Source
license icon view license

Current browse context:

cs.PL
< prev   |   next >
new | recent | 2021-07
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Anders Miltner
Swarat Chaudhuri
Isil Dillig
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences