Modelling Program Spaces in Program Synthesis with Constraints
Hinnerichs, Tilman, Swinkels, Bart, de Jong, Jaap, Reid, Reuben Gardos, Magirescu, Tudor, Yorke-Smith, Neil, Dumancic, Sebastijan
–arXiv.org Artificial Intelligence
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. 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.
arXiv.org Artificial Intelligence
Aug-4-2025
- Country:
- Asia
- Middle East > Israel
- Haifa District > Haifa (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Middle East > Israel
- Europe
- France > Île-de-France
- Hungary > Budapest
- Budapest (0.04)
- Netherlands > South Holland
- Delft (0.05)
- United Kingdom
- North Sea > Central North Sea (0.04)
- Scotland > City of Edinburgh
- Edinburgh (0.04)
- North America
- Canada > Quebec
- Montreal (0.04)
- United States
- California > Santa Clara County
- San Jose (0.04)
- Indiana > Marion County
- Indianapolis (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Massachusetts (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- California > Santa Clara County
- Canada > Quebec
- Asia
- Genre:
- Research Report (0.64)
- Technology: