Synthesising Programs with Non-trivial Constants

被引:1
|
作者
Abate, Alessandro [1 ]
Barbosa, Haniel [2 ]
Barrett, Clark [3 ]
David, Cristina [4 ]
Kesseli, Pascal [5 ]
Kroening, Daniel [6 ]
Polgreen, Elizabeth [7 ]
Reynolds, Andrew [8 ]
Tinelli, Cesare [8 ]
机构
[1] Univ Oxford, Oxford, England
[2] Univ Fed Minas Gerais, Belo Horizonte, MG, Brazil
[3] Stanford Univ, Stanford, CA USA
[4] Univ Bristol, Bristol, Avon, England
[5] Lacework Ltd, Mountain View, CA USA
[6] Amazon Inc, Oxford, England
[7] Univ Edinburgh, Edinburgh, Midlothian, Scotland
[8] Univ Iowa, Iowa City, IA USA
基金
欧盟地平线“2020”;
关键词
Program synthesis; Automated reasoning; Satisfiability modulo theories; Counterexample guided inductive synthesis; SAT;
D O I
10.1007/s10817-023-09664-4
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页数:25
相关论文
共 50 条
  • [1] Synthesising Programs with Non-trivial Constants
    Alessandro Abate
    Haniel Barbosa
    Clark Barrett
    Cristina David
    Pascal Kesseli
    Daniel Kroening
    Elizabeth Polgreen
    Andrew Reynolds
    Cesare Tinelli
    Journal of Automated Reasoning, 2023, 67
  • [2] In distributive phosphorylation catalytic constants enable non-trivial dynamics
    Conradi, Carsten
    Mincheva, Maya
    JOURNAL OF MATHEMATICAL BIOLOGY, 2024, 89 (02)
  • [3] Trivial and non-trivial superconductivity in dsDNA
    Simchi, H.
    PHYSICS LETTERS A, 2018, 382 (35) : 2489 - 2492
  • [4] In Pursuit of the Non-Trivial
    Caret, Colin R.
    EPISTEME-A JOURNAL OF INDIVIDUAL AND SOCIAL EPISTEMOLOGY, 2021, 18 (02): : 282 - 297
  • [5] A non-trivial junction
    Benjamin Heinrich
    Nature Nanotechnology, 2018, 13 : 874 - 874
  • [6] Tending to the Non-Trivial
    Kordes, Urban
    PRIMERJALNA KNJIZEVNOST, 2012, 35 (02): : 179 - 191
  • [7] NON-TRIVIAL PURSUITS
    CANBY, ET
    AUDIO, 1985, 69 (03): : 20 - &
  • [8] Trivial stable structures with non-trivial reducts
    Evans, DM
    JOURNAL OF THE LONDON MATHEMATICAL SOCIETY-SECOND SERIES, 2005, 72 : 351 - 363
  • [9] Trivial and non-trivial machines in the animal and in man
    Ivanovas, G
    KYBERNETES, 2005, 34 (3-4) : 508 - 520
  • [10] Trivial and Non-Trivial (yet Difficult) Physicalism
    Paoletti, Michele Paolini
    PHILOSOPHICAL INQUIRIES, 2015, 3 (01): : 29 - 37