Hostname: page-component-cd9895bd7-dzt6s Total loading time: 0 Render date: 2024-12-25T05:43:01.730Z Has data issue: false hasContentIssue false

On Nested Justification Systems

Published online by Cambridge University Press:  11 July 2022

SIMON MARYNISSEN
Affiliation:
KU Leuven, Leuven, Belgium, Vrije Universiteit Brussel, Brussels, Belgium (e-mail: [email protected])
JESSE HEYNINCK
Affiliation:
Vrije Universiteit Brussel, Brussels, Belgium, University of Cape Town and CAIR, Cape Town, South Africa, Open Universiteit Heerlen, Heerlen, Netherlands (e-mail: [email protected])
BART BOGAERTS
Affiliation:
Vrije Universiteit Brussel, Brussels, Belgium (e-mail: [email protected])
MARC DENECKER
Affiliation:
KU Leuven, Leuven, Belgium (e-mail: [email protected])
Rights & Permissions [Opens in a new window]

Abstract

Justification theory is a general framework for the definition of semantics of rule-based languages that has a high explanatory potential. Nested justification systems, first introduced by Denecker et al., allow for the composition of justification systems. This notion of nesting thus enables the modular definition of semantics of rule-based languages, and increases the representational capacities of justification theory. As we show in this paper, the original characterization of semantics for nested justification systems leads to the loss of information relevant for explanations. In view of this problem, we provide an alternative characterization of their semantics and show that it is equivalent to the original one. Furthermore, we show how nested justification systems allow representing fixpoint definitions.

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press

1 Introduction

Justification theory (Denecker et al. Reference Denecker, Brewka and Strass2015) is a general framework for the definition of semantics of rule-based languages that allows to design languages with high explanatory potential, as the justification-based semantics give an immediate explanation of the truth-value of a fact. In more detail, a justification is a tree of facts, where children of a given node occur in the body of a rule with this parent node as head. So-called branch evaluations specify how to evaluate justifications.

Justification theory is not just useful for defining new logics, but also for unifying existing ones: it captures many different KR-languages, including logic programming and abstract argumentation, and their various semantics. By establishing a precise correspondence between semantics of different logics, justification theory sheds light on the common semantic mechanisms underlying these different logics.

Denecker et al. (Reference Denecker, Brewka and Strass2015) also introduced nested justification systems, which allow justification systems to be composed by nesting them. Essentially, a nested justification system can be seen as a tree of justification systems, where the subsystems provide sub-definitions for their parent systems. Such nested systems have several benefits. Firstly, they allow for the modular definition of (the semantics of) rule-based languages. For instance, the problem of defining a suitable semantics for logic programs with aggregates is notoriously difficult (witnessed, e.g. by the lack of consensus on semantics for logic programs with aggregates Pelov et al. Reference Pelov, Denecker and Bruynooghe2007; Faber et al. Reference Faber, Pfeifer and Leone2011; Gelfond and Zhang Reference Gelfond and Zhang2019; Alviano et al. Reference Alviano, Faber and Gebser2021; Vanbesien et al. Reference Vanbesien, Bruynooghe and Denecker2021). Nested justifications allow to separate distinct concerns in logic programs with aggregates: on the one hand, we can define what is a justification for an aggregate expression and when it is “acceptable” (branch evaluation for aggregate expressions). On the other hand, we can define a branch evaluation (e.g. stable or well-founded) for rules. By nesting the justification system for aggregate expressions inside the justification system for programmes, we then obtain a semantics for logic programs with aggregates without any additional effort required. Thus, the modular semantics of nested justification systems allow for the definition of complex KR-languages using a “divide and conquer”-methodology. Secondly, as different branch evaluations can be used in different sub-systems, nested justification systems allow for the well-behaved combination of different semantics. This can be useful when modelling the combination of knowledge from different agents that use a different semantics to interpret their respective knowledge bases. Finally, nested justification systems allow to capture a richer class of logics than non-nested systems (e.g. fixpoint definitions, as we will show in this paper), and nesting thus increases the unifying power of justification theory.

Denecker et al. (Reference Denecker, Brewka and Strass2015) defined the semantics of nested justification systems by means of an operation called compression, which turns an entire justification of the subsystem into a set of facts to be pasted into the supersystem. However, properties of this characterisation of their semantics were never studied. Furthermore, as we argue in this paper, the compression-based characterisation of these semantics lead to the loss of explanatory potential, as information essential for explanations, such as the original rules, is lost. Therefore, in this work, we give an alternative characterisation of the semantics of nested justification systems in terms of a so-called merging operator. Merging retains the original rules in the evaluation of a nested justification system, and therefore brings the explanatory potential of justification theory to nested systems.

The contributions of this paper are as follows. (1) An expanded exposition and semantic study of nested justification systems and the compression-based characterisation of their semantics. (2) The introduction of the merging-based characterisation of their semantics. (3) A proof of equivalence between compression and merging. (4) An application of nested justification systems to the representation of fixpoint definitions (Hou et al. Reference Hou, De Cat and Denecker2010).

The merging-based characterisation brings the explanatory potential of standard justification theory to nested justification systems. This is promising not just for nested fixpoint definitions, which we study in the current paper, but also for other applications of nesting, such as the modular definition of new language constructs. Furthermore, due to the general nature of justification theory, as well as of our characterisations and results, our results also apply to any future branch evaluations.

Outline of the paper: The rest of this paper is structured as follows: necessary preliminaries on justification theory are given in Section 2. In Section 3, nested justification systems are defined. The first characterisation of semantics for nested justification systems, compression-based characterisation, is recalled and studied in Section 4. In Section 5, the merging-based characterisation is introduced. These two characterisations are shown equivalent in Section 6. Nested justification systems are shown to capture fixpoint definitions in Section 7. The paper is concluded in view of related work in Section 8.

2 Preliminaries

We use the formalization of justification theory of Marynissen et al. (Reference Marynissen, Bogaerts and Denecker2020). We first give and explain all necessary definitions, and afterwards illustrate them with an example.

In the rest of this paper, let ${\mathcal{F}}$ be a set, referred to as a fact space, such that ${\mathcal{L}} = {\left\lbrace \mathbf{t}, \mathbf{f}, \mathbf{u} \right\rbrace} \subseteq {\mathcal{F}}$ , where $\mathbf{t}$ , $\mathbf{f}$ and $\mathbf{u}$ have the respective meaning true, false, and unknown. The elements of ${\mathcal{F}}$ are called facts. The set ${\mathcal{L}}$ behaves as the three-valued logic with truth order $\mathbf{f} {\leq_t} \mathbf{u} {\leq_t} \mathbf{t}$ . We assume that ${\mathcal{F}}$ is equipped with an involution ${\mathord{\sim}}: {\mathcal{F}} \rightarrow {\mathcal{F}}$ (i.e. a bijection that is its own inverse) such that ${\mathord{\sim}} \mathbf{t}=\mathbf{f}$ , ${\mathord{\sim}} \mathbf{u}=\mathbf{u}$ , and ${\mathord{\sim}} x \neq x$ for all $x \neq \mathbf{u}$ . For any fact x, ${\mathord{\sim}} x$ is called the complement of x. An example of a fact space is the set of literals over a propositional vocabulary $\Sigma$ extended with ${\mathcal{L}}$ where ${\mathord{\sim}}$ maps a literal to its negation. For any set A we define ${\mathord{\sim}} A$ to be the set of elements of the form ${\mathord{\sim}} a$ for $a \in A$ . We distinguish two types of facts: defined and open facts. The former is accompanied by a set of rules that determine their truth value. The truth value of the latter is not governed by the rule system but comes from an external source or is fixed (as is the case for logical facts), and only occur in bodies of rules.

Definition 2.1 A justification frame ${\mathcal{J}\kern-0.2em\mathcal{F}}$ is a tuple ${\left\langle {\mathcal{F}}, {\mathcal{F}}_d, {R}\right\rangle}$ such that

  • ${\mathcal{F}}d$ is a subset of ${\mathcal{F}}\setminus{\mathcal{L}}$ closed under ${\mathord{\sim}}$ , that is, ${\mathord{\sim}} {\mathcal{F}}d = {\mathcal{F}}d$ ; facts in ${\mathcal{F}}d$ are called defined; Footnote 1

  • ${R} \subseteq {\mathcal{F}}d \times 2^{\mathcal{F}}$ ;

  • for each $x \in {\mathcal{F}}d$ , $(x, \emptyset) \notin R$ and there is an element $(x, A) \in R$ for $\emptyset \neq A \subseteq {\mathcal{F}}$ .

The set of open facts is denoted as ${\mathcal{F}}o:={\mathcal{F}}\setminus{\mathcal{F}}d$ . An element $(x, A) \in {R}$ is called a rule with head x and body (or case) A. The set of cases of x in ${\mathcal{J}\kern-0.2em\mathcal{F}}$ is denoted as ${\mathcal{J}\kern-0.2em\mathcal{F}}(x)$ . Rules $(x, A) \in {R}$ are denoted as $x \gets A$ and if $A={\left\lbrace y_1, \ldots, y_n \right\rbrace}$ , we often write $x \gets y_1, \ldots, y_n$ .

In justification theory, defined facts are evaluated by constructing justifications for them. Justifications are directed graphs, where the set truth of the (labels of the) children of a node forms a reason (or argument, or cause, depending on the context) for the truth of the (label of the) node itself. Such reasons are not necessarily convincing: for example if they are based on a parameter that is not true, or might lead to cyclic argumentation. Therefore, branches in justification trees are evaluated using branch evaluations.

Definition 2.2 Let ${\mathcal{J}\kern-0.2em\mathcal{F}}={\left\langle {\mathcal{F}}, {\mathcal{F}}_d, {R}\right\rangle}$ be a justification frame. A justification J in ${\mathcal{J}\kern-0.2em\mathcal{F}}$ is a (possibly infinite) directed labelled graph $(N, {\mathcal{F}}d, {E}, \ell)$ , where N are the nodes, E the vertices, and $\ell:N\to {\mathcal{F}}d$ is a labelling function, such that (1) the underlying undirected graph is a forest, that is, is acyclic; and (2) for every internal node $n \in N$ it holds that $\ell(n) \gets \{\ell(m) \mid (n,m) \in {E}\} \in {R}$ .

We write ${\mathfrak{J}}(x)$ for the set of justifications that have a node labelled x. A justification is locally complete if it has no leaves with label in ${\mathcal{F}}d$ . We call $x \in {\mathcal{F}}d$ a root of a justification J if there is a node n labelled x such that every node is reachable from n in J.

Remark 2.3 In some works, justifications are formalized as graphs and the justifications as defined here are then called tree-like justifications (Marynissen et al. 2020). Since we restrict attention to the latter, we shall just use the term justification.

Definition 2.4 Let ${\mathcal{J}\kern-0.2em\mathcal{F}}$ be a justification frame. A ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -branch is either an infinite sequence in ${\mathcal{F}}d$ or a finite non-empty sequence in ${\mathcal{F}}d$ followed by an element in ${\mathcal{F}}o$ . For a justification J in ${\mathcal{J}\kern-0.2em\mathcal{F}}$ , a J-branch starting in $x \in {\mathcal{F}}d$ is a path in J starting in x that is either infinite or ends in a leaf of J. We write ${B}_J(x)$ to denote the set of J-branches starting in x.

Not all J-branches are ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -branches since they can end in nodes with a defined fact as label. However, if J is locally complete, any J-branch is also a ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -branch.

We denote a branch ${\mathbf{b}}$ as ${\mathbf{b}}:x_0 \rightarrow x_1 \rightarrow \cdots$ and define ${\mathord{\sim}} {\mathbf{b}}$ as ${\mathord{\sim}} x_0 \rightarrow {\mathord{\sim}} x_1 \rightarrow \cdots$ .

Definition 2.5 A branch evaluation ${\mathcal{B}}$ is a mapping that maps any ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -branch to an element in ${\mathcal{F}}$ for all justification frames ${\mathcal{J}\kern-0.2em\mathcal{F}}$ . A justification frame ${\mathcal{J}\kern-0.2em\mathcal{F}}$ together with a branch evaluation ${\mathcal{B}}$ form a justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , which is presented as a quadruple ${\left\langle {\mathcal{F}}, {\mathcal{F}}d, {R}, {\mathcal{B}}\right\rangle}$ .

A branch evaluation is parametric if every branch is mapped to an open fact. A justification system ${\left\langle {\mathcal{F}}, {\mathcal{F}}d, {R}, {\mathcal{B}}\right\rangle}$ is parametric if ${\mathcal{B}}$ is parametric.

The supported (completion) branch evaluation ${{\mathcal{B}}_{\mathrm{sp}}}$ maps $x_0 \rightarrow x_1 \rightarrow \cdots$ to $x_1$ . The Kripke-Kleene branch evaluation ${{\mathcal{B}}_{\mathrm{KK}}}$ maps finite branches to their last element and infinite branches to $\mathbf{u}$ . Let ${\mathcal{J}\kern-0.2em\mathcal{F}}$ be a justification frame. A sign function on ${\mathcal{J}\kern-0.2em\mathcal{F}}$ is a map $\mathrm{sgn}: {\mathcal{F}}d \rightarrow {\left\lbrace {-}, {+} \right\rbrace}$ such that $\mathrm{sgn}(x) \neq \mathrm{sgn}({\mathord{\sim}} x)$ for all $x \in {\mathcal{F}}d$ . We denote ${\mathcal{F}}n:= \mathrm{sgn}^{-1}({\left\lbrace {-} \right\rbrace})$ and ${\mathcal{F}}p:= \mathrm{sgn}^{-1}({\left\lbrace {+} \right\rbrace})$ . From now on, we fix a sign function on ${\mathcal{J}\kern-0.2em\mathcal{F}}$ . We say that an infinite branch has a positive (respectively negative) tail if from some point onwards all elements are in ${\mathcal{F}}p$ (respectively ${\mathcal{F}}n$ ). The well-founded branch evaluation ${{\mathcal{B}}_{\mathrm{wf}}}$ maps finite branches to their last element. It maps infinite branches to $\mathbf{t}$ if they have a negative tail, to $\mathbf{f}$ if they have a positive tail and to $\mathbf{u}$ otherwise. The co-well-founded branch evaluation ${{\mathcal{B}}_{\mathrm{cwf}}}$ maps finite branches to their last element, infinite branches with a positive tail to $\mathbf{t}$ , infinite branches with a negative tail to $\mathbf{f}$ , and all other infinite branches to $\mathbf{u}$ . The stable (answer set) branch evaluation ${{\mathcal{B}}_{\mathrm{st}}}$ maps a branch $x_0 \rightarrow x_1 \rightarrow \cdots$ to the first element with a different sign than $x_0$ if it exists; otherwise ${\mathbf{b}}$ is mapped to ${{\mathcal{B}}_{\mathrm{wf}}}({\mathbf{b}})$ .

The final ingredient of the semantics of justification systems are interpretations, which are abstractions of possible states of affairs, formalized as an assignment of a truth value to each fact. A (three-valued) interpretation of ${\mathcal{F}}$ is a function ${\mathcal{I}}:{\mathcal{F}} \rightarrow {\mathcal{L}}$ such that ${\mathcal{I}}({\mathord{\sim}} x) = {\mathord{\sim}} {\mathcal{I}}(x)$ and ${\mathcal{I}}(l) = l$ for all $l \in {\mathcal{L}}$ . The set of interpretations of ${\mathcal{F}}$ is denoted by $\mathfrak{I}_{\mathcal{F}}$ . We will call an interpretation two-valued if ${\mathcal{I}}(x)\neq\mathbf{u}$ for all $x\neq\mathbf{u}$ . Given an interpretation ${\mathcal{I}}$ and a justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , we can now evaluate the quality of justifications: the value assigned to a justification will be the least (in the truth order) value of its branches. The rationale behind this definition is that for a justification to be “good”, all of the arguments it contains should be good as well. On top of this definition, we will define a notion of supported value of a fact, which is the value of its best justification. Indeed, in general we will not be interested in the existence of bad arguments why a fact holds, but only in the existence of its best arguments.

Let ${\mathcal{J}\kern-0.2em\mathcal{S}}={\left\langle {\mathcal{F}}, {\mathcal{F}}d, {R}, {\mathcal{B}}\right\rangle}$ be a justification system, ${\mathcal{I}}$ an interpretation of ${\mathcal{F}}$ , and J a locally complete justification in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . Let $x \in {\mathcal{F}}d$ be a label of a node in J. The value of $x \in {\mathcal{F}}d$ by J under I is defined as $\mathrm{val}(J, x, {\mathcal{I}}) = \min_{{\mathbf{b}} \in {B}_J(x)} {\mathcal{I}}({\mathcal{B}}({\mathbf{b}}))$ , where the minimum is taken with respect to ${\leq_t}$ . The supported value of $x \in {\mathcal{F}}$ in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ under ${\mathcal{I}}$ is defined as

\begin{equation*} \mathrm{SV}(x, {\mathcal{I}}) = \max_{J \in {\mathfrak{J}}(x)} \mathrm{val}(J,x,{\mathcal{I}})\text{ for $x \in {\mathcal{F}}d$ \qquad $\mathrm{SV}(x, {\mathcal{I}})={\mathcal{I}}(x)$ for $x \in {\mathcal{F}}o$. } \end{equation*}

Definition 2.6 Let ${\mathcal{J}\kern-0.2em\mathcal{S}}={\left\langle {\mathcal{F}}, {\mathcal{F}}d, {R}, {\mathcal{B}}\right\rangle}$ be a justification system. An ${\mathcal{F}}$ -interpretation ${\mathcal{I}}$ is a ${\mathcal{J}\kern-0.2em\mathcal{S}}$ -model if for all $x \in {\mathcal{F}}d$ , $\mathrm{SV}_{{\mathcal{J}\kern-0.2em\mathcal{S}}}(x, {\mathcal{I}}) = {\mathcal{I}}(x)$ . If ${\mathcal{J}\kern-0.2em\mathcal{S}}$ consists of ${\mathcal{J}\kern-0.2em\mathcal{F}}$ and ${\mathcal{B}}$ , then a ${\mathcal{J}\kern-0.2em\mathcal{S}}$ -model can be referred to as a ${\mathcal{B}}$ -model of ${\mathcal{J}\kern-0.2em\mathcal{F}}$ .

Definition 2.7 Two justification systems ${\mathcal{J}\kern-0.2em\mathcal{S}}_1$ and ${\mathcal{J}\kern-0.2em\mathcal{S}}_2$ are equivalent if $\mathrm{SV}\!\!_{{\mathcal{J}\kern-0.2em\mathcal{S}}_1}=\mathrm{SV}\!\!_{{\mathcal{J}\kern-0.2em\mathcal{S}}_2}$ .

Example 2.8 Consider the justification system ${\left\langle {\mathcal{F}}, {\mathcal{F}}_d, {R}\right\rangle}$ with ${\mathcal{F}}d={\left\lbrace p,{\mathord{\sim}} p,q,{\mathord{\sim}} q \right\rbrace}$ , ${\mathcal{F}}={\mathcal{F}}d\cup\{r,{\mathord{\sim}} r\}\cup{\cal L}$ and ${R}=\{p\gets {\mathord{\sim}} q,r; q\gets q; {\mathord{\sim}} p\gets q;{\mathord{\sim}} p\gets {\mathord{\sim}} r; {\mathord{\sim}} q\gets {\mathord{\sim}} q\}$ .

We have the following ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -branches (we denote branches compactly in a graph-like fashion, that is a loop like ${\mathbf{b}}_3$ denotes the infinite branch $q\rightarrow q\rightarrow \ldots$ ):

These branches are evaluated as follows:

Let ${\cal I}$ be the interpretation with ${\cal I}(r)={\cal I}(p)={\cal I}({\mathord{\sim}} q)=\mathbf{t}$ , J the justification for p made up of ${\mathbf{b}}_1$ and ${\mathbf{b}}_2$ , and ${\mathcal{J}\kern-0.2em\mathcal{F}}=\langle {\mathcal{F}},{\mathcal{F}}d,{R},{{\mathcal{B}}_{\mathrm{wf}}}\rangle$ . We see that, for example, $\mathrm{val}(J, p, {\mathcal{I}}) = \min_{{\mathbf{b}} \in {B}_J(p)} {\mathcal{I}}({{\mathcal{B}}_{\mathrm{wf}}}({\mathbf{b}}))=\mathbf{t}$ , and thus that $\mathrm{SV}(p, {\mathcal{I}})= {\mathcal{I}}(p)$ . In fact, it can be verified that this holds for every literal, that is, ${\mathcal{I}}$ is a ${\mathcal{J}\kern-0.2em\mathcal{F}}$ -model. In ${\mathcal{I}}$ (still, under the well-founded semantics), J serves as an explanation as to why p is true: because ${\mathord{\sim}} q$ and r are true. Simultaneously, J also explains why the facts r and ${\mathord{\sim}} q$ are true. In the case of r, this is simply because it is an open fact (with value true). For ${\mathord{\sim}} q$ , this explanation looks self-supporting: the reason why ${\mathord{\sim}} q$ holds is because ${\mathord{\sim}} q$ holds. For negative facts, stable and well-founded semantics accept such cyclic branches: the reason is that this cycle actually represents the fact that the positive fact (q) can only be justified by cyclic justifications, and well-founded and stable semantics reject cyclic justifications for positive facts.

3 Nested justification systems

As outlined in the introduction, nested justifications, originally introduced by Denecker et al. (Reference Denecker, Brewka and Strass2015), allow for the modular definition of semantics, the representation of richer classes of logics and the combination of different semantics in different modules. In this section, we introduce nested justification systems formally.

A nested justification system is essentially a tree structure of justification systems, meaning, that some systems are local to certain others, that is some facts occurring as an open fact in one component system are defined in another component system.

Definition 3.1 Let ${\mathcal{F}}$ be a fact space. A nested justification system on ${\mathcal{F}}$ is a tuple $\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k \right\rbrace}\rangle$ such that:

  1. 1. $\langle {\mathcal{F}}, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}} \rangle$ is a justification system;

  2. 2. for each i, ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ is a nested justification system $\langle {\mathcal{F}}^i, {\mathcal{F}}d^i, {{\mathcal{F}}^{i}_{dl}}, {R}^i, {\mathcal{B}}^i, \ldots\rangle$ ;

  3. 3. ${\mathcal{F}}d$ is partitioned into ${\left\lbrace {{{\mathcal{F}}_{dl}}}, {\mathcal{F}}d^1, \ldots, {\mathcal{F}}d^k \right\rbrace}$ ;

  4. 4. ${\mathcal{F}} = \cup_{i = 1}^k {\mathcal{F}}^k$ ;

  5. 5. ${\mathcal{F}}o^i \subseteq {\mathcal{F}}o \cup {{{\mathcal{F}}_{dl}}}$ (where ${\mathcal{F}}o^{i} = {\mathcal{F}}^{i} \setminus {\mathcal{F}}d^{i}$ as usual)

A nested justification system is called parametric if ${\mathcal{B}}$ is parametric and all of its subsystems are parametric. We call a nested justification system compressible if for each i, ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ is parametric.

Given ${\mathcal{J}\kern-0.2em\mathcal{S}}=\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {{\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k} \right\rbrace}$ , we call (for $i=1,\ldots,k$ ) ${\mathcal{J}\kern-0.2em\mathcal{S}}$ the parent system of ${\mathcal{J}\kern-0.2em\mathcal{S}}_i$ and ${\mathcal{J}\kern-0.2em\mathcal{S}}_i$ a child system of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . Ancestor and descendant systems are defined analogously by transitively closing the parent, respectively, child relation. This defines a tree of nested justification systems, where the leaves have ${{{\mathcal{F}}_{dl}}} = {\mathcal{F}}d$ and $k=0$ , and thus correspond directly to an unnested justification system.

The factspace ${\mathcal{F}}$ consists of all the facts used in (some component system of) ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . The facts in ${{{\mathcal{F}}_{dl}}}$ are those that are defined locally in the justification system, that is, in the rules R. The facts in ${\mathcal{F}}d$ are those that are either defined locally, or in some component system of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . Every defined fact is either defined locally in the top system ( ${{{\mathcal{F}}_{dl}}}$ ), or in one of the subsystems ( ${\mathcal{F}}d^i$ ). Each child system ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ can use as opens only the opens of the root and the facts defined locally in the root. This has the consequence that facts defined in ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ do not appear as opens in ${\mathcal{J}\kern-0.2em\mathcal{S}}^j$ if $i \neq j$ .

Lemma 3.2 Let ${\mathcal{J}\kern-0.2em\mathcal{S}}=\left\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k \right\rbrace} \right\rangle$ be a nested justification system. If $i \neq j$ , then ${\mathcal{F}}d^i \cap {\mathcal{F}}^j = \emptyset$ .

Example 3.3 Let ${\mathcal{J}\kern-0.2em\mathcal{S}}= \left\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k \right\rbrace} \right\rangle$ be a nested system with ${\mathcal{F}} = {\left\lbrace p,q,r,{\mathord{\sim}} p,{\mathord{\sim}} q,{\mathord{\sim}} r \right\rbrace}\cup {\cal L}$ , ${{{\mathcal{F}}_{dl}}} = {\left\lbrace r, {\mathord{\sim}} r \right\rbrace}$ , ${\mathcal{B}}={{\mathcal{B}}_{\mathrm{KK}}}$ , and

\begin{equation*}{R}=\left\{r\leftarrow p,q; \sim r \leftarrow \sim p; \sim r\leftarrow \sim q\right\}.\end{equation*}

The inner system ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ is equal to the unnested system with ${{\mathcal{F}}^{1}_{dl}} = {\left\lbrace p,{\mathord{\sim}} p,q,{\mathord{\sim}} q \right\rbrace}$ , ${\mathcal{B}}^1 = {{\mathcal{B}}_{\mathrm{wf}}}$ , and

\begin{equation*}{R}^1= \left\{\begin{array}{l}\begin{matrix}p\gets {\mathord{\sim}} q,r ;& {\mathord{\sim}} p\gets q;& {\mathord{\sim}} p \gets {\mathord{\sim}} r;&q\gets q;& {\mathord{\sim}} q\gets {\mathord{\sim}} q\end{matrix}\end{array}\right\}.\end{equation*}

We summarize this nested justification system graphically as follows:

\begin{equation*}{{\mathcal{B}}_{\mathrm{KK}}}: \left\{\begin{array}{l}\begin{matrix}r\gets p,q; &{\mathord{\sim}} r\gets {\mathord{\sim}} p;& {\mathord{\sim}} r\gets {\mathord{\sim}} q\\\end{matrix}\\[8pt]{{\mathcal{B}}_{\mathrm{wf}}}\left\{\begin{array}{l}\begin{matrix}p\gets {\mathord{\sim}} q,r ;& {\mathord{\sim}} p\gets q;& {\mathord{\sim}} p \gets {\mathord{\sim}} r;&q\gets q;& {\mathord{\sim}} q\gets {\mathord{\sim}} q\end{matrix} \end{array}\right\}.\end{array}\right\} \end{equation*}

This example also illustrates how different branch evaluations (e.g. ${{\mathcal{B}}_{\mathrm{KK}}}$ and ${{\mathcal{B}}_{\mathrm{cwf}}}$ ) can be combined in nested justification systems.

One notoriously difficult problem is the integration of aggregates in non-monotonic semantics of logic programming (Pelov et al. Reference Pelov, Denecker and Bruynooghe2007; Faber et al. Reference Faber, Pfeifer and Leone2011; Gelfond and Zhang Reference Gelfond and Zhang2019; Alviano et al. Reference Alviano, Faber and Gebser2021; Vanbesien et al. Reference Vanbesien, Bruynooghe and Denecker2021). While we do not develop the full theory here, we conjecture that nested justification systems can shed light on the relations between different semantics. As a first step towards this goal, we will show on a single example how different semantics for aggregates can be obtained by plugging in a different nested system defining the aggregate atoms in question. The outer system will always simply be evaluated under the stable semantics.

Example 3.4 We consider a representation of an aggregate ${\tt atLeastTwo}$ expressing that at least two atoms among p, q and s are true.

\begin{equation*}\small{\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{FLP}} ={{\mathcal{B}}_{\mathrm{st}}} :\left\{\begin{array}{l}\begin{matrix}p\gets\mathbf{t};& q\gets\mathbf{t};& s\gets p,{\tt atLeastTwo};\end{matrix} \\[8pt]{{\mathcal{B}}_{\mathrm{KK}}}:\left\{\begin{array}{l}\begin{matrix}{\tt atLeastTwo}\gets p,q;&{\tt atLeastTwo}\gets s,q;&{\tt atLeastTwo}\gets p,s\end{matrix}\end{array}\right\}\end{array}\right\}\end{equation*}
\begin{equation*}\small{\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{GZ}} ={{\mathcal{B}}_{\mathrm{st}}} :\left\{\begin{array}{l}\begin{matrix}p\gets\mathbf{t};& q \gets\mathbf{t};& s\gets p,{\tt atLeastTwo};\end{matrix} \\[8pt]{{\mathcal{B}}_{\mathrm{KK}}}:\left\{\begin{array}{l}\begin{matrix}{\tt atLeastTwo}\gets p,q,{\mathord{\sim}} s;&{\tt atLeastTwo}\gets s,q,{\mathord{\sim}} p;\\{\tt atLeastTwo}\gets p,s,{\mathord{\sim}} q;&{\tt atLeastTwo}\gets p,q,s\end{matrix}\end{array}\right\}\end{array}\right\}\end{equation*}

For brevity and for emphasizing the relation with logic programming, we have here only written down the rules for positive facts. The rules for negative facts can be obtained automatically by means of a technique called complementation; more details can be found in Appendix A of the full version of this article (Marynissen et al. Reference Marynissen, Heyninck, Bogaerts and Denecker2022). These systems differ only in their inner justification system, that is, in which justifications for the atom ${\tt atLeastTwo}$ they accept. The inner system is evaluated here (in both cases) under Kripke-Kleene semantics; however, since it is a non-recursive system, all major branch evaluations we discussed coincide. These two justification systems are inspired by the logic program

\begin{equation*}p.\qquad q. \qquad s\leftarrow p,\ \#\{p, q, s\}\geq 2. \end{equation*}

which has one (two-valued) stable model, namely $\{p,q,s\}$ , according to the FLP semantics (Faber et al. Reference Faber, Pfeifer and Leone2011) but no (two-valued) stable models according to the GZ semantics (Gelfond and Zhang Reference Gelfond and Zhang2019). We will show later that this is indeed what the semantics for nested justifications for the first respectively the second system.

In the following two sections, two different characterisations of the semantics for nested justification systems are given. In a nutshell, these characterisations both describe how to convert a nested justification system in a non-nested justification system. The first characterisation, called the compression-based characterisation, keeps the branch evaluation of the top system, but manipulates the rules to “squeeze in” all information about subsystems (their branch evaluation as well as their rules), while the second, merging-based characterisation, keeps the rules of the original system intact, but creates a new branch evaluation based on all branch evaluations present in the system.

4 Compression-based characterisation of semantics for nested systems

The semantics for nested justification systems was originally introduced by Denecker et al. (Reference Denecker, Brewka and Strass2015). The basic idea is to compress a nested justification system in a regular justification system, starting from the leaves of the nesting tree and iteratively moving up. In a compressible nested system, the branch evaluations of subsystems are parametric and hence we know (by Proposition 3 of Marynissen et al. Reference Marynissen, Bogaerts and Denecker2021) that, if the interpretation of the open facts is fixed, there is a unique model in which the value of a fact depends solely on the values of the opens. Therefore, the model can be represented by a set of rules for which the body contains only open facts. This representation is formed by transforming each justification into a single rule, by an operation called flattening.

Definition 4.1 Let ${\mathcal{J}\kern-0.2em\mathcal{S}} = {\left\langle {\mathcal{F}}, {\mathcal{F}}d, {R}, {\mathcal{B}}\right\rangle}$ be a justification system. The flattening ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}})$ is the justification system $\langle {\mathcal{F}}, {\mathcal{F}}d, {R}^f, {\mathcal{B}} \rangle$ , where

\begin{equation*} {R}^f = {{\left\lbrace {x \gets A} \; \middle| \; x \in {\mathcal{F}}d, J \in {\mathfrak{J}}_x, A = {{\left\lbrace {{\mathcal{B}}({\mathbf{b}})} \; \middle| \; {{\mathbf{b}} \in {B}_J(x)} \right\rbrace}} \right\rbrace}}. \end{equation*}

Intuitively, ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}})$ is obtained by constructing a rule $x\gets A$ for every justification J for x, where A is obtained by simply taking the facts to which the branches in J starting in x are mapped by the branch evaluation ${\mathcal{B}}$ .

Example 4.2 (Example 3.3 ctd.) In view of Example 2.8, the flattening of the inner justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ has the following rules:

\begin{equation*}({R}^1)^f=\left\{\begin{array}{l}\begin{matrix}p\gets \mathbf{t},r;& {\mathord{\sim}} p\gets \mathbf{f};& {\mathord{\sim}} p \gets {\mathord{\sim}} r;&q\gets \mathbf{f};& {\mathord{\sim}} q\gets \mathbf{t}\end{matrix}\end{array}\right\}\end{equation*}

In more detail, $p\gets \mathbf{t},r$ is obtained from the justification made up of ${\mathbf{b}}_1$ and ${\mathbf{b}}_2$ , and the fact that ${{\mathcal{B}}_{\mathrm{KK}}}({\mathbf{b}}_1)=\mathbf{t}$ and ${{\mathcal{B}}_{\mathrm{KK}}}({\mathbf{b}}_2)=r$ .

This is called flattening because every locally complete justification is reduced to a single rule. If ${\mathcal{B}}$ is parametric, justifications in this new system have only branches of length two. If these simple branches are mapped to their last element, then the flattening is equivalent to the original system. For parametric systems, flattening thus preserves the meaning of the original system:

Proposition 4.3 If ${\mathcal{J}\kern-0.2em\mathcal{S}}_1$ and ${\mathcal{J}\kern-0.2em\mathcal{S}}_2$ are parametric justification systems mapping a branch $x \rightarrow y$ to y, then:

  1. 1. ${\mathcal{J}\kern-0.2em\mathcal{S}}_1$ is equivalent to ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}}_1)$ .

  2. 2. ${\mathcal{J}\kern-0.2em\mathcal{S}}_1$ and ${\mathcal{J}\kern-0.2em\mathcal{S}}_2$ are equivalent if and only if ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}}_1)$ and ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}}_2)$ are equivalent.

Notice that it immediately follows that if the preconditions of the above proposition are satisfied, then the ${\mathcal{J}\kern-0.2em\mathcal{S}}_1$ and ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}}_1)$ -models coincide. As a consequence, flattening preserves the properties of the justification at hand. We should note, however, that the structure of the justification is lost: justifications in ${\mathcal{F}}lat({\mathcal{J}\kern-0.2em\mathcal{S}})$ are condensed down. We will come back to this later.

Flattening provides us with a way to evaluate inner definitions. The second operation needed for compression is unfolding, which allows to eliminate inner symbols from the outside definitions, by replacing facts at a lower level by a (flattened) case for that fact.

Definition 4.4 Let R be a set of rules, and ${R}_\ell$ a set of rules for the facts X (the elements of X are the heads of the rules in ${R}_\ell$ ). Take a rule $x \gets A$ in R. Let f be any function with domain $A \cap X$ such that for all $y \in A \cap X$ , $y \gets f(y)$ is a rule in ${R}_\ell$ (the function f chooses a rule for each $y \in A \cap X$ ). The unfolding of $x \gets A$ with respect to f is the rule

\begin{equation*} \mathrm{Unf}_{f}\left({x \gets A}\right) = x \gets (A \setminus X) \cup \bigcup_{y \in A \cap X} f(y). \end{equation*}

Let $F_{x \gets A}$ be the set of such functions f. Then the unfolding of $x \gets A$ with respect to ${R}_\ell$ is the set

\begin{equation*} \mathrm{Unf}_{{R}_\ell}\left({x \gets A}\right)={{\left\lbrace {\mathrm{Unf}_{f}\left({x \gets A}\right)} \; \middle| \; {f \in F_{x \gets A}} \right\rbrace}}. \end{equation*}

The unfolding of R with respect to ${R}_\ell$ is

\begin{equation*} \mathrm{Unfold}_{\left({X},{{R}_\ell}\right)}\left({{R}}\right) = \bigcup_{x \gets A \in {R}} \mathrm{Unf}_{{R}_\ell}\left({x \gets A}\right). \end{equation*}

In a nutshell, $ \mathrm{Unfold}_{\left({X},{{R}_\ell}\right)}\left({{R}}\right)$ is obtained by replacing, in each $x\gets y_1,\ldots,y_n\in{R}$ , each fact $y_i$ defined in ${R}_\ell$ by the body facts A of a rule $y_i\gets A$ defining $y_i$ .

Example 4.5 (Examples 3.3 & 4.2 ctd.) With all systems as defined previously, we see that

\begin{equation*}\mathrm{Unfold}_{\left({{{{\mathcal{F}}_{dl}}}},{{\mathcal{F}}lat({R}^1)}\right)}\left({{R}}\right)=\left\{\begin{array}{l}{r\gets \mathbf{t},r,\mathbf{f};\quad{\mathord{\sim}} r\gets {\mathord{\sim}} r;\quad {\mathord{\sim}} r\gets \mathbf{f};\quad {\mathord{\sim}} r\gets \mathbf{t}}\end{array}\right\} \cup {R}^1.\end{equation*}

On the basis of the unfolding of a set of rules we can define the unfolding of a justification system, obtained by unfolding the rules of the parent system with respect to the rules of the children systems, and keeping the rules for the lower-level facts ( ${R}^s$ ):

Definition 4.6 Let ${\mathcal{J}\kern-0.2em\mathcal{S}}=\left\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k \right\rbrace} \right\rangle$ be a two-level nested compressible justification system. The unfolding of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ is

\begin{equation*} \mathrm{Unfold}\left({{\mathcal{J}\kern-0.2em\mathcal{S}}}\right) = \langle {\mathcal{F}}, {\mathcal{F}}d, {R}^s \cup \mathrm{Unfold}_{\left({{\mathcal{F}}d \setminus {{{\mathcal{F}}_{dl}}}},{{R}^s}\right)}\left({{R}}\right), {\mathcal{B}} \rangle, \end{equation*}

where ${R}^s = \cup_{i=1}^k {R}^i$ .

The unfold-operation reduces the depth of the nesting tree and thus serves as a basis for the compression of a nested justification system (notice that since the subsystems ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ will have a smaller depth than ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ is well-defined).

Definition 4.7 (Denecker et al. Reference Denecker, Brewka and Strass2015) Let ${\mathcal{J}\kern-0.2em\mathcal{S}}=\left\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{J}\kern-0.2em\mathcal{S}}^1, \ldots, {\mathcal{J}\kern-0.2em\mathcal{S}}^k \right\rbrace} \right\rangle$ be a compressible nested justification system. The compression $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ is defined inductively to be the justification system

\begin{equation*} \mathrm{Unfold}\left({\langle {\mathcal{F}}, {\mathcal{F}}d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, {\left\lbrace {\mathcal{F}}lat(\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}^1)), \ldots, {\mathcal{F}}lat(\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}^k)) \right\rbrace}\rangle}\right). \end{equation*}

Remark 4.8 Intuitively, the compression works as follows, described here for a two-level system ${\mathcal{J}\kern-0.2em\mathcal{S}}$ with only one subsystem ${\mathcal{J}\kern-0.2em\mathcal{S}}^1=\langle {\mathcal{F}}^1,{\mathcal{F}}d^1,{R}^1,{\mathcal{B}}^1 \rangle$ . First of all, ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ is flattened. We know from Proposition 4.3 that this preserves the meaning of the system, and in fact, it no longer matters which branch evaluation is used, provided that it maps branches of length 2 onto their last element. In other words, the original system and branch evaluation are consolidated into the flattened frame. The next step is to replace each occurrence (in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ ) of each fact defined in ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ by all possible cases for it in the flattened system. If ${\mathcal{B}}^1$ is parametric, each such case in the flattened system contains only fact that are either locally defined or open in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . The result can then be evaluated without any knowledge of the branch evaluation or rules of ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ . While technically, the compressed system also contains a copy of ${R}^1$ , they are only there for recovering the value of facts in ${\mathcal{F}}d^1$ ; they play no role for determining the value of facts in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ . In case ${\mathcal{B}}^1$ is not parametric, this construction no longer works: the cases in the flattening can then contain facts that are locally defined in ${\mathcal{J}\kern-0.2em\mathcal{F}}^1$ . For this reason, compression was only defined for parametric branch evaluations by Denecker et al. (2015). We here slightly relax this condition, by allowing (in a compressible system) the outer branch evaluation to be non-parametric.

Example 4.9 (Example 4.5 ctd.) We have already calculated $\mathrm{Unfold}_{\left({{{\mathcal{F}}^{1}_{dl}}},{{R}^2}\right)}\left({{R}^1}\right)$ in Example 4.5. Since $\mathrm{Unfold}_{\left({{{{\mathcal{F}}_{dl}}}},{{R}^1}\right)}\left({{R}}\right)$ contains only rule bodies with open facts, we see that ${\mathcal{F}}lat(\mathrm{Unfold}_{\left({{{{\mathcal{F}}_{dl}}}},{{R}^1}\right)}\left({{R}}\right))=\mathrm{Unfold}_{\left({{{{\mathcal{F}}_{dl}}}},{{R}^1}\right)}\left({{R}}\right)$ . We therefore obtain:

\begin{equation*}\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})=\langle {\mathcal{F}},{\mathcal{F}}d,\mathrm{Unfold}_{\left({{{{\mathcal{F}}_{dl}}}},{{R}^1}\right)}\left({{R}}\right)\!,{{\mathcal{B}}_{\mathrm{KK}}}\rangle\end{equation*}

and thus end up with an unnested justification system. It can be verified that the unique $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ -model is ${\mathcal{I}}$ with ${\mathcal{I}}({\mathord{\sim}} r)={\mathcal{I}}(p)={\mathcal{I}}(q)=\mathbf{f}$ .

Example 4.10 We return to the nested justification system of Example 3.4. It can be verified that $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{FLP}})$ is equal to (the complementation of)

\begin{equation*}{{\mathcal{B}}_{\mathrm{st}}}:\left\{\begin{array}{l}\begin{matrix}\begin{matrix}p\gets\mathbf{t};& q\gets\mathbf{t};& s\gets p,s& s\gets p,q,s;& s\gets p,q;\end{matrix}\\\begin{matrix}{\tt atLeastTwo} \gets p,q; & {\tt atLeastTwo} \gets s,q; & {\tt atLeastTwo} \gets p,s; \end{matrix}\end{matrix}\end{array}\right\}\end{equation*}

The interpretation ${\mathcal{I}}$ with ${\cal I}(s)={\cal I}(p)={\cal I}(q)=\mathbf{t}$ is the only two-valued $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{FLP}})$ . This interpretation indeed corresponds to the only stable model under the FLP semantics (mentioned above).

On the other hand, there are no two-valued $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{GZ}})$ -models. This can be seen by observing that $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{GZ}})$ equals (the complementation of):

\begin{equation*}{{\mathcal{B}}_{\mathrm{st}}}:\left\{\begin{array}{l}\begin{matrix}p\gets\mathbf{t};& q\gets\mathbf{t};& s\gets p,q,{\mathord{\sim}} s;& s\gets p,s,{\mathord{\sim}} q;& s\gets p, q,s,{\mathord{\sim}} p; & s\gets p,q,s;\\\end{matrix}\\\begin{matrix}{\tt atLeastTwo}\gets p,q,{\mathord{\sim}} s;&{\tt atLeastTwo}\gets s,q,{\mathord{\sim}} p;\\{\tt atLeastTwo}\gets p,s,{\mathord{\sim}} q;&{\tt atLeastTwo}\gets p,q,s\end{matrix}\end{array}\right\}\end{equation*}

Suppose ${\mathcal{I}}$ were a $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}}_{\mathit{GZ}})$ -model, then clearly ${\mathcal{I}}(p)={\mathcal{I}}(q)=\mathbf{t}$ . If ${\mathcal{I}}(s)=\mathbf{t}$ , then $\mathrm{SV}(s,{\mathcal{I}})=\mathbf{f}$ (because each justification of s has a branch $s\to {\mathord{\sim}} x \to \dots$ (with x either p, q, or s). On the other hand, if ${\mathcal{I}}(s)=\mathbf{f}$ , then $\mathrm{SV}(s,{\mathcal{I}})=\mathbf{t}$ , and it can be verified that the justification that selects the rule $s\gets p,q,\lnot s$ supports s in this case. Hence, such an ${\mathcal{I}}$ can indeed not exist.

In this section, the semantics of nested justifications in terms of compressions, originally proposed by Denecker et al. (Reference Denecker, Brewka and Strass2015) was described and studied. This characterisation of semantics of nested justification systems is the first one given in the literature. However, it does have a significant downside: the explanatory potential of justification systems is partially lost, since rules in lower levels of the justification system are compressed to their evaluation. For example, the definition of r in Example 3.3 is compressed to $\{r\gets \mathbf{t},r,\mathbf{f}\}$ , and thus the explanatory potential of justification theory is completely lost. Indeed, intuitively, we have a justification in the original nested justification system that looks like the justification on the left of the figure below, and is obtained by constructing a justification on the basis of all (relevant) rules in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ :

However, under the compression-based semantics, we obtain the justification on the right, where most information on the justification of r has been lost. Thus, from the point of view of explainable reasoning, it is preferable to be able to somehow evaluate the justification on the left while retaining semantic equivalence with the compression-based semantics. This is exactly what will be done in the next section.

5 Merging-based characterisation of semantics for nested systems

To avoid the loss of information with explanatory potential suffered by the compression-based characterisation, the merging-based characterisation of semantics is now proposed. The basic idea of the merging-based characterisation is to consolidate all component systems of the nested justification system in a justification system $\langle {\mathcal{F}}, {\mathcal{F}}d, {R}^*, {\mathcal{B}}^* \rangle$ , where all rules of all component justification systems are simply gathered in ${R}^*$ . This also means that justification branches are now constructed on the basis of all rules occurring somewhere in the nested justification system, and not simply on the basis of one component justification system. The information about the nesting structure of the original system is not discarded, but taken into account in the merge branch evaluation ${\mathcal{B}}^*$ . In more detail, for infinite branches ${\mathbf{b}}$ in ${R}^*$ , one looks for the highest component justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ in the nested justification system s.t. ${\mathbf{b}}$ contains infinitely many elements of locally defined facts of ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ , and then applies the original branch evaluation ${\mathcal{B}}'$ of the component system in question to the ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ -branch ${\mathbf{b}}'$ that corresponds to ${\mathbf{b}}$ . This formalizes the intuition that priority is given to the outermost semantics.

Definition 5.1 The merge $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ is the justification system $\langle {\mathcal{F}}, {\mathcal{F}}d, {R}^*, {\mathcal{B}}^* \rangle$ , where:

  • ${R}^*$ is the union of all the rules in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ .

  • the merge branch evaluation ${\mathcal{B}}^*$ w.r.t. ${\mathcal{J}\kern-0.2em\mathcal{S}}$ is defined as follows:

    1. if ${\mathbf{b}}$ is finite, then ${\mathcal{B}}^*({\mathbf{b}})$ is equal to the last element of ${\mathbf{b}}$ .

    2. if ${\mathbf{b}}$ is infinite, then let ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ be the unique Footnote 2 system equal to either ${\mathcal{J}\kern-0.2em\mathcal{S}}$ or one of its descendant systems such that:

      1. ${\mathbf{b}}$ has infinitely many occurrences of facts defined locally in ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ .Footnote 3

      2. No ancestor system of ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ has property (a), that is for all ancestor systems of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , ${\mathbf{b}}$ has only finitely many occurrences of facts defined locally in that system.

Let ${\mathbf{b}}'$ be the branch obtained from ${\mathbf{b}}$ by removing all facts not defined locally in ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ . Then ${\mathcal{B}}^*({\mathbf{b}}) = {\mathcal{B}}'({\mathbf{b}}')$ , where ${\mathcal{B}}'$ is the branch evaluation of ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ .

The conditions in Definition 3.1 guarantee that branches in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ are sequences of facts $x_0\rightarrow x_1\rightarrow \ldots$ s.t. $x_i$ is defined locally in a descendant or ancestor of $x_{i+1}$ . This guarantees that the system ${\mathcal{J}\kern-0.2em\mathcal{S}}'$ indeed exists and is unique: if a branch has infinitely many occurrences of facts defined (locally) in two systems, then it must also go infinitely often through a common ancestor.

Example 5.2 (Example 3.3 ctd.) Consider again ${\mathcal{J}\kern-0.2em\mathcal{S}}$ as in Example 3.3. We have, among others, the justification for r in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ on the left side of the following pictureFootnote 4; on the right side, the individual branches have been unravelled and the corresponding “primed” branches are drawn:

Notice that all literals in ${\mathbf{b}}_1$ occur infinitely many times in ${\mathbf{b}}_1$ . Since r is defined locally in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , that is it occurs in ${\cal F}_{dl}$ , we have to look at ${\mathcal{J}\kern-0.2em\mathcal{S}}$ to evaluate ${\mathbf{b}}_1$ with ${\mathcal{B}}^\star$ . On the right side, the branch ${\mathbf{b}}_1'=r\rightarrow r \rightarrow \ldots$ obtained from ${\mathbf{b}}_1$ by removing all facts defined outside of ${\mathcal{J}\kern-0.2em\mathcal{S}}$ is given. We now obtain ${\mathcal{B}}^\star({\mathbf{b}}_1)$ by evaluating ${\mathbf{b}}_1'$ according to ${\mathbf{b}}_1$ , that is, ${\mathcal{B}}^\star({\mathbf{b}}_1)={{\mathcal{B}}_{\mathrm{KK}}}({\mathbf{b}}_1')=\mathbf{u}$ .

For ${\mathbf{b}}_2$ and ${\mathbf{b}}_3$ , we see that the highest justification system in which q respectively ${\mathord{\sim}} q$ are defined is ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ . We therefore obtain the branches ${\mathbf{b}}_2'=q\rightarrow q\rightarrow \ldots$ and ${\mathbf{b}}_3'={\mathord{\sim}} q\rightarrow {\mathord{\sim}} q\rightarrow \ldots$ . Since ${\mathcal{J}\kern-0.2em\mathcal{S}}^1$ uses the well-founded branch evaluation ${{\mathcal{B}}_{\mathrm{wf}}}$ , we obtain ${\mathcal{B}}^\star({\mathbf{b}}_2)={{\mathcal{B}}_{\mathrm{wf}}}({\mathbf{b}}_2')=\mathbf{f}$ and ${\mathcal{B}}^\star({\mathbf{b}}_3)={{\mathcal{B}}_{\mathrm{wf}}}({\mathbf{b}}_3')=\mathbf{t}$ . Here, we can thus see the different branch evaluations of the component systems at work: for example, branches with infinite occurrences of positive literals are treated differently in view of the component justification system in which these literals are defined, and the branch evaluations used in these justification systems. In more detail, ${\mathbf{b}}_1$ is evaluated to $\mathbf{u}$ since it is defined locally in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ , which uses the Kripke-Kleene evaluation, whereas ${\mathbf{b}}_3$ is evaluated to $\mathbf{f}$ since it is defined in ${\mathcal{J}\kern-0.2em\mathcal{S}}^2$ , which uses the well-founded evaluation. Altogether, we see that for ${\mathcal{I}}(r)=\mathbf{t}$ , ${\mathcal{I}}(q)={\mathcal{I}}(p)=\mathbf{f}$ , it holds that $\mathrm{SV}(r, {\mathcal{I}})=\mathbf{t}$ . In fact, it can be checked that ${\mathcal{I}}$ is the unique $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ -model, which is no coincidence as we will see next.

6 Equivalence of compression- and merging-based characterisations

Even though the compression-based and merging-based characterisation of semantics are based on quite different mechanisms, they give rise to the same evaluations for nested justification systems, that is, they are equivalent. Showing this is rather involved, and due to spatial limitations, the details are given in Appendix D of the full version of this article (Marynissen et al. Reference Marynissen, Heyninck, Bogaerts and Denecker2022) and illustrated schematically in Figure 1. The crucial idea for the proof of equivalence is the definition of two operations, shrinking and expanding, that allow converting justifications in $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ to justifications in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ and vice versa. On the basis of these operations, it is then shown that the supported value for defined facts are the same under $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ and $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ (for all defined facts x and interpretations ${\mathcal{I}}$ ):

\begin{equation*}\mathrm{SV}_{\!\!\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})}^t(x,{\mathcal{I}}) = \mathrm{SV}_{\!\!\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})}^t(x,{\mathcal{I}})\end{equation*}

To guarantee that shrink and expand behave as expected, two minor assumptions are necessary, namely (1) that finite branches are mapped to their last element (Marynissen et al. (Reference Marynissen, Bogaerts and Denecker2021), Propositions 1 and 2 have shown how to modify branch evaluations to satisfy this condition) and (2) that all parametric branch evaluations map infinite branches to logical facts (in fact, unless additional structure on the fact space is assumed, this will always be satisfied). We obtain the following theorem.

Fig. 1. Schematic illustration (based on Example 3.3) of the shrinking-operation, which converts a justification in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ into a justification in $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ (also illustrated schematically), and the expanding-operation, which converts a justification in $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ (taking into account the relevant justifications in ${\mathcal{J}\kern-0.2em\mathcal{S}}$ ) into a justification in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ .

Theorem 6.1 Let a compressible nested justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}$ in which every branch evaluation maps finite branches to their last element, and infinite branches to logical facts. Then $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ and $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ are equivalent.

It immediately follows that for a justification system that satisfies all of the preconditions of Theorem 6.1, the $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ -models coincide with the $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ -models.

Remark 6.2 As mentioned in Remark 4.8, compression was only defined for so-called compressible branch evaluations to allow evaluating the different involved systems separately. For merging, this restriction does not play a role: here all branch evaluations are taken into account simultaneously, in the definition of ${\mathcal{B}}^*$ . As such, we have not just given a novel characterization of the semantics of nested systems, but also significantly expanded its scope, by allowing non-parametric systems, such as stable or supported, to be nested.

7 FO(FD): Application to fixpoint definitions

${\mathrm{FO}(\mathrm{FD})}$ (Hou et al. Reference Hou, De Cat and Denecker2010) is a logic that integrates fixpoint definitions based on rules with first-order logic. Essentially, a least fixpoint definition (respectively greatest fixpoint definition) is defined inductively as an expression of the form $\mathcal{D}=\left\lfloor \mathcal{R}, \Delta_1, \ldots, \Delta_m, \nabla_1, \ldots, \nabla_n \right\rfloor$ (respectively $\left\lceil \mathcal{R}, \Delta_1, \ldots, \Delta_m, \nabla_1, \ldots, \nabla_n \right\rceil$ ), where $\mathcal{R}$ is a set of rules and each $\Delta_i$ is a least fixpoint definition and each $\nabla_j$ is a greatest fixpoint definition, s.t. every symbol is defined in at most one of ${\cal R}$ , $\Delta_1$ , $\ldots$ , $\Delta_m$ , $\nabla_1$ , $\ldots$ , $\nabla_n$ . Additionally, defined symbols are only allowed to occur positively in rule bodies. The semantics of ${\mathrm{FO}(\mathrm{FD})}$ , explained in full detail in Appendix E of the full version of this article (Marynissen et al. Reference Marynissen, Heyninck, Bogaerts and Denecker2022), is given in terms of (two-valued) interpretations, and is defined iteratively, by means of an immediate consequence operator $\Gamma^{\cal D}(I)$ . Consistent with the idea of capturing a definition, a unique model according to these semantics is guaranteed to exist. The nested nature of fixpoint definitions comes into play when requirements of different levels conflict with each-other. In that case, intuitively, the highest level (the outermost definition) will be given priority.

As an example, restricted to the propositional case, consider:

\begin{equation*} {\cal D}= \left\lfloor\begin{array}{l}p\gets q\lor r; \quad q\gets p; \quad u\gets s\\ \left\lceil\begin{array}{l} r\gets p;\quad s\gets t\lor q;\quad t\gets s \end{array}\right\rceil \end{array}\right\rfloor \end{equation*}

This fixpoint definition consists of two levels. The uppermost or global level is a least fixpoint definition of p, q and u, whereas the lower or inner level contains a greatest fixpoint definition of the atoms r, s and t. Intuitively, the semantics will ensure that the model of this definition corresponds to a greatest fixpoint of the immediate consequence operator based on the inner system, and a least fixpoint of the immediate consequence operator based on the outer system, together with the respective interpretation for the inner system. For example, the interpretation that assigns $\mathbf{t}$ to s, t and u, and $\mathbf{f}$ to p, q and r to $\mathbf{f}$ is a model of this fixpoint definition. We see that the cycle between $p\gets q\lor r$ and $r\gets p$ gives rise to a conflict between the two levels: the greatest fixpoint nature of the lowest level would require us to make p and r true, whereas the least fixpoint nature of the highest level would require us to make p and r false. Since priority is given to the highest level, p and r are false in the defined interpretation.

Nested justifications were partially inspired by ${\mathrm{FO}(\mathrm{FD})}$ , and is therefore not surprising that ${\mathrm{FO}(\mathrm{FD})}$ can be captured using nested justifications. This way of assigning priority to higher levels in case of conflicting demands also shows up in the merging-based characterisation, where the highest component system is used to evaluate infinite branches.

For the propositional case, the translation is rather straightforward. Given a fixpoint definition ${\cal D}$ , ${\mathcal{J}\kern-0.2em\mathcal{S}}_{\cal D}$ is defined as $\langle {\cal F},{\cal F}_d, {{{\mathcal{F}}_{dl}}}, {R}, {\mathcal{B}}, \{{\mathcal{J}\kern-0.2em\mathcal{S}}_{\Delta_1},\ldots,{\mathcal{J}\kern-0.2em\mathcal{S}}_{\Delta_m},{\mathcal{J}\kern-0.2em\mathcal{S}}_{\nabla_1},\ldots,{\mathcal{J}\kern-0.2em\mathcal{S}}_{\nabla_n}\}\rangle$ , where ${\mathcal{B}}={{\mathcal{B}}_{\mathrm{wf}}}$ if ${\cal D}$ is a least fixpoint definition and ${\mathcal{B}}={{\mathcal{B}}_{\mathrm{cwf}}}$ if ${\cal D}$ is a greatest fixpoint definition. We can thus represent the nested justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}_{{\cal D}}$ as:

\begin{equation*}{{\mathcal{B}}_{\mathrm{wf}}}:\left\{\begin{array}{l}p\gets q\lor r; \quad q\gets p; \quad u\gets s\\{{\mathcal{B}}_{\mathrm{cwf}}}:\left\{\begin{array}{l}\begin{matrix} r\gets p;\quad s\gets t; \quad s\gets q;\quad t\gets s\end{matrix}\end{array}\right\}\end{array}\right\}\end{equation*}

This translation is adequate, in the sense that a unique ${{\mathcal{B}}_{\mathrm{wf}}}$ -model (respectively ${{\mathcal{B}}_{\mathrm{cwf}}}$ -model) that leaves no atoms $\mathbf{u}$ is guaranteed to exist and corresponds to the least (respectively greatest) fixpoint of the fixpoint definition. Notice that we replaced $s\gets t\lor q$ by $s\gets t$ and $s\gets q$ . For more complex formulae, more work is required. For the full first-order case, the idea is essentially the same, but an intermediary system is included between ${\mathcal{J}\kern-0.2em\mathcal{S}}_{\cal D}$ and ${\mathcal{J}\kern-0.2em\mathcal{S}}_{\Delta_1},\ldots,{\mathcal{J}\kern-0.2em\mathcal{S}}_{\Delta_m},{\mathcal{J}\kern-0.2em\mathcal{S}}_{\nabla_1},\ldots,{\mathcal{J}\kern-0.2em\mathcal{S}}_{\nabla_n}$ to ensure that first-order formulae are treated adequately. This translation, as well as the correspondence results, are detailed in Appendix E of the full version of this article (Marynissen et al. Reference Marynissen, Heyninck, Bogaerts and Denecker2022).

8 Conclusion, in view of related work

In this paper, we gave two characterisations of the semantics of nested justification systems, showed that these characterisations are equivalent and demonstrated how nested justifications can capture nested fixpoint definitions. The potential applications of nested justification systems are extensive, as they allow for the modular, and therefore straightforward, design of rule-based languages. A prime example is the definition of semantics for aggregates. Nested justification systems allow to separate the definition of semantics aggregates from that of a logic program, by adding rules defining the aggregates at the lowest level of a justification system (cf. Example 3.4). In future work, we will investigate exact translations from semantics for logic programs with aggregates (e.g. Pelov et al. Reference Pelov, Denecker and Bruynooghe2007; Faber et al. Reference Faber, Pfeifer and Leone2011; Gelfond and Zhang Reference Gelfond and Zhang2019; Alviano et al. Reference Alviano, Faber and Gebser2021; Vanbesien et al. Reference Vanbesien, Bruynooghe and Denecker2021 in nested justification systems, bringing justification theory’s explanatory potential to such semantics.

Some aspects of nested justifications, in particular the fact that different modules using different semantics can be combined, are reminiscent of multi-context systems (in short, MCSs) (Brewka et al. Reference Brewka, Ellmauthaler, GonÇalves, Knorr, Leite and PÜhrer2018). There are, however, significant differences between the two formalisms. On the one hand, MCSs allow for a broader range of knowledge bases to be used as modules. For example, defaults or autoepistemic belief bases can be used in MCSs, but cannot be modelled straightforwardly in justification theory. On the other hand, nested justification systems allow for more sophisticated interactions and structures. Indeed, a multi-context system can be seen as a set of contexts $\{C_1,\ldots,C_n\}$ and a set of bridge rules ${\cal R}$ allow the flow of information between contexts. That is it corresponds, at least structurally, to a nested justification system ${\mathcal{J}\kern-0.2em\mathcal{S}}=\langle {\mathcal{F}},{\mathcal{F}}d,{{{\mathcal{F}}_{dl}}},{R},\{{\mathcal{J}\kern-0.2em\mathcal{S}}^1,\ldots,{\mathcal{J}\kern-0.2em\mathcal{S}}^n\}\rangle$ where every ${\mathcal{J}\kern-0.2em\mathcal{S}}^i$ (for $i=1,\ldots,n$ ) is a non-nested justification system. It remains an open question whether a sub-class of MCSs based on rule-based contexts can be translated into nested justification systems.

In this paper, we gave a new view on nested justification systems that retains justification quality and showed (under mild restrictions) the two views are equivalent for tree-like justifications. Whether this holds for graph-like justifications is an open question.

Another question that shows up in several papers on justification theory (Denecker Reference Denecker1993; Marynissen et al. Reference Marynissen, Passchyn, Bogaerts and Denecker2018; Marynissen et al. Reference Marynissen, Bogaerts and Denecker2020) is the consistency question: is it always so that $\mathrm{SV}({\mathord{\sim}} x,{\mathcal{I}}) = {\mathord{\sim}} \mathrm{SV}(x,{\mathcal{I}})$ ? The same question is relevant for nested systems. In a companion paper (Marynissen and Bogaerts to appear), we show that in the tree-like system, all branch evaluations (and hence also the merge evaluation) are consistent. And because of our equivalence, we have that compression is also consistent.

Supplementary material

To view supplementary material for this article, please visit http://doi.org/10.1017/S1471068422000266.

Footnotes

*

This work is part of the PhD thesis of the first author (Marynissen 2022).

This research was supported by the Flemish Government in the “Onderzoeksprogramma ArtificiËle Intelligentie (AI) Vlaanderen” programme and by the FWO Flanders project G0B2221N.

1 Thus, no logical fact is defined, or, equivalently, the logical facts are opens.

2 Existence and uniqueness of this system are argued below the definition.

3 In more formal detail, there is some $a\in {\mathcal{F}}d'$ s.t. ${\mathbf{b}}$ contains infinitely many occurrences of a.

4 The justification is visualized here as a graph; the actual justification is the tree-unravelling of this graph which will for instance have infinitely many nodes labelled r. For instance, the edge from p to r symbolises the fact that every node labelled p has a child node labelled r.

References

Alviano, M., Faber, W. and Gebser, M. 2021. Aggregate semantics for propositional answer set programs. CoRR, abs/2109.08662.Google Scholar
Brewka, G., Ellmauthaler, S., GonÇalves, R., Knorr, M., Leite, J. and PÜhrer, J. 2018. Reactive multi-context systems: Heterogeneous reasoning in dynamic environments. Artif. Intell. 256, 68104.CrossRefGoogle Scholar
Denecker, M. 1993. Knowledge Representation and Reasoning in Incomplete Logic Programming. Ph.D. thesis, K.U.Leuven, Leuven, Belgium.Google Scholar
Denecker, M., Brewka, G. and Strass, H. 2015. A formal theory of justifications. In Proceedings of LPNMR, 250264.Google Scholar
Faber, W., Pfeifer, G. and Leone, N. 2011. Semantics and complexity of recursive aggregates in answer set programming. Artif. Intell. 175, 1, 278298.CrossRefGoogle Scholar
Gelfond, M. and Zhang, Y. 2019. Vicious circle principle, aggregates, and formation of sets in asp based languages. Artif. Intell. 275, 2877.CrossRefGoogle Scholar
Hou, P., De Cat, B. and Denecker, M. 2010. FO(FD): Extending classical logic with rule-based fixpoint definitions. TPLP 10, 4–6, 581596.Google Scholar
Marynissen, S. 2022. Advances in Justification Theory. Ph.D. thesis, Department of Computer Science, KU Leuven. Denecker, Marc and Bart Bogaerts (supervisors).Google Scholar
Marynissen, S. and Bogaerts, B. to appear. Tree-like justifications are consistent. In Technical Communications of ICLP.Google Scholar
Marynissen, S., Bogaerts, B. and Denecker, M. 2020. Exploiting game theory for analysing justifications. Theory Pract. Logic Program. 20, 6, 880894.CrossRefGoogle Scholar
Marynissen, S., Bogaerts, B. and Denecker, M. 2021. On the relation between approximation fixpoint theory and justification theory. In Proceedings of IJCAI, 19731980.Google Scholar
Marynissen, S., Heyninck, J., Bogaerts, B. and Denecker, M. 2022. On nested justification systems (full version). arXiv preprint arXiv:2205.04541.CrossRefGoogle Scholar
Marynissen, S., Passchyn, N., Bogaerts, B. and Denecker, M. 2018. Consistency in justification theory. In Proceedings of NMR, 4152.Google Scholar
Pelov, N., Denecker, M. and Bruynooghe, M. 2007. Well-founded and stable semantics of logic programs with aggregates. TPLP 7, 3, 301353.Google Scholar
Vanbesien, L., Bruynooghe, M. and Denecker, M. 2021. Analyzing semantics of aggregate answer set programming using approximation fixpoint theory. arXiv preprint arXiv:2104.14789.CrossRefGoogle Scholar
Figure 0

Fig. 1. Schematic illustration (based on Example 3.3) of the shrinking-operation, which converts a justification in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$ into a justification in $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ (also illustrated schematically), and the expanding-operation, which converts a justification in $\mathrm{Compress}({\mathcal{J}\kern-0.2em\mathcal{S}})$ (taking into account the relevant justifications in ${\mathcal{J}\kern-0.2em\mathcal{S}}$) into a justification in $\mathrm{Merge}({\mathcal{J}\kern-0.2em\mathcal{S}})$.

Supplementary material: File

Marynissen et al. supplementary material

Marynissen et al. supplementary material 1

Download Marynissen et al. supplementary material(File)
File 49.3 KB
Supplementary material: File

Marynissen et al. supplementary material

Marynissen et al. supplementary material 2

Download Marynissen et al. supplementary material(File)
File 90.8 KB
Supplementary material: File

Marynissen et al. supplementary material

Marynissen et al. supplementary material 3

Download Marynissen et al. supplementary material(File)
File 24.9 KB