Guarded resolution for answer set programming

Reading time: 6 minute
...

๐Ÿ“ Original Info

  • Title: Guarded resolution for answer set programming
  • ArXiv ID: 0904.3953
  • Date: 2009-04-25
  • Authors: V. W. Marek, J. B. Remmel

๐Ÿ“ Abstract

We describe a variant of resolution rule of proof and show that it is complete for stable semantics of logic programs. We show applications of this result.

๐Ÿ’ก Deep Analysis

Deep Dive into Guarded resolution for answer set programming.

We describe a variant of resolution rule of proof and show that it is complete for stable semantics of logic programs. We show applications of this result.

๐Ÿ“„ Full Content

In this note, we introduce a rule of proof, called guarded unit resolution. Guarded unit resolution is a generalization of a special case of the resolution rule of proof, namely, positive unit resolution. In positive unit resolution, one of the inputs is an atom unit clause. Positive unit resolution is complete for Horn clauses, specifically, given a consistent Horn theory T and an atom p, the atom p belongs to the least model of T , lm(T ), if and only if there is a positive unit resolution proof of p from T (Dowling and Gallier 1984).

The modification we introduce in this note concerns guarded atoms and guarded Horn clauses. Guarded atoms are strings of the form: p : {r 1 , . . . , r m } where p, r 1 , . . . , r m are propositional atoms. Guarded Horn clauses are strings of the form p โ† q 1 , . . . , q n : {r 1 , . . . , r m } again with p, q 1 , . . . , q n , r 1 , . . . , r m propositional atoms.

These guarded atoms and guarded rules will be used to obtain a characterization of stable models of normal logic programs. There are many characterizations of stable models of logic programs. In fact, in (Lifschitz 2008), Lifschitz lists twelve different characterizations of stable models of logic programs. The characterization of stable models that we present in this paper has a distinctly proof-theoretic flavor and makes easy to prove some basic results on Answer Set Programming such as Fages’ Theorem (Fages 1994), Erdem-Lifschitz Theorem (Erdem and Lifschitz 2003), and Dung’s Theorem (Dung and Kanchansut 1989). It should be observed that in (Dung and Kanchansut 1989) Dung and Kanchansut consider so-called quasi-interpretations which, in the formalism of our paper, can be viewed as collections of guarded atoms. The difference between our approach and that of (Dung and Kanchansut 1989) is that we elucidate the proof theoretic content of the Gelfond-Lifschitz operator and show how this technique allows for uniform proof of various results in the theory of stable models of programs.

The outline of this paper is as follows. First, we introduce the definition of the guarded resolution rule of proof and then derive its connections with the Gelfond-Lifschitz operator (Gelfond and Lifschitz 1988). Once we do this, we will obtain the desired lifting of the classical result on the completeness of positive unit resolution for Horn theories (Dowling and Gallier 1984) to the context of the stable semantics of logic programs. In Section 3, we show how guarded resolution proofs can be used to prove various standard results in the theory of stable models of propositional programs. Finally, in Section 4, we show how the theory developed in this paper can be used to obtain an algorithm for computation of stable models that does not use loop formulas and runs in polynomial space in the size of the program.

By a logic program clause, we mean a string of the form C = p โ† q 1 , . . . , , q n , not r 1 , . . . , not r m .

(1)

A program P is a set of logic program clauses. We will interpret program clause C given in (1) as a guarded Horn clause:

We define g(P ) = {g(C) : C โˆˆ P }. Observe that when we interpret a logic program clause as a guarded Horn clause, the polarity of atoms appearing negatively in the body of the programming clause changes in its representation as the guarded Horn clause. That is, they occurred negatively in the body of clause and they now appear positively in the guard. By convention, we think of a propositional atom as a guarded atom with an empty guard. We now introduce our guarded resolution rule as follows. It has two arguments: the first is a guarded Horn clause and the second is a guarded atom q : {r 1 , . . . , r n }. The guarded atom q must occur in the body of the guarded Horn clause. The result of the application of the rule is a guarded Horn clause whose body is the body of the original guarded Horn clause minus the atom q. The guard of the resulting guarded Horn clause is the union of the guard of the guarded atom and the guard of the original guarded Horn clause. Formally, our guarded resolution rule has the following form: p โ† q 1 , . . . , , q n : {r 1 , . . . , r m } q j : {s 1 , . . . , s h } p โ† q 1 , . . . , q j-1 , q j+1 , . . . , q n : {r 1 , . . . , r m , s 1 , . . . , s h } .

Next, we discuss the Gelfond-Lifschitz operator associated with a normal propositional program. Given a set of atoms M and a normal logic program P , we first define the Gelfond-Lifschitz reduct P M of P . P M is constructed according to the following two step process. First, if C = p โ† q 1 , . . . , , q n , not r 1 , . . . , not r m is a clause in P and r j โˆˆ M for some 1 โ‰ค j โ‰ค m, then we eliminate C. Second, if C is not eliminated after step 1, then we replace C by p โ† q 1 , . . . , q n .

Clearly, P M is a Horn program. Thus P M has a least model N M . The Gelfond-Lifschitz operator assigns to M the set of atoms N M .

Our guarded unit resolution rule naturally leads to the notion of a guarded resolution

…(Full text truncated)…

๐Ÿ“ธ Image Gallery

cover.png page_2.webp page_3.webp

Reference

This content is AI-processed based on ArXiv data.

Start searching

Enter keywords to search articles

โ†‘โ†“
โ†ต
ESC
โŒ˜K Shortcut