<!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>
      <journal-title-group>
        <journal-title>Italian Conference on Computational Logic, June</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Fast Prototyping of a Solver for Reduct-based ELP Semantics⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stefania Costantini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Formisano</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DISIM - Università dell'Aquila</institution>
          ,
          <addr-line>via Vetoio, 67100, L'Aquila</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>DMIF - Università di Udine</institution>
          ,
          <addr-line>via delle Scienze 206, 33100 Udine</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>2</volume>
      <fpage>1</fpage>
      <lpage>23</lpage>
      <abstract>
        <p>Several semantic approaches have been proposed over time for Epistemic Logic Programs (ELPs), which is an extension to Answer Set Programming (ASP) with epistemic operators. ELP semantics has been defined, in various ways, in terms of world views, which are sets whose elements are sets of atoms. Several semantic approaches are Reduct-based, i.e., extend to ELPs what done for ASP, in the sense that in order to find the world views of a given program they propose to: start with a candidate world view; build the reduct of the program with respect to this candidate world view, according to some specific definition of such reduct; compute the set of stable models of the reduct; check whether the candidate world view is indeed a world view, which is the case if it coincides with the set of stable models of the reduct. Solvers have been developed for some of these approaches, but new semantics/variations have been introduced, and are likely to be introduced in the future, as there is no consensus yet on the “right” semantics. We propose a fast-prototyping approach to obtain a solver for any reduct-based semantics, with the advantage to be able to experiment the approach on small/medium programs, and not only on very small programs as done so far, prior to undertaking the costly process of developing a dedicated solver.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Answer Set Programming</kwd>
        <kwd>Epistemic Logic Programs</kwd>
        <kwd>ELP semantics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The first definition of Epistemic Logic Programs (ELPs, in the following just ‘programs’ if not
explicitly stated differently) was presented many years ago in [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. ELPs were meant to extend
in a straightforward way Answer Set Programs (ASP programs), defined under the Answer Set
Semantics [
        <xref ref-type="bibr" rid="ref3 ref33">3</xref>
        ], with epistemic operators so as to allow for forms of epistemic reasoning in a
practical though principled way, as an extension of ASP solvers to ELPs was envisioned since
then. ELPs’ semantics resulted however more tricky than expected, because the new epistemic
operators are able to introspectively “look inside” a program’s own semantics, defined in terms of
its “answer sets”. In fact K, K standing for knowledge, is true if the (ground) atom  is true in
every answer set of the very program Π where K occurs. The derived operator of possibility
M means that  is true in some of the answer sets of Π . The epistemic negation operator not 
expresses that  is not provably true, meaning that  is false in at least one answer set of Π , i.e.,
 K  holds, where  is standard ASP default negation.
      </p>
      <p>
        Semantics of ELPs is provided in terms of some kind of mechanism to characterize world
views, which are sets of answer sets (instead of a unique set of answer sets like in Answer Set
Programming), where each world view consistently satisfies (according to a given semantic
approach) the epistemic expressions that appear in a given program. Several semantic approaches
for ELPs have been introduced beyond the seminal ones, among which [
        <xref ref-type="bibr" rid="ref10 ref4 ref5 ref6 ref7 ref8 ref9">4, 5, 6, 7, 8, 9, 10</xref>
        ].
      </p>
      <p>As seen below, many of these approaches are Reduct-based, i.e., they extend to ELPs what
done for ASP, in the sense that to find world views of a given program they propose to: start with
a candidate world view, which is a set whose elements are sets of atoms; build the reduct of the
program with respect to this candidate world view, according to some specific definition of such
reduct; compute the set of stable models of the reduct; check whether the candidate world view is
indeed a world view, which is the case if it coincides with the set of stable models of the reduct.
Solvers have been developed for some of these approaches, but new semantics/variations have
been introduced, and are likely to be introduced in the future, as there is no consensus yet on the
“right” semantics.</p>
      <p>We propose a fast-prototyping approach to obtain a solver for any reduct-based semantics, with
the advantage to be able to experiment the approach on small/medium programs, and not only on
very small programs as done so far. We have devised the method for our new semantics that we
present below, but it turned out to be of general applicability for a class of reduct-based semantics.
So, the demanding process of implementing a performant dedicated solver can be undertaken
only when and if really deemed worthwhile.</p>
      <p>The paper is organized as follows. In Section 2 we recall Answer Set Programming. In
Section 3 we briefly recall ELPs and their (envisaged) semantic properties. In Section 4 we report
the formal definition of the main existing semantics for ELPs, including our own. In Section 5 we
introduce and discuss our proposal to the construction of a solver given a reduct-based semantics
with no regard to efficiency, but rather to fast prototyping. Finally, in Section 6 we conclude. In the
Appendix, for the sake of completeness, in we report tables with the results that well-established
semantics return on some tiny programs, and a list of available ELP solvers.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Answer Set Programming and Answer Set Semantics</title>
      <p>In ASP one can see a program as a set of statements that specify a problem, where each answer
set represents a solution compatible with this specification. Whenever an ASP program has no
answer sets, it is said to be inconsistent, otherwise it is said to be consistent. Syntactically, an
ASP program Π is a collection of rules of the form</p>
      <p>1 ∨ . . . ∨  ← 1, . . . , .
where each , 0 ≤  ≤ , is an atom, ∨ indicates disjunction and the s, 0 ≤  ≤ , are literals
(i.e., atoms or negated atoms of the form  ). The left-hand side and the right-hand side of
the rule are called head and body, resp. A rule with empty body is called a fact. Disjunction can
occur in rule heads only, so, in facts. A rule with empty head (or, equivalently, with head ⊥), of
the form ‘← 1, ..., .’ or ‘⊥ ← 1, ..., .’, is a constraint, stating that 1, . . . ,  are not
allowed to be simultaneously true in an answer set. The impossibility to fulfill such requirement
is one of the reasons that make a program inconsistent. All extensions of ASP not explicitly
mentioned above are not considered in this paper. We implicitly refer to the “ground” version of
Π , which is obtained by replacing in all possible ways the variables occurring in Π with constants
occurring in Π , and is thus composed of ground atoms, i.e., atoms which contain no variables.</p>
      <p>
        The answer set (or “stable model”) semantics, first introduced in [
        <xref ref-type="bibr" rid="ref11 ref3 ref33">3, 11</xref>
        ], can be defined in
several ways [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ]. However, answer sets of a program Π , if any exists, are the supported
minimal classical models of the program interpreted as a first-order theory in the obvious way.
The original definition from [
        <xref ref-type="bibr" rid="ref3 ref33">3</xref>
        ], introduced for programs where rule heads were limited to be
single atoms, was in terms of the ‘GL-Operator’. Given set of atoms  and program Π , Π( ) is
defined as the least Herbrand model of the program Π  , namely, the (so-called) Gelfond-Lifschitz
reduct of Π w.r.t.  . Π  is obtained from Π by: 1. removing all rules which contain a negative
literal   for  ∈  ; and 2. removing all negative literals from the remaining rules. The fact
that Π  is a positive program ensures that a least Herbrand model exists and can be computed
via the standard immediate consequence operator [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Then,  is an answer set whenever
Π( ) =  .
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Epistemic Logic Programs</title>
      <p>Epistemic Logic Programs allow one to express within ASP programs so-called subjective literals
(in addition to objective literals, that are those that can occur in plain ASP programs, plus
the truth constants ⊤ and ⊥). Such new literals are constructed via the epistemic operator K
(disregarding, without loss of generality, the other epistemic operators). A positive subjective
literal can be of the form K or K  where  is usual ASP default negation, and their
negative counterpart can be of the form  K or  K . For the sake of simplicity, we do
not consider double negation either inside or outside a subjective literal. Nesting of epistemic
operators is not considered here. The literal K means that the (ground) literal  is true in every
answer set of a given program Π (i.e.,  is a cautious consequence of Π ).</p>
      <p>The syntax of rules of ELP programs is analogous to ASP, save that literals in the body can
now be either objective or subjective. An ELP program is called objective if no subjective literals
occur therein, i.e., it is an ASP program. A constraint involving (also) subjective literals is called
a subjective constraint, where one involving objective literals only is an objective constraint. Let
 be the set of atoms occurring (within either objective or subjective literals) in a given program
Π , and Atoms () be the set of atoms occurring in rule . Let Head () be the head of rule  and
Bodyobj () (resp., Bodysubj ()) be the (possibly empty) set of objective (resp., subjective) literals
occurring in the body of . We often write Head () and Bodyobj () in place of Atoms (Head ())
and Atoms (Bodyobj ()), respectively, when the intended meaning is clear from the context. We
call subjective rules those rules whose body is made of subjective literals only.</p>
      <p>The various semantics proposals for ELPs are based on the notion of world views: namely,
sets of sets of atoms. A world view provides possible truth values for all literals in a program.
Different proposals characterize in a different way how to define world views and how to find
them. There are cases where different semantics however agree.</p>
      <p>
        For instance, the program
{ ←
 ,  ←
 ,  ←
 K,  ←
 K}
has, under every semantics, two world views: [{, }, {, }], where K is true and K is false,
and [{,  }, {,  }] where K is true and K is false. Note that, according to a widely-used
convention, each world view, which is a set of sets, is denoted by using brackets [ ]. The presence
of two answer sets in each world view of the above program is due to the cycle on objective atoms,
whereas the presence of two world views is due to the cycle on subjective atoms (in general, the
existence and number of world views is related to such cycles, cf., [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] for a detailed discussion).
      </p>
      <p>Let a semantics  be a function mapping each program into sets of ‘belief views’, i.e., sets
of sets of atoms, where  has the property that, if Π is an objective program, then the unique
member of (Π) is the set of stable models of Π . Given a program Π , each member of (Π)
is called an -world view of Π (we will often write “world view” in place of “-world view”
whenever mentioning the specific semantics is irrelevant). The main existing semantic approaches
for ELPs are introduced in Section 4.</p>
      <p>As usual, for any world view  and any subjective literal K, we write  |= K iff for
all  ∈  the literal  is satisfied by  (i.e., if  ∈  for  atom, or  ̸∈  if  is  ).
 satisfies a rule  if each  ∈  satisfies .</p>
      <p>
        An interesting attempt to establish useful properties that ELP’s semantics should obey can be
found in [
        <xref ref-type="bibr" rid="ref16 ref17 ref18">16, 17, 18</xref>
        ]. The authors state that properties analogous to the ones which have been
defined over time for ASP might prove useful for ELPs as well. In ASP, in fact, the answer sets
of a given program can be computed incrementally, starting from the answer sets of the so-called
bottom part of the program, which are used to simplify the so-called top part, where the process
can be iterated by further splitting the top and/or the bottom [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. Hence, authors of [
        <xref ref-type="bibr" rid="ref16 ref17 ref18">16, 17, 18</xref>
        ]
extend to ELPs this idea by proposing a notion of Epistemic Splitting, where top and bottom are
defined w.r.t. the occurrence of epistemic operators. They also consider Subjective Constraint
Monotonicity and Foundedness. The property of Subjective Constraint Monotonicity states that,
for any ELP program Π and any subjective constraint ,  is a world view of Π ∪ {} iff both
 is a world view of Π and  satisfies . Thus, if this property is fulfilled by a semantic , a
constraint can rule out world views but it cannot rule out some answer set from within a world
view. Notice that Epistemic Splitting implies Subjective Constraint Monotonicity. Foundedness
implies that atoms occurring in sets within a world view cannot have been derived through cyclic
positive dependencies, where, to define such dependencies, K is seen as the same as . Finally,
they define the class of Epistemically Stratified Programs that admit a unique world view (these
programs are those where, intuitively, the use of epistemic operators is stratified).
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Proposals for ELP Semantics</title>
      <p>We report below some of the most relevant semantic definitions for ELPs. To compare the
behavior of the various semantics on practical tiny examples, the reader may refer to Tables 1 and
2 in the Appendix. At present, there is no consensus about which is the ‘right’ semantic approach,
and which results a semantics should return on controversial examples (e.g., on those reported in
Table 2). A debate is quite alive about what should be the ‘intuitive’ outcome on these examples.
This constitutes a strong motivation for our approach, i.e., providing a way of quickly and easily
constructing a solver so as to be able to make experiments with new semantic approaches or with
variations of existing ones.</p>
      <p>We start with the seminal definition of the first ELP semantics, introduced in [
for short G94. Let Π be an ELP program, and  a rule occurring therein.
2], that we call
Definition 4.1 (G94-world views). The G94-reduct of Π with respect to a non-empty set of
interpretations  is obtained by: (i) replacing by ⊤ every subjective literal  ∈ Bodysubj ()
such that  is of the form K and  |= , and (ii) replacing all other occurrences of subjective
literals of the form K by ⊥. A non-empty set of interpretations  is a G94-world view of Π iff
 coincides with the set of all stable models of the G94-reduct of Π with respect to  .</p>
      <p>
        This definition was then extended to a new one in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], that we call for short G11:
Definition 4.2 (G11-world views). The G11-reduct of Π w.r.t. a non-empty set of interpretations
 is obtained by: (i) replacing by ⊥ every subjective literal  ∈ Bodysubj () such that  ̸|= ,
(ii) removing all other occurrences of subjective literals of the form  K. (iii) replacing all
other occurrences of subjective literals of the form K by . The set  is a G11-world view of
Π iff  coincides with the set of all stable models of the G11-reduct of Π w.r.t.  .
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], it is noticed that the semantics K15 introduced in [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] and recalled by the following
definition, slightly generalizes the semantics proposed in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]:
Definition 4.3 (K15-world views). The K15-reduct of Π w.r.t. a non-empty set of interpretations
 is obtained by: (i) replacing by ⊥ every subjective literal  ∈ Bodysubj () such that  ̸|= ,
and (ii) replacing all other occurrences of subjective literals of the form K by . The set  is a
K15-world view of Π iff  coincides the set of all stable models of the K15-reduct of Π w.r.t.  .
      </p>
      <p>
        Semantics G11 and K15, that are refinements of the original G94 semantics, have been
proposed over time to cope with new examples that were discovered, on which existing semantic
approaches produce unwanted or not intuitive world views. K15 can be seen as a basis for the
semantics proposed in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] (called S16 for short). In particular, S16 treats K15 world views as
candidate solutions, to be pruned in a second step, where some world views are removed, by
applying the principle of keeping those which maximize what is not known. World views in
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] are obtained in particular as follows, where note however that the authors of [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] consider
the operator not, that can be rephrased as  K where  is ASP standard ‘default negation’
(meaning that  must be false in some answer set of a given world view).
      </p>
      <p>Let  (Π) be the set of literals of the form not  occurring in given program Π .
Definition 4.4 (S16-world views). Given Φ ⊆  (Π) , the Epistemic reduct Π Φ of Π w.r.t. Φ
is obtained by: (i) replacing every not  ∈ Φ with ⊤, and (ii) replacing every not  ̸∈ Φ with
  . Then, the set  of the answer sets of Π Φ is a candidate world view if every not  ∈ Φ is
true w.r.t.  (i.e.,  is false in some answer set  ∈ ) and every not  ̸∈ Φ is false (i.e.,  is
true in every answer set  ∈ ).</p>
      <p>We say that  is obtained from Φ (or it is corresponding to Φ , or that it is a candidate world
view w.r.t. Φ ), where Φ is called a candidate valid guess. Then,  is an S16 world view if it is
maximal, i.e., if there exists no other candidate world view obtained from guess Φ ′ where Φ ⊂ Φ ′
(so, Φ is called a valid guess).</p>
      <p>All the above semantics, in order to check whether a belief view  is indeed a world view,
do the following: define some kind of reduct, reminiscent of the one introduced to define to
the stable model semantics, and  is a world view if it is stable w.r.t. this reduct, typically if it
coincides with the stable models of the reduct. Variations are possible, like, e.g., the minimality
criterium adopted by S16. Therefore, we say that all previously introduced approaches, as well
as any other similar one, is reduct-based. This in contrast with other approaches that have been
proposed, where no notion of reduct is involved.</p>
      <p>
        The F15 semantics [
        <xref ref-type="bibr" rid="ref21 ref6">6, 21</xref>
        ] for instance, is based on very different principles, namely, it is
based on a combination of Equilibrium Logic [
        <xref ref-type="bibr" rid="ref22 ref23">22, 23</xref>
        ] with the modal logic S5. There, an EHT
interpretation associates, via a function ℎ, a belief view  with another belief view ′ composed,
for every set  ∈ , of sets ′ ⊆ . The purpose is to state that an implication is entailed, in any
“belief point”, i.e., in any interpretation  ∈ , by the couple ⟨, ′⟩ if it is entailed either by 
or by ′. An EHT interpretation satisfies a theory in the usual way, and is total on a subset  of
 if ℎ gives back sets in  unchanged. A total EHT model can be an equilibrium EHT model,
and is defined to be an F15 world view, if it is minimal according to two particular minimality
conditions (not reported here).
      </p>
      <p>
        Differently from F15, FAAEL [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] is based on the modal logic KD45. To define FAAEL,
a belief view is transformed from a set of interpretations to a set of HT-interpretations, i.e.,
interpretations in terms of the logic of Here-and-There (HT) [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] which are couples ⟨,  ⟩
of ‘plain’ interpretations. A belief view is total if  =  for all composing interpretations,
thus reducing to the previous notion of belief view. A total version of any belief view can be
formed, taking all the  ’s as components. A belief interpretation is now a belief view plus an HT
interpretation, say ˆ , possibly not belonging to the belief view. The peculiarity of the entailment
relation (defined in terms of HT logic) is in the implication, that must hold (in the usual way) in
the belief interpretation, but also in the total version of the belief view therein. For total belief
interpretations, the new relation collapses to the modal logic KD45. An epistemic interpretation
(i.e., a non-empty set of interpretations) is defined to be a belief model if all its composing HT
interpretation as well as ˆ entail all formulas of a given theory. It is an epistemic model, if
ˆ is among the composing interpretations, and it is an equilibrium belief model if it satisfies
certain minimality conditions. A belief view is a FAAEL world view if it is “extracted” from an
equilibrium belief model ℰ by taking all the  components of each ⟨,  ⟩ which is found in ℰ .
For formal definitions of F15 and FAAEL, that for lack of space we cannot report here, we refer
the reader to the aforementioned references. Also, we apologize with the readers and with the
authors, because for lack of space, we do not consider other recent semantics, such as [
        <xref ref-type="bibr" rid="ref25 ref9">9, 25</xref>
        ].
      </p>
      <p>
        FAAEL satisfies [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] Epistemic Splitting, Subjective Constraint Monotonicity, and
Foundedness. G94 satisfies Epistemic Splitting, Subjective Constraint Monotonicity, but not Foundedness.
In [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], it is proved that FAAEL world views coincide with founded G94 world views, where
(roughly) founded world views are those where in every composing interpretation, objective atom
 is never derived, directly or indirectly, from K; c.f. [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] for a discussion on foundedness,
very partially reported below. All the other above-mentioned semantic approaches satisfy none of
these properties.
      </p>
      <p>
        Respecting all the three properties implies that ELP programs behave very much like ASP
programs; in this way, on the one hand many theoretical results developed for ASP can be
extended to ELP, but on the other hand the introspective capabilities of epistemic reasoning that
inspired their introduction are, in our opinion, neglected. Basically in fact, the difference that
remains w.r.t. ASP and ELP under. e.g., FAAEL, is that a negative cycle on epistemic literals
like the one in the already-seen example leads to two world views, or, better, two for each such
cycle; this analogously to how cycles on default negation in ASP that lead to two answer sets.
When the two kinds of cycles can co-exist, a world view is composed of several answer sets. This
phenomenon is widely discussed in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], where the number of resulting world views for a given
program is also evaluated.
      </p>
      <p>Thus, a discussion about which properties are “really” required to be necessarily respected is
in order. Respecting one or more of them could even be a design choice: according to a specific
application context of ELPs, one might choose a semantics rather than another one from a ‘toolkit’
of existing ones.</p>
      <p>Foundedness appears to be a reasonable property to fulfill. The problem of unfounded world
views was discovered a long time ago with G94. In fact, in the example:</p>
      <p>← K.
one has that [{}] is a G94 world view, in that it entails K, thus allowing  to be derived. This
is due to the fact that, in many approaches, what is known is dictated by the world view, and there
is no way to impose that it should be consistently derived from the program as well. Reduct-based
semantic approaches subsequent to G94, although devised to try to overcome this problem, still
do not satisfy foundedness.</p>
      <p>Subjective Constraint Monotonicity is more controversial. According to the definition of this
property, adding a constraint might rule out world views, but could not possibly modify existing
ones. To see why this point of view may not be fully convincing, consider the following answer
set program, which is after all a particular case of an epistemic logic program, where no epistemic
literals occur:
 ∨ .
←  .</p>
      <p>If it consisted of the first rule only (that constitutes, notice, the program without the constraint),
its unique world view would coincide with the set of its answer sets, i.e., [{}, {}]. Adding the
constraint to the program rules out the answer set {}, so to every extent it modifies the world
view of the program to be [{}]. Thus, apparently, the ASP semantics does not fulfill Subjective
Constraint Monotonicity, according to which the constraint should “validate” the world view if
fulfilled, or cancel it if violated.</p>
      <p>Consider now the very similar epistemic logic program:
 ∨ .</p>
      <p>←  K.</p>
      <p>Under many semantics what happens is absolutely analogous (as in our opinion should be),
leading to the unique world view [{}, {}] of the rule being modified into [{}] to fulfill the
constraint. This is in fact the result returned by K15 and S16, and also by CF22F, seen below. In
these semantics therefore, the property of Subjective Constraint Monotonicity is not satisfied.</p>
      <p>
        The CF22F reduct-based semantics has been proposed in a preliminary form and subsequently
refined by the authors of the present paper [
        <xref ref-type="bibr" rid="ref26 ref27">27, 26</xref>
        ], and is reported below for the sake of
completeness. In this approach, we consider subjective literals K and Knot  as new atoms,
called knowledge atoms. Negation  in front of knowledge atoms is assumed to be the standard
default negation. So, instead of ELPs proper, we here equivalently consider ASP programs (called
below just ‘programs’) possibly involving knowledge atoms. Let SM (Π) be the set of answer
sets of such a program Π .
      </p>
      <p>First of all we introduce the concept of internal consistency of a set of atoms.
Definition 4.5. A set  of atoms, composed of objective atoms and knowledge atoms, is said to
be knowledge-consistent iff the following conditions both hold:
(i) if K ∈  then  ∈ ;
(ii) if Knot  ∈  then  ̸∈ .</p>
      <p>Notice that a set of objective atoms is knowledge-consistent: as no knowledge atom appears
therein, both conditions stated in the definition are trivially satisfied.</p>
      <p>Definition 4.6. Given ASP program Π possibly involving knowledge atoms, let SMC (Π) be the
set of those answer sets of the program which are knowledge-consistent.</p>
      <p>Property 4.1. The set SMC (Π) coincides with the set of the stable models of the program Π ′
obtained from Π by adding, for each knowledge atom K or Knot  occurring in Π , constraints:
←
←</p>
      <p>K,</p>
      <p>Knot , .</p>
      <p>An epistemic interpretation  is in our case a possibly empty set of sets of atoms, each such
set composed of objective atoms occurring in the head of some (possibly unit) rule in Π . We
make a difference with previous approaches where we allow  to be empty. We make a slight
improvement with the subsequent condition, that holds anyway for world views obtained via any
semantics.</p>
      <p>Definition 4.7. [CF22F-adaptation] The CF22F-adaptation Π- of a program Π with respect
to an epistemic interpretation  is a new program, now obtained by modifying Π as follows:
(i) whenever  |= , in all rules with head  substitute head  with K, and add new rule
 ← K and
(ii) whenever  |=  , add new fact Knot .</p>
      <p>Let Π- be the set of the newly added rule heads of the form K.</p>
      <p>The CF22F adaptation is none other than our definition of a reduct, though extended with
respect to previously-known ones.</p>
      <p>Definition 4.8. Given an epistemic interpretation  for program Π , we call SM ′(Π) the set of
sets obtained from SMC (Π) by canceling knowledge atoms.</p>
      <p>Definition 4.9 (CF22F world view). An epistemic interpretation  is called a CF22F world
view of a program Π if  = SM ′(Π-).</p>
      <p>To provide a demonstration of the new semantics, consider the epistemic logic program:
 ←</p>
      <p>K .</p>
      <p>K ←
 ←</p>
      <p>K .</p>
      <p>K.</p>
      <p>Consider the epistemic interpretation  = [∅]. According to Definition 4.7, to obtain Π- the
only added fact is: K . We have that SMC (Π- ) = [{K }], thus SM ′(Π- ) = [∅], so
 is a CF22F world view.</p>
      <p>Consider the epistemic interpretation  = [{}]. According to Definition 4.7, the program
becomes:</p>
      <p>We have that SM (Π- ) = SMC (Π- ) = [{K, }] (as fact K  is not present, its
negation is true), thus SM ′(Π- ) = [{}], so  is a CF22F world view.</p>
      <p>On this example, we notice an agreement among CF22F and G94, G11, FAAEL. Notice that
the minimization criterion does not apply here, as the sets of facts and/or rules added according
to Definition 4.7 for the two possible epistemic interpretations are not one a subset of the other.</p>
      <p>It is easy to prove (proof not reported here) that CF22F enjoys foundedness, yet not Subjective
Constraint Monotonicity. Let us consider again program:</p>
      <p>← K .
the CF22F-adaptation transforms the program into:
 ← K .</p>
      <p>K  ← K .</p>
      <p>This program has no answer sets, thus [{}] is not a CF22F world view.</p>
      <p>We may notice that, the S16 semantics is remarkable in the sense that it maximizes what is not
known, which is equivalent to minimizing what is known. The proposers of S16 consider each
potential world view (that in their approach is associated to a guess about what is not known) as a
candidate world view, and discard those for which there exists another one with a larger guess on
what is not known (equivalently, a smaller guess on what is known), in terms of set inclusion.
Rephrasing their criterion (referred to as S16C) in terms of our approach, we have:
Definition 4.10 (S16 Criterion - CF22F+S16C). Each world view  as defined in
Definition 4.9 is considered to be a candidate world view. A candidate world view  is indeed a world
view under CF22F+S16C if no other candidate world view  ’ exists, where Π-′ ⊂ Π- .</p>
    </sec>
    <sec id="sec-5">
      <title>5. Fast Prototyping of a Solver for Reduct-based Semantic</title>
    </sec>
    <sec id="sec-6">
      <title>Approaches</title>
      <p>
        As reported in [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ], evaluating ELPs is a computationally hard task. The central decision
problem, checking whether an ELP has a world view, is Σ 3 -complete [
        <xref ref-type="bibr" rid="ref29 ref7">7, 29</xref>
        ], and problems
even higher on the polynomial hierarchy exist. As reported in Table 3 in the Appendix, solvers
for various semantic approaches have been developed (cf. [
        <xref ref-type="bibr" rid="ref20 ref30 ref31 ref32">30, 31, 20, 32</xref>
        ] for discussion and
useful references). In order to perform experiments on CF22F, we devised and illustrate below a
method which allows one to obtain very quickly a solver for any reduct-based semantics, without
implementation effort. Thus, researchers proposing new semantic approaches (as it often happens)
or extending/modifying an existing one can exploit the method in order to make experiments.
It must be noticed however that the method provides correctness of the solver w.r.t. a given
semantics, but does not cope with efficiency issues. Thus, given the high complexity of evaluating
ELPs, the prototypical solver obtained via our method can be only used to experiment with
program of small-medium size, which is however better than just considering the tiny ones shown
in the Appendix.
      </p>
      <p>Notice that, for checking whether an epistemic interpretation  is a world view for program Π
according to a semantics  based upon a definition ℛ of a reduct, one has to apply ℛ to  , then
ifnd the set intermediate of answer sets of the reduced program Π ℛ, then possibly perform some
post-processing  , thus obtaining final.  is a world view of Π according to  iff  = final.
In the case of CF22F for instance, the post-processing cancels from intermediate those sets
which are not knowledge consistent, and then cancels knowledge atoms.</p>
      <p>
        In order to find all the world views of Π , one has to devise all the epistemic interpretations.
Given the set Π of the atoms occurring in Π (after the grounding), one has to find all the subsets
of such set, and all the sets of such subsets. The sets so found should then be filtered, to select
those including atoms occurring as the head of some rule in Π . Clearly, this process as whole has
a high complexity, basically it ‘absorbs’ most of the complexity of the entire method. Then, all
the epistemic interpretations must be checked, and if applying the minimality criterion as defined
in S16 and adopted in CF22F+S16C, the resulting ‘candidate’ world views must be filtered, and
this, as discussed in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], adds further complexity.
      </p>
      <p>The method can be automated as illustrated below, resorting to a single call to an answer set
solver (although on a large instance).</p>
      <p>Definition 5.1. Let Π, for an integer positive number , be the standardized apart -th version
of Π obtained by substituting each atom  therein by a fresh atom . The standardized apart
-th version Π  of program Π is obtained by substituting each atom in Π with its standardized
apart counterpart.</p>
      <p>Definition 5.2. Given an ELP program Π and a semantic  with associated reduct definition ℛ
and (possibly) post-processing definition  , let us assume to have implemented:
1. A module  that will return the epistemic interpretations 1, . . . ,  of Π .
2. A module sa that, given 1, . . . , , will generate a new program Π sa obtained as the
union of the standardized apart -th versions of Π ,  ≤ .
3. A module red that applies the reduct ℛ to Π sa , thus obtaining Π</p>
      <p>4. A module int extracting intermediate ,  ≤ , by selecting from the answer sets of Π 
(obtained via any answer set solver) all the answer sets composed of the -th standardized

apart atoms, collecting them into intermediate , and finally de-standardizing-apart the
atoms, i.e., substituting each atom  with .
 
5. A module Post applying post-processing  to intermediate ,  ≤ , thus obtaining final,
 ≤ .</p>
      <p>6. A module compare that selects from the final,  ≤ , those which are world views, as
they coincide with , and returns the actual set of world views.
7. A module filter that, if a minimality criterion has to be applied, selects among the world
views, here intended as ‘candidate’, those fulfilling the criterion.</p>
      <p>Definition 5.3. The ‘quick solver’ for a semantic  for ELPs with associated reduct definition ℛ
and (possibly) post-processing definition , which returns all world views of given program Π
according to , is obtained by running on Π the pipeline of the modules listed in Definition 5.2.</p>
      <p>Correctness of the ‘quick solver’ w.r.t. a semantic  depends upon the correct implementation
of the various modules, that however should not be difficult to ensure. In fact, each module copes
with a single aspect and will thus show enough transparency and a reasonable size.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Conclusions</title>
      <p>We have revised semantic approach for ELPs, including our new approach called CF22F, not yet
presented elsewhere. The experiments of CF22F on several examples taken from the relevant
literature, for which the outcome of the other most relevant semantic approaches was well-known
(experiments not reported here for lack of space), gave surprising results. In fact, CF22F does
not agree uniformly with any of the other semantics, and in some cases it agrees with none of
them. CF22F agrees most frequently with S16, often without even applying the S16C Criterion.
More investigation and more experiments are required to understand the reasons. In order to
make experiments, we devised a method for fast prototyping of solvers for reduct-based semantic
approaches. The method can be used for CF22F, but also for any other extension/new proposal.
The issue of efficiency is not coped with, yet the method allows one to experiment a semantic on
much larger examples than those frequently used in the literature, and listed in Tables 1 and 2 in
the Appendix. Thus, we believe that it can be useful to researchers in the area.</p>
    </sec>
    <sec id="sec-8">
      <title>A. Semantic Results for Interesting ELP Programs</title>
      <p>
        In Tables 1 and 2 a summary is reported, taken from [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], of how the previously-existing semantics
presented in this paper behave on some examples which are considered to be significant of situations that
can be found in practical programming.
      </p>
    </sec>
    <sec id="sec-9">
      <title>B. Available ELP Solvers</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Przymusinska</surname>
          </string-name>
          ,
          <article-title>Definitions in epistemic specifications</article-title>
          , in: A.
          <string-name>
            <surname>Nerode</surname>
            ,
            <given-names>V. W.</given-names>
          </string-name>
          <string-name>
            <surname>Marek</surname>
          </string-name>
          , V. S. Subrahmanian (Eds.),
          <source>Proc. of the 1st Intl. Workshop on Logic Programming and Non-monotonic Reasoning</source>
          , The MIT Press,
          <year>1991</year>
          , pp.
          <fpage>245</fpage>
          -
          <lpage>259</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <article-title>Logic programming and reasoning with incomplete information</article-title>
          , Ann. Math. Artif. Intell.
          <volume>12</volume>
          (
          <year>1994</year>
          )
          <fpage>89</fpage>
          -
          <lpage>116</lpage>
          . doi:
          <volume>10</volume>
          .1007/BF01530762.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <article-title>The stable model semantics for logic programming</article-title>
          , in: R.
          <string-name>
            <surname>Kowalski</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          Bowen (Eds.),
          <source>Proc. of the 5th Intl. Conf. and Symp. on Logic Programming</source>
          , MIT Press,
          <year>1988</year>
          , pp.
          <fpage>1070</fpage>
          -
          <lpage>1080</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <article-title>New semantics for epistemic specifications</article-title>
          , in: J. P. Delgrande, W. Faber (Eds.),
          <source>Proc. of LPNMR'11</source>
          , volume
          <volume>6645</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2011</year>
          , pp.
          <fpage>260</fpage>
          -
          <lpage>265</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Truszczynski</surname>
          </string-name>
          ,
          <article-title>Revisiting epistemic specifications</article-title>
          , in: M.
          <string-name>
            <surname>Balduccini</surname>
          </string-name>
          , T. C. Son (Eds.),
          <string-name>
            <surname>Logic</surname>
            <given-names>Programming</given-names>
          </string-name>
          ,
          <source>Knowledge Representation, and Nonmonotonic Reasoning</source>
          , volume
          <volume>6565</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2011</year>
          , pp.
          <fpage>315</fpage>
          -
          <lpage>333</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>L.</given-names>
            <surname>Fariñas del Cerro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Herzig</surname>
          </string-name>
          ,
          <string-name>
            <surname>E. I. Su</surname>
          </string-name>
          ,
          <article-title>Epistemic equilibrium logic</article-title>
          , in: Q.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>M. J.</given-names>
          </string-name>
          <string-name>
            <surname>Wooldridge</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI</source>
          <year>2015</year>
          , AAAI Press,
          <year>2015</year>
          , pp.
          <fpage>2964</fpage>
          -
          <lpage>2970</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          ,
          <article-title>Evaluating epistemic negation in answer set programming</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>237</volume>
          (
          <year>2016</year>
          )
          <fpage>115</fpage>
          -
          <lpage>135</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P. T.</given-names>
            <surname>Kahl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. P.</given-names>
            <surname>Leclerc</surname>
          </string-name>
          ,
          <article-title>Epistemic logic programs with world view constraints</article-title>
          , in: A.
          <string-name>
            <surname>D. Palù</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Tarau</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Saeedloei</surname>
          </string-name>
          , P. Fodor (Eds.),
          <source>Tech. Comm. of ICLP</source>
          <year>2018</year>
          , volume
          <volume>64</volume>
          of OASIcs, Schloss Dagstuhl,
          <year>2018</year>
          , pp.
          <volume>1</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>1</lpage>
          :
          <fpage>17</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>E. I. Su</surname>
          </string-name>
          ,
          <article-title>Epistemic answer set programming</article-title>
          , in: F. Calimeri,
          <string-name>
            <given-names>N.</given-names>
            <surname>Leone</surname>
          </string-name>
          , M. Manna (Eds.),
          <source>Proc. of JELIA'19</source>
          , volume
          <volume>11468</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2019</year>
          , pp.
          <fpage>608</fpage>
          -
          <lpage>626</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cabalar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fandinno</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <article-title>Fariñas del Cerro, Splitting epistemic logic programs</article-title>
          , in: M.
          <string-name>
            <surname>Balduccini</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Lierler</surname>
          </string-name>
          , S. Woltran (Eds.),
          <source>Proc. of LPNMR'19</source>
          , volume
          <volume>11481</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2019</year>
          , pp.
          <fpage>120</fpage>
          -
          <lpage>133</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <article-title>Classical negation in logic programs</article-title>
          and disjunctive databases,
          <source>New Generation Computing</source>
          <volume>9</volume>
          (
          <year>1991</year>
          )
          <fpage>365</fpage>
          -
          <lpage>385</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <article-title>Thirteen definitions of a stable model</article-title>
          , in: A.
          <string-name>
            <surname>Blass</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Dershowitz</surname>
          </string-name>
          , W. Reisig (Eds.),
          <source>Fields of Logic and Computation</source>
          , volume
          <volume>6300</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2010</year>
          , pp.
          <fpage>488</fpage>
          -
          <lpage>503</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Formisano</surname>
          </string-name>
          ,
          <article-title>Negation as a resource: a novel view on answer set semantics</article-title>
          ,
          <source>Fundamenta Informaticae</source>
          <volume>140</volume>
          (
          <year>2015</year>
          )
          <fpage>279</fpage>
          -
          <lpage>305</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J. W.</given-names>
            <surname>Lloyd</surname>
          </string-name>
          ,
          <source>Foundations of Logic Programming</source>
          , Springer-Verlag,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <article-title>About epistemic negation and world views in epistemic logic programs</article-title>
          ,
          <source>Theory Pract. Log. Program</source>
          .
          <volume>19</volume>
          (
          <year>2019</year>
          )
          <fpage>790</fpage>
          -
          <lpage>807</lpage>
          . doi:
          <volume>10</volume>
          .1017/S147106841900019X.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cabalar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fandinno</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <article-title>Fariñas del Cerro, Splitting epistemic logic programs</article-title>
          ,
          <source>Theory Pract. Log. Program</source>
          .
          <volume>21</volume>
          (
          <year>2021</year>
          )
          <fpage>296</fpage>
          -
          <lpage>316</lpage>
          . doi:
          <volume>10</volume>
          .1017/S1471068420000058.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cabalar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fandinno</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <article-title>Fariñas del Cerro, On the splitting property for epistemic logic programs</article-title>
          , in: C.
          <string-name>
            <surname>Bessiere</surname>
          </string-name>
          (Ed.),
          <source>Proceedings of IJCAI</source>
          <year>2020</year>
          ,
          <article-title>ijcai</article-title>
          .org,
          <year>2020</year>
          , pp.
          <fpage>4721</fpage>
          -
          <lpage>4725</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cabalar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fandinno</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          <article-title>Fariñas del Cerro, Autoepistemic answer set programming</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>289</volume>
          (
          <year>2020</year>
          )
          <fpage>103382</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>V.</given-names>
            <surname>Lifschitz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Turner</surname>
          </string-name>
          ,
          <article-title>Splitting a logic program</article-title>
          ,
          <source>in: Proc. of ICLP'94</source>
          , MIT Press,
          <year>1994</year>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>37</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>P.</given-names>
            <surname>Kahl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Watson</surname>
          </string-name>
          , E. Balai,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y. Zhang,</surname>
          </string-name>
          <article-title>The language of epistemic specifications (refined) including a prototype solver</article-title>
          ,
          <source>J. Log. Comput</source>
          .
          <volume>30</volume>
          (
          <year>2015</year>
          )
          <fpage>953</fpage>
          -
          <lpage>989</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>E. I.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Fariñas del Cerro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Herzig</surname>
          </string-name>
          ,
          <article-title>Autoepistemic equilibrium logic and epistemic specifications</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>282</volume>
          (
          <year>2020</year>
          )
          <article-title>103249</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.artint.
          <year>2020</year>
          .
          <volume>103249</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          ,
          <article-title>A new logical characterization of stable models and answer sets, in: NonMonotonic Extensions of Logic Programming, number</article-title>
          1216 in LNAI, Springer,
          <year>1997</year>
          , pp.
          <fpage>55</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Valverde</surname>
          </string-name>
          ,
          <article-title>Synonymous theories in answer set programming and equilibrium logic</article-title>
          ,
          <source>Proc. of ECAI04, 16th Europ. Conf. on Art. Intell</source>
          . (
          <year>2004</year>
          )
          <fpage>388</fpage>
          -
          <lpage>390</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          , Equilibrium logic, Ann. Math. Artif. Intell.
          <volume>47</volume>
          (
          <year>2006</year>
          )
          <fpage>3</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <surname>E. I. Su</surname>
          </string-name>
          ,
          <article-title>Refining the semantics of epistemic specifications</article-title>
          , in: A. F. et al. (Ed.),
          <source>Proceedings 37th International Conference on Logic Programming</source>
          ,
          <source>ICLP Technical Communications</source>
          <year>2021</year>
          , volume
          <volume>345</volume>
          <source>of EPTCS</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>113</fpage>
          -
          <lpage>126</lpage>
          . doi:
          <volume>10</volume>
          .4204/EPTCS.345.25.
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Formisano</surname>
          </string-name>
          ,
          <article-title>Achieving foundedness in reduct-based epistemic logic programs semantics, 2023. Submitted, a preliminary version can be obtained from the authors</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>S.</given-names>
            <surname>Costantini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Formisano</surname>
          </string-name>
          ,
          <article-title>Epistemic logic programs: a novel perspective and some extensions</article-title>
          , in: J.
          <string-name>
            <surname>Arias</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Calegari</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Dickens</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Faber</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Fandinno</surname>
            , G. Gupta,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Hecher</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Inclezan</surname>
            , E. LeBlanc,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Morak</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Salazar</surname>
          </string-name>
          , J. Zangari (Eds.),
          <source>Proc. of the ICLP'22 Workshops</source>
          , volume
          <volume>3193</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hecher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Morak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Woltran</surname>
          </string-name>
          ,
          <article-title>Structural decompositions of epistemic logic programs</article-title>
          ,
          <source>in: Proc. of AAAI'20</source>
          , IAAI'20, EAAI'20, AAAI Press,
          <year>2020</year>
          , pp.
          <fpage>2830</fpage>
          -
          <lpage>2837</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Morak</surname>
          </string-name>
          ,
          <article-title>Epistemic logic programs: A different world view</article-title>
          , in: B.
          <string-name>
            <surname>Bogaerts</surname>
            , E. Erdem,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Fodor</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Formisano</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Ianni</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Inclezan</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Vidal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Villanueva</surname>
            ,
            <given-names>M. D.</given-names>
          </string-name>
          <string-name>
            <surname>Vos</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Yang</surname>
          </string-name>
          (Eds.),
          <source>Proc. of ICLP'19 (Technical Communications)</source>
          , volume
          <volume>306</volume>
          <source>of EPTCS</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>52</fpage>
          -
          <lpage>64</lpage>
          . doi:
          <volume>10</volume>
          .4204/EPTCS.306.11.
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>A. P.</given-names>
            <surname>Leclerc</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. T.</given-names>
            <surname>Kahl</surname>
          </string-name>
          ,
          <article-title>A survey of advances in epistemic logic program solvers</article-title>
          , CoRR abs/
          <year>1809</year>
          .07141 (
          <year>2018</year>
          ). URL: http://arxiv.org/abs/
          <year>1809</year>
          .07141. arXiv:
          <year>1809</year>
          .07141.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>P. T.</given-names>
            <surname>Kahl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. P.</given-names>
            <surname>Leclerc</surname>
          </string-name>
          , T. C.
          <article-title>Son, A parallel memory-efficient epistemic logic program solver: harder, better</article-title>
          , faster, Ann. Math. Artif. Intell.
          <volume>86</volume>
          (
          <year>2019</year>
          )
          <fpage>61</fpage>
          -
          <lpage>85</lpage>
          . doi:
          <volume>10</volume>
          .1007/ s10472-019-09621-1.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>P.</given-names>
            <surname>Cabalar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fandinno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Garea</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Romero</surname>
          </string-name>
          , T. Schaub,
          <article-title>eclingo : A solver for epistemic logic programs</article-title>
          ,
          <source>Theory Pract. Log. Program</source>
          .
          <volume>20</volume>
          (
          <year>2020</year>
          )
          <fpage>834</fpage>
          -
          <lpage>847</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          <article-title>Table 3 List of solvers available for the semantics summarized in Section 4 Solver Year Semantics Underlying Impl. language ASP-solver ELMO 1994 G94 dlv Prolog sismodels 1994 G94 claspD C++ Wviews 2007 G94 clingo C++ Esmodels 2013 G11 clingo (unknown) ELPS 2014 K15 clingo Java GISolver 2015 K15 clingo (unknown) ELPsolve 2016 K15/S16 clingo C++ Wviews2 2017 G94 clingo Python EP-ASP 2017 K15/S16 clingo Python+ASP PelpSolver 2017 S16 clingo Java ELPsolve2 2017 S16 clingo C++ EHEX 2018 S16 clingo Python selp 2018 S16 clingo Python eclingo 2020 G94 clingo Python</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>