Answers are grounded in this paper and cite their sources.
We show that synthesizing recursive functional programs using a class of primitive recursive combinators is both simpler and solves more benchmarks from the literature than previously proposed approaches. Our method synthesizes paramorphisms, a class of programs that includes the most common recursive programming patterns on algebraic data types. The crux of our approach is to split the synthesis problem into two parts: a multi-hole template that fixes the recursive structure, and a search for non-recursive program fragments to fill the template holes.
No takes yet. Share an insight, caveat, or question.
Hong et al. (2024) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: