Weight constraints as nested expressions

被引:68
作者
Ferraris, P [1 ]
Lifschitz, V [1 ]
机构
[1] Univ Texas, Dept Comp Sci, Austin, TX 78712 USA
关键词
answer sets; cardinality constraints; SMODELS; stable models; weight constraints;
D O I
10.1017/S1471068403001923
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We compare two recent extensions of the answer set (stable model) semantics of logic programs. One of them, due to Lifschitz, Tang and Turner, allows the bodies and heads of rules to contain nested expressions. The other, due to Niemela and Simons, uses weight constraints. We show that there is a simple, modular translation from the language of weight constraints into the language of nested expressions that preserves the program's answer sets. Nested expressions can be eliminated from the result of this translation in favor of additional atoms. The translation makes it possible to compute answer sets for some programs with weight constraints using satisfiability solvers, and to prove the strong equivalence of programs with weight constraints using the logic of here-and-there.
引用
收藏
页码:45 / 74
页数:30
相关论文
共 16 条
[1]  
Babovich Yuliya, 2000, P 8 INT WORKSH NONM
[2]  
Clark K. L., 1978, Logic and data bases, P293
[3]  
ERDEM E, 2003, IN PRESS THEORY PRAC
[4]  
Gelfond M., 1988, P 5 INT C LOG PROGR, P1070
[5]  
Heyting A, 1930, SITZBER PREUSS AKAD, P42
[6]  
LIFSCHITZ V, 1992, PRINCIPLES OF KNOWLEDGE REPRESENTATION AND REASONING: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE (KR 92), P603
[7]   Nested expressions in logic programs [J].
Lifschitz, V ;
Tang, LR ;
Turner, H .
ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 1999, 25 (3-4) :369-389
[8]  
Lifschitz V., 2001, ACM Transactions on Computational Logic, V2, P526, DOI DOI 10.1145/383779.383783
[9]  
LLOYD JW, 1984, J LOGIC PROGRAM, V3, P225
[10]  
MAREK V, 2002, P NMR 02