Journal of Logic and Computation · 1994 · 22 citations · 6 references
ComputingComputer ScienceLogicProgramming LanguagesSemanticsDeductive ReasoningDeductive SystemsLogic ProgrammingPredicate LogicSpecification LanguagesDeclarative SemanticsNegation As FailureResolutions
SLDNF-resolution is complete for allowed programs and allowed queries. But the condition of allowedness is very stringent and excludes many common Prolog constructs. We show that allowedness is a special case of a more general principle. We show that if the clauses of a normal program are correct with respect to an input/output specification then SLDNF-resolution is complete for it An input/output specification assigns to every predicate a set of positive and a set of negative mode specifications. A mode specification declares the arguments of predicates as input arguments, output arguments or normal arguments. Positive modes are used in positive calls and negative modes are used in negative calls. Definite programs together with definite goals, allowed programs together with allowed goals and many programs and goals used in practice are correct with respect to some input/output specification. Therefore our results imply that the three-valued Fitting/Kunen completion is the right declarative semantics for negation as failure.
6
A kripke-kleene semantics for logic programs*
Melvin Fitting · The Journal of Logic Programming · 1985 · 539 citations
Kenneth Kunen · The Journal of Logic Programming · 1987 · 443 citations
Signed data dependencies in logic programs
Kenneth Kunen · The Journal of Logic Programming · 1989 · 181 citations