计算机科学 > 程序设计语言
[提交于 2011年9月15日]
标题:Non-termination Analysis of Logic Programs with Integer arithmetics
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 ICLP 2009. The analysis starts from a class of queries and infers a subclass of non-terminating ones. In a first phase, we ignore the outcome (success or failure) of the arithmetic operations, assuming success of all arithmetic calls. In a second phase, we characterize successful arithmetic calls as a constraint problem, the solution of which determines the non-terminating queries.
提交历史
来自:Dean Voets[v1] 2011年9月15日 星期四 03:58:37 UTC