<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Literal Projection and Circumscription</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Technische Universit ̈at Dresden</institution>
        </aff>
      </contrib-group>
      <fpage>60</fpage>
      <lpage>74</lpage>
      <abstract>
        <p>We develop a formal framework intended as a preliminary step for a single knowledge representation system that provides different representation techniques in a unified way. In particular we consider first-order logic extended by techniques for second-order quantifier elimination and non-monotonic reasoning. Background of the work is literal projection, a generalization of second-order quantification which permits, so to speak, to quantify upon an arbitrary sets of ground literals, instead of just (all ground literals with) a given predicate symbol. In this paper, an operator raise is introduced that is only slightly different from literal projection and can be used to define a generalization of circumscription in a straightforward and compact way. Some properties of this operator and of circumscription defined in terms of it, also in combination with literal projection, are then shown. A previously known characterization of consequences of circumscribed formulas in terms of literal projection is generalized from propositional to first-order logic. A characterization of answer sets according to the stable model semantics in terms of circumscription is given. This characterization does not recur onto syntactic notions like reduct and fixed-point construction. It essentially renders a recently proposed “circumscription-like” characterization in a compact way without involvement of a specially interpreted connective.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>We develop a formal framework intended as a preliminary step for a single
knowledge representation system that provides different representation techniques in
a unified way. In particular we consider first-order logic extended by techniques
for second-order quantifier elimination and non-monotonic reasoning.</p>
      <p>
        Second-order quantifier elimination permits to express a large number of
knowledge representation techniques (see for example [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]), including abduction,
modularization of knowledge bases and the processing of circumscription. It
is also closely related to knowledge compilation [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Variants of second-order
quantifier elimination also appear under names such as computation of uniform
interpolants, forgetting, and projection. Restricted to propositional formulas it is
called elimination of Boolean quantified variables.
      </p>
      <p>
        We focus here on a particular generalization of second-order quantifier
elimination, the computation of literal projection [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ]. Literal projection
generalizes second-order quantification by permitting, so to speak, to quantify upon an
arbitrary set of ground literals, instead of just (all ground literals with) a given
predicate symbol. Literal projection allows, for example, to express predicate
quantification upon a predicate just in positive or negative polarity. Eliminating
such a quantifier from a formula in negation normal form results in a formula
that might still contain the quantified predicate, but only in literals whose
polarity is complementary to the quantified one. This polarity dependent behavior
of literal projection is essential for the relationship to non-monotonic reasoning
that is investigated in this paper.
      </p>
      <p>
        In particular, we consider circumscription and, based on it, the stable model
semantics, which underlies many successful applications developed during the
last decade. It is well-known that the processing of circumscription can be
expressed as a second-order quantifier elimination task [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The formalization of
circumscription investigated here does not just rely on literal projection as a
generalization of second-order quantification, but utilizes the polarity
dependent behavior of literal projection to obtain a particular straightforward and
compact characterization. The concrete contributions of this paper are:
– The introduction of an operator raise that is only slightly different from
literal projection and can be used to define a generalization of parallel
circumscription with varied predicates in a straightforward and compact way.
Like literal projection, the raise operator is defined in terms of semantic
properties only, and is thus independent of syntactic properties or constructions.
Some properties of this operator and circumscription, also in interaction with
literal projection, are then shown (Sect. 3–6).
– The characterization of consequences of circumscribed formulas in terms of
literal projection. We make a known result given in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] more precise and
generalize it from propositional to first-order formulas. In the extended report
version of this paper [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] we provide a thorough proof (Sect. 6).
– A definition of answer sets according to the stable model semantics in terms
of circumscription. Unlike the common definitions of stable models, it does
not recur onto syntactic notions like reduct and fixed-point construction.
It is essentially an adaption of the “circumscription-like” definition recently
proposed in [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]. In contrast to that definition, it does not involve a specially
interpreted rule forming connective (Sect. 7).
      </p>
      <p>
        The paper is structured as follows: Preliminaries are given in Section 2, including
a description of the used semantic framework and a summary of background
material on literal projection. In Sections 3–7 the proper contributions of this
paper are described and formally stated. Proofs of propositions and theorems
as well as more details on the relationship of the introduced definition of stable
models to other characterizations can be found in the extended report version
of this paper [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>Notation and Preliminaries</title>
      <p>Symbols. We use the following symbols, also with sub- and superscripts, to
stand for items of types as indicated in the following table (precise definitions
of these types are given later on in this section). They are considered implicitly
as universally quantified in definition, theorem and proposition statements.</p>
      <p>F, G – Formula</p>
      <p>A – Atom
L – Literal
S – Set of ground literals (also called literal scope)</p>
      <p>M – Consistent set of ground literals
I, J, K – Structure</p>
      <p>β – Variable assignment
Notation. Unless specially noted, we assume that a first-order formula is
constructed from first-order literals, truth value constants ⊤, ⊥, the unary
connective ¬, binary connectives ∧, ∨ and the first-order quantifiers ∀ and ∃. We write
the positive (negative) literal with atom A as +A (−A). Variables are x, y, z,
also with subscripts. As meta-level notation with respect to this syntax we use
implication →, biconditional ↔ and n-ary versions of the binary connectives.</p>
      <p>A clause is a sentence of the form ∀x1 . . . ∀xn(L1 ∨ . . . ∨ Lm), where n, m ≥ 0
and the Li for i ∈ {1, . . . , m} are literals. Since all variables in a clause are
universally quantified, we sometimes do not write its quantifier prefix.</p>
      <p>We assume a fixed first-order signature with at least one constant symbol.
The sets of all ground terms and all ground literals, with respect to this signature,
are denoted by TERMS and ALL, respectively.</p>
      <p>
        The Projection Operator and Literal Scopes. A formula in general is like
a first-order formula, but in its construction two further operators, project(F, S)
and raise(F, S), are permitted, where F is a formula and S specifies a set of
ground literals. We call a set of ground literals in the role as argument to project
or raise a literal scope. We do not define here a concrete syntax for specifying
literal scopes and just speak of a literal scope, referring to the actual literal
scope in a semantic context as well as some expression that denotes it in a
syntactic context. The formula project(F, S) is called the literal projection of F
onto S. Literal projection generalizes existential second-order quantification [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
(see also Sect. 4 below). It will be further discussed in this introductory section
(see [
        <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
        ] for more thorough material). The semantics of the raise operator
will be introduced later on in Sect. 3.
      </p>
      <p>
        Interpretations. We use the notational variant of the framework of Herbrand
interpretations described in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]: An interpretation I is a pair hI, βi, where I is
a structure, that is, a set of ground literals that contains for all ground atoms A
exactly one of +A or −A, and β is a variable assignment, that is, a mapping of
the set of variables into TERMS.
      </p>
      <sec id="sec-2-1">
        <title>Satisfaction Relation and Semantics of Projection. The satisfaction re</title>
        <p>lation between interpretations I = hI, βi and formulas is defined by the clauses
in Tab. 1, where L matches a literal, F, F1, F2 match a formula, and S matches
a literal scope. In the table, two operations on variable assignments β are used:
If F is a formula, then F β denotes F with all variables replaced by their image
in β; If x is a variable and t a ground term, then β xt is the variable assignment
that maps x to t and all other variables to the same values as β. Entailment and
equivalence are straightforwardly defined in terms of the satisfaction relation.
Entailment: F1 |= F2 holds if and only if for all hI, βi such that hI, βi |= F1
it holds that hI, βi |= F2. Equivalence: F1 ≡ F2 if and only if F1 |= F2 and
F2 |= F1.</p>
        <p>
          Intuitively, the literal projection of a formula F onto scope S is a formula
that expresses about literals in S the same as F , but expresses nothing about
other literals. The projection is equivalent to a formula without the projection
operator, in negation normal form, where all ground instances of literals
occurring in it are members of the projection scope. The semantic definition of literal
projection in Tab. 1 can be alternatively expressed as: An interpretation hI, βi
satisfies project(F, S) if and only if there is a structure J such that hJ, βi
satisfies F and I can be obtained from J by replacing literals that are not in S with
their complements. This includes the special case I = J , where no literals are
replaced.
Relation to Conventional Model Theory. Literal sets as components of
interpretations permit the straightforward definition of the semantics of literal
projection given in the last clause in Tab. 1. The set of literals I of an
interpretation hI, βi is called “structure”, since it can be considered as
representation of a structure in the conventional sense used in model theory: The
domain is the set of ground terms. Function symbols f with arity n ≥ 0 are
mapped to functions f ′ such that for all ground terms t1, ..., tn it holds that
f ′(t1, ..., tn) = f (t1, ..., tn). Predicate symbols p with arity n ≥ 0 are mapped to
{ht1, ..., tni | +p(t1, ..., tn) ∈ I}. Moreover, an interpretation hI, βi represents a
conventional second-order interpretation [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] (if predicate variables are considered
as distinguished predicate symbols): The structure in the conventional sense
corresponds to I, as described above, except that mappings of predicate variables
are omitted. The assignment is β, extended such that all predicate variables p
are mapped to {ht1, ..., tni | +p(t1, ..., tn) ∈ I}.
Some More Notation. The following table specifies symbolic notation for
(i) the complement of a literal, (ii) the set of complement literals of a given set
of literals, (iii) the set complement of a set of ground literals, (iv) the set of all
positive ground literals, (v) the set of all negative ground literals, (vi) the set of
all ground literals whose predicate symbol is from a given set, and (vii, viii) a
structure that is like a given one, except that it assigns given truth values to a
single given ground atom or to all ground atoms in a given set, respectively.
(i) +gA d=ef −A; −gA d=ef +A. The literal Le is called the complement of L.
(ii) Se d=ef {Le | L ∈ S}.
(iii) S d=ef ALL − S.
(iv) POS d=ef {+A | +A ∈ ALL}.
(v) NEG d=ef {−A | −A ∈ ALL}.
(vi) Pˆ is the set of all ground literals whose predicate is P or is in P , resp.,
where P is a predicate symbol, or a tuple or set of predicate symbols.
(vii) I[L] d=ef (I − {Le}) ∪ {L}.
(viii) I[M ] d=ef (I − Mf) ∪ M.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Literal Base and Related Concepts. The literal base L(F ) of a first-order</title>
        <p>formula F in negation normal form is the set of all ground instances of
literals in F . The following formal definition generalizes this notion
straightforwardly for formulas that are not in negation normal form and possibly include
the project and raise operator: L(L) is the set of all ground instances of L;
]
L(⊤) d=ef L(⊥) d=ef {}; L(¬F ) d=ef L(F ); L(F ⊗ G) d=ef L(F ) ∪ L(G) if ⊗ is ∧ or
∨; L(⊗xF ) d=ef L(⊗(F, S)) d=ef L(F ) if ⊗ is a quantifier or the project or raise
operator, respectively.</p>
        <p>
          We call the set of ground literals “about which a formula expresses
something” its essential literal base, made precise in Def. 1 (see [
          <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
          ] for a more
thorough discussion). It can be proven that essential literal base of a formula is
a subset of its literal base. The essential literal base is independent of syntactic
properties: equivalent formulas have the same essential literal base.
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Definition 1 (Essential Literal Base). The essential literal base of a for</title>
        <p>
          mula F, in symbols LE (F ), is defined as LE (F ) d=ef {L | L ∈ ALL and there exists
an interpretation hI, βi such that hI, βi |= F and hI[Le], βi 6|= F }.
Properties of Literal Projection. A summary of properties of literal
projection is displayed in Tab. 2 and 3. Most of them follow straightforwardly from
the semantic definition of project shown in Tab. 1 [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. The more involved proof
of Tab. 2.xxi (and the related Tab. 3.v) can be found in [
          <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
          ]. The properties
in Tab. 3 strengthen properties in Tab. 2, but apply only to formulas that
satisfy a condition related to their essential literal base. These formulas are called
E-formulas and are defined as follows:
Definition 2 (E -Formula). A formula F is called E-formula if and only if
for all interpretations hI, βi and consistent sets of ground literals M such that
hI, βi |= F and M ∩ LE (F ) = ∅ it holds that hI[Mf], βi |= F.
First-order formulas in negation normal form without existential quantifier –
including propositional formulas and first-order clausal formulas – are
E-formulas. Being an E-formula is a property that just depends on the semantics of a
formula, that is, an equivalent to an E-formula is also an E-formula. See [
          <xref ref-type="bibr" rid="ref10 ref11">10, 11</xref>
          ]
for more discussion.1
1 An example that is not an E-formula is the sentence F d=ef ∀x +r(x, f(x)) ∧
∀x∀y(−r(x, y) ∨ +r(x, f(y))) ∧ ∃x∀y(−r(x, y) ∨ +p(y)). Let the domain be the set
of all terms fn(a) where n ≥ 0. For each member T of the domain it can be verified
that +p(T ) ∈/ LE (F ). On the other hand, an interpretation that contains −p(T ) for
all members T of the domain cannot be a model of F .
        </p>
        <sec id="sec-2-3-1">
          <title>The Raise Operator</title>
          <p>The following operator raise is only slightly different from literal projection and,
as we will see later on, can be used to define a generalization of parallel
circumscription with varied predicates in a straightforward and compact way.
Definition 3 (Raise).</p>
          <p>hI, βi |= raise(F, S) iffdef there exists a J such that
hJ, βi |= F and
J ∩ S ⊂ I ∩ S.</p>
          <p>The definition of raise is identical to that of literal projection (Tab. 1), with the
exception that J ∩ S and I ∩ S are related by the proper subset instead of the
subset relationship.</p>
          <p>The name “raise” suggests that a model hI, βi of raise(F, S) is not “the
lowest” model of F , in the sense that there exists another model hJ, βi of F
with the property J ∩ S ⊂ I ∩ S. An equivalent specification of the condition
J ∩ S ⊂ I ∩ S in the definition of raise provides further intuition on its effect:
A literal scope S can be partitioned into three disjoint subsets Sp, Sn, Spn such
that Sp (Sn) is the set of positive (negative) literals in S whose complement
is not in S, and Spn is the set of literals in S whose complement is also in S.
Within Def. 3, the condition J ∩ S ⊂ I ∩ S can then be equivalently expressed
by the conjunction of J ∩ (Sp ∪ Sn) ⊂ I ∩ (Sp ∪ Sn) and J ∩ Spn = I ∩ Spn. That
is, with respect to members of S whose complement is not in S, the structure J
must be a proper subset of I, and with respect to the other members of S it
must be identical to I.</p>
          <p>
            Proposition 1 below shows some properties of the raise operator: It is
monotonic (Prop. 1.i). From this follows that it is a “semantic” operator in the sense
that for equivalent arguments the values are equivalent too (Prop. 1.ii). Like
projection, the raise operator distributes over disjunction (Prop. 1.iii).
Proposition 1.iv follows from monotonicity. Proposition 1.v shows that for scopes that
contain exactly the same atoms positively as well as negatively, raise is
inconsistent. Propositions 1.vi and 1.vi show the interplay of raise with projection onto
the same scope. Proposition 1.viii provides a characterization of literal
projection in terms of raise and atom projection [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ], a restricted form of projection
where the polarity of the scope members is not taken into account, which can
be expressed as literal projection onto scopes S constrained by S = Se.
Proposition 1 (Properties of Raise).
          </p>
          <p>(i) If F1 |= F2, then raise(F1, S) |= raise(F2, S).
(ii) If F1 ≡ F2, then raise(F1, S) ≡ raise(F2, S).
(iii) raise(F1 ∨ F2, S) ≡ raise(F1, S) ∨ raise(F2, S).
(iv) raise(F1 ∧ F2, S) |= raise(F1, S) ∧ raise(F2, S).
(v) If S = Se, then raise(F, S) ≡ ⊥.
(vi) raise(project(F, S), S) ≡ raise(F, S).
(vii) project(raise(F, S), S) ≡ raise(F, S).
(viii) project(F, S) ≡ project(F, S ∪ Se) ∨ raise(F, S).</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>Definition of Circumscription in Terms of Raise</title>
          <p>The following definition specifies a formula circ(F, S) that provides a
characterization of circumscription in terms of raise, as we will first outline informally and
then show more precisely.</p>
        </sec>
      </sec>
      <sec id="sec-2-4">
        <title>Definition 4 (Circumscription).</title>
        <p>circ(F, S) d=ef F ∧ ¬raise(F, S).</p>
        <p>
          In this notation, the parallel circumscription of predicate constants P in
sentence F with varied predicate constants Z [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] is expressed as circ(F, S), where S
is the set of all ground literals L such that either
1. L is positive and its predicate is in P, or
2. The predicate of L is neither in P nor in Z.
        </p>
        <p>In other words, the scope S contains the circumscribed predicates just positively
(the positive literals according to item 1.), and the “fixed” predicates in full (all
positive as well as negative literals according to item 2.). Since the literal scope
in circ(F, S) can be an arbitrary sets of literals, circ(F, S) is more general than
parallel circumscription with varied predicates: Model maximization conditions
can be expressed by means of scopes that contain negative literals but not their
complements. Furthermore, it is possible to express minimization,
maximization and variation conditions that apply only to a subset of the instances of a
predicate.</p>
        <p>
          We now make precise how circ relates to the established definition of
circumscription by means of second-order quantification [
          <xref ref-type="bibr" rid="ref1 ref5 ref8">8, 1, 5</xref>
          ]. The following
definition specifies a second-order sentence CIRC[F ; P ; Z] that is called
parallel circumscription of predicate constants P in F with varied predicate constants
Z in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] and is straightforwardly equivalent to the sentence called second-order
circumscription of P in F with variable Z in [
          <xref ref-type="bibr" rid="ref1 ref5">1, 5</xref>
          ]:
Definition 5 (Second-Order Circumscription). Let F be a first-order
sentence and let P, P ′, Z, Z′ be mutually disjoint tuples of distinct predicate symbols
such that: P = p1, . . . , pn and P ′ = p′1, . . . , p′n where n ≥ 0; both Z and Z′ have
the same length ≥ 0; members of P ′ and P with the same index, as well as
members of Z′ and Z with the same index, are of the same arity; and P ′ and Z′
do not contain predicate symbols in F . Let F ′ be the formula that is obtained
from F by replacing each predicate symbol that is in P or Z by the predicate
symbol with the same index in P ′ or Z′, respectively. For i ∈ {1, . . . , n} let xi
stand for x1, . . . , xk, where k is the arity of predicate symbol pi. Let P ′&lt; P stand
for
n n
^ ∀xi(p′i(xi) → pi(xi)) ∧ ¬ ^ ∀xi(p′i(xi) ↔ pi(xi))).
        </p>
        <p>i=1 i=1
Considering the predicate symbols in P ′ and Z′ as predicate variables, the
second-order circumscription of P in F with variable Z, written CIRC[F ; P ; Z],
is then defined as:</p>
        <p>CIRC[F ; P ; Z] d=ef F ∧ ¬∃P ′, Z′ (F ′ ∧ P ′&lt; P ).
Existential second-order quantification can be straightforwardly expressed with
literal projection: ∃p G corresponds to project(G, S), where S is the set of all
ground literals with a predicate other than p. From Tab. 2.xv it can be derived
that also a smaller projection scope is sufficient: project(G, S) is equivalent to
project(G, S′) for all subsets S′ of S that contain those literals of S whose
predicate symbol occurs in G. Accordingly, CIRC[F ; P ; Z] can be expressed
straightforwardly in terms of literal projection instead of the second-order quantification:</p>
      </sec>
      <sec id="sec-2-5">
        <title>Definition 6 (Second-Order Circumscription in Terms of Projection).</title>
        <p>Let F be a first-order formula and let P, P ′, Z, Z′ be tuples of predicate symbols
as specified in the definition of CIRC (Def. 5). Let Q be the set of predicate
symbols in F that are neither in P nor in Z. Then CIRC-PROJ[F ; P ; Z] is a
formula with the projection operator, defined as:</p>
        <p>CIRC-PROJ[F ; P ; Z] d=ef F ∧ ¬project(F ′ ∧ P ′&lt; P, Pˆ ∪ Qˆ).</p>
        <p>The Q parameter in Def. 6 is the set of the “fixed” predicates. The set of
literals (Pˆ ∪ Qˆ) suffices as projection scope, since the quantified body of the right
conjunct of CIRC[F ; P ; Z], that is, (F ′ ∧P ′&lt; P ), contains – aside of the quantified
predicate symbols from P ′, Z′ – just predicate symbols that are in P or in Q.</p>
        <p>
          The following theorem makes precise how second-order circumscription can
be expressed with circ. Its proof in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] formally relates second-order
circumscription expressed by projection (Def. 6) with circumscription defined in terms
of of the raise operator (Def. 4).
        </p>
        <p>Theorem 1 (Second-Order Circumscription Expressed by circ). Let F
be a first-order formula and let P, P ′, Z, Z′ be tuples of predicate symbols as
specified in the definition of CIRC (Def. 5). Let Q be the set of predicate symbols
in F that are neither in P nor in Z. Then</p>
        <p>CIRC-PROJ[F ; P ; Z] ≡ circ(F, (Pˆ ∩ POS) ∪ Qˆ).
5</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Well-Foundedness</title>
      <p>
        As discussed in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], circumscription can in general only be applied usefully to a
sentence F if all models of F extend some model of F that is minimal with respect
to the circumscribed predicates. The concept of well-foundedness [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] makes this
property precise. We show that it can be expressed in a compact way in terms of
projection. This characterization facilitates to prove properties of
circumscription that have well-foundedness as a precondition, as for example Prop. 3 and
Theorem 2 below.
      </p>
      <sec id="sec-3-1">
        <title>Definition 7 (Well-Founded Formula). F is called well-founded with respect</title>
        <p>to S if and only if</p>
        <p>F |= project(circ(F, S), S).</p>
        <p>
          In this definition, the literal scope S can be an arbitrary set of literals,
corresponding to variants of circumscription as indicated in Sect. 4. We now explicate
how this definition renders the definition of well-foundedness in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], which is
defined for the special case of circumscription of a single predicate p with varied
predicates Z. That definition is as as follows (adapted to our notation): Let F
be a first-order sentence, p be predicate symbol and Z be a tuple of predicate
symbols. The sentence F is called well-founded with respect to (p; Z) if for every
model I of F there exists a model J of CIRC[F ; p; Z] such that I and J differ only
in how they interpret p and Z and the extent of p in J is a (not necessarily strict)
subset of its extent in I. We can convert this definition straightforwardly into our
semantic framework: Let Q be the set of predicate symbols in F that are different
from p and not in Z. The sentence F is then well-founded with respect to (p; Z)
if for all interpretations hI, βi such that hI, βi |= F there exists an
interpretation hJ, βi such that (1.) hJ, βi |= CIRC-PROJ[F ; p; Z], (2.) J ∩ pˆ ∩ POS ⊆ ∩I,
and (3.) J ∩ Qˆ = I ∩ Qˆ. The project operator allows to express this converted
definition compactly: Let S be the literal scope ((pˆ ∩ POS) ∪ Qˆ). By Theorem 1,
CIRC-PROJ[F ; p; Z] is equivalent to circ(F, S). Furthermore, given that I and J
are structures and Qˆ = Qeˆ, the conjunction of items (2.) and (3.) above is
equivalent to J ∩ S ⊆ I. By the definition of project (Tab. 1), the statement that
there exists an interpretation hJ, βi satisfying items (1.)–(3.) can be expressed
as hI, βi |= project(circ(F, S), S).
6
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Interplay of Projection and Circumscription</title>
      <p>The following proposition shows properties of projection nested within
circumscription. It is independent of the well-founded property.</p>
      <sec id="sec-4-1">
        <title>Proposition 2 (Circumscribing Projections).</title>
        <p>(i) circ(F, S) |= circ(project(F, S), S).</p>
        <p>(ii) circ(project(F, S), S) |= circ(project(F, S ∪ Se), S).</p>
        <p>In the special case where S ∪ Se = ALL, which holds for example if S = POS,
the two entailments Prop. 2.i and Prop. 2.ii can be combined to the
equivalence circ(project(F, S), S) ≡ circ(F, S). From this equivalence, it can be derived
that two formulas which express the same about positive literals (that is, have
equivalent projections onto POS) have the same minimal models (that is, have
equivalent circumscriptions for scope POS).</p>
        <p>The following proposition concerns circumscription nested within projection.
It is a straightforward consequence of the definition of well-founded along with
Tab. 2.vi and 2.ii.</p>
      </sec>
      <sec id="sec-4-2">
        <title>Proposition 3 (Projecting Circumscriptions). If F is well-founded with</title>
        <p>respect to S, then</p>
        <p>project(circ(F, S), S) ≡ project(F, S).</p>
        <p>
          From this proposition follows that if two well-founded formulas have equivalent
circumscriptions for some scope, then also their projections onto that scope are
equivalent. With properties of projection, it also follows that if S is a positive
literal scope (that is, S ⊆ POS) then project(circ(F, POS), S) ≡ project(F, S). This
equivalence can be applied to provide a straightforward justification for applying
methods to compute minimal models also to projection computation onto
positive scopes: We consider methods that compute for a given input formula F an
output formula F ′ that satisfies syntactic criteria (for example correspondence to
a tableau) which permit projection computation with low computational effort,
such that projection computation is in essence already performed by
computing F ′. Assume that the output formula has the same minimal models as the
input formula, that is, circ(F ′, POS) ≡ circ(F, POS). If F ′ is well-founded, for
positive literal scopes S it then follows that project(F ′, S) ≡ project(F, S). A
tableau constructed by the hyper tableau calculus can indeed be viewed as
representation of such a formula F ′ [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          Literal forgetting is a variant of literal projection that can be defined as
forget(F, S) d=ef project(F, S) and is investigated for propositional logic in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. It
is shown there that circumscription, or more precisely the formulas that are
entailed by circumscriptions, can be characterized in terms of literal forgetting.
Two such characterizations are given as Proposition 22 in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], where the simpler
one applies if the literal base of the entailed formula is restricted in a certain
way.
        </p>
        <p>
          These characterizations are rendered here in terms of literal projection as
Theorem 2.ii and 2.iii below, where we generalize and make more precise the
statements given in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] in the following four respects: (1.) We use weaker
requirements on the entailed formulas by referring to the essential literal base
instead of the (syntactic) literal base. The respective requirements on the
syntactic literal base follow, since it is a subset of the essential literal base (see
Sect. 2). (2.) We provide a thorough proof in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. The proof given in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] just
shows the characterizations as straightforward consequence of [9, Theorems 2.5
and 2.6], for which in turn no proof is given, neither in [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], nor in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] which
is referenced by [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. (3.) We generalize the characterizations to first-order logic.
(4.) We add a third basic variant (Theorem 2.i) for consequents that are stronger
restricted than in Theorem 2.ii.
        </p>
        <p>
          This basic variant is actually a straightforward generalization of
Proposition 12 in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], which is introduced as capturing the intuition that, under the
assumption of well-foundedness, a circumscription provides no new information
about the fixed predicates, and only “negative” additional information about
the circumscribed predicates.
Theorem 2 (Consequences of Circumscription). If F is well-founded with
respect to S, then
        </p>
        <p>circ(F, S) |= G
is equivalent to (at least) one of the following statements, depending on LE (G):
(i) F |= G,
(ii) F |= project(F ∧ G, S),
(iii) F |= project(F ∧ ¬project(F ∧ ¬G, S), S).
if LE (G) ⊆ S;
if LE (G) ⊆ (S ∪ Se);
7</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Answer Sets with Stable Model Semantics</title>
      <p>
        In [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ] a characterization of stable models in terms of a formula translation
that is similar to the second-order circumscription has been presented. Roughly,
it differs from circumscription in that only certain occurrences of predicates
are circumscribed, which are identified by their position with respect to a
nonclassical rule forming operator. We develop a variant of this characterization of
stable models that is in terms of circumscription. It involves no non-classical
operators. Instead, to indicate occurrences be circumscribed, it puts atoms into
term position, wrapped by one of two special predicates.
      </p>
      <p>We let the symbols ◦ and • denote these predicates. They are unary, and
we write them without parentheses – for example •p(a). With them, we now
formally define a notion of logic program. Its correspondence to the more
conventional view of a logic program as formed by non-classical operators will then
be indicated.</p>
      <p>Definition 8 (Logic Program).</p>
      <p>(i) A rule clause is a clause2 of the form
m n o p
_−◦Ai ∨ _+•Bi ∨ _+◦Ci ∨ _−•Di,
i=1 i=1 i=1 i=1
where k, m, n, o, p ≥ 0 and the subscripted A, B, C, D are terms.</p>
      <p>(ii) For a rule clause of the form specified in (8.i), the rule clause (Wim=1−◦Ai ∨
Win=1+•Bi) is called its negated body, and the rule clause (Wio=1+◦Ci∨Wip=1−•Di)
is called its head.</p>
      <p>(iii) A logic program is a conjunction of rule clauses.</p>
      <p>(iv) The symbol SYNC stands for the formula ∀x(+•x ↔ +◦x).
Conventionally, logic programs are typically notated by means of a special syntax
with truth value constants (⊤, ⊥), conjunction (,), disjunction (;), negation as
failure (not) and rule forming (→) as connectives. A rule clause according to
(Def. 8.i) is then written as a rule of the form</p>
      <p>A1, . . . , Am, not B1, . . . , not Bn → C1; . . . ; Co; not D1; . . . ; not Dp,
(i)
where m, n, o, p ≥ 0 and the subscripted A, B, C, D are atoms. If m = n = 0,
then the left side of the rule is ⊤; if o = p = 0, then the right side is ⊥.
2 Recall that a clause as specified in Sect. 2 may contain universally quantified
variables. The implicit quantifier prefixes of clauses are not written in this definition.</p>
      <p>The following definition specifies a formula ans(F ) whose models are exactly
those interpretations that represent an answer set of F according to the stable
model semantics.</p>
      <sec id="sec-5-1">
        <title>Definition 9 (Answer Set). For all logic programs F :</title>
        <p>ans(F ) d=ef circ(F, POS ∪ •ˆ) ∧ SYNC.</p>
        <p>In the definition of ans(F ), the scope of the circumscription, (POS ∪ •ˆ), is equal
to ((◦ˆ ∩ POS) ∪ •ˆ) which matches the right side of Theorem 1, indicating that
ans(F ) can also be expressed in terms of second-order circumscription.</p>
        <p>
          We now explicate the relationship of the characterization of stable models
by ans(F ) to the characterization in [
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ], and justify in this way that ans(F )
indeed characterizes stable models. More detailed proofs and relationships to
reduct based characterizations of answer sets can be found in [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. We limit
our considerations to logic programs according to Def. 8.iii, which are clausal
sentences (the characterization in [
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ] applies also to nonclausal sentences).
        </p>
        <p>Let F be a logic program. Let P = p1, . . . , pn be the function symbols of the
principal terms in F (that is, the predicate symbols if the wrapper predicates
◦ and • are dropped). Let P ′ = p′1, . . . , p′n and Q = q1, . . . , qn be tuples of
distinct predicate symbols which are disjoint with each other and with P . We
use the following notation to express variants of F that are obtained by replacing
predicate symbols:
– We write F also as F [◦, •], to indicate that ◦ and • occur in it.
– The formula F [U, V ], where U = u1, . . . , un and V = v1, . . . , vn are tuples of
predicate symbols is F [◦, •] with all atoms ◦(pi(t)) replaced by ui(t) and all
atoms •(pi(t)) replaced by ui(t), where t matches the respective argument
terms. As a special case, F [P, P ] is then F [◦, •] with all atoms of the form
◦A or •A replaced by A.</p>
        <p>
          Let cnv(F ) denote F converted into the syntax of logic programs with
nonclassical operators used by [
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ] (see [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] for an explicit such conversion). Let
SM(cnv(F )) be the second-order sentence that characterizes the stable models
of cnv(F ) according to [
          <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
          ]. The following equivalence can be verified, where
P ′&lt; P has the same meaning as in Def. 5:
        </p>
        <p>SM(cnv(F )) ≡ F [P, P ] ∧ ¬∃P ′(F [P ′, P ] ∧ P ′&lt; P ).</p>
        <p>The right side of equivalence (ii) is not a second-order circumscription, since P
occurs in F [P ′, P ] as well as in P ′&lt; P . To fit it into the circumscription scheme,
we replace the occurrences of P in F [P ′, P ] by Q and add the requirement that
P and Q are equivalent: Let (P ↔ Q) stand for Vn
i=1(pi(xi) ↔ qi(xi)), where xi
has the same meaning as in Def. 5. The following equivalences then hold:</p>
        <p>SM(cnv(F )) ∧ (P ↔ Q)
≡ F [P, Q] ∧ ¬∃P ′(F [P ′, Q] ∧ P ′&lt; P ) ∧ (P ↔ Q)
≡ CIRC[F [P, Q]; P ; ∅] ∧ (P ↔ Q).
To get rid of the biconditionals (P ↔ Q) in (iii), projection can be employed:
From SM(cnv(F )) ≡ project(SM(cnv(F )) ∧ (P ↔ Q), Pˆ) it follows that
SM(cnv(F )) ≡ project(CIRC[F [P, Q]; P ; ∅] ∧ (P ↔ Q), Pˆ).
(vi)
Based on equivalence (vi), the correspondence of ans(F ) to SM(cnv(F )) can
be shown by proving that for two interpretations that are related in a certain
way the one is a model of SM(cnv(F )) if and only if the other is a model of
ans(F ): Let I be a structure over P and Q as predicate symbols. Define I′ as
the structure obtained from I by replacing all atoms pi(A) with ◦(pi(A)) and
all atoms qi(A) with •(qi(A)). Define I′′ as the structure that contains the same
literals with predicate • as I′ and contains +◦(A) (−◦(A)) whenever it contains
+•(A) (−•(A)). Thus the literals with predicate ◦ are chosen in I′′ such that it
satisfies SYNC. The following statements are then equivalent:
hI, βi |= SM(cnv(F )).
hI, βi |= project(CIRC[F [P, Q]; P ; ∅] ∧ (P ↔ Q), Pˆ).
hI′, βi |= project(CIRC[F [◦, •]; ◦; ∅] ∧ SYNC, ˆ◦).
hI′, βi |= project(CIRC[F ; ◦; ∅] ∧ SYNC, ˆ◦).
hI′′, βi |= CIRC[F ; ◦; ∅] ∧ SYNC.
hI′′, βi |= circ(F, POS ∪ •ˆ) ∧ SYNC.
hI′′, βi |= ans(F ).
(vii)
(viii)
(ix)
(x)
(xi)
(xii)
(xiii)
8</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>We have introduced an operator raise which can be used to define circumscription
in a compact way. The definition of that operator – in a semantic framework
where structures are represented by sets of literals – is identical to that of literal
projection, except that a set inclusion is replaced by a proper set inclusion.</p>
      <p>An approach to an intuitive understanding of the raise operator is to consider
minimization as passed through from the “object language level” (the extents of
predicates is minimized) to the “meta level” of the semantic framework: Raise
expresses that model agreement conditions are minimized. Accordingly, the
predicate minimization conditions (commonly abbreviated by P ′ &lt; P in definitions
of circumscription) have not to be made explicit with the raise operator, but are
“built-in”. In addition, the approach to “minimize model agreement conditions”
effects that the raise operator straightforwardly covers certain generalizations
of circumscription: Raise has – aside of a formula – just a set of literals as
argument, such that, depending on the composition of this set, not only parallel
circumscription with varied predicates can be expressed, but also predicate
maximization conditions. Moreover, also minimization, maximization and agreement
conditions can be expressed that apply only to a subset of the instances of a
predicate.</p>
      <p>The characterization of circumscription in terms of the raise operator is
immediately useful to prove properties of circumscription in a streamlined way.
The introduced semantic framework with the project and raise operators is a
basis for future research, including the further elaboration of common and
differing properties of both operators, the exploration of applications that involve
combinations of circumscription and projection, and the investigation of
possibilities for transferring and interleaving methods for non-monotonic reasoning,
such as computation of stable models, with methods for second-order quantifier
elimination and the closely related projection computation.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>P.</given-names>
            <surname>Doherty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Lukaszewicz</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Szalas</surname>
          </string-name>
          .
          <article-title>Computing circumscription revisited: A reduction algorithm</article-title>
          .
          <source>J. Autom. Reason.</source>
          ,
          <volume>18</volume>
          (
          <issue>3</issue>
          ):
          <fpage>297</fpage>
          -
          <lpage>338</lpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. H.
          <string-name>
            <surname>-D. Ebbinghaus</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Flum</surname>
          </string-name>
          , and W. Thomas.
          <article-title>Einfu¨hrung in die mathematische Logik</article-title>
          .
          <source>Spektrum Akademischer Verlag, Heidelberg, 4th edition</source>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.</given-names>
            <surname>Ferraris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          .
          <article-title>A new perspective on stable models</article-title>
          .
          <source>In IJCAI-07</source>
          , pages
          <fpage>372</fpage>
          -
          <lpage>379</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>P.</given-names>
            <surname>Ferraris</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          .
          <source>Stable models and circumscription</source>
          .
          <source>2009</source>
          . To appear; Draft retrieved on May 17th 2009 from https://www.cs.utexas.edu/ users/otto/papers/smcirc.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>D. M. Gabbay</surname>
            ,
            <given-names>R. A.</given-names>
          </string-name>
          <string-name>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Szalas. Second-Order Quantifier</surname>
          </string-name>
          <article-title>Elimination: Foundations, Computational Aspects and Applications</article-title>
          . CollegePublications,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Przymusinska</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Przymusinski</surname>
          </string-name>
          .
          <article-title>The extended closed world assumption and its relationship to parallel circumscription</article-title>
          .
          <source>In ACM SIGACTSIGMOD Symposium on Principles of Database Systems</source>
          , pages
          <fpage>133</fpage>
          -
          <lpage>139</lpage>
          ,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>J.</given-names>
            <surname>Lang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Liberatore</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Marquis</surname>
          </string-name>
          .
          <article-title>Propositional independence - formulavariable independence and forgetting</article-title>
          .
          <source>JAIR</source>
          ,
          <volume>18</volume>
          :
          <fpage>391</fpage>
          -
          <lpage>443</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          . Circumscription.
          <source>In Handbook of Logic in AI and Logic Programming</source>
          , volume
          <volume>3</volume>
          , pages
          <fpage>298</fpage>
          -
          <lpage>352</lpage>
          . Oxford University Press,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>T.</given-names>
            <surname>Przymusinski</surname>
          </string-name>
          .
          <article-title>An algorithm to compute circumscription</article-title>
          .
          <source>Artificial Intelligence</source>
          ,
          <volume>83</volume>
          :
          <fpage>59</fpage>
          -
          <lpage>73</lpage>
          ,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>C.</given-names>
            <surname>Wernhard</surname>
          </string-name>
          .
          <article-title>Literal projection for first-order logic</article-title>
          .
          <source>In JELIA 08</source>
          , pages
          <fpage>389</fpage>
          -
          <lpage>402</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>C.</given-names>
            <surname>Wernhard</surname>
          </string-name>
          .
          <source>Automated Deduction for Projection Elimination</source>
          .
          <article-title>Number 324 in Dissertationen zur Ku¨nstlichen Intelligenz (DISKI)</article-title>
          . AKA/IOS Press,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>C.</given-names>
            <surname>Wernhard</surname>
          </string-name>
          .
          <article-title>Literal projection and circumscription - extended version</article-title>
          .
          <source>Technical report, Technische Universit¨at Dresden</source>
          ,
          <year>2009</year>
          . Available from http://cs.christophwernhard.com/papers/projection-circumscription.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>C.</given-names>
            <surname>Wernhard</surname>
          </string-name>
          .
          <article-title>Tableaux for projection computation and knowledge compilation</article-title>
          .
          <source>In TABLEAUX 2009</source>
          , pages
          <fpage>325</fpage>
          -
          <lpage>340</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>