Non-termination analysis of logic programs with integer arithmetics

被引:7
|
作者
Voets, Dean [1 ]
De Schreye, Danny [1 ]
机构
[1] Katholieke Univ Leuven, Dept Comp Sci, B-3001 Heverlee, Belgium
关键词
non-termination analysis; numerical computation; constraint-based approach;
D O I
10.1017/S1471068411000159
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the past years, analyzers have been introduced to detect classes of non-terminating queries for definite logic programs. Although these non-termination analyzers have shown to be rather precise, their applicability on real-life Prolog programs is limited because most Prolog programs use non-logical features. As a first step towards the analysis of Prolog programs, this paper presents a non-termination condition for Logic Programs containing integer arithmetics. The analyzer is based on our non-termination analyzer presented at International Logic Programming Conference (ICLP) 2009. The analysis starts from a class of queries and infers a subclass of non-terminating ones. In first phase, we ignore the outcome (success or failure) of the arithmetic operations, assuming success of all arithmetic calls. In second phase, we characterize successful arithmetic calls as a constraint problem, the solution of which determines the non-terminating queries.
引用
收藏
页码:521 / 536
页数:16
相关论文
共 50 条
  • [21] Non-termination in idempotent semirings
    Hoefner, Peter
    Struth, Georg
    RELATIONS AND KLEENE ALGEBRA IN COMPUTER SCIENCE, 2008, 4988 : 206 - 220
  • [22] Non-termination Proving at Scale
    Raad, Azalea
    Vanegue, Julien
    O'Hearn, Peter
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (OOPSLA):
  • [23] DynamiTe: Dynamic Termination and Non-termination Proofs
    Le, Ton Chanh
    Antonopoulos, Timos
    Fathololumi, Parisa
    Koskinen, Eric
    Nguyen, ThanhVu
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4
  • [24] Experiments with Non-Termination Analysis for Java']Java Bytecode
    Payet, Etienne
    Spoto, Fausto
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 253 (05) : 83 - 96
  • [25] FuzzNT : Checking for Program Non-termination
    Karmarkar, Hrishikesh
    Medicherla, Raveendra Kumar
    Metta, Ravindra
    Yeduru, Prasanth
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2022), 2022, : 409 - 413
  • [26] Automatic termination analysis of logic programs
    Lindenstrauss, N
    Sagiv, Y
    LOGIC PROGRAMMING: PROCEEDINGS OF THE FOURTEENTH INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1997, : 63 - 77
  • [27] Non-termination and secure information flow
    Smith, Geoffrey
    Alpizar, Rafael
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2011, 21 (06) : 1183 - 1205
  • [28] Proving Non-termination by Program Reversal
    Chatterjee, Krishnendu
    Goharshady, Ehsan Kafshdar
    Novotny, Petr
    Zikelic, Dorde
    PROCEEDINGS OF THE 42ND ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '21), 2021, : 1033 - 1048
  • [29] Non-termination in Unifying Theories of Programming
    Guttmann, Walter
    RELATIONAL METHODS IN COMPUTER SCIENCE, 2005, 2006, 3929 : 108 - 120
  • [30] Termination of integer linear programs
    Braverman, Mark
    COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2006, 4144 : 372 - 385