2016
DOI: 10.1145/2914770.2837629
|View full text |Cite
|
Sign up to set email alerts
|

Example-directed synthesis: a type-theoretic interpretation

Abstract: Input-output examples have emerged as a practical and user-friendly specification mechanism for program synthesis in many environments. While example-driven tools have demonstrated tangible impact that has inspired adoption in industry, their underlying semantics are less well-understood: what are "examples" and how do they relate to other kinds of specifications? This paper demonstrates that examples can, in general, be interpreted as refinement types. Seen in this light, program synthesis is the task of find… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
63
0

Year Published

2017
2017
2023
2023

Publication Types

Select...
5
3
1

Relationship

1
8

Authors

Journals

citations
Cited by 54 publications
(67 citation statements)
references
References 18 publications
0
63
0
Order By: Relevance
“…Example 3. A data analyst has the following raw data about the position of vehicles for a driving simulator [3]: Here, Table 1 contains the unique identification number for each vehicle (e.g., 10,15), with 0 indicating the absence of a vehicle. The column labeled "frame" in Table 1 measures the time step, and the columns "X1", "X2", "X3" track which vehicle is closer to the driver.…”
Section: Motivating Examplesmentioning
confidence: 99%
See 1 more Smart Citation
“…Example 3. A data analyst has the following raw data about the position of vehicles for a driving simulator [3]: Here, Table 1 contains the unique identification number for each vehicle (e.g., 10,15), with 0 indicating the absence of a vehicle. The column labeled "frame" in Table 1 measures the time step, and the columns "X1", "X2", "X3" track which vehicle is closer to the driver.…”
Section: Motivating Examplesmentioning
confidence: 99%
“…Of these approaches, IN-SYNTH [14] is type-directed rather than example-directed. MYTH [22] and its successors [10] cast type-and exampledirected synthesis as type inhabitation in a refinement type system. SYNQUID [24] steps further by taking advantage of recent advances in polymorphic refinement types [27,32].…”
Section: Related Workmentioning
confidence: 99%
“…The L2 system [16] synthesises recursive functional algorithms. The MYTH [36] and MYTH2 [18] systems use type systems to synthesise programs. Frankle et al [18] show how example-based specifications can be turned into type specifications.…”
Section: Inductive Functional Programmingmentioning
confidence: 99%
“…Over the past decade, the programming languages community has explored the synthesis of programs from a wide variety of angles. One of the key ideas is typically to narrow the program search space by focusing on a specific domain, and imposing constraints on syntax [Alur et al 2013], typing [Augustsson 2004Feser et al 2015;Frankle et al 2015;Gvero et al 2013;Scherer and Rèmy 2015], or both.…”
Section: Data Transformation Synthesismentioning
confidence: 99%