<!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>Formal Methods for Answer Set Programming</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Amelia Harrison</string-name>
          <email>ameliaj@cs.utexas.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science The University of Texas at Austin 2317 Speedway</institution>
          ,
          <addr-line>2.302 Austin, Texas 78712 Internal Mail Code: D9500</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2015</year>
      </pub-date>
      <history>
        <date date-type="accepted">
          <day>5</day>
          <month>6</month>
          <year>2015</year>
        </date>
      </history>
      <abstract>
        <p>Answer set programming is a logic programming paradigm that has increased in popularity over the past decade and found applications in a wide variety of elds. Even so, manuals written by the designers of answer set solvers usually described the semantics of the input languages of their systems using examples and informal comments that appeal to the users' intuition, without references to any precise semantics. We describe a precise semantics for the input language of the grounder gringo, which serves as the front end for several answer set solvers. The semantics represents gringo rules as in nitary propositional formulas. We develop methods for using this semantics to prove properties of gringo programs, such as verifying program correctness.</p>
      </abstract>
      <kwd-group>
        <kwd>Amelia Harrison</kwd>
        <kwd>in nitary formulas</kwd>
        <kwd>semantics of aggregates</kwd>
        <kwd>stable models</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Answer set programming (ASP) is a powerful declarative paradigm for the design
and implementation of knowledge-intensive applications
        <xref ref-type="bibr" rid="ref1 ref13 ref15">(Lifschitz 2008; Brewka
et al. 2011)</xref>
        . This paradigm leverages computational methods used in the design of
fast satis ability solvers. The rst ASP solvers were created more than ten years
ago. One of their attractive features was that their input language had a simple,
fully speci ed semantics, based on the concept of a stable model
        <xref ref-type="bibr" rid="ref7">(Gelfond and
Lifschitz 1988)</xref>
        . This semantics meant that ASP programs could be analyzed using
formal methods.
      </p>
      <p>As the number of ASP users increased, new constructs useful to programmers
were added to input languages. This increase in expressivity, however, came at the
expense of a fully speci ed semantics. Many of the new constructs lacked a precise
mathematical formulation.</p>
      <p>
        We have worked in close collaboration with the gringo system1 designers to
1 http://potassco.sourceforge.net/
bridge that gap. In
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015)</xref>
        , we present a precise semantics which
covers a large subset of the gringo input language. To the best of our knowledge,
this semantics exactly matches the meaning of the input language for Version 4.5
of gringo, released on May 5, 2015. It covers a number of constructs not covered
in our previous work, including intervals, pools, and lparse-style aggregates.
      </p>
      <p>
        Our semantics is based on a translation from rules in the gringo input
language to in nitary propositional formulas (formulas with in nite conjunctions and
disjunctions). Previous work on the semantics of ASP used a translation to
rstorder formulas
        <xref ref-type="bibr" rid="ref13">(Lee et al. 2008)</xref>
        . However, such a translation is not applicable to
aggregate expressions like
      </p>
      <p>
        #countfX : p(X)g = Y
where the result of applying the aggregate function is compared to a variable. In
        <xref ref-type="bibr" rid="ref14">(Lee and Meng 2012)</xref>
        the authors propose a translation to logic with generalized
quanti ers which can capture the meaning of the aggregate expression above.
      </p>
      <p>With our semantics in place, we can ask questions regarding the correctness of
ASP solvers, programs, and optimization methods, and we can develop general
methods for answering such questions. The results presented in this note
represent initial results on developing formal methods for approaching these kinds of
questions.</p>
      <p>Such a semantics is also a prerequisite for precisely describing the relationship
between input languages of di erent ASP solvers. While this proposal deals with
the input language of gringo in particular, it is worth noting that most ASP
languages have very similar syntax. In this regard, formalizing a precise semantics
and developing formal methods for the input language of gringo goes a long way
towards doing the same for other ASP input languages.</p>
      <p>In Section 2, we describe what we have accomplished in the direction of describing
a precise semantics for the input language of gringo. In Section 3, we describe the
in nitary logic which we will use to represent gringo programs, and in Section 4 we
give a theoretical result which makes this logic an appealing representational choice.
In Section 5, we show that the semantics can be used to establish the correctness of
a gringo program. Finally, our plans for future work are documented in Section 6.</p>
    </sec>
    <sec id="sec-2">
      <title>2 De ning Semantics for Gringo Programs</title>
      <p>
        In this note we will use \Gringo" to denote the input language of gringo. In work
currently in submission
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015)</xref>
        , we extend the translational approach
to de ning the semantics of Gringo proposed in
        <xref ref-type="bibr" rid="ref11 ref9">(Harrison et al. 2014b)</xref>
        . In that
note, we showed how rules containing arithmetical functions, comparisons,
conditions, and aggregates can be translated into the language of in nitary propositional
formulas described in Section 3. In
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015)</xref>
        , we extend that semantics
to cover intervals, pools, division of integers, aggregates with non-numeric values,
and lparse-style aggregate expressions. That semantics serves as a speci cation for
Gringo from Version 4.5 on.
      </p>
      <p>The key element of the proposed semantics is a translation function from Gringo
is the formula</p>
      <p>1 i;j n
(The expression 1..n in rule (1) is an example of an interval.)</p>
      <p>
        As another example, consider the aggregate expression
into the language of in nitary propositional formulas. Like grounding in the original
de nition of a stable model
        <xref ref-type="bibr" rid="ref7">(Gelfond and Lifschitz 1988)</xref>
        , this translation is modular,
in the sense that it applies to the program rule by rule. For example, the result of
applying this translation to the rule
(1)
(2)
fq(1::n; 1::n)g
^
      </p>
      <p>(q(i; j) _ :q(i; j)) :
#countfX : q(X; 1)g = 1:
If the ground atom q(i; j) expresses that there is a queen at square (i; j) of a
chessboard, then this aggregate expression says that there is exactly one queen in
the rst column. The translation of this aggregate expression can be written as
_ q(1; t) ^ ^ : ^ q(1; t); (3)
t2H t2G</p>
      <p>G H
jGj=2
where H is the set of all ground terms, which may be in nite. This example
illustrates the need for in nitary formulas. We will explain more precisely what is
meant by \can be written as" in Section 4.</p>
      <p>
        Extending the semantics proposed in
        <xref ref-type="bibr" rid="ref11 ref9">(Harrison et al. 2014b)</xref>
        to cover more
constructs is not entirely straightforward. To include intervals, for example, we have
to modify the semantics from
        <xref ref-type="bibr" rid="ref11 ref9">(Harrison et al. 2014b)</xref>
        in two ways. First, we have to
say that an arithmetic term denotes, generally, a nite set of integers, not a single
integer. (And it is not necessarily a set of consecutive integers, because the Gringo
language allows us to write (1..3)*2, for instance. This expression denotes the set
f2; 4; 6g.) Second, in the presence of intervals we cannot treat a choice rule fAg as
shorthand for the disjunctive rule
      </p>
      <p>
        A ; not A
as proposed in
        <xref ref-type="bibr" rid="ref3">(Ferraris and Lifschitz 2005)</xref>
        . Indeed, rule (1) has 2n2 stable models;
the rule
      </p>
      <p>q(1..n,1..n) ; not q(1..n,1..n)
has only 2 stable models.</p>
    </sec>
    <sec id="sec-3">
      <title>3 Review: In nitary Formulas and their Stable Models</title>
      <p>
        In nitary formulas were originally introduced more than fty years ago
        <xref ref-type="bibr" rid="ref12 ref17">(Scott and
Tarski 1958; Karp 1964)</xref>
        . The de nitions of in nitary formulas and their stable
models given below are equivalent to those proposed in
        <xref ref-type="bibr" rid="ref18">(Truszczynski 2012)</xref>
        .
      </p>
      <p>Let be a propositional signature, that is, a set of propositional atoms. For
every nonnegative integer r, (in nitary propositional) formulas (over ) of rank r
are de ned recursively, as follows:
every atom from is a formula of rank 0,
if H is a set of formulas, and r is the smallest nonnegative integer that is
greater than the ranks of all elements of H, then H^ and H_ are formulas of
rank r,
if F and G are formulas, and r is the smallest nonnegative integer that is
greater than the ranks of F and G, then F ! G is a formula of rank r.
We will write fF; Gg^ as F ^ G, and fF; Gg_ as F _ G. The symbol ? will be
understood as an abbreviation for ;_ and :F stands for F ! ?. These conventions
allow us to view nite propositional formulas over as a special case of in nitary
formulas.</p>
      <p>A set or family of formulas is bounded if the ranks of its members are bounded
from above. For any bounded family (F ) 2A of formulas, we denote the formula
fF : 2 Ag^ by V 2A F , and similarly for disjunctions.</p>
      <p>Subsets of a signature will be also called interpretations of . The satisfaction
relation between an interpretation and a formula is de ned recursively, as follows:
For every atom p from , I j= p if p 2 I.</p>
      <p>I j= H^ if for every formula F in H, I j= F .</p>
      <p>I j= H_ if there is a formula F in H such that I j= F .</p>
      <p>I j= F ! G if I 6j= F or I j= G.</p>
      <p>The reduct F I of a formula F w.r.t. an interpretation I is de ned recursively, as
follows:</p>
      <p>For every atom p from , pI is p if p 2 I, and ? otherwise.
(H^)I = fGI j G 2 Hg^.
(H_)I = fGI j G 2 Hg_.</p>
      <p>(G ! H)I is GI ! HI if I j= G ! H, and ? otherwise.</p>
      <p>An interpretation I is a stable model of a set H of formulas if it is minimal w.r.t. set
inclusion among the interpretations satisfying the reducts F I of all formulas F
from H.</p>
    </sec>
    <sec id="sec-4">
      <title>4 Strong Equivalence of In nitary Formulas</title>
      <p>About sets H1, H2 of in nitary formulas we say that they are strongly equivalent
to each other if, for every set H of in nitary formulas, the sets H1 [ H and H2 [ H
have the same stable models. About formulas F and G we say that they are strongly
equivalent if the singleton sets fF g and fGg are strongly equivalent. Strong
equivalence is an important property because if the translations of two rules are strongly
equivalent, then we can replace one rule with the other within a Gringo program
without changing the meaning of that program. Strong equivalence is also
important because it allows us to simplify in nitary formulas that may be di cult to
reason about. For example, recall aggregate expression (2) from Section 2.
Applying our translation to that aggregate expression yields a formula that is syntactically
complicated; however, that formula is strongly equivalent to (3).</p>
      <p>
        It is well-known that nite propositional formulas are strongly equivalent if and
and
and
only if their equivalence is provable in a 3-valued logic called the logic of
here-andthere
        <xref ref-type="bibr" rid="ref16">(Lifschitz et al. 2001)</xref>
        . In
        <xref ref-type="bibr" rid="ref10 ref4">(Harrison et al. 2015)</xref>
        , we de ne and axiomatize
an in nitary version of that logic and show that in nitary propositional
formulas are strongly equivalent to each other if and only if they are equivalent in the
in nitary logic of here-and-there. Our axiomatization of this logic, called HT1,
includes in nitary versions of the introduction and elimination rules for propositional
connectives. For example, the rules
for all H 2 H
) H^
(^E) ) H^ (H 2 H);
      </p>
      <p>) H
where H is a possibly in nite set of in nitary formulas and is a nite set of
innitary formulas, serve as in nitary analogs to the conjunction introduction and
elimination rules of a nite system of natural deduction. It also includes the
following axiom schemas:</p>
      <p>F ) F;</p>
      <p>F _ (F ! G) _ :G;
^
_ F !
_
^ F
(4)
(5)
2A F 2H (F ) 2A 2A
for every non-empty family (H ) 2A of sets of formulas such that its union is
bounded; the disjunction in the consequent of (5) extends over all elements (F ) 2A
of the Cartesian product of the family (H ) 2A.</p>
    </sec>
    <sec id="sec-5">
      <title>5 Example: The Correctness of a Gringo Program</title>
      <p>
        In this section, we present a theorem, proved in
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015)</xref>
        , that expresses
the correctness of a simple, but nontrivial Gringo program with respect to the
translation de ned in that paper.
      </p>
      <p>
        Table 1 shows an ASP encoding of the n-queens problem. It is similar to the
most optimized of the solutions in the language of gringo Version 3 presented in
        <xref ref-type="bibr" rid="ref5">(Gebser et al. 2011)</xref>
        . We will call this program K.
      </p>
      <p>The n-queens problem involves placing n queens on an n n chess board such
that no two queens threaten each other. We will represent squares by pairs of
integers (i; j) where 1 i; j n. Two squares (i1; j1) and (i2; j2) are said to be in
the same row if i1 = i2; in the same column if j1 = j2; and in the same diagonal
if ji1 i2j = jj1 j2j. A set Q of n squares is a solution to the n-queens problem
if no two elements of Q are in the same row, in the same column, or in the same
diagonal.</p>
      <p>Let K denote the result of applying the translation de ned in our semantics to
the program K. For any stable model I of K, by QI we denote the set of pairs
(i; j) such that q(i; j) 2 I.
% place queens on the chess board
f q(1..n,1..n) g.
% exactly 1 queen per row/column
:- X = 1..n, not #countf Y : q(X,Y) g = 1.
:- Y = 1..n, not #countf X : q(X,Y) g = 1.
% pre-calculate the diagonals
d1(X,Y,X-Y+n) :- X = 1..n, Y = 1..n.
d2(X,Y,X+Y-1) :- X = 1..n, Y = 1..n.
% at most one queen per diagonal
:- D = 1..n*2-1, 2 f q(X,Y) : d1(X,Y,D) g.</p>
      <p>:- D = 1..n*2-1, 2 f q(X,Y) : d2(X,Y,D) g.</p>
      <p>Theorem 1
For each stable model I of K, QI is a solution to the n-queens problem.
Furthermore, for each solution Q to the n-queens problem there is exactly one stable model
I of K such that QI = Q.</p>
      <p>
        The proof of the theorem uses as lemmas some facts regarding how we may
simplify the result of applying our translation to aggregate expressions involving the
count aggregate function
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015, Section 5.3)</xref>
        . It was shown previously
        <xref ref-type="bibr" rid="ref11 ref9">(Harrison et al. 2014b)</xref>
        that the in nitary propositional formulas corresponding to
the count aggregate can be simpli ed by strongly equivalent transformations using
its monotonicity properties. In
        <xref ref-type="bibr" rid="ref4">(Gebser et al. 2015)</xref>
        , we show how these formulas
can be further simpli ed under the assumption that intervals do not occur in some
parts of the aggregate expression.
      </p>
    </sec>
    <sec id="sec-6">
      <title>6 A Summary of Future Work</title>
      <p>
        Another application of this work would be to prove the correctness of the
computational methods used in gringo and in the ASP solvers that use this grounder
as their front end. Currently, those solvers employ a number of \intelligent
instantiation" algorithms which allow the grounder to function e ciently
        <xref ref-type="bibr" rid="ref6">(Gebser et al.
2009)</xref>
        . Using our semantics we will work with the designers of gringo to prove that
these algorithms are correct.
      </p>
      <p>
        As previously mentioned, a semantics for Gringo takes us a long way in the
direction of a semantics for most ASP languages. Exploring how these languages
compare and contrast is yet another direction of future work. An example of one
such language is the ASP Core language
        <xref ref-type="bibr" rid="ref2">(Calimeri et al. 2012)</xref>
        .
      </p>
      <p>
        Finally, there are a number of theoretical questions regarding the in nitary
system from
        <xref ref-type="bibr" rid="ref11 ref9">(Harrison et al. 2014a)</xref>
        which we would like to investigate. For example,
it is well-known that any nite propositional formula which begins with negation
and is classically provable is also intuitionistically provable
        <xref ref-type="bibr" rid="ref8">(Glivenko 1929)</xref>
        . One
question that we would like to address is whether or not an analogous theorem
holds of the system HT1. Another is whether or not we can succinctly
characterize safety of a Gringo program using properties of its translation. Answering
these questions and others like them will help build the arsenal of formal methods
at our disposal for addressing more immediately practical questions, for example,
questions of program correctness.
      </p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgements</title>
      <p>My sincere thanks to my friend and mentor Vladimir Lifschitz. Thanks also to
the anonymous reviewers. This research was partially supported by the National
Science Foundation under Grant IIS-1422455.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Brewka</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          , Niemela,
          <string-name>
            <given-names>I.</given-names>
            , and
            <surname>Truszczynski</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <year>2011</year>
          .
          <article-title>Answer set programming at a glance</article-title>
          .
          <source>Communications of the ACM</source>
          <volume>54</volume>
          (
          <issue>12</issue>
          ),
          <volume>92</volume>
          {
          <fpage>103</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Calimeri</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faber</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gebser</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ianni</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krennwallner</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leone</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ricca</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Schaub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <year>2012</year>
          .
          <article-title>ASP-Core-2: Input language format</article-title>
          . Available at https://www.mat.unical.it/aspcomp2013/files/ASP-CORE-
          <volume>2</volume>
          .0.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Ferraris</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <year>2005</year>
          .
          <article-title>Weight constraints as nested expressions</article-title>
          .
          <source>Theory and Practice of Logic Programming</source>
          <volume>5</volume>
          ,
          <issue>1</issue>
          {
          <fpage>2</fpage>
          ,
          <issue>45</issue>
          {
          <fpage>74</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Gebser</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harrison</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Schaub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <year>2015</year>
          .
          <article-title>Abstract Gringo</article-title>
          .
          <source>In Proceedings of International Conference on Logic Programming (ICLP)</source>
          . http://www.cs.utexas.edu/users/vl/papers/AG.pdf; to appear.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Gebser</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Kaufmann,
          <string-name>
            <given-names>B.</given-names>
            , and
            <surname>Schaub</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          <year>2011</year>
          .
          <article-title>Challenges in answer set solving</article-title>
          .
          <source>In Logic programming, knowledge representation, and nonmonotonic reasoning</source>
          . Springer,
          <volume>74</volume>
          {
          <fpage>90</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Gebser</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ostrowski</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schaub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Thiele</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <year>2009</year>
          .
          <article-title>On the input language of ASP grounder gringo</article-title>
          .
          <source>In LPNMR.</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Gelfond</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <year>1988</year>
          .
          <article-title>The stable model semantics for logic programming</article-title>
          .
          <source>In Proceedings of International Logic Programming Conference and Symposium</source>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kowalski</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Bowen</surname>
          </string-name>
          , Eds. MIT Press,
          <volume>1070</volume>
          {
          <fpage>1080</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Glivenko</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <year>1929</year>
          . Sur quelques points de la logique de M.
          <article-title>Brouwer</article-title>
          . Academie Royale de Belgique.
          <source>Bulletins de la Classe des Sciences, serie 5 15</source>
          ,
          <issue>183</issue>
          {
          <fpage>188</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Harrison</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pearce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Valverde</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2014a</year>
          .
          <article-title>In nitary equilibrium logic</article-title>
          .
          <source>In Working Notes of the 7th Workshop on Answer Set Programming and Other Computing Paradigms (ASPOCP).</source>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Harrison</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pearce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Valverde</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2015</year>
          .
          <article-title>Innitary equilibrium logic and strong equivalence</article-title>
          .
          <source>In Proceedings of International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR)</source>
          . http://www.cs.utexas.edu/users/vl/papers/iel lpnmr.pdf; to appear.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Harrison</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <year>2014b</year>
          .
          <article-title>The semantics of Gringo and in nitary propositional formulas</article-title>
          .
          <source>In Proceedings of International Conference on Principles of Knowledge Representation and Reasoning (KR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Karp</surname>
            ,
            <given-names>C. R.</given-names>
          </string-name>
          <year>1964</year>
          .
          <article-title>Languages with expressions of in nite length</article-title>
          .
          <source>North-Holland, Amsterdam.</source>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Palla</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <year>2008</year>
          .
          <article-title>A reductive semantics for counting and choice in answer set programming</article-title>
          .
          <source>In Proceedings of the AAAI Conference on Arti cial Intelligence (AAAI)</source>
          .
          <volume>472</volume>
          {
          <fpage>479</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Meng</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <year>2012</year>
          .
          <article-title>Stable models of formulas with generalized quanti ers</article-title>
          .
          <source>In Working Notes of the 14th International Workshop on Non-Monotonic Reasoning (NMR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <year>2008</year>
          .
          <article-title>What is answer set programming</article-title>
          ?
          <source>In Proceedings of the AAAI Conference on Arti cial Intelligence</source>
          . MIT Press,
          <volume>1594</volume>
          {
          <fpage>1597</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>Lifschitz</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pearce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Valverde</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>2001</year>
          .
          <article-title>Strongly equivalent logic programs</article-title>
          .
          <source>ACM Transactions on Computational Logic</source>
          <volume>2</volume>
          ,
          <issue>526</issue>
          {
          <fpage>541</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <surname>Scott</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Tarski</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <year>1958</year>
          .
          <article-title>The sentential calculus with in nitely long expressions</article-title>
          .
          <source>In Colloquium Mathematicae</source>
          . Vol.
          <volume>6</volume>
          . 165{
          <fpage>170</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>Truszczynski</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <year>2012</year>
          .
          <article-title>Connecting rst-order ASP and the logic FO(ID) through reducts</article-title>
          .
          <source>In Correct Reasoning: Essays on Logic-Based AI in Honor of Vladimir Lifschitz</source>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Erdem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lierler</surname>
          </string-name>
          , and D. Pearce, Eds. Springer,
          <volume>543</volume>
          {
          <fpage>559</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>