arrow
Return

Hole Refinements for Polymorphic Type-and-Example Driven Synthesis

delete2026-01-01
delete0
PRE
AI
N
Niek Mulleners *
J
Johan Jeuring
W
Wouter Swierstra
DOI:10.1145/3779209.3779535delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Many synthesizers implicitly benefit from using polymorphic types, since parametric polymorphism reduces the search space. Additional synthesis constraints may interfere with parametricity. In particular, a polymorphic type may cause otherwise feasible input-output examples to contradict each other. We present TAXI (type-and-example based inferencer), a tool for efficiently reasoning about the feasibility of polymorphic programs specified by input-output examples, and DRIVER, a tactic language for top-down program synthesis that uses feasibility reasoning to prune the search space. TAXI guarantees that every search state corresponds to a correct (albeit possibly partial) implementation. In addition, it allows for shortcutting the synthesis when a subspecification covers all cases. We show that these techniques have the potential to speed up top-down enumerative type-and-example driven synthesizers.
Keywords:
parametricity
container functors
feasibility
program synthesis
example propagation

Journal

P
PROCEEDINGS OF THE 2026 ACM SIGPLAN INTERNATIONAL WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION, PEPM 2026
IF:
0
Papers:
5
Citations:
0

Organization

U
Utrecht University
Scholars:
6.0W
Papers: 5.1W
Citations: 5.8W