|
ABSTRACT
We address the question of when the structure of a Datalog program with negation guarantees the existence of a fixpoint. We propose a semantics of Datalog programs with negation, which we call the tie–breaking semantics. The tie–breaking semantics can be computed in polynomial time, and results in a fix-point whenever the rule–goal graph of the program has no cycle with an odd number of negative edges. We show that, in some well-defined sense, this is the most general fixpoint semantics of negation possible; in particular we show that if a cycle with an odd number of negative edges is present, then the logic program is not structurally total, that is, it has an alphabetic variant which has no fixpoint semantics whatsoever. Determining whether a program is (nonstructurally) total is undecidable.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
AV
|
|
| |
ABW
|
|
 |
AvE
|
|
| |
CH
|
A. Chandra, D. Harel "Horn Clause Queries and Generalizations," J. Logic Progr., 2(1), pp. 1-15, 1985.
|
| |
Cl
|
K. L. Clarke "Negation as Failure", in Logic and Databases, H. Galaire and J. Minker, eds., Plenum Press, pp. 239-322, 1978.
|
| |
G+
|
H. Gaifman, H. Mairson, Y. Sagiv, M. Vardi "Undecidable Optimization Problems for Database Logic Programs," Proc. 2nd IEEE LICS, pp. 106- 115, 1987.
|
| |
GL
|
M. Gelfond, V. Lifschitz "The Stable Model Semantics for Logic Programming," Proc. 5th Intl. Conf. on Logic Programming, IEEE, pp. 1070- 1080, 1988.
|
| |
KP
|
|
| |
K
|
|
| |
PS
|
C. H. Papadimitriou, M. Sideri "On Finding Extensions of Default Theories," manuscript, September 1991.
|
| |
P
|
|
| |
S
|
|
 |
VG+
|
|
|