Journal article
Synthesising Programs with Non-trivial Constants
Journal of automated reasoning, Vol.67(2), pp.19-19
2023
DOI: 10.1007/s10817-023-09664-4
PMCID: PMC10182957
PMID: 37193313
Abstract
Program synthesis is the mechanised construction of software. One of the main difficulties is the efficient exploration of the very large solution space, and tools often require a user-provided syntactic restriction of the search space. While useful in general, such syntactic restrictions provide little help for the generation of programs that contain non-trivial constants, unless the user is able to provide the constants in advance. This is a fundamentally difficult task for state-of-the-art synthesisers. We propose a new approach to the synthesis of programs with non-trivial constants that combines the strengths of a counterexample-guided inductive synthesiser with those of a theory solver, exploring the solution space more efficiently without relying on user guidance. We call this approach CEGIS(T), where T is a first-order theory. We present two exemplars, one based on Fourier-Motzkin (FM) variable elimination and one based on first-order satisfiability. We demonstrate the practical value of CEGIS(T) by automatically synthesising programs for a set of intricate benchmarks. Additionally, we present a case study where we integrate CEGIS(T) within the mature synthesiser CVC4 and show that CEGIS(T) improves CVC4’s results.
Details
- Title: Subtitle
- Synthesising Programs with Non-trivial Constants
- Creators
- Alessandro Abate - Oxford, UKHaniel Barbosa - Belo Horizonte, Minas Gerais BrazilClark Barrett - Stanford, USACristina David - Bristol, UKPascal Kesseli - Lacework Ltd, Mountain View, CA, UKDaniel Kroening - Oxford, UKElizabeth Polgreen - Edinburgh, UKAndrew Reynolds - Iowa City, USACesare Tinelli - Iowa City, USA
- Resource Type
- Journal article
- Publication Details
- Journal of automated reasoning, Vol.67(2), pp.19-19
- DOI
- 10.1007/s10817-023-09664-4
- PMID
- 37193313
- PMCID
- PMC10182957
- NLM abbreviation
- J Autom Reason
- ISSN
- 0168-7433
- eISSN
- 1573-0670
- Publisher
- Springer Netherlands
- Grant note
- 712689 / ; 280053 / ; UF160079 / ;
- Language
- English
- Date published
- 2023
- Academic Unit
- Computer Science
- Record Identifier
- 9984410857602771
Metrics
63 Record Views