<!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>Using SAT and Partial MaxSAT for Reasoning with System Z and System W</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Christoph Beierle</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aron Spang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jonas Haldimann</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Logic and Computation, TU Wien</institution>
          ,
          <addr-line>1040 Vienna</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Knowledge Based Systems, FernUniversität in Hagen</institution>
          ,
          <addr-line>58084 Hagen</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Cape Town and CAIR</institution>
          ,
          <addr-line>Cape Town</addr-line>
          ,
          <country country="ZA">South Africa</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Nonmonotonic reasoning from conditional belief bases typically depends on a structure over possible worlds that relies on the verification and falsification of conditionals. A major challenge in implementing such reasoning approaches is that the number of worlds in these structures grows exponentially with the number of propositional variables occurring in the belief base. For addressing this problem by using the power of current solvers, recently an implementation of reasoning with system W using Partial MaxSAT problems has been proposed. In this paper, we investigate this approach in more detail, present a formal correctness proof of the system W inference algorithm SWinf, and extend its empirical evaluation. Furthermore, we show that the approach can be transferred to implementing Pearl's system Z by using SAT problems, and prove the correctness of the resulting system Z inference algorithm SZinf. Our implementations of system Z and system W demonstrate that they outperform previous implementations and allow for signature and knowledge base sizes that have been infeasible before.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Conditionals play a major role in knowledge
representation and reasoning, and many diferent semantics have been
proposed for conditional belief bases, like probability
distributions, plausibility orderings, possibility distributions,
ranking functions and special instances of them, or
conditional objects (see, e.g., [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4 ref5 ref6 ref7 ref8">1, 2, 3, 4, 5, 6, 7, 8</xref>
        ]). However,
software systems implementing any of these inference methods
have attracted much less attention. Any such
implementation of inference with respect to a conditional belief base Δ
has to cope with the number of worlds growing
exponentially with the number of propositional variables occurring
in Δ. For addressing this practical side of nonmonotonic
reasoning, we consider Pearl’s well-known system Z [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ],
and system W [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] that exhibits some notable properties like
extending system Z and thus rational closure [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ],
avoiding the drowning problem [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], and fully complying with
syntax splitting [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ] and also with conditional syntax
splitting [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. Because the first implementation of system W
[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] severely limits the number of propositional variables
in Δ to about 20 for practical applications, corresponding
to about one million worlds, recently an implementation of
reasoning with system W using partial MaxSAT problems
has been developed, with first evaluation results of up to 60
variables and thus 260 worlds [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>
        This paper extends our work presented in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] in several
directions, providing the following main contributions:
• We elaborate the approach in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] in more detail and
provide a formal correctness proof for its system W
inference algorithm SWinf.
• We extend its empirical evaluation, demonstrating
that it scales up system W inference up to 120
variables and thus 2120 worlds and to belief bases of up
to 200 conditionals.
• We show how the approach can be transferred,
yielding a SAT-based realization of system Z.
22nd International Workshop on Nonmonotonic Reasoning, November
24, 2024, Hanoi, Vietnam
      </p>
      <p>christoph.beierle@fernuni-hagen.de (C. Beierle);
aron.spang@fernuni-hagen.de (A. Spang); jonas@haldimann.de
(J. Haldimann)</p>
      <p>0000-0002-0736-8516 (C. Beierle); 0000-0002-2618-8721
(J. Haldimann)
© 2024 Copyright for this paper by its authors. Use permitted under Creative Commons License
Attribution 4.0 International (CC BY 4.0).
• We give a correctness proof for our system Z
inference algorithm SZinf.
• We implement system Z correspondingly,
outperforming previous implementations and allowing for
signature and knowledge base sizes that have not
been possible before.</p>
      <p>This paper is organized as follows. After briefly recalling
the background on conditional logic in Section 2 and
system W in Section 3, we present and illustrate our algorithm
SWinf for system W in Section 4 and prove its correctness
in Section 5. We adapt this approach for system Z in
Section 6, illustrate the resulting algorithm SZinf and prove
this algorithm’s correctness in Section 7. Finally we
evaluate the runtimes of our new algorithms for system W and
system Z in Section 8 before concluding and pointing out
future work in Section 9.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background: Conditional Logic</title>
      <p>A (propositional) signature is a finite set Σ of propositional
variables, and ℒΣ denotes the propositional language over Σ.
We may denote a conjunction  ∧  by  and a negation
¬ by . The set of interpretations over a signature Σ,
also called worlds, is ΩΣ. We may identify a world with
the corresponding complete conjunction of all elements Σ
in either positive or negated form. An  ∈ ΩΣ is a model
of  ∈ ℒΣ if  holds in , denoted as  |= , and the
set of models of  is Mod Σ() = { ∈ ΩΣ |  |= },
sometimes denoted as Ω. A formula  entails a formula ,
written  |= , if Mod Σ() ⊆ Mod Σ(). Furthermore,
for  ∈ ℒΣ and  ⊆ ℒ Σ, we use the notation  |=  if
 |=  for every  ∈  ; Ω = { ∈ ΩΣ |  |=  };
 = {  |  ∈  }; and  ∧  =  ∧ 1 ∧ . . . ∧ 
for  = {1, . . . , }.</p>
      <p>
        A conditional (|) connects two formulas ,  and
represents the rule “If  then usually ”. The conditional
language over Σ is (ℒ|ℒ)Σ = {(|) | ,  ∈ ℒΣ}. A
belief base Δ is a finite set of conditionals. For a world
, a conditional (|) is either verified by  if  |= ,
falsified by  if  |= , or not applicable to  if  |= 
[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. An example for semantics of conditionals are functions
 : ΩΣ → N such that  () = 0 for at least one  ∈
ΩΣ, called ranking functions or ordinal conditional functions
(OCF), introduced (in a more general form) by Spohn (1988).
They express degrees of plausibility where a lower degree
denotes “less surprising”. Each  uniquely extends to a
function  : ℒΣ → N ∪ {∞} with  () = min{ () |
 |= } where min ∅ = ∞. A ranking function  accepts
a conditional (|), written  |= (|), if  () &lt;
 (), and  accepts Δ, written  |= Δ, if  accepts all
conditionals in Δ, and Δ is consistent if there is a ranking
function accepting Δ. Every  induces a nonmonotonic
inference relation |∼  between formulas in ℒΣ, given by
 |∼   if
 ≡ ⊥
or  () &lt;  ().
      </p>
      <p>(1)</p>
    </sec>
    <sec id="sec-3">
      <title>3. System W</title>
      <p>
        An inductive inference operator completes an explicitly
given belief base to the inference relation representing all
conditional beliefs an agent can derive [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. One such
inference operator is System W [
        <xref ref-type="bibr" rid="ref10 ref19">19, 10</xref>
        ] which takes into account
the tolerance information expressed by the Z-partition (also
called ordered partition) of a belief base Δ, defined in the
following.
      </p>
      <p>
        Definition 1 (Z-partition OP (Δ) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]). Let Δ =
{(1|1), . . . , (|)} be a belief base. A conditional
(|) is tolerated by a set of conditionals Δ if there exists a
world  ∈ ΩΣ that verifies (|) and does not falsify any
conditional in Δ, i.e.,  |=  and  |= ⋀︀
=1( ∨ ).
      </p>
      <p>The Z-partition OP (Δ) = (Δ0, . . . , Δ) of a belief base Δ
is the partition of Δ where each Δ is the (with respect to set
inclusion) maximal subset of ⋃︀
= Δ that is tolerated by
⋃︀
= Δ .</p>
      <p>
        It is well-known that OP (Δ) exists if Δ is consistent;
moreover, because the Δ are chosen inclusion-maximal,
the Z-partition is unique [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. System W combines the
Z-partition with the structural information about which
conditionals are falsified by a world, yielding the preferred
structure on worlds &lt;wΔ underlying system W.
      </p>
      <p>
        Definition 2 (  , preferred structure &lt;wΔ on worlds
[
        <xref ref-type="bibr" rid="ref10 ref19">19, 10</xref>
        ]). Let Δ = {(1|1), . . . , (|)} with
OP (Δ) = (Δ0, . . . , Δ). For  = 0, . . . , , the function  
maps worlds to the set of falsified conditionals from the set
Δ :
  () := { ∈ Δ |  |= },
w
The preferred structure on worlds is the binary relation &lt;Δ
defined by, for , ′ ∈ ΩΣ:
 &lt;wΔ ′ if there exists  ∈ {0 , . . . , } such that
 () =  (′)
 () ⫋  (′) .
      </p>
      <p>∀ ∈ { + 1 , . . . , }, and</p>
      <p>
        Thus,  &lt;wΔ ′ if and only if  falsifies strictly fewer
conditionals than ′ in the partition with the biggest index
 where the conditionals falsified by  and ′ difer.
Definition 3 (system W, |∼ wΔ[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]). Let Δ be a consistent
belief base and let ,  ∈ ℒΣ be formulas. Then  is a
system W inference from  (in the context of Δ), denoted
 |∼ wΔ , if we have:
for every ′ ∈ Ω
there is an  ∈ Ω such that  &lt;wΔ ′ .
(2)
(3)
(4)
      </p>
      <p />
      <p />
      <p />
      <p>Example 1 (Δbird ). Let Σ = {, , , } represent
birds, penguins, flying things and winged things, and let
Δbird contain 1 = ( |), 2 = ( |), 3 = (|), and
4 = (|). E.g., 1 expresses “birds usually fly”. Then
OP (Δbird ) = (Δ0, Δ1) with Δ0 = {( |), (|)} and
w
Δ1 = {( |), (|)}. Using &lt;Δbird (Figure 1), we can check
that  |∼ wΔbird  holds, i.e., that penguins usually have
wings is a system W inference in the context of Δbird .</p>
      <p>
        System W captures system Z in the sense that every
entailment that is possible with system Z is also possible with
system W, i.e., the system W inferences of a belief base Δ
are a superset of the system Z inferences of Δ.
Furthermore, there are belief bases where this superset relationship
is strict, i.e., where system W licenses strictly more
inferences than system Z [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. System W strictly extends also
c-inference [
        <xref ref-type="bibr" rid="ref10 ref21">21, 10</xref>
        ]; further properties of system W and its
relationshsips to other inductive inference operators are
described in [
        <xref ref-type="bibr" rid="ref22 ref23 ref24">22, 23, 24</xref>
        ].
      </p>
      <p>
        For a set  and a partial order &lt; on  , the minimal
elements of  ⊆  are denoted by: min(, &lt;) = { ∈
 | there is no ′ ∈  s.t. ′ &lt; }. Because &lt;wΔ is a strict
partial order [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Definition 3 directly implies that is
sufifces to consider only the &lt;wΔ-minimal worlds for checking
whether |∼ wΔ holds.
      </p>
      <p>Proposition 1 (|∼ wΔ). Let Δ be a consistent belief base and
,  ∈ ℒΣ. Then
 |∼ wΔ  if for every ′ ∈ min(Ω , &lt;wΔ)
there is an  ∈ min(Ω , &lt;wΔ)
such that  &lt;wΔ ′ .</p>
    </sec>
    <sec id="sec-4">
      <title>4. Algorithm SWinf : System W</title>
    </sec>
    <sec id="sec-5">
      <title>Inference using MaxSAT</title>
      <p>
        In this section we introduce the algorithm SWinf(Δ, , )
(system W inference with Partial MaxSAT, Algorithm 1)
[
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] which takes a belief base Δ and two formulas ,  as
input and answers the question whether  |∼ wΔ  holds.
Implementing system W by computing the relation &lt;wΔ
[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] will work for small signatures but does not scale well
because of the number of worlds to be considered grows
exponentially with the size of the signature. Therefore, we
will employ Partial MaxSAT concepts [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] in SWinf and
utilize the power of current SAT-solvers. Given a set of
formulas  of soft constraints and a set of formulas  of
hard constraints the extended partial maximum satisfiability
1: let OP (Δ) = (Δ0, . . . , Δ)
Algorithm 1 SWinf(Δ, , )
Input: consistent belief base Δ and formulas , 
Output: Yes if  |∼ wΔ , and No otherwise
2: function recWinf (, )
3: MCS (nf (Δ ),  ∪ {})
4: MCS (nf (Δ ),  ∪ {})
 ←
ℱ ←
5: if ¬(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) then
6: return No
7: for all  ∈  ∩ ℱ do
8: if  = 0 then
9: return No
10: new ← (nf (Δ ) ∖  ) ∪ 
11: if recWinf ( − 1,  ∪ new ) = No then
12: return No
13: return Yes
14: end function
15: return recWinf (, ∅)
problem EPMaxSAT (, ) is the optimization problem of
maximizing the number of satisfied formulas in  over all
interpretations  ∈ Ω and determining all subsets of 
that are maximal with this property.
      </p>
      <p>Definition 4 (MCS (, )). Let  = {1, . . . , } ⊆ ℒ Σ
be a set of formulas called soft constraints, and let  =
{1, . . . , ℎ} ⊆ ℒ Σ be a set of formulas called hard
constraints. A maximal satisfiable subset (MSS) with respect to
(, ) is a set  ⊆  such that  ∪  is (classically)
consistent and for every  ′ ⊆  with  ⫋  ′ the set  ′ ∪ 
is not consistent. A set  ⊆  is a minimal correction subset
(MCS) with respect to (, ) if  ∖  is an MSS w.r.t. (, ).
Then, MCS (, ) denotes the set of all MCS w.r.t. (, ).</p>
      <p>For using the concepts of MSS and MCS in our context,
we rely in particular on the non-falsification of conditionals.
For a conditional (|), the formula  ∨  expressing its
non-f alsification is denoted by nf (|), and nf is extended
canonically to a set Δ of condtionals. Thus
nf (Δ) = { ∨  | (|) ∈ Δ}
nf (Δ) = { | (|) ∈ Δ}
are the sets of non-falsifying and falsifying formulas,
respectively, for the conditionals in Δ.</p>
      <p>Example 2. Let Δbird and OP (Δbird ) = (Δ0, Δ1) as
in Example 1. For  = nf (Δ1) and  = {} we get
MSS (nf (Δ1), {}) = MSS ({ ∨  ,  ∨ }, {}) =
{{ ∨  ,  ∨ }}, and thus MCS (nf (Δ1), {}) = {∅}.
For  = nf (Δ0) and  = nf (Δ1) ∪ {} we get</p>
      <p>MSS (nf (Δ0), nf (Δ1) ∪ {})
=MSS ({ ∨ ,  ∨ }, { ∨  ,  ∨ , })
={{ ∨ }}
and thus MCS (nf (Δ0), nf (Δ1) ∪ {}) = {{ ∨  }}.</p>
      <p>In addition to using the minima as in Proposition 1 for
computing |∼ wΔ, SWinf exploits the fact that the
underlying relation  &lt;wΔ ′ (cf. Equation (2)) can be
determined by iteratively considering the subbases in OP (Δ) =
(Δ0, . . . , Δ) starting from the the highest partition
element Δ. If   () ̸=   (′) we can decide whether
 &lt;wΔ ′ or  ̸&lt;wΔ ′ holds after considering   ; only in
case that  () =  (′) for all  ∈ {, . . . , } we continue
by considering the next lower element Δ− 1.</p>
      <p>Assume we have Δ with OP (Δ) = (Δ0, . . . , Δ). The
central part of SWinf is the recursive function recWinf
that takes the index for one of the sets in the Z-partition
and a set of formulas as arguments. It is initially called
for the last part Δ of the Z-partition. Each set in  =
MCS (nf (Δ), {}) corresponds to a maximal selection
of conditionals in Δ such that there is a model of 
not falsifying them, and thus to a selection of worlds that
falsify a minimal set of conditionals in Δ. Analogously,
this holds for ℱ = MCS (nf (Δ), {}) and . If there
is an  ∈ ℱ for which there is no  ′ ∈  with  ⊆  ′,
there is a world ′ ∈ Mod Σ() for which there is no
world  ∈ Mod Σ() with  () ⊆  (′). Thus, if the
condition in Line 5 holds, we have that  ̸|∼ wΔ . Otherwise,
we continue to consider the intersection  ∩ ℱ . Each set
 ∈  ∩ ℱ corresponds to a selection of conditionals that
is a minimal set of falsified conditionals in Δ both for
some models of  and . If there is no such  , then
all inclusions we considered in Line 5 are strict inclusions
and we have  |∼ wΔ . Otherwise, for each such  we
need to consider the parts of the Z-partition with lower
indices to check whether for each world ′ ∈ Mod Σ()
that falsifies the conditionals in  there is a world  ∈
Mod Σ() that falsifies the conditionals in  . To do this,
we add (nf Δ ∖  ) ∪  as hard constraints to fix the
falsification behaviour on Δ and call the function recWinf
recursively.</p>
      <p>Example 3. Executing SWinf(Δbird , , ) results in two
successive calls of recWinf involving the following values
and conditions, cf. Example 2:
recWinf ( = 1,  = ∅)
 = {∅}
ℱ = {∅}
(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) = true
 ∩ ℱ = {∅}
 = 1 &gt; 0
return Yes if recWinf (0, { ∨  ,  ∨ }) =
Yes
recWinf ( = 0,  = { ∨  ,  ∨ })
 = {{ ∨  }}
ℱ = {{ ∨ ,  ∨ }}
(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) = true
 ∩ ℱ = ∅ → return Yes
Thus, SWinf(Δbird , , ) returns Yes, and  |∼ wΔbird .</p>
      <p>When asking whether  can be inferred from  in the
context of Δbird with system W, SWinf(Δbird , , ) yields No:
recWinf ( = 1,  = ∅)
 = {∅}
ℱ = {∅}
(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) = true
 ∩ ℱ = {∅}
 = 1 &gt; 0
return Yes if recWinf (0, { ∨  ,  ∨ }) =
Yes
recWinf ( = 0,  = { ∨ ,  ∨ })
 = {{ ∨ ,  ∨ }}
ℱ = {{ ∨  }}
(∀ ′ ∈ ℱ ∃ ∈  .  ⊆
return No
 ′) = false →</p>
    </sec>
    <sec id="sec-6">
      <title>5. Correctness Proof for SWinf</title>
      <p>An important characteristic of the search space of the
algorithm SWinf is described by the falsification and
nonfalsification behaviour of the conditionals in Δ+1∪· · ·∪ Δ
for a given  ∈ {0, . . . , }. For formally characterizing this
behaviour we use the following notion.</p>
      <p>Definition 5 (nf/f -condition for (Δ, )). Let OP (Δ) =
(Δ0, . . . , Δ), and let  ∈ {0, . . . , }. A set of formulas 
is a non-falsifying/falsifying condition (nf/f -condition) for
(Δ, ) if there are, for  ∈ { +1, . . . , } sets Δn f , Δf ⊆ Δ
such that Δ = Δn f ∪ Δf and Δn f ∩ Δf = ∅, and
 =</p>
      <p>⋃︁
∈{+1,...,}</p>
      <p>nf (Δn f ) ∪ nf (Δf )</p>
      <p>Thus, an nf/f -condition  for (Δ, ) contains either the
non-falsifying formula  ∨  or the falsifying formula 
for every conditional (|) ∈ Δ+1∪. . .∪Δ; this way the
nf/f -condition  ensures that for any two worlds , ′ ∈
ΩΣ with  |=  and ′ |=  we have  () =  (′) for
all  ∈ { + 1, . . . , }.</p>
      <p>To prove the correctness of SWinf, we prove the
following three lemmas first. Lemma 1 describes the condition in
Line 5 of SWinf.</p>
      <p>Lemma 1. Let Δ be a consistent belief base with OP (Δ) =
(Δ0, . . . , Δ), let  ∈ {0, . . . , }, ,  ∈ ℒΣ, and  be
an nf/f -condition for (Δ, ). Let
 = MCS (nf (Δ ),  ∪ {}) and
ℱ = MCS (nf (Δ ),  ∪ {}).</p>
      <p>Then ¬(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) holds if there
is a world ′ ∈ Mod Σ( ∧ ) such that for all  ∈
Mod Σ( ∧ ) it holds that   () ̸⊆   (′).</p>
      <p>Proof. Direction ⇒: Assume ¬(∀ ′ ∈ ℱ ∃ ∈
 .  ⊆  ′); this is equivalent to ∃ ′ ∈ ℱ ∀ ∈  .  ̸⊆
 ′. Let  ′ ∈ ℱ be such a set with ∀ ∈  .  ̸⊆  ′.</p>
      <p>Let ′ ∈ Mod Σ( ∧ ) be a world that satisfies
nf (Δ) ∖  ′; such a world exists because nf (Δ) ∖  ′ is
consistent by the construction of MCS. Let  be any world
in Mod Σ( ∧ ). Let  ∈  such that  ⊆ nf (  ());
such an  exists because nf (  ()) is a (not necessarily
minimal) correction set. By assumption,  ̸⊆  ′.
Therefore, also nf (  ()) ̸⊆  ′. Because MCS yields minimal
correction sets, ′ falsifies all conditionals  ∈ Δ with
nf () ∈  ′, and ′ does not falsify the conditionals  ∈ Δ
with nf () ∈/  ′; in summary nf (  ()) =  ′. With
nf (  ()) ̸⊆  ′ we have   () ̸⊆   (′).</p>
      <p>Direction ⇐: We prove this direction by
contraposition. Assume that ∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′. Let ′ be
any world in Mod Σ( ∧ ); we need to show that there
is an  ∈ Mod Σ( ∧ ) such that   () ⊆   (′).</p>
      <p>Let  ′ ∈ ℱ such that  ′ ⊆ nf (  (′)); such an  ′
exists because nf (  (′)) is a (not necessarily minimal)
correction set. By assumption there is an  ∈  such that
because ′n.fL(eΔt )∈∖ MoidsΣc(onnfsi(sΔten)t ∖byt)h;esudcehfiniatiownorolfdMexCiSst.s
 ⊆
Because MCS yields minimal correction sets,  falsifies all
conditionals  ∈  Δ with nf () ∈  . Furthermore, ′
falsifies all conditionals  ∈ Δ with nf () ∈  ′.
Therefore,  ⊆  ′ implies   () ⊆   (′).</p>
      <p>Lemma 2 describes conditions on sets of falsified
conditionals that require a certain set  to be in  ∩ ℱ .
Lemma 2. Let Δ be a consistent belief base with OP (Δ) =
(Δ0, . . . , Δ), let  ∈ {0, . . . , }, ,  ∈ ℒΣ, and let 
be an nf/f -condition for (Δ, ). Let
 = MCS (nf (Δ ),  ∪ {}) and
ℱ = MCS (nf (Δ ),  ∪ {}).</p>
      <p>Let  ∈ Mod Σ( ∧ ) such that there is no
* ∈ Mod Σ( ∧ ) with   (* ) ⫋   (),
and let ′ ∈ Mod Σ( ∧ ) such that there is no
′* ∈ Mod Σ( ∧ ) with   (′* ) ⫋   (′). Then
  () =   (′) implies that there is an  ∈  ∩ ℱ with
, ′ |= nf (Δ ) ∖ .</p>
      <p>Proof. Assume that   () =   (′). Then  = nf (  ())
is a correction set with respect to (nf (Δ ),  ∪ {}),
because  is a model of all nf () with  ∈ Δ ∖   (). We
need to show that  is a minimal correction set. Towards a
contradiction assume that there is an  ∈ nf (  ()) such
that  = ( ∪ {}) ∪ nf (Δ ) ∖ nf (  ()) ∪ {} is
consistent. Let  be a model of . The world  does not
falsify any of the conditionals in Δ ∖   () because it is a
model of nf (Δ ) ∖ nf (  ()). There must be an  ∈   ()
such that nf () = . The world  also does not falsify
 because it is a model of . Therefore,   () ⫋   ().
This contradicts that there is no * ∈ Mod Σ( ∧) with
  (* ) ⫋   (); therefore  is indeed a minimal correction
set with respect to (nf (Δ ),  ∪ {}).</p>
      <p>Analogously we can show that  = nf (  (′)) =
nf (  (′)) is a minimal correction set with respect to
(nf (Δ ),  ∪ {}). In summary,  ∈  ∩ ℱ and
, ′ |= nf (Δ ) ∖ .</p>
      <p>Lemma 3 describes an efect of a set  ∈  ∩ ℱ on sets
of falsified conditionals.</p>
      <p>Lemma 3. Let Δ be a consistent belief base with OP (Δ) =
(Δ0, . . . , Δ), let  ∈ {0, . . . , }, ,  ∈ ℒΣ, and let 
be an nf/f -condition for (Δ, ). Let
 = MCS (nf (Δ ),  ∪ {}) and
ℱ = MCS (nf (Δ ),  ∪ {}).
Δ | nf () ∈ }.</p>
      <p>Then, for  ∈  ∩ ℱ and every  ∈ Mod Σ( ∧ ) with
′ |=|= nnff((ΔΔ))∖∖,,aintdhoelvdesrythat′  ∈ (M)od=Σ( (∧′)=){wit∈h
Proof. Let  = { ∈ Δ | nf () ∈ }. Because  |=
nf (Δ ) ∖ , we have that  falsifies no conditionals in Δ ∖
 , i.e.,   () ⊆  . Because  is a minimal correction
set in , there is no  ∈  that does is not falsified by :
if there were such an  then  ∖ {nf ()} would be an even
smaller correction set. Therefore,   () =  .</p>
      <p>Analogously we can show that   (′) =  .</p>
      <p>Now we can use Lemma 1, Lemma 2, and Lemma 3 to
show Proposition 2 on the output of the recursive algorithm
recWinf .</p>
      <p>Proposition 2. Let Δ be consistent with OP (Δ) =
(Δ0, . . . , Δ), let  ∈ {0, . . . , }, ,  ∈ ℒΣ, and let
 be an nf/f -condition for (Δ, ). Then recWinf (, )
returns “Yes” if
for every ′ ∈ Mod Σ( ∧ )
there is an  ∈ Mod Σ( ∧ ) with  &lt;wΔ ′.
(5)
Proof. We prove this by induction over . Let
We show that (6) is equivalent to (5) by showing both
directions of this equivalence.</p>
      <p>Direction ⇒: Assume (6) holds. Let ′ be any
world in Mod Σ( ∧ ). Because  is an nf/f -condition
for (Δ, 0), every model of  falsifies the same conditionals
in Δ1, . . . , Δ. Therefore, we need to show that there is a
world  ∈ Mod Σ( ∧ ) with  0() ⫋  0(′).</p>
      <p>W.l.o.g. assume that there is no ′* with  0(′* ) ⫋
 0(′). With Lemma 1 and the first part of (6) we have
that there is an  ∈ Mod Σ( ∧ ) with  0() ⊆  0(′).
W.l.o.g. assume that there is no * with  0(* ) ⫋  0().
Towards a contradiction, assume that  0() =  0(′).
With Lemma 2 we have that there is an  ∈  ∩ ℱ which
contradicts (6). Therefore,  0() ⫋  0(′).</p>
      <p>Direction ⇐: Assume that (5) holds. Because  is
an nf/f -condition for (Δ, 0), every model of  falsifies the
same conditionals in Δ1, . . . , Δ. Therefore, with Lemma 1
it follows that the part left of the and in (6) holds.</p>
      <p>It is left to show  ∩ ℱ = ∅. Towards a contradiction
assume that  ∩ ℱ ̸= ∅, i.e., there is an  ∈  ∩ ℱ . Because
 is a correction set of ℱ , there is an ′ ∈ Mod Σ( ∧ )
with ′ |= nf (Δ0) ∖ . By (5) there is an  ∈ Mod Σ( ∧
) with  &lt;wΔ ′. Because  &lt;wΔ ′ and  is an nf/f
condition for (Δ, 0) we have  0() ⊆  0(′) and therefore
 |= nf (Δ0) ∖ . W.l.o.g. assume that there is no * ∈
Mod Σ( ∧ ) with * |= nf (Δ0) ∖  and  0(* ) ⫋
 0(). By Lemma 3 we have  0() =  0(′). This implies
 () =  (′) and contradicts  &lt;wΔ ′. Therefore,  ∩
ℱ = ∅ and (6) holds.</p>
      <p>Induction Step: Let  &gt; 0 and assume the
proposition holds for ′ =  − 1. We show that recWinf (, )
returns “Yes” if (5) holds by showing both directions of this
equivalence.</p>
      <p>Direction ⇒: Assume that recWinf (, ) returns
“Yes”; therefore the algorithm reaches Line 13 at some point.
It is left to show that (5) holds. Let ′ be any world in
Mod Σ( ∧ ). W.l.o.g. assume that there is no ′* with
  (′* ) ⫋   (′).</p>
      <p>The algorithm passes Lines 5 and 6 without returning
“No”. Therefore, there is a world  ∈ Mod Σ( ∧ ) such
that   () ⊆   (′). W.l.o.g. assume that there is no *
with   (* ) ⊊   (). We can distinguish two cases.</p>
      <p>Case 1:   () ⫋   (′).</p>
      <p>Because  is an nf/f -condition for (Δ, ), all models of
, including  and ′, falsify the same conditionals in
Δ+1, . . . , Δ. Therefore,  &lt;wΔ ′.</p>
      <p>Case 2:   () =   (′).</p>
      <p>By Lemma 2 there is an  ∈  ∩ℱ with , ′ |= nf (Δ )∖.
Because  is a minimal correction set in both  and ℱ , we
have , ′ |= . Because the algorithm passes Lines 7–12
without returning “No”, for new ← (nf (Δ ) ∖ ) ∪  the
function call recWinf ( − 1,  ∪ new ) returns “Yes”. By
construction,  ∪ new is an nf/f -condition for (Δ,  − 1).
tFhuerrteheisrmanore, |=  ∧. Using the induction hypothesis,
∈ Mod Σ( ∧ ) with  &lt;wΔ ′.</p>
      <p>In summary, (5) holds.</p>
      <p>Direction ⇐: Assume that (5) holds. We need to
show that recWinf (, ) returns “Yes”. With Lemma 1 and
because  is an nf/f -condition for (Δ, ), we have that
¬(∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′) does not hold; therefore
the algorithm passes Lines 5 and 6 without returning “No”.</p>
      <p>It is left to show that the algorithm passes Lines 7–12
without returning “No”. Let  be any set in  ∩ ℱ . By
construction, new is an nf/f -condition for (Δ,  − 1). Let
′ be any world in Mod Σ( ∧ new ∧ ). Because ′ |=
new we have  |= nf (Δ ) ∖ . Because of (5), there
is a world  ∈ Mod Σ( ∧ ) with  &lt;wΔ ′. Using
∀ ′ ∈ ℱ ∃ ∈  .  ⊆  ′ again, we know that  () ⊆
 (′) = { ∈ Δ | nf () ∈ } (the last equation holding
due to Lemma 3); therefore  |= nf (Δ )∖. Using Lemma 3
again, we have   () = { ∈ Δ | nf () ∈ } and
therefore  |= new . Hence, for every ′ ∈ Mod Σ( ∧
new ∧ ) there is an  ∈ Mod Σ( ∧ new ∧ ) with
 &lt;wΔ ′. Employing the induction hypothesis, we have
that recWinf ( − 1,  ∪ new ) returns “Yes”.</p>
      <p>Thus, algorithm passes Lines 7–12 without returning
“No”, and then returns “Yes” in Line 13.</p>
      <p>Now it is straightforward to show the correctness of
SWinfwith Proposition 2.</p>
      <p>Theorem 1. Given a consistent belief base Δ and ,  ∈
ℒΣ, the call SWinf(Δ, , ) always terminates, and it
returns “Yes” if  |∼ wΔ .</p>
      <p>Proof. SWinf(Δ, , ) terminates because , ℱ and thus
also  ∩ ℱ are always finite sets, and for every recursive
call the index  is decreased by one. SWinf(Δ, , )
returns “Yes” if recWinf (, ∅) returns “Yes”. Because ∅ is
an nf/f -condition for (Δ, ), according to Proposition 2,
this happens if for every  ∈ Mod Σ(∅ ∧ ) there is an
′ ∈ Mod Σ(∅ ∧ ) with  &lt;wΔ ′, which is equivalent
to  |∼ wΔ .</p>
    </sec>
    <sec id="sec-7">
      <title>6. Algorithm SZinf for System Z</title>
      <p>
        Pearl’s system Z [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] is a well-known inductive inference
operator that was shown to coincide with rational closure
[
        <xref ref-type="bibr" rid="ref26 ref27">26, 27</xref>
        ]
Definition 6 (System Z [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]). Let Δ be consistent with
OP (Δ) = (Δ0, . . . , Δ). The ranking function  Δ is
deifned as follows: If  ∈ ΩΣ does not falsify any conditional
in Δ, then let  Δ() := 0. Otherwise, let Δ be the last part
in OP (Δ) that contains a conditional falsified by , and let
 Δ() :=  + 1. System Z maps Δ to the inference relation
|∼ Δ induced by  Δ according to (1).
      </p>
      <p>
        For any consistent Δ, the function  Δ is the unique least
ranking model of Δ [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ].
      </p>
      <p>Example 4. For the belief base Δbird from
Example 1 we have OP (Δbird ) = (Δbird 0, Δbird 1) with
Δbird 0 = {1, 4} and Δbird 1 = {2, 3}. The

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 Δbird ()
Z-ranking function induced by Δbird is displayed in
Table 1. We have  Δbird () = 0 and  Δbird () = 2,
and thus  |∼  . Analogously, we can check that
 Δbird () =  ΔΔbibridrd () = 1, yielding  ̸|∼ Δbird .</p>
      <p>
        Note that this also illustrate that system Z, in contrast to,
e.g., system W, sufers from the drowning problem [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
because the birds property of having wings is drowned for
penguins because penguins are exceptional birds with respect to
the property flying.
      </p>
      <p>Implementations of system Z have to cope with the
exponentially growing number of worlds for larger signatures.
Based on the approach of SWinf we design a similar
algorithm SZinf (Algorithm 2) for system Z.</p>
      <p>One of the main diferences between system W and
system Z is that, while &lt;wΔ compares the sets of conditionals
falsified by each world,  Δ only takes into account the latest
 for which any conditional in Δ is falsified by each world.
This simplifies the algorithm SZinf compared to SWinf in
two ways.</p>
      <p>First, instead of finding a minimal set of falsified
conditionals in Δ with MCS (nf (Δ ),  ∪ {˙}), it is
sufifcient to check if there is a world  with  |= ˙ that
falsifies no conditionals in Δ for each ˙ ∈ {, }. This
does not even require solving a Partial MaxSAT problem;
instead we just have to check two sets of formulas for their
satisfiability.</p>
      <p>Second, because there are no diferent minimal sets of
falsified conditionals to choose from, we do not need an
argument  of the recursive function to keep track of the
(non-)falsified conditionals in the previously considered
parts of OP (Δ). Instead, we straightforwardly check the
= nf (Δ)∪{˙}.
satisfiability of ⋃︀</p>
      <p>For determining whether  entails , SZinf(Δ, , )
considers the parts in OP (Δ) beginning with the latest
Δ. The main part of SZinf is a recursive function
recZinf () whose argument is the index of the part
of OP (Δ) that is considered next. For each Δ , the
algorithm determines   = SAT(⋃︀= nf (Δ)∪{})
and</p>
      <p>= SAT(⋃︀= nf (Δ)∪{}). Note that for
 &lt; , recZinf () is only called if  +1 =  (cf. Line
7), implying that  Δ() &lt;  + 2. If  = UNSAT, then
 Δ() ⩾  + 1 and thus  Δ() ̸&lt;  Δ(), implying
 ̸|∼ Δ . If  = SAT and  = UNSAT, then we can
conclude that  Δ() &lt;  + 1 and  Δ() ⩾  + 1
and thus  Δ() &lt;  Δ(), implying  |∼ Δ . If
 = SAT and  = SAT, we continue by recursively calling
recZinf ( − 1) to check the parts of OP (Δ) with a lower
index. Line 14 contains the initial call to recZinf and
the handling of the border case that the antecedent is an
inconsistent formula.</p>
      <p>Note that the function recZinf in SZinf can be easily
rewritten to use a loop instead of recursion, but we decided
to present it with recursive calls to point out the similarity
to SWinf.</p>
      <p>Example 5. Executing SZinf(Δbird , , ) yields two
succesive calls of recZinf involving as values and conditions:
recZinf ( = 1),
 ← SAT ,
 ̸= UNSAT ,
 ← SAT ,
 = SAT ,
 ̸= 0,
return No if recZinf (0) = No
recZinf ( = 0),
 ← UNSAT ,
 = UNSAT</p>
      <p>⇒ return No</p>
      <p>Thus, SZinf(Δbird , , ) returns No, and  |̸∼ zΔbird .</p>
    </sec>
    <sec id="sec-8">
      <title>7. Correctness Proof for SZinf</title>
      <p>For proving the correctness of SZinf, we first show the
following lemma connecting the satisfiablility of

 = ⋃︁ nf (Δ)∪{}</p>
      <p>=
to the rank of a formula .</p>
      <p>Lemma 4. Let Δ be a consistent belief base with OP (Δ) =
(Δ0, . . . , Δ), let  ∈ {0, . . . , }, and let  ∈ ℒΣ.
1. If  is consistent, then  Δ() &lt;  + 1.
2. If  is not consistent, then  Δ() ⩾  + 1.</p>
      <p>Proof. Ad (1.): Assume that  is consistent. Then there
is a world  with  |= ⋃︀</p>
      <p>= nf (Δ) and  |= . Because
 |= ⋃︀</p>
      <p>= nf (Δ), the world  does not falsify any
conditional in ⋃︀</p>
      <p>= Δ, and thus  Δ() &lt;  + 1. Because
 |=  and  Δ() = min{ Δ() |  |= }, this implies
 Δ() &lt;  + 1.</p>
      <p>Ad (2.): Assume that  is not consistent. Then every
world  with  |=  falsifies at least one conditional in
⋃︀
= Δ. Therefore,  Δ() ⩾  + 1.</p>
      <p>Now we can prove the correctness of recZinf .</p>
      <p>Proposition 3. Let Δ be a consistent belief base with
OP (Δ) =ℒΣ( Δ.0,If. ..,Δ+1)a, nldet +∈1 are consistent, then
{0, . . . , }, and let
,  ∈ 
recZinf () returns “Yes” if  Δ() &lt;  Δ().
Proof. We prove this by induction over .</p>
      <p>Base Case ( = 0): By assumption +1 and +1
are consistent, and thus, by Lemma 4 we have  Δ() &lt;
 + 2 = 2 and  Δ() &lt;  + 2 = 2, implying that
 Δ(),  Δ() ∈ {0, 1}.</p>
      <p>If  is consistent and 
 is inconsistent, then by
Lemma 4 we have  Δ() = 0 and  Δ() = 1 and thus
 Δ() &lt;  Δ(). In this case the checks in Lines 4 and
7 fail and recZinf returns “Yes”.</p>
      <p>In all other cases we have  Δ() ̸&lt;  Δ() and
recZinf returns “No” because one of the checks in Lines 4
and 7 succeeds.</p>
      <p>In both cases the proposition holds.</p>
      <p>Induction Step: Let  &gt; 0 and assume the
proposition holds for ′ =  − 1. By assumption +1 and +1 are
consistent, and thus, by Lemma 4 we have  Δ() &lt;  + 2
and  Δ() &lt;  + 2. We can distinguish several cases</p>
      <p>Case 1:  is inconsistent
By Lemma 4 we have  Δ() ⩾  + 1 implying that
 Δ() ̸&lt;  Δ(). Also, the check in Line 4 succeeds
and recZinf returns “No”. The proposition holds.</p>
      <p>Case 2:  is consistent and  is inconsistent
By Lemma 4 we have  Δ() &lt; +1 and  Δ() ⩾ +1
implying that  Δ() &lt;  Δ(). The checks in Line 4
and 7 fail and recZinf returns “Yes”. The proposition holds.</p>
      <p>Case 3:  is consistent and  is consistent
In this case the function recZinf is called recursively for  −
1. The preconditions for applying this proposition for ′ =
− 1 are satisfied, and therefore, by the induction hypothesis,
recZinf () returns “Yes” if  Δ() &lt;  Δ(). The
proposition holds.</p>
      <p>Using Proposition 3, we can now show the correctness of
SZinf.</p>
      <p>Theorem 2. Given a consistent belief base Δ and ,  ∈
ℒΣ, the call SZinf(Δ, , ) always terminates, and it
returns “Yes” if  |∼ Δ .</p>
      <p>Proof. For Δ≡⊥, ,thSuWs itnhfe( Δth,eor,em) hreotludrsnisn“tYheiss”c(acsfe..LFinoer
14) and  |∼
the remainder of the proof assume that  ̸≡ ⊥ .</p>
      <p>SWinf(Δ, , ) terminates because for every recursive
call of recZinf the index  is decreased by one, and the
algorithm terminates at latest for  = 0. For  = , the sets
+1 and +1 are empty and are thus trivially consistent.</p>
      <p>By Proposition 3, the call SWinf(Δ, , ) returns “Yes” if
 Δ() &lt;  Δ(), which is equivalent to  |∼ Δ .</p>
    </sec>
    <sec id="sec-9">
      <title>8. Implementation and Evaluation</title>
    </sec>
    <sec id="sec-10">
      <title>Results</title>
      <p>
        We implemented SWinf and SZinf in Python and using the
SMT solver Z3 [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] accessed through the pySMT API [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ].
      </p>
      <p>
        In the implementation of SWinf, we used the optimizing
features of the Z3 SMT Solver to find Pareto fronts [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ]
(which, in our case, is equivalent to finding the sets of all
MSS and thus allows deriving the set of all MCS).
      </p>
      <p>
        For checking the correctness of our implementations, we
verified that the output of the implementations of SWinf
and SZinf match the output of earlier implementations of
system W [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and of system Z [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ]. For all queries with
respect to all belief bases small enough to be processed by
these older implementations without running into a timeout,
the diferent implementations of system W and system Z,
respectively, yielded exactly the same result.
      </p>
      <p>
        For evaluating the implementations of SWinf and SZinf,
belief bases and queries were constructed by a
randomized scheme taking a signature Σ as input; a detailed
description of this scheme and algorithms realizing it are
given in [
        <xref ref-type="bibr" rid="ref32">32</xref>
        ]. Only consistent belief bases build during
this process were used for benchmarking because system W
as given in Definition 3 and system Z as given in
Definition 6 are defined only for consistent belief bases; reasoning
with system W with respect to belief bases that are only
weakly consistent [
        <xref ref-type="bibr" rid="ref33 ref34">33, 34</xref>
        ] has been introduced only very
recently [
        <xref ref-type="bibr" rid="ref24 ref33">33, 24</xref>
        ]. In the evaluation, belief bases with signature
sizes |Σ| ranging from 6 to 120 and number of conditionals
|Δ| ranging from 6 to 200 were considered. For diferent
(|Σ|, |Δ|)-combinations, in summary, 2 800 belief bases and
28 000 queries were created; the belief bases and queries
obtained thereby are available at the CLKR repository [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ]
at https://www.fernuni-hagen.de/wbs/clkr/ as problem set
CLKR-PS004.
      </p>
      <p>
        We benchmarked our (Partial Max-)SAT based Python
implementations of SWinf and SZinf against existing
Javabased approaches for inference according to system-W (WJ)
and system-Z (ZJ) that both consider all possible worlds
explicitly [
        <xref ref-type="bibr" rid="ref16 ref31">16, 31</xref>
        ]. No other previous system
implementations of system W exist, and to the best of our knowledge all
other existing implementations of system Z, e.g., [
        <xref ref-type="bibr" rid="ref36 ref37 ref38">36, 37, 38</xref>
        ],
cannot handle belief bases over signature size of 50 or more.
      </p>
      <p>Performance was assessed on a machine with an Intel
i73770 CPU and 32GB RAM under Arch Linux (Linux kernel
6) and Python 3.11 (single threaded). Each implementation
was tested on the full set of randomly generated belief bases
and queries described above. The run times presented in
Table 2 are averaged over 1,000 queries across 100 belief
bases for every combination of (|Σ|, |Δ|). Time is presented
in ms, timeout was set to 5 minutes.</p>
      <p>The evaluation results in Table 2 show that only for the
very smallest (|Σ|, |Δ|)-combinations with | | = 6 and</p>
      <p>Σ
|Δ| = 6 the Java-based implementations WJ and ZJ of
system W and system Z, respectively, are faster than our
implementations of SWinf and SZinf. Furthermore, for every
(|Σ|, |Δ|) combination with |Σ| ⩾ 18 both WJ and ZJ ran
into a timeout in our evaluation scenario, while SWinf and
SZinf successfully cope with all (|Σ|, |Δ|) combinations
up to |Σ| = 120 and |Δ| = 200. It is interesting to note
that SZinfconsistently performs faster than SWinf in our
evaluation only by a factor of up to 2 across all (|Σ|, |Δ|)
combinations. In summary, this comparative evaluation
showcases SWinf’s and SZinf’s superior scalability and
ef|Σ|
|Δ|
WJ
16 18 20 30 40 50 60 80 100 120 60 80 120 160 60 100 160 200 60 80 120 160 200
19 204 4967 248323 to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to. to.
ifciency, particularly in handling queries on larger belief
bases within reasonable time frames.</p>
    </sec>
    <sec id="sec-11">
      <title>9. Conclusions and Future Work</title>
      <p>In this paper, we presented SAT and Partial MaxSAT based
approaches for implementing nonmonotonic reasoning with
system Z and system W. We presented the corresponding
algorithms SZinf and SWinf and gave formal correctness
proofs for them. The Python-based implementations of
SZinf and SWinf use the power of current SAT and Partial
MaxSAT solvers and scale up reasoning both with system Z
and system W to a new dimension, easily coping with belief
bases over 120 variables and containing up to 200
conditionals. This advancement also puts larger practical applications
into reach for the first time.</p>
      <p>
        Our current and future work includes extending the
presented work in multiple ways. For instance, while the
evaluation presented in Section 8 focuses on runtime, we will
further evaluate SZinf and SWinf by taking also the
memory consumption into account. We will also analyse the
complexity of the algorithms. While previous practical
applications were limited by small belief base sizes, we will
address larger and more realistic scenarios in the medical
and bio-medical domain as they have already been modelled
with conditional logic [
        <xref ref-type="bibr" rid="ref39">39</xref>
        ], using the new opportunities
opened up by the enriched power of our new
implementations of nonmonotonic inference.
      </p>
      <p>Acknowledgments
This work was supported by the Deutsche
Forschungsgemeinschaft (DFG, German Research Foundation)
512363537, grant BE 1700/12-1 awarded to Christoph
Beierle.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>E.</given-names>
            <surname>Adams</surname>
          </string-name>
          , The Logic of Conditionals, D. Reidel, Dordrecht,
          <year>1975</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Nute</surname>
          </string-name>
          , Topics in Conditional Logic, D. Reidel Publishing Company, Dordrecht, Holland,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>W.</given-names>
            <surname>Spohn</surname>
          </string-name>
          ,
          <article-title>Ordinal conditional functions: a dynamic theory of epistemic states</article-title>
          , in: W. Harper,
          <string-name>
            <surname>B.</surname>
          </string-name>
          Skyrms (Eds.),
          <article-title>Causation in Decision, Belief Change</article-title>
          , and Statistics,
          <string-name>
            <surname>II</surname>
          </string-name>
          , Kluwer Academic Publishers,
          <year>1988</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>134</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kraus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Magidor</surname>
          </string-name>
          ,
          <article-title>Nonmonotonic reasoning, preferential models and cumulative logics</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>44</volume>
          (
          <year>1990</year>
          )
          <fpage>167</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Dubois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          ,
          <article-title>Conditional objects as nonmonotonic consequence relationships, Special Issue on Conditional Event Algebra</article-title>
          ,
          <source>IEEE Transactions on Systems, Man and Cybernetics</source>
          <volume>24</volume>
          (
          <year>1994</year>
          )
          <fpage>1724</fpage>
          -
          <lpage>1740</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>S.</given-names>
            <surname>Benferhat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dubois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          ,
          <article-title>Nonmonotonic reasoning, conditional objects and possibility theory</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>92</volume>
          (
          <year>1997</year>
          )
          <fpage>259</fpage>
          -
          <lpage>276</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          ,
          <article-title>Conditionals in nonmonotonic reasoning and belief revision</article-title>
          , volume
          <volume>2087</volume>
          <source>of LNAI</source>
          , Springer,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Eichhorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kutsch</surname>
          </string-name>
          ,
          <article-title>Properties and interrelationships of skeptical, weakly skeptical, and credulous inference induced by classes of minimal models</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>297</volume>
          (
          <year>2021</year>
          )
          <article-title>103489</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.artint.
          <year>2021</year>
          .
          <volume>103489</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldszmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pearl</surname>
          </string-name>
          ,
          <article-title>Qualitative probabilities for default reasoning, belief revision, and causal modeling</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>84</volume>
          (
          <year>1996</year>
          )
          <fpage>57</fpage>
          -
          <lpage>112</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>C.</given-names>
            <surname>Komo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Nonmonotonic reasoning from conditional knowledge bases with system W, Ann</article-title>
          . Math. Artif. Intell.
          <volume>90</volume>
          (
          <year>2022</year>
          )
          <fpage>107</fpage>
          -
          <lpage>144</lpage>
          . doi:
          <volume>10</volume>
          .1007/ s10472-021-09777-9.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Magidor</surname>
          </string-name>
          ,
          <article-title>What does a conditional knowledge base entail?</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>55</volume>
          (
          <year>1992</year>
          )
          <fpage>1</fpage>
          -
          <lpage>60</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S.</given-names>
            <surname>Benferhat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Cayrol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dubois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          ,
          <article-title>Inconsistency Management and Prioritized SyntaxBased Entailment</article-title>
          ,
          <source>in: Proc. IJCAI'93</source>
          , volume
          <volume>1</volume>
          , Morgan Kaufmann Publishers, San Francisco, CA, USA,
          <year>1993</year>
          , pp.
          <fpage>640</fpage>
          -
          <lpage>647</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          , G. Brewka,
          <article-title>Syntax splitting = relevance + independence: New postulates for nonmonotonic reasoning from conditional belief bases</article-title>
          , in: D.
          <string-name>
            <surname>Calvanese</surname>
          </string-name>
          , E. Erdem, M. Thielscher (Eds.),
          <source>Principles of Knowledge Representation and Reasoning: Proceedings of the 17th International Conference, KR</source>
          <year>2020</year>
          , IJCAI Organization,
          <year>2020</year>
          , pp.
          <fpage>560</fpage>
          -
          <lpage>571</lpage>
          . doi:
          <volume>10</volume>
          .24963/kr.2020/56.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Inference with system W satisfies syntax splitting</article-title>
          , in: G.
          <string-name>
            <surname>Kern-Isberner</surname>
          </string-name>
          , G. Lakemeyer, T. Meyer (Eds.),
          <source>Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning</source>
          , KR 2022, Haifa,
          <source>Israel. July 31 - August 5</source>
          ,
          <year>2022</year>
          ,
          <year>2022</year>
          , pp.
          <fpage>405</fpage>
          -
          <lpage>409</lpage>
          . doi:
          <volume>10</volume>
          .24963/kr.2022/41.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>J.</given-names>
            <surname>Heyninck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          , T. Meyer,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Conditional syntax splitting for non-monotonic inference operators</article-title>
          , in: B.
          <string-name>
            <surname>Williams</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Chen</surname>
          </string-name>
          , J. Neville (Eds.),
          <source>Proceedings of the 37th AAAI Conference on Artificial Intelligence</source>
          , volume
          <volume>37</volume>
          ,
          <year>2023</year>
          , pp.
          <fpage>6416</fpage>
          -
          <lpage>6424</lpage>
          . doi:
          <volume>10</volume>
          .1609/aaai.v37i5.
          <fpage>25789</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kollar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sauerwald</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Schwarzer</surname>
          </string-name>
          ,
          <article-title>An implementation of nonmonotonic reasoning with system W</article-title>
          , in: R.
          <string-name>
            <surname>Bergmann</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Malburg</surname>
            ,
            <given-names>S. C.</given-names>
          </string-name>
          <string-name>
            <surname>Rodermund</surname>
            ,
            <given-names>I. J</given-names>
          </string-name>
          .
          <string-name>
            <surname>Timm</surname>
          </string-name>
          (Eds.),
          <source>KI 2022: Advances in Articfiial Intelligence - 45th German Conference on AI</source>
          , Trier, Germany,
          <source>September 19-23</source>
          ,
          <year>2022</year>
          , Proceedings, volume
          <volume>13404</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -15791-
          <issue>2</issue>
          _
          <fpage>1</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Spang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <surname>A Partial</surname>
          </string-name>
          <article-title>MaxSAT approach to nonmonotonic reasoning with system W</article-title>
          ,
          <source>in: Proceedings of the 37th International Florida Artificial Intelligence Research Society Conference</source>
          ,
          <year>2024</year>
          . doi:
          <volume>10</volume>
          .32473/FLAIRS.37.1.135330.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>B. de Finetti</surname>
          </string-name>
          ,
          <article-title>La prévision, ses lois logiques et ses sources subjectives</article-title>
          ,
          <source>Ann. Inst. H. Poincaré</source>
          <volume>7</volume>
          (
          <year>1937</year>
          )
          <fpage>1</fpage>
          -
          <lpage>68</lpage>
          . Engl. transl. Theory of Probability, J. Wiley &amp; Sons,
          <year>1974</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>C.</given-names>
            <surname>Komo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Nonmonotonic inferences with qualitative conditionals based on preferred structures on worlds</article-title>
          , in: U.
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Klügl</surname>
          </string-name>
          , D. Wolter (Eds.),
          <source>KI 2020: Advances in Artificial Intelligence - 43rd German Conference on AI</source>
          , Bamberg, Germany,
          <source>September 21-25</source>
          ,
          <year>2020</year>
          , Proceedings, volume
          <volume>12325</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>102</fpage>
          -
          <lpage>115</lpage>
          . doi:
          <volume>10</volume>
          .1007/ 978-3-
          <fpage>030</fpage>
          -58285-
          <issue>2</issue>
          _
          <fpage>8</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>J.</given-names>
            <surname>Pearl</surname>
          </string-name>
          , System
          <string-name>
            <surname>Z</surname>
          </string-name>
          :
          <article-title>A natural ordering of defaults with tractable applications to nonmonotonic reasoning</article-title>
          ,
          <source>in: Proc. of the 3rd Conf. on Theoretical Aspects of Reasoning About Knowledge (TARK</source>
          '
          <year>1990</year>
          ), Morgan Kaufmann Publ. Inc., San Francisco, CA, USA,
          <year>1990</year>
          , pp.
          <fpage>121</fpage>
          -
          <lpage>135</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Eichhorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          ,
          <article-title>Skeptical inference based on c-representations and its characterization as a constraint satisfaction problem</article-title>
          , in: M.
          <string-name>
            <surname>Gyssens</surname>
          </string-name>
          , G. Simari (Eds.),
          <source>Foundations of Information and Knowledge Systems - 9th International Symposium, FoIKS</source>
          <year>2016</year>
          , Linz, Austria, March 7-
          <issue>11</issue>
          ,
          <year>2016</year>
          . Proceedings, volume
          <volume>9616</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2016</year>
          , pp.
          <fpage>65</fpage>
          -
          <lpage>82</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -30024-
          <issue>5</issue>
          _
          <fpage>4</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Properties of system W and its relationships to other inductive inference operators</article-title>
          , in: I. Varzinczak (Ed.),
          <source>Foundations of Information and Knowledge Systems - 12th International Symposium, FoIKS</source>
          <year>2022</year>
          , Helsinki, Finland, June 20-23,
          <year>2022</year>
          , Proceedings, volume
          <volume>13388</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>206</fpage>
          -
          <lpage>225</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -11321-5_
          <fpage>12</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Characterizing multipreference closure with system W</article-title>
          , in: F. D. de Saint-Cyr,
          <string-name>
            <given-names>M.</given-names>
            <surname>Öztürk-Escofier</surname>
          </string-name>
          , N. Potyka (Eds.),
          <source>Scalable Uncertainty Management - 15th International Conference, SUM 2022</source>
          , Paris, France,
          <source>October 17-19</source>
          ,
          <year>2022</year>
          , Proceedings, volume
          <volume>13562</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>79</fpage>
          -
          <lpage>91</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -18843-
          <issue>5</issue>
          _
          <fpage>6</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Approximations of system W for inference from strongly and weakly consistent belief bases</article-title>
          ,
          <source>Int. J. Approx. Reason</source>
          .
          <volume>175</volume>
          (
          <year>2024</year>
          )
          <article-title>109295</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.ijar.
          <year>2024</year>
          .
          <volume>109295</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>J.</given-names>
            <surname>Larrosa</surname>
          </string-name>
          , E. Rollon,
          <article-title>Towards a better understanding of (partial weighted) MaxSAT proof systems</article-title>
          , in: L.
          <string-name>
            <surname>Pulina</surname>
          </string-name>
          , M. Seidl (Eds.),
          <source>Theory and Applications of Satisfiability Testing - SAT 2020 - 23rd International Conference, Alghero, Italy, July</source>
          <volume>3</volume>
          -
          <issue>10</issue>
          ,
          <year>2020</year>
          , Proceedings, volume
          <volume>12178</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>218</fpage>
          -
          <lpage>232</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>030</fpage>
          -51825-7_
          <fpage>16</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lehmann</surname>
          </string-name>
          ,
          <article-title>What does a conditional knowledge base entail?</article-title>
          , in: R. J.
          <string-name>
            <surname>Brachman</surname>
            ,
            <given-names>H. J.</given-names>
          </string-name>
          <string-name>
            <surname>Levesque</surname>
          </string-name>
          , R. Reiter (Eds.),
          <source>Proceedings of the 1st International Conference on Principles of Knowledge Representation and Reasoning (KR'89)</source>
          . Toronto, Canada, May
          <volume>15</volume>
          -18
          <year>1989</year>
          , Morgan Kaufmann,
          <year>1989</year>
          , pp.
          <fpage>212</fpage>
          -
          <lpage>222</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>M.</given-names>
            <surname>Goldszmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pearl</surname>
          </string-name>
          ,
          <article-title>On the relation between rational closure and system-z</article-title>
          ,
          <source>in: Proceedings of the Third International Workshop on Nonmonotonic Reasoning</source>
          , May 31 - June 3,
          <year>1990</year>
          , pp.
          <fpage>130</fpage>
          -
          <lpage>140</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>N.</given-names>
            <surname>Bjørner</surname>
          </string-name>
          , L. de Moura, L. Nachmanson,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Wintersteiger</surname>
          </string-name>
          ,
          <string-name>
            <surname>Programming</surname>
            <given-names>Z3</given-names>
          </string-name>
          ,
          <source>Engineering Trustworthy Software Systems: 4th International School, SETSS</source>
          <year>2018</year>
          , Chongqing, China, April 7-
          <issue>12</issue>
          ,
          <year>2018</year>
          , Tutorial Lectures 4 (
          <year>2019</year>
          )
          <fpage>148</fpage>
          -
          <lpage>201</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gario</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Micheli</surname>
          </string-name>
          ,
          <article-title>Pysmt: a solver-agnostic library for fast prototyping of smt- based algorithms</article-title>
          ,
          <source>in: SMT Workshop</source>
          <year>2015</year>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>N. S.</given-names>
            <surname>Bjørner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Phan</surname>
          </string-name>
          , L. Fleckenstein,
          <article-title>z - an optimizing SMT solver</article-title>
          , in: C.
          <string-name>
            <surname>Baier</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          Tinelli (Eds.),
          <article-title>Tools and Algorithms for the Construction and Analysis of Systems -</article-title>
          21st International Conference, TACAS 2015,
          <article-title>Held as Part of the European Joint Conferences on Theory and Practice of Software</article-title>
          ,
          <source>ETAPS</source>
          <year>2015</year>
          , London, UK, April
          <volume>11</volume>
          -
          <issue>18</issue>
          ,
          <year>2015</year>
          . Proceedings, volume
          <volume>9035</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2015</year>
          , pp.
          <fpage>194</fpage>
          -
          <lpage>199</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>662</fpage>
          -46681-0_
          <fpage>14</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kutsch</surname>
          </string-name>
          , C. Beierle,
          <string-name>
            <surname>InfOCF-Web</surname>
          </string-name>
          :
          <article-title>An online tool for nonmonotonic reasoning with conditionals and ranking functions</article-title>
          , in: Z.
          <string-name>
            <surname>Zhou</surname>
          </string-name>
          (Ed.),
          <source>Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI</source>
          <year>2021</year>
          ,
          <article-title>ijcai</article-title>
          .org,
          <year>2021</year>
          , pp.
          <fpage>4996</fpage>
          -
          <lpage>4999</lpage>
          . doi:
          <volume>10</volume>
          .24963/ijcai.
          <year>2021</year>
          /711.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <surname>M. von Berg</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Sanin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>An implementation of nonmonotonic reasoning with c-representations using an SMT solver</article-title>
          ,
          <source>Int. J. Approx. Reason</source>
          .
          <volume>175</volume>
          (
          <year>2024</year>
          )
          <article-title>109285</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.ijar.
          <year>2024</year>
          .
          <volume>109285</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Kern-Isberner</surname>
          </string-name>
          , T. Meyer, Conditionals, infeasible worlds,
          <article-title>and reasoning with system W, The</article-title>
          <source>International FLAIRS Conference Proceedings</source>
          <volume>36</volume>
          (
          <year>2023</year>
          ). doi:
          <volume>10</volume>
          .32473/flairs.36. 133268.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>J. P.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          , T. Meyer, G.
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Rational closure extension in spo representable inductive inference operators</article-title>
          , in: S. Gaggl,
          <string-name>
            <given-names>M. V.</given-names>
            <surname>Martinez</surname>
          </string-name>
          , M. Ortiz (Eds.),
          <source>Logics in Artificial Intelligence 18th European Conference, JELIA</source>
          <year>2023</year>
          , Dresden, Germany,
          <source>September 20-22</source>
          ,
          <year>2023</year>
          , Proceedings, volume
          <volume>12678</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>561</fpage>
          -
          <lpage>576</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -43619-2_
          <fpage>38</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          , L. Schwarzer, CLKR - Conditional
          <source>Logic and Knowledge Representation</source>
          , KI - Künstliche
          <string-name>
            <surname>Intelligenz</surname>
          </string-name>
          (
          <year>2024</year>
          ). URL: https://doi.org/10. 1007/s13218-024-00842-z.
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>M.</given-names>
            <surname>Thimm</surname>
          </string-name>
          ,
          <article-title>Tweety: A comprehensive collection of java libraries for logical aspects of artificial intelligence and knowledge representation</article-title>
          , in: C. Baral,
          <string-name>
            <given-names>G. D.</given-names>
            <surname>Giacomo</surname>
          </string-name>
          , T. Eiter (Eds.),
          <source>Principles of Knowledge Representation and Reasoning: Proceedings of the Fourteenth International Conference, KR 2014</source>
          , Vienna, Austria,
          <source>July 20-24</source>
          ,
          <year>2014</year>
          , AAAI Press,
          <year>2014</year>
          , pp.
          <fpage>528</fpage>
          -
          <lpage>537</lpage>
          . URL: http://www.aaai.org/ocs/index.php/KR/ KR14/paper/view/7811.
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Eichhorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kutsch</surname>
          </string-name>
          ,
          <article-title>A practical comparison of qualitative inferences with preferred ranking models</article-title>
          ,
          <source>KI - Künstliche Intelligenz</source>
          <volume>31</volume>
          (
          <year>2017</year>
          )
          <fpage>41</fpage>
          -
          <lpage>52</lpage>
          . doi:
          <volume>10</volume>
          .1007/s13218-016-0453-9.
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>A.</given-names>
            <surname>Labecki</surname>
          </string-name>
          ,
          <source>System Z default reasoning solver</source>
          ,
          <year>2017</year>
          . URL: https://github.com/alabecki/System-
          <string-name>
            <surname>Z</surname>
          </string-name>
          ,
          <source>(accessed on 19/07</source>
          (2924).
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>J.</given-names>
            <surname>Haldimann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Osiak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Beierle</surname>
          </string-name>
          ,
          <article-title>Modelling and reasoning in biomedical applications with qualitative conditional logic</article-title>
          , in: U.
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Klügl</surname>
          </string-name>
          , D. Wolter (Eds.),
          <source>KI 2020: Advances in Artificial Intelligence - 43rd German Conference on AI</source>
          , volume
          <volume>12325</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>283</fpage>
          -
          <lpage>289</lpage>
          . doi:
          <volume>10</volume>
          .1007/ 978-3-
          <fpage>030</fpage>
          -58285-2_
          <fpage>24</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>