Modelling Program Spaces in Program Synthesis with Constraints

Tilman Hinnerichs, Bart Swinkels, Jaap de Jong, Reuben Gardos Reid, Tudor Magirescu +2 more
7/10/2025
cs.PLcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

A core challenge in program synthesis is taming the large space of possible programs. Since program synthesis is essentially a combinatorial search, the community has sought to leverage powerful combinatorial constraint solvers.

Show full abstract

Here, constraints are used to express the program semantics, but not as a potentially potent tool to remove unwanted programs. Recent inductive logic programming approaches introduce constraints on the program's syntax to be synthesized. These syntactic constraints allow for checking and propagating a constraint without executing the program, and thus for arbitrary operators. In this work, we leverage syntactic constraints to model program spaces, defining not just solutions that are feasible, but also ones that are likely useful. To demonstrate this idea, we introduce BART, a solver that efficiently propagates and solves these constraints. We evaluate BART on program space enumeration tasks, finding that the constraints eliminate up to 99 percent of the program space, and that modeling program spaces significantly reduces enumeration time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hinnerichs2025modelling,
  title  = {Modelling Program Spaces in Program Synthesis with Constraints},
  author = {Tilman Hinnerichs and Bart Swinkels and Jaap de Jong and Reuben Gardos Reid and Tudor Magirescu and Neil Yorke-Smith and Sebastijan Dumancic},
  year   = {2025},
  eprint = {2508.00005},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.00005v1}
}

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/2508.00005.svg)](https://codeofpaper.com/paper/2508.00005)

Discussion