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 条
  • [12] ON NON-TRIVIAL SPECTRA OF TRIVIAL GAUGE THEORIES
    Korcyl, Piotr
    Koren, Mateusz
    Wosiek, Jacek
    ACTA PHYSICA POLONICA B, 2013, 44 (04): : 713 - 720
  • [13] ENTANGLEMENT AND NON-TRIVIAL TOPOLOGIES
    Prudencio, Thiago
    Cirilo-Lombardo, Diego Julio
    INTERNATIONAL JOURNAL OF GEOMETRIC METHODS IN MODERN PHYSICS, 2013, 10 (09)
  • [14] The Non-Trivial Accomplishments of Counterterrorists
    Jordan, Jenna
    SECURITY STUDIES, 2024,
  • [15] Fermions on non-trivial topologies
    Gamboa, J
    PHYSICS LETTERS B, 2000, 477 (04) : 469 - 473
  • [16] NON-TRIVIAL LAWS FOR HOMOTOPY
    TAYLOR, W
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1976, 23 (01): : A5 - A6
  • [17] NON-TRIVIAL REVERSAL OF THE TORUS
    PETIT, JP
    COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES SERIE A, 1978, 287 (14): : 927 - 930
  • [18] The non-trivial functions of sleep
    Rattenborg, Niels C.
    Lesku, John A.
    Martinez-Gonzalez, Dolores
    Lima, Steven L.
    SLEEP MEDICINE REVIEWS, 2007, 11 (05) : 405 - 409
  • [19] Non-trivial pursuit of physiology
    Zakaryan, V
    Bliss, R
    Sarvazyan, N
    ADVANCES IN PHYSIOLOGY EDUCATION, 2005, 29 (01) : 11 - 14
  • [20] NON-TRIVIAL MEDIA FACADES
    Herr, Christiane M.
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON COMPUTER-AIDED ARCHITECTURAL DESIGN RESEARCH IN ASIA (CAADRIA 2012): BEYOND CODES AND PIXELS, 2012, : 99 - 108