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 条
  • [1] Non-termination Analysis of Logic Programs Using Types
    Voets, Dean
    De Schreye, Danny
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2011, 6564 : 133 - 148
  • [2] A practical analysis of non-termination in large logic programs
    Liang, Senlin
    Kifer, Michael
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2013, 13 : 705 - 719
  • [3] Research Summary: Non-termination Analysis of Logic Programs
    Voets, Dean
    LOGIC PROGRAMMING, 2009, 5649 : 553 - 554
  • [4] A New Approach to Non-termination Analysis of Logic Programs
    Voets, Dean
    De Schreye, Danny
    LOGIC PROGRAMMING, 2009, 5649 : 220 - 234
  • [5] Non-termination inference for constraint logic programs
    Payet, E
    Mesnard, F
    STATIC ANALYSIS, PROCEEDINGS, 2004, 3148 : 377 - +
  • [6] A non-termination criterion for binary constraint logic programs
    Payet, Etienne
    Mesnard, Fred
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2009, 9 : 145 - 164
  • [7] Witness to non-termination of linear programs
    Li, Yi
    THEORETICAL COMPUTER SCIENCE, 2017, 681 : 75 - 100
  • [8] Non-Termination Analysis of Linear Loop Programs with Conditionals
    Bi, Zhongqin
    Shan, Meijing
    Wu, Bin
    PROCEEDINGS OF THE 2008 ADVANCED SOFTWARE ENGINEERING & ITS APPLICATIONS, 2008, : 159 - 164
  • [9] Non-termination checking for imperative programs
    Velroyen, Helga
    Rummer, Philipp
    TESTS AND PROOFS, 2008, 4966 : 154 - +
  • [10] Formalizing non-termination of recursive programs
    Kahle, R
    Studer, T
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2001, 49 (1-2): : 1 - 14