A Sound and Complete Semantics for a Version of Negation as Failure

Abstract Negation as failure is sound both for the closed world assumption and the completed database or completion, comp ( P ) of a program P . In general it is not complete for either of these declarative semantics. Indeed there can be no semantics for which it is both sound and complete, for all programs and queries, because non-ground negative literals cannot be dealt with, and cause floundering. By extending the negation as failure rule we exclude floundering and we give a semantics T ω ( P ) for which the extended rule is both sound and complete. T ω ( P ) is a weak version of comp ( P ) based on an iterative construction. We show that the soundness and completeness results still hold if the classical consequence relation ⊢ is replaced by a weaker relation ⊢ 31 which is sound for both 3-valued logic and intuitionistic logic.

[1]  Egon Börger,et al.  Unsolvable Decision Problems for Prolog Programs , 1987, Computation Theory and Logic.

[2]  John W. Lloyd,et al.  A Completeness Theorem for SLDNF Resolution , 1989, J. Log. Program..

[3]  H. Ebbinghaus,et al.  Über Eine Prädikatenlogik mit Partiell Definierten Prädikaten und Funktionen , 1969 .

[4]  John C. Shepherdson,et al.  Negation in Logic Programming , 1988, Foundations of Deductive Databases and Logic Programming..

[5]  John W. Lloyd,et al.  Partial Evaluation in Logic Programming , 1991, J. Log. Program..

[6]  Hassan Aït-Kaci,et al.  LOGIN: A Logic Programming Language with Built-In Inheritance , 1986, J. Log. Program..

[7]  Kenneth Kunen,et al.  Signed Data Dependencies in Logic Programs , 1989, J. Log. Program..

[8]  Keith L. Clark,et al.  Negation as Failure , 1987, Logic and Data Bases.

[9]  Krzysztof R. Apt,et al.  Introduction to Logic Programming , 1988 .

[10]  John C. Shepherdson,et al.  Negation as Failure: A Comparison of Clark's Completed Data Base and Reiter's Closed World Assumption , 1984, J. Log. Program..

[11]  Kenneth Kunen,et al.  Negation in Logic Programming , 1987, J. Log. Program..

[12]  John C. Shepherdson Unsolvable Problems for SLDNF Resolution , 1991, J. Log. Program..

[13]  John C. Shepherdson,et al.  Negation as Failure II , 1985, J. Log. Program..

[14]  Gerhard Jäger,et al.  Non-Monotonic Reasoning by Axiomatic Extensions , 1989 .

[15]  David Chan,et al.  Constructive Negation Based on the Completed Database , 1988, ICLP/SLP.

[16]  Patrick Suppes,et al.  Logic, Methodology and Philosophy of Science , 1963 .

[17]  Melvin Fitting,et al.  A Kripke-Kleene Semantics for Logic Programs , 1985, J. Log. Program..

[18]  Johann A. Makowsky,et al.  Why Horn Formulas Matter in Computer Science: Initial Structures and Generic Examples (Extended Abstract) , 1985, TAPSOFT, Vol.1.