CoChat

Synthesizing data structure transformations from input-output examples

Feser, John K., Chaudhuri, Swarat, Dillig, Isil · 2015 · Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation
Cited by 251

The DOI matches its Crossref record; 36 of the 36 references it cites were found in a registry or an index.

Abstract

We present a method for example-guided synthesis of functional programs over recursive data structures. Given a set of input-output examples, our method synthesizes a program in a functional language with higher-order combinators like map and fold. The synthesized program is guaranteed to be the simplest program in the language to fit the examples. Our approach combines three technical ideas: inductive generalization, deduction, and enumerative search. First, we generalize the input-output examples into hypotheses about the structure of the target program. For each hypothesis, we use deduction to infer new input/output examples for the missing subexpressions. This leads to a new subproblem where the goal is to synthesize expressions within each hypothesis. Since not every hypothesis can be realized into a program that fits the examples, we use a combination of best-first enumeration and deduction to search for a hypothesis that meets our needs. We have implemented our method in a tool called λ2, and we evaluate this tool on a large set of synthesis problems involving lists, trees, and nested data structures. The experiments demonstrate the scalability and broad scope of λ2. A highlight is the synthesis of a program believed to be the world's earliest functional pearl.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/2737924.2737977

Cites

36 of 36 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 7

  1. 10.5555/2958031.2958069 · doi:10.5555/2958031.2958069
  2. 10.1016/B978-0-08-011356-2.50006-9 · doi:10.1016/b978-0-08-011356-2.50006-9
  3. 10.1145/1291151.1291161 · doi:10.1145/1291151.1291161
  4. 10.5555/1998496.1998498 · doi:10.5555/1998496.1998498
  5. Lavrac N., WLP, 160
  6. Lieberman H., 2001, Morgan Kaufmann
  7. Menon A., 2013, ICML, 195

Cited by

See all 251

Metadata

Authors
Feser, J. K., Chaudhuri, S., & Dillig, I.
Venue
Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation
Publisher
ACM
Published
2015-06-03
Pages
229-239
ISSN
1531-7102 (ISSN-L)
OpenAlex
W2093535699
Cited by
251
References
36
FWCI
18.37
Type
conference paper
Language
en
Open access
closed
Funders
  • National Science Foundation (1162076)
  • Defense Advanced Research Projects Agency (FA8750-14-2-0270)

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.