Semantics of (disjunctive) logic programs based on partial evaluation

被引:40
作者
Brass, S
Dix, J
机构
[1] Univ Koblenz, Dept Comp Sci, D-56075 Koblenz, Germany
[2] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
来源
JOURNAL OF LOGIC PROGRAMMING | 1999年 / 40卷 / 01期
关键词
D O I
10.1016/S0743-1066(98)10030-4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a new and general approach for defining, understanding, and computing logic programming semantics. We consider disjunctive programs for generality,but our results are still interesting if specialized to normal programs. Our framework consists of two parts: (a) a semantical, where semantics are defined in an abstract way as the weakest semantics satisfying certain properties, and (b) a procedural, namely a bottom-up query evaluation method based on operators working on conditional facts. As to (a), we concentrate in this paper on a particular set of abstract properties (the most important being the unfolding or partial evaluation property GPPE) and define a new semantics D-WFS, which extends WFS and GCWA. We also mention that various other semantics, like Fitting's comp(3), Schlipf's WFSc, Gelfond and Lifschitz' STABLE and Boss and Topor's WGCWA (also introduced independently by Rajasekar et al. (A. Rajasekar, J. Lobo, J. Minker, Journal of Automated Reasoning 5 (1989) 293-307)), can be captured in our framework. In (b) we compute for any program P a residual program res(P), and show that res(P) is equivalent to the original program under very general conditions on the semantics (which are satisfied, e.g., by the well-founded, stable, stationary, and static semantics). Many queries with respect to these semantics can already be answered on the basis of the residual program. In fact, res(P) is complete for D-WFS, WFS and GCWA. (C) 1999 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:1 / 46
页数:46
相关论文
共 63 条
[1]   ON THE CORRECTNESS OF UNFOLD/FOLD TRANSFORMATION OF NORMAL AND EXTENDED LOGIC PROGRAMS [J].
ARAVINDAN, C ;
DUNG, PM .
JOURNAL OF LOGIC PROGRAMMING, 1995, 24 (03) :201-217
[2]  
ARRAZOLA J, 1997, 2797 U KOB DEP COMP
[3]   MIXED-INTEGER PROGRAMMING METHODS FOR COMPUTING NONMONOTONIC DEDUCTIVE DATABASES [J].
BELL, C ;
NERODE, A ;
NG, RT ;
SUBRAHMANIAN, VS .
JOURNAL OF THE ACM, 1994, 41 (06) :1178-1215
[4]  
BRASS S, 1992, LECT NOTES COMPUT SC, V580, P88
[5]  
Brass S, 1996, MOR KAUF R, P529
[6]   Characterizations of the disjunctive stable semantics by partial evaluation [J].
Brass, S ;
Dix, J .
JOURNAL OF LOGIC PROGRAMMING, 1997, 32 (03) :207-228
[7]  
Brass S, 1997, LECT NOTES ARTIF INT, V1216, P171, DOI 10.1007/BFb0023807
[8]  
Brass S, 1996, LECT NOTES ARTIF INT, V1126, P268
[9]  
Brass S, 1995, LECT NOTES ARTIF INT, V928, P85
[10]  
BRASS S, 1998, P 6 INT C PRINC KNOW