NEGATION AND CONSTRAINT LOGIC PROGRAMMING

被引:41
作者
STUCKEY, PJ
机构
[1] Department of Computer Science, University of Melbourne, Parkville
关键词
D O I
10.1006/inco.1995.1048
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Almost all constraint logic programming systems include negation, yet nowhere has a sound operational model for negation in CLP been discussed. The SLDNF approach of only allowing ground negative subgoals to execute is very restrictive in constraint logic programming where most variables appearing in a derivation never become ground. By describing a scheme for constructive negation in constraint logic programming we give a sound and complete operational model for negation in these languages. Constructive negation was first formulated for logic programming in the Herbrand Universe and involves introducing framework for describing constructive negation. In this paper we describe a framework for constructive negation for constraint logic programming over arbitrary structures which is sound and complete with respect to the three-valued consequences of the completion of a program. Through this description, we arrive at a simpler, more efficient form of constructive negation for the Herbrand Universe. Finally we characterize what makes a structure particularly suited to the use of constructive negation and show this suitability condition for a number of structures and classes of structures. The constraint viewpoint of constraint logic programming is well matched with constructive negation. Not only is constructive negation easier to understand from this point of view, but more importantly it gives the first clean approach to negation in constraint logic programming. (C) 1995 Academic Press, Inc.
引用
收藏
页码:12 / 33
页数:22
相关论文
共 30 条
[1]  
CHAN D, 1989, P AISB C SUSSEX
[2]  
CHAN D, 1989, P N AM C LOGIC PROGR, P477
[3]  
CHAN D, 1988, 5TH P INTL C S LOG P, P111
[4]  
Clark K. L., 1978, Logic and data bases, P293
[5]  
Colmerauer A., 1982, PROLOG 2 REFERENCE M
[6]  
Dincbas M., 1988, P 2 INT C 5 GEN COMP, P249
[7]  
DRABENT W, 1993, WHAT IS FAILURE CONS
[8]  
Fitting M., 1985, Journal of Logic Programming, V2, P295, DOI 10.1016/S0743-1066(85)80005-4
[9]  
FITTING M, 1988, 5TH P INT C S LOG PR, P1054
[10]  
FOO N, 1988, 5TH P INT C S LOG PR, P126