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 条
  • [41] Non-trivial extension of Starobinsky inflation
    Khoeini-Moghaddam, Salomeh
    PHYSICS OF THE DARK UNIVERSE, 2021, 32
  • [42] Non-trivial exponents in coarsening phenomena
    Derrida, B
    PHYSICA D-NONLINEAR PHENOMENA, 1997, 103 (1-4) : 466 - 477
  • [43] THERMAL STRINGS IN NON-TRIVIAL BACKGROUNDS
    ALVAREZ, E
    OSORIO, MAR
    PHYSICS LETTERS B, 1989, 220 (1-2) : 121 - 124
  • [44] NON-TRIVIAL POLYNOMIAL ISOLATED SINGULARITIES
    CHURCH, PT
    LAMOTKE, K
    PROCEEDINGS OF THE KONINKLIJKE NEDERLANDSE AKADEMIE VAN WETENSCHAPPEN SERIES A-MATHEMATICAL SCIENCES, 1975, 78 (02): : 149 - 154
  • [45] SOME GROUPS WITH NON-TRIVIAL MULTIPLICATORS
    WIEGOLD, J
    MATHEMATISCHE ZEITSCHRIFT, 1971, 120 (04) : 307 - &
  • [46] NON-TRIVIAL REALIZATION OF THE BRS SUPERSYMMETRY
    FUJIKAWA, K
    PROGRESS OF THEORETICAL PHYSICS, 1980, 63 (04): : 1364 - 1383
  • [47] BPS equations and non-trivial compactifications
    Tyukov, Alexander
    Warner, Nicholas P.
    JOURNAL OF HIGH ENERGY PHYSICS, 2018, (05):
  • [48] Quark splitting in non-trivial θ-vacuum
    Xing, Hongxi
    Wang, Xin-Nian
    Yuan, Feng
    NUCLEAR PHYSICS A, 2011, 855 (01) : 473 - 477
  • [49] Fuzzy non-trivial gauge configurations
    Ydri, B
    THEORETICAL HIGH ENERGY PHYSICS: MRST 2001: A TRIBUTE TO ROGER MIGNERON, 2001, 601 : 219 - 225
  • [50] TOPOLOGICAL SUPERCONDUCTIVITY A non-trivial junction
    Heinrich, Benjamin
    NATURE NANOTECHNOLOGY, 2018, 13 (10) : 874 - 874