A Dynamic Approach to Characterizing Termination of General Logic Programs
计算机科学中的逻辑
2007-05-23 v1 编程语言
摘要
We present a new characterization of termination of general logic programs. Most existing termination analysis approaches rely on some static information about the structure of the source code of a logic program, such as modes/types, norms/level mappings, models/interargument relations, and the like. We propose a dynamic approach which employs some key dynamic features of an infinite (generalized) SLDNF-derivation, such as repetition of selected subgoals and recursive increase in term size. We also introduce a new formulation of SLDNF-trees, called generalized SLDNF-trees. Generalized SLDNF-trees deal with negative subgoals in the same way as Prolog and exist for any general logic programs.
引用
@article{arxiv.cs/0204031,
title = {A Dynamic Approach to Characterizing Termination of General Logic Programs},
author = {Yi-Dong Shen and Jia-Huai You and Li-Yan Yuan and Samuel S. P. Shen and Qiang Yang},
journal= {arXiv preprint arXiv:cs/0204031},
year = {2007}
}
备注
To appear in ACM TOCL