Proving Operational Termination of Declarative Programs in General Logics

被引:5
作者
Lucas, Salvador [1 ,2 ]
Meseguer, Jose [1 ]
机构
[1] Univ Illinois, CS Dept, Urbana, IL 61801 USA
[2] Univ Politecn Valencia, DSIC, Valencia, Spain
来源
PPDP'14: PROCEEDINGS OF THE 16TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING | 2014年
关键词
General Logics; Declarative Languages; Operational Termination; Program Verification; FRAMEWORK;
D O I
10.1145/2643135.2643152
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A declarative program P is a theory in a given computational logic L, so that computation with such a program is efficiently implemented as deduction in L. That is why inference systems are crucial: they both (i) define the logical semantics of a language in its underlying logic L, and (ii) specify the execution of programs in a correct implementation. The notion of operational termination (OT) of a declarative program P identifies termination with absence of infinite inference with P. We further develop the OT notion for declarative programs in general logics with schematic inference systems and characterize OT in terms of chains of proof jumps. We also generalize the Dependency Pair Framework for Term Rewriting Systems to an arbitrary schematic logic L, so that methods for proving declarative programs OT become available for a very wide range of declarative languages. We illustrate the usefulness of the general OT methods we propose by three case studies in three logics: that of Conditional Term Rewriting Systems, the Typed lambda-calculus, and Membership Rewriting Logic. In particular, we show how various programs that could not be proved terminating with existing methods can be proved OT with the methods presented here.
引用
收藏
页码:111 / 122
页数:12
相关论文
共 30 条
  • [1] Aczel P., 1994, WHAT IS LOGICAL SYST, P261
  • [2] Alarcón B, 2010, LECT NOTES COMPUT SC, V6381, P35, DOI 10.1007/978-3-642-16310-4_4
  • [3] Improving Context-Sensitive Dependency Pairs
    Alarcon, Beatriz
    Emmes, Fabian
    Fuhs, Carsten
    Giesl, Juergen
    Gutierrez, Raul
    Lucas, Salvador
    Schneider-Kamp, Peter
    Thiemann, Rene
    [J]. LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2008, 5330 : 636 - +
  • [4] [Anonymous], 2008, P 10 INT ACM SIGPLAN, DOI DOI 10.1145/1389449.1389463
  • [5] Barendregt Henk, 2013, LAMBDA CALCULUS TYPE
  • [6] Clavel Manuel., 2007, All About Maude - A High-Performance Logical Framework, How to Specify, Program and Verify Systems in Rewriting Logic, V4350
  • [7] A semantic basis for the termination analysis of logic programs
    Codish, M
    Taboch, C
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1999, 41 (01): : 103 - 123
  • [8] TERMINATION OF LOGIC PROGRAMS - THE NEVER-ENDING STORY
    De Schreye, D
    Decorte, S
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1994, 20 : 199 - 260
  • [9] PROVING TERMINATION WITH MULTI-SET ORDERINGS
    DERSHOWITZ, N
    MANNA, Z
    [J]. COMMUNICATIONS OF THE ACM, 1979, 22 (08) : 465 - 476
  • [10] A general framework for automatic termination analysis of logic programs
    Dershowitz, N
    Lindenstrauss, N
    Sagiv, Y
    Serebrenik, A
    [J]. APPLICABLE ALGEBRA IN ENGINEERING COMMUNICATION AND COMPUTING, 2001, 12 (1-2) : 117 - 156