Program Synthesis as Dependency Quantified Formula Modulo Theory

Priyanka Golia, Subhajit Roy, Kuldeep S. Meel
5/19/2021
cs.AIcs.LO

Official code: meelgroup/DeQuS (1 star, Python, last commit 2021-08-07).

Abstract

Given a specification $\varphi(X,Y)$ over inputs $X$ and output $Y$, defined over a background theory $\mathbb{T}$, the problem of program synthesis is to design a program $f$ such that $Y=f(X)$ satisfies the specification $\varphi$. Over the past decade, syntax-guided synthesis (SyGuS) has emerged as a dominant approach for program synthesis where in addition to the specification $\varphi$, the end-user also specifies a grammar $L$ to aid the underlying synthesis engine.

Show full abstract

This paper investigates the feasibility of synthesis techniques without grammar, a sub-class defined as $\mathbb{T}$-constrained synthesis. We show that $\mathbb{T}$-constrained synthesis can be reduced to DQF($\mathbb{T}$), i.e., to the problem of finding a witness of a Dependency Quantified Formula Modulo Theory. When the underlying theory is the theory of bitvectors, the corresponding DQF(BV) problem can be further reduced to Dependency Quantified Boolean Formulas (DQBF). We rely on the progress in DQBF solving to design DQBF-based synthesizers that outperform the domain-specific program synthesis techniques, thereby positioning DQBF as a core representation language for program synthesis. Our empirical analysis shows that $\mathbb{T}$-constrained synthesis can achieve significantly better performance than syntax-guided approaches. Furthermore, the general-purpose DQBF solvers perform on par with domain-specific synthesis techniques.

View on arXivView PDF

Code Implementations(1)

meelgroup/DeQuSOfficial100%

Program Synthesis via DQF(T)

10Python, SlashMay 19, 20215 years ago

Similar Papers

Cite this paper

@article{golia2021program,
  title  = {Program Synthesis as Dependency Quantified Formula Modulo Theory},
  author = {Priyanka Golia and Subhajit Roy and Kuldeep S. Meel},
  year   = {2021},
  eprint = {2105.09221},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.09221}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.09221.svg)](https://codeofpaper.com/paper/2105.09221)

Discussion