Verifying termination and error-freedom of logic programs with block declarations

被引:0
|
作者
Smaus, JG
Hill, PM
King, A
机构
[1] CWI, NL-1098 SJ Amsterdam, Netherlands
[2] Univ Leeds, Sch Comp Studies, Leeds LS2 9JT, W Yorkshire, England
[3] Univ Kent, Canterbury CT2 7NF, Kent, England
关键词
verification; delay declarations; termination; modes; types; selection rule; built-ins errors;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present verification methods for logic programs with delay declarations. The verified properties are termination and freedom from errors related to built-ins. Concerning termination, we present two approaches. The first approach tries to eliminate the well-known problem of speculative output bindings. The second approach is based on identifying the predicates for which the textual position of an atom using this predicate is irrelevant with respect to termination. Three features are distinctive of this work: it allows for predicates to be used in several modes; it shows that block declarations, which are a very simple delay construct, are sufficient to ensure the desired properties; it takes the selection rule into account, assuming it to be as in most Prolog implementations. The methods can be used to verify existing programs and assist in writing new programs.
引用
收藏
页码:447 / 486
页数:40
相关论文
共 50 条
  • [41] Inferring and compiling termination for constraint logic programs
    Hoarau, S
    Mesnard, F
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 1999, 1559 : 240 - 254
  • [42] A TRANSFORMATIONAL METHODOLOGY FOR PROVING TERMINATION OF LOGIC PROGRAMS
    RAO, MRKK
    KAPUR, D
    SHYAMASUNDAR, RK
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 626 : 213 - 226
  • [43] The Dependency Triple Framework for Termination of Logic Programs
    Schneider-Kamp, Peter
    Giesl, Juergen
    Nguyen, Manh Thang
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2010, 6037 : 37 - +
  • [44] CHARACTERIZING TERMINATION OF LOGIC PROGRAMS WITH LEVEL MAPPINGS
    BEZEM, M
    [J]. LOGIC PROGRAMMING : PROCEEDINGS OF THE NORTH AMERICAN CONFERENCE, 1989, VOL 1-2, 1989, : 69 - 80
  • [45] Error-Controlled Computation for Termination of Programs
    Zhao, Shizhong
    Feng, Ranran
    Zhao, Miaoling
    [J]. 2010 3RD INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS (BMEI 2010), VOLS 1-7, 2010, : 2753 - 2756
  • [46] Verifying Graph Programs with Monadic Second-Order Logic
    Wulandari, Gia S.
    Plump, Detlef
    [J]. GRAPH TRANSFORMATION, ICGT 2021, 2021, 12741 : 240 - 261
  • [47] Verifying local stratifiability of logic programs and databases .2.
    Shen, YD
    [J]. NEW GENERATION COMPUTING, 1996, 14 (03) : 317 - 341
  • [48] Tool for Verifying Cloud Block Storage Based on Separation Logic
    Zhang, Bo-Wen
    Jin, Zhao
    Wang, Han-Pin
    Cao, Yong-Zhi
    [J]. Ruan Jian Xue Bao/Journal of Software, 2022, 33 (06): : 2264 - 2287
  • [49] Automated termination analysis for logic programs by term rewriting
    Schneider-Kamp, Peter
    Giesl, Juergen
    Serebrenik, Alexander
    Thiemann, Rene
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2007, 4407 : 177 - +
  • [50] Termination of simply moded logic programs with dynamic scheduling
    Bossi, Annalisa
    Etalle, Sandro
    Rossi, Sabina
    Smaus, Jan-Georg
    [J]. ACM Transactions on Computational Logic, 2004, 5 (03) : 470 - 507