Lune

PLDI2024Top-tier venue

Recursive Program Synthesis using Paramorphisms

Qiantan Hong, Alex Aiken

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Search for Constrained Random Generators cites Cyclic program synthesis
  • Programming By Scaffolded Demonstration with Perpend cites Bottom-up synthesis of recursive functional programs using angelic execution
  • Programming By Scaffolded Demonstration with Perpend cites Trace-Guided Inductive Synthesis of Recursive Functional Programs
  • Programming By Scaffolded Demonstration with Perpend cites Inductive Synthesis of Structurally Recursive Functional Programs from Non-recursive Expressions
  • Bottom-up synthesis of recursive functional programs using angelic execution cites Cyclic program synthesis
  • Trace-Guided Inductive Synthesis of Recursive Functional Programs cites Bottom-up synthesis of recursive functional programs using angelic execution
  • Trace-Guided Inductive Synthesis of Recursive Functional Programs cites Cyclic program synthesis
  • Trace-Guided Inductive Synthesis of Recursive Functional Programs cites Inductive Synthesis of Structurally Recursive Functional Programs from Non-recursive Expressions
  • Inductive Synthesis of Structurally Recursive Functional Programs from Non-recursive Expressions cites Bottom-up synthesis of recursive functional programs using angelic execution
  • Inductive Synthesis of Structurally Recursive Functional Programs from Non-recursive Expressions cites Cyclic program synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Programming By Scaffolded Demonstration with PerpendAngela Bi, Eric Rawn, Justin Lubin, Sarah E. ChasinsCHI 2026 · 2 citations
  2. The Search for Constrained Random GeneratorsHarrison Goldstein, Hila Peleg, Cassia Torczon, Daniel Sainati et al.PLDI 2026 · 1 citation

Builds on5

  1. Bottom-up synthesis of recursive functional programs using angelic executionAnders Miltner, Adrian Trejo Nuñez, Ana Brendel, Swarat Chaudhuri et al.POPL 2022 · 38 citations
  2. Cyclic program synthesisShachar Itzhaky, Hila Peleg, Nadia Polikarpova, Reuben N. S. Rowe et al.PLDI 2021 · 26 citations
  3. Inductive Synthesis of Structurally Recursive Functional Programs from Non-recursive ExpressionsWoosuk Lee, Hangyeol ChoPOPL 2023 · 19 citations
  4. Trace-Guided Inductive Synthesis of Recursive Functional ProgramsYongwei Yuan, Arjun Radhakrishna, Roopsha SamantaPLDI 2023 · 17 citations
  5. Adaptive restarts for stochastic synthesisJason R. Koenig, Oded Padon, Alex AikenPLDI 2021 · 3 citations

Related papers

  1. Counterexample-Guided Partial Bounding for Recursive Function SynthesisAzadeh Farzan, Victor NicoletCAV 2021 · 13 citations
  2. Proving Functional Program Equivalence via Directed Lemma SynthesisYican Sun, Ruyi Ji, Jian Fang, Xuanlin Jiang et al.FM 2024 · 2 citations
  3. Phased synthesis of divide and conquer programsAzadeh Farzan, Victor NicoletPLDI 2021 · 11 citations
  4. Synthesis with Asymptotic Resource BoundsQinheping Hu, John Cyphert, Loris D'Antoni, Thomas W. RepsCAV 2021 · 5 citations
  5. Combining the top-down propagation and bottom-up enumeration for inductive program synthesisWoosuk LeePOPL 2021 · 34 citations
Dusk over the sea between two cliffs drawn in fine vertical lines