NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automated Synthesis of Functional Programs with Auxiliary Functions

Shingo Eguchi, Naoki Kobayashi, Takeshi TsukadaAPLAS 2018

Abstract

Polikarpova et al. have recently proposed a method for synthesizing functional programs from specifications expressed as refinement types, and implemented a program synthesis tool Synquid. Although Synquid can generate non-trivial programs on various data structures such as lists and binary search trees, it cannot automatically generate programs that require auxiliary functions, unless users provide the specifications of auxiliary functions. We propose an extension of Synquid to enable automatic synthesis of programs with auxiliary functions. The idea is to prepare a template of the target function containing unknown auxiliary functions, infer the types of auxiliary functions, and then use Synquid to synthesize the auxiliary functions. We have implemented a program synthesizer based on our method, and confirmed through experiments that our method can synthesize several programs with auxiliary functions, which Synquid is unable to automatically synthesize.
BibTeX
@inproceedings{eguchi2018automated,
  author = {Shingo Eguchi and Naoki Kobayashi and Takeshi Tsukada},
  title = {{Automated Synthesis of Functional Programs with Auxiliary Functions}},
  booktitle = {APLAS},
  year = {2018},
  url = {https://openreview.net/forum?id=HjpRGHFzST},
}

Loading related content...

Figure