NSynC: Normalised Synthesis of Computation
Abstract
Inductive program synthesis algorithms search a space of programs to find one that meets some specification. Enumerating according to the syntax of a programming language leads to a large search space, and hence slow synthesis, due in large part to semantic duplication. A synthesiser may have to evaluate -- and reject -- multiple semantically identical but syntactically different programs, wasting resources. To avoid this duplication, we present NSynC, a synthesis-by-semantics approach. By enumerating the semantics of the target language directly, we guarantee that each candidate program is semantically unique and that each evaluation of a candidate is meaningful. Specifically, we search the space of normal forms for the simply-typed lambda calculus with sums using a top-down, type-directed synthesis algorithm. Our preliminary results show a geomean speedup of 8.93x on a synthetic benchmark suite over the unrestricted algorithm.
Create a lesson
Metadata
- Comments
- 21 pages (of which 17 in appendix), 12 figures (of which 11 in appendix). Accepted to SYNT 2026
Related papers
Simulating Quantum Computation Using Probabilistic Programming
Shared title terminologycs.PLYafei Yang, Chung-chieh Shan
Symbolic Synthesis with Token-Level LLM Guidance
Shared title terminologycs.PLDerek Egolf, Stavros Tripakis
Polarized Scheme: duality of computation, delimited control, and continuation-passing macro Interleaving
Shared title terminologycs.PLChristopher Dutchyn
Pattern-Guided Graph Synthesis for Suppressing Known Defects in DL Compiler Fuzzing
Shared title terminologycs.PLQiong Feng, Xiaotian Ma, Di Cui et al.
Morph-Aware Computing: Compiler-Ordered Updates of Program State after Topology Changes
Shared title terminologycs.PLYusuke Izawa, Junichiro Kadomoto
A Fresh Look at Best Inductive Loop Invariant Synthesis for Bit-Vector Relations
Shared title terminologycs.PLHanrui Zuo, Peisen Yao, Kui Ren