Automated synthesis of recursive programs from a ∀∃ logical specification

被引:1
|
作者
Chazarain, J [1 ]
Muller, S [1 ]
机构
[1] Univ Nice, CNRS, Lab I3S, F-06560 Valbonne, France
关键词
automated reasoning; program synthesis; theorem proving; test set; inductive reasoning; term rewriting systems;
D O I
10.1023/A:1005903504159
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The specification of a function is often given by a logical formula, called a For All There Exists-formula, of the following form: For All x There Exists y Phi(x, y). More precisely, a specification is given in the context of a certain theory E and is stated by the judgment E proves For All x There Exists y Phi(x, y). In this paper, we consider the case in which E is an equational theory. It is divided into two parts. In the first part, we develop a theory for the automated proof of such judgments in the initial model of E. The validity in the initial model means that we consider not only equational theorems but also inductive ones. From our theory we deduce an automated method for the proof of a class of such judgments. In the second part, we present an automated method for program synthesis. We show how the previous proof method can be used to generate a recursive program for a function f that satisfies a judgment E proves For All x Phi(x, f(x)). We illustrate our method with the automated synthesis of some recursive programs on domains such as integers and lists. Finally, we describe our system LEMMA, which is an implementation in Common Lisp of these new methods.
引用
收藏
页码:233 / 275
页数:43
相关论文
共 50 条
  • [1] Automated Synthesis of Recursive Programs from a ∀∃ Logical Specification
    Jacques Chazarain
    Serge Muller
    [J]. Journal of Automated Reasoning, 1998, 21 : 233 - 275
  • [2] Using Computer Algebra techniques for the specification, verification and synthesis of recursive programs
    Popov, Nikolaj
    Jebelean, Tudor
    [J]. MATHEMATICS AND COMPUTERS IN SIMULATION, 2009, 79 (08) : 2302 - 2309
  • [3] Inductive synthesis of recursive processes from logical properties
    Kimura, S
    Togashi, A
    Shiratori, N
    [J]. INFORMATION AND COMPUTATION, 2000, 163 (02) : 257 - 284
  • [4] Automated Generation of Test Cases from Logical Specification of Software Requirements
    Sharma, Richa
    Biswas, K. K.
    [J]. PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING (ENASE 2014), 2014, : 241 - 248
  • [5] Automated Expected Value Analysis of Recursive Programs
    Avanzini, Martin
    Moser, Georg
    Schaper, Michael
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (PLDI):
  • [6] Synthesis of a nondeterministic automaton from its logical specification .1..
    Chebotarev, AN
    [J]. CYBERNETICS AND SYSTEMS ANALYSIS, 1995, 31 (05) : 641 - 649
  • [7] Synthesis of Recursive Programs in Saturation
    Hozzova, Petra
    Amrollahi, Daneshvar
    Hajdu, Marton
    Kovacs, Laura
    Voronkov, Andrei
    Wagner, Eva Maria
    [J]. AUTOMATED REASONING, IJCAR 2024, PT I, 2024, 14739 : 154 - 171
  • [8] Synthesis of a nondeterministic automaton from its logical specification .2.
    Chebotarev, AN
    [J]. CYBERNETICS AND SYSTEMS ANALYSIS, 1995, 31 (06) : 793 - 801
  • [9] Inductive synthesis of an automaton from its specification in the logical language L
    Kapitonova, YV
    Chebotarev, AN
    [J]. CYBERNETICS AND SYSTEMS ANALYSIS, 2000, 36 (06) : 793 - 801
  • [10] Logical Specification and Uniform Synthesis of Robust Controllers
    Pandya, Paritosh K.
    Wakankar, Amol
    [J]. 17TH ACM-IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN (MEMOCODE), 2019,