<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>CILC</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>A Semantics-Aware Evaluation Order for Abstract Argumentation Frameworks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stefano Bistarelli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carlo Taticchi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mathematics and Computer Science - University of Perugia</institution>
          ,
          <addr-line>Via Vanvitelli, 1 - 06123 Perugia</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>39</volume>
      <fpage>26</fpage>
      <lpage>28</lpage>
      <abstract>
        <p>In Computational Argumentation, understanding how an Abstract Argumentation Framework (AF) is instantiated is crucial for capturing and possibly exploiting structural and dynamic aspects of the argumentative process. To facilitate the reconstruction of this process and, precisely, to determine the order in which arguments are presented, we introduce the notion of semantics-aware evaluation order. This approach relies on two fundamental concepts: syntactic dependence, derived from attack relations within the AF, and semantic dependence, which assesses the impact of an argument on the acceptability of others. Integrating these dependencies provides a more meaningful sequence for presenting arguments, improving its alignment with real-life scenarios and enriching the exploration of debate dynamics.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Computational Argumentation</kwd>
        <kwd>Abstract Argumentation Frameworks</kwd>
        <kwd>Dependency Graphs</kwd>
        <kwd>Concurrency</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Artificial Intelligence (AI) applications often produce results that may not seem transparent or reliable,
reducing users’ confidence in them. This is particularly crucial in sensitive areas like healthcare and
ifnance, where understanding the rationale behind AI-generated outcomes is vital. Argumentation
Theory [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] explores how to manage and reason with conflicting information, and Argumentation
Frameworks have, in the last decades, become a consolidated tool to examine and replicate human
reasoning for logically deriving conclusions starting from a set of premises. In general, non-monotonic
reasoning ofers the key advantages of flexibility and adaptability, mirroring real-world scenarios
more closely by allowing conclusions to be revised or retracted in the face of new evidence. This
approach is crucial for dealing with incomplete or evolving information, ofering a practical way to
instantiate and study complex, dynamic processes. In healthcare, argumentation-based systems have
been proposed to support clinical decision-making [
        <xref ref-type="bibr" rid="ref2 ref3 ref4">2, 3, 4</xref>
        ]. For instance, they can be used to model the
reasoning behind diferent diagnostic or treatment options, allowing medical professionals to compare
the underlying logic of various choices and explaining these choices to patients, thereby enhancing trust
in medical AI systems. In cybersecurity, Argumentation Theory finds application in risk assessment and
management [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ]. By simulating the logic underpinning security protocols and analysing potential
vulnerabilities, the proposed systems increase the clarity of decision-making processes, identifying
relevant risks and corresponding mitigations.
      </p>
      <p>To simplify complex real-world reasoning processes and predispose them to computational and
automated problem-solving approaches, one can abstract from the internal logic of arguments and focus
solely on the interaction between them. The systems resulting from this abstraction are called Abstract
Argumentation Frameworks (AFs) [8], visualised as directed graphs with nodes and edges representing
arguments and their conflicts, respectively. Solving an argumentation problem formulated through
an AF boils down to assessing the acceptability of its arguments through so-called argumentation
semantics, i.e., criteria for selecting sets of arguments, known as extensions, that exhibit internal
consistency and collectively withstand external challenges. These extensions encapsulate coherent
positions or viewpoints within the framework. Consider, for example, the following three arguments:
: “Everyone should eat more vegetables to reduce the risk of chronic diseases.”
: “Excess consumption of certain vegetables can lead to nutrient overdoses.”
: “Vegetable-induced nutrient overdoses are rare and manageable with a varied diet.”
It is easy to see the conflict between them, i.e.,  is attacked by , which is, in turn, attacked by . By
abstracting from the sense of the individual arguments and considering only the relation between them,
we can establish which arguments agree and can, therefore, be accepted together. In this example,  and
 share the same point of view; in fact,  counters the attack of  against . Therefore  and  together
form an extension (with respect to the complete semantics [9]) for the examined AF.</p>
      <p>While AFs ofer clear benefits for the representation and resolution of argumentative problems, they
also have drawbacks related to their inherent simplicity, which makes them inefective in capturing
certain fundamental aspects of human reasoning [10]. One particular disadvantage is that an AF provides
only a static representation of a given argumentative process, thus not allowing an understanding of
the dynamics that resulted in the establishment of such a framework. For instance, the argument 
introduced earlier (nutrient overdoses are rare) is likely presented in response to argument  (vegetables
can lead to nutrient overdoses), yet the abstraction inherent in AFs makes deducing the dependency
between arguments non-trivial. Various studies [11, 12, 13, 14, 15] have explored how dynamic aspects
can be incorporated into AFs via enhanced frameworks and systems that allow for the integration of
new information or changes. Despite these advancements, the literature does not address the problem
of tracing the process that leads to the generation of a specific AF.</p>
      <p>To bridge this gap, we proposed in [16] to interpret AFs as dependency graphs in which the attacking
arguments depend on the attacked ones. This approach aids in understanding the mechanism behind
the generation and evolution of an AF, determining a feasible evaluation order in which arguments
are introduced. In particular, we can establish a meaningful sequence for presenting the arguments
without knowing their meaning or internal logic. In correspondence with cycles, following a feasible
evaluation order produces some sequences of arguments that do not represent realistic scenarios. In
fact, the choice of arguments within cycles to be evaluated first is nondeterministic. In this paper, we
revisit the process of evaluating arguments within cycles by introducing semantic dependency as a key
distinguishing factor. This concept is based on the notion that certain arguments conduct attacks that
are crucial for determining the acceptability state of the arguments they target, whereas others may not
have such a significant impact. In order to demonstrate the efectiveness of the new semantics-aware
evaluation order that we introduced, we analyse two examples of instantiation of AFs modelling real
situations. These examples show that our latest approach discards some meaningless sequences of
arguments. We also provide an automated procedure for instantiating AFs following a semantics-aware
evaluation order for the arguments.</p>
      <p>With this work, therefore, we aim to address a limitation of AFs, namely the impossibility of
representing the temporal evolution of a dialogue in which arguments come into play following precise dynamics
dictated by the type of interaction. The static representation intrinsic to AFs limits the applicability
of abstract argumentation in domains where the sequence and interdependence of arguments are
crucial. By introducing a semantics-aware order of evaluation that integrates syntactic and semantic
dependencies, we want to align AFs more closely with real-life argumentative processes and enhance
the expressive power they can assume within critical AI-based applications.</p>
      <p>The paper is organised as follows: Section 2 introduces basic notions of Computational Argumentation,
along with the feasible evaluation order and an overview of cla. Section 3 illustrated the concept of
semantic dependency and the resulting semantics-aware evaluation order. Section 4 presents practical
examples applying this order in real-world scenarios. Section 5 outlines a methodology for instantiating
any AF following the semantics-aware evaluation order. The paper concludes in Section 6 with a
discussion of the results and future research directions.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background</title>
      <p>This section briefly reviews the notion of AFs, argumentation semantics, and feasible evaluation order
for arguments within an AF. Additionally, we cover aspects of the cla syntax and its operational
semantics, which are instrumental in implementing our proposed methodology.</p>
      <sec id="sec-2-1">
        <title>2.1. Computational Argumentation</title>
        <p>Argumentation Theory is focused on understanding and mimicking the natural way humans reason,
particularly in handling uncertainties through non-monotonic (defeasible) reasoning. In his influential
paper [8], Dung sets out the fundamental components of abstract argumentation.</p>
        <p>Definition 1 (AFs). An Abstract Argumentation Framework is a pair ⟨Arg, ⟩ where Arg is a finite set of
arguments and  is a binary relation on Arg.</p>
        <p>For any two arguments ,  ∈ Arg, the notation (, ) ∈  indicates an attack from argument 
against argument . Furthermore, we use + and − to denote the sets of arguments that, respectively,
are attacked by and attack . Within an AF, our goal is to identify subsets of acceptable arguments, which
are determined by applying specific criteria known as argumentation semantics. Arguments not deemed
acceptable are consequently rejected. Various semantics have been devised to encapsulate desirable
qualities for sets of arguments. Among the most extensively studied semantics are complete, stable,
semi-stable, preferred, and grounded semantics [8, 9]. To practically identify acceptable arguments, one
can use labelling-based semantics [17], which assign labels to arguments to assert their acceptability
state.</p>
        <p>Definition 2 (Labelling). A labelling of an AF  = ⟨Arg, ⟩ is a function  : Arg → {IN, OUT, UND}.
We will omit the referenced AF  when evident from the context. Moreover, we have that
•  is a complete labelling for  when, ∀ ∈ Arg
– () = IN ⇐⇒ ∀ ∈ Arg | (, ) ∈ .() = OUT
– () = OUT ⇐⇒ ∃ ∈ Arg | (, ) ∈  ∧ () = IN
•  is a grounded labelling for  when
–  is a complete labelling, and
– { ∈ Arg | () = IN} is minimal among all the complete labellings</p>
        <p>We will write  to identify a labelling of an AF with respect to the semantics  . Under the complete
semantics, an argument receives the label IN if and only if every argument that attacks it is labelled
OUT. Conversely, it is labelled OUT if it is attacked by at least one IN argument. In situations that
do not meet these conditions, the argument is labelled UND. Specifically, arguments labelled IN are
considered acceptable, whereas arguments with other labels are rejected. This approach to labelling is
extended in [17] to define other argumentation semantics besides the complete and the grounded ones.</p>
        <p>Besides computing the possible labellings with respect to a certain semantics  , one of the most
common tasks performed on AFs is to decide whether an argument  is accepted (labelled as IN) in
some labelling or in all labellings. In the former case, we say that  is credulously accepted with respect
to  ; in the latter,  is instead sceptically accepted with respect to  .</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Feasible Evaluation Order</title>
        <p>In AFs, attacks among arguments establish a dependency relation between them. In particular, an
argument depends on the other argument it attacks. Therefore, an AF can be viewed as a dependency
graph  = ⟨,  ⟩, where  is a set of elements and  is the transitive reduction of a dependency
relation  ⊆  × . Such a graph allows for identifying a correct evaluation order that respects the
dependencies, ensuring that if an argument  precedes argument  in the order,  does not depend on .
Finding a correct evaluation order for the arguments of an AF can be thought of as mapping the process
that led to the instantiation of the AF. This task is made challenging by possible cycles in the AF, which
create circular dependencies where arguments depend on each other. We use the following notation to
represent the set of arguments that form a cycle with a given argument , encapsulating all potential
circular dependencies for .</p>
        <p>Notation 1 (Circular Dependency). Given an AF  = ⟨Arg, ⟩, we call cycle any subset of Arg whose
elements form a cycle in  . Then, we denote with Cycles( ) the set of all cycles in  , and with ArC( ) =
⋃︀∈( )  the set of all arguments belonging to cycles in  . Moreover, CiD() = { ∈ Arg | ∃ ∈
Cycles( ) such that ,  ∈ } is the set of arguments in circular dependency with .</p>
        <p>In the presence of circular dependencies, it is unclear which argument should come first in the order of
evaluation. To overcome this issue, we consider each cycle as an agglomeration of arguments, focusing
on their connections to adjacent arguments outside the cycle. The evaluation sequence is structured
for arguments outside these cycles so that attacked arguments precede their attackers. Conversely,
any ordering represents a viable solution for arguments within a cycle. This approach enables the
formulation of a feasible evaluation order [16], where dependency among arguments within a cycle is
not influential, and their ordering relative to arguments outside the cycle is defined.</p>
        <p>Definition 3 (Feasible Evaluation Order). A feasible evaluation order for an AF  = ⟨Arg, ⟩ is a
numbering  : Arg → N such that for any two arguments ,  ∈ Arg with () &lt; (), the following
holds: if  ∈/ CiD() then ∀ ∈ {} ∪ CiD(),  ∈ {} ∪ CiD().(, ) ∈/ .</p>
        <p>Example 1. Referring to the AF shown in Figure 1, we can verify that (, , , , ,  ) and (, , , , , )
are two feasible evaluation orders. The first argument to be introduced is , which is succeeded by , , 
in any order, with  and  always following them. In particular, we observe that any argument between
, ,  can be nondeterministically chosen as the first argument of the cycle to be introduced, while  and  ,
which depend on the same argument, can be introduced concurrently in the AF immediately after  and
the arguments of its circular dependencies have been added.</p>
        <p>Therefore, in order to model the instantiation process leading to the generation of this AF, we need a
tool capable of manipulating AFs and supporting nondeterminism and parallel operations. To this end,
we have chosen to use the Concurrent Language for Argumentation, described below, which, in addition
to the features listed above, is already set up for the study of argument acceptability, a feature we will
use with the aim of exploiting semantics to establish a refined order for evaluating the arguments.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Concurrent Language for Argumentation</title>
        <p>The Concurrent Language for Argumentation (cla) [18] is a tool devised for simulating concurrent
interactions among agents engaged in reasoning and decision-making via argumentation processes.
Agents utilise cla constructs to access and manipulate a shared knowledge base encapsulated within
an AF. In the following, we provide a shortened version of the cla syntax and operational semantics,
which we will use in the next section, referring to [18] for a thorough discussion of the language.</p>
        <p>In Table 1,  denotes a generic process,  a sequence of clauses,  an agent and  a guarded agent.
In a cla process  = .,  is the initial agent to be executed within the context of the declarations .
The operational model of  is formally described by a transition system  = (Conf , →), where 
consists of a process and an AF  = ⟨, ⟩ representing the shared knowledge base.
 ::= success | failure | add(Arg, ) →  |  | ‖
 ::= check(Arg, ) →  |  +</p>
        <p>In Table 2, we give the definitions for the transition rules of addition (Add), check with waiting
(Chw), parallelism (Par) and nondeterminism (Ndt) operators. The transition relation → ⊆ Conf × Conf
is the least relation satisfying those rules, and it characterises the system’s evolution. In particular,
⟨,  ⟩ → ⟨′,  ′⟩ represents a transition from a state in which we have the process  = . and the
AF  to a state in which we have the process  = .′ and the AF  ′. An add(Arg ′, ′) results in
the addition of a set of arguments Arg ′ and a set of attacks ′ into the shared knowledge base. The
operation check(Arg ′, ′) is used to verify whether the specified arguments and attacks are contained
in the knowledge base, without introducing any further change. If the check is positive, the operation
succeeds; otherwise, it suspends. The parallel operator ‖ enables the specification of concurrent agents
following the interleaving approach. This means that only one action is executed at a time in accordance
with a scheduling imposed by the processor. The outcome of 1‖2 depends on the execution of 1
and 2: the parallel composition succeeds only if both succeed. Finally, any agent composed through
nondeterminism (operator +) is chosen if its guards succeed. In detail, a guarded agent 1 transits to
agent 1 whenever it can do so (first rule for (Ndt)); otherwise, both guarded agents are sent one step
forward (second rule for (Ndt)). Indeed, a guarded agent can be followed by more guarded agents, all
of whom must be satisfied for the operation to succeed. Until 1 transits to 1 (or 2 to 2), both
guarded agents are run simultaneously to ensure true concurrency during execution.</p>
        <p>A web interface running a cla interpreter [19] is also available.1 To comply with the syntax of the
tool, we will denote check(, ) by checkw(Arg,R) and  + · · · +  by sum(E,...,E).
1cla web interface: https://conarg.dmi.unipg.it/cla/.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Semantic Dependency of Arguments</title>
      <p>In AFs, cycles represent intricate situations where arguments interact with each other in a circular
manner, thus not providing an unambiguous interpretation for their acceptability. The circular dependency
among arguments poses an issue even when attempting to reconstruct the argumentative process that
led to the instantiation of a considered AF. An initial attempt to solve this problem is made by resorting
to the feasible evaluation order of Definition 3, which involves treating arguments within the cycles as
a single entity. Arguments attacked by this entity must always come before it, and those attacking it
must always come after. Although the feasible evaluation order provides a workaround to the problem,
choosing which argument to evaluate first within a cycle remains arbitrary. For instance, any feasible
evaluation order for the AF of Figure 1 will place  as the first element and either  or  as the last,
with , , and  appearing interchangeably right after . In this section, we introduce a mechanism for
refining the evaluation order within cycles through the notion of semantic dependency. The idea is that
if the inclusion of an argument in a cycle does not alter the acceptability state of the other arguments
within that cycle, then the argument can be introduced without being constrained by the dependency
arising from the attacks it conducts.</p>
      <p>The feasible evaluation order between two arguments  and  only considers syntactic dependency, i.e.,
whether an attack exists between  and . This dependency does not involve reasoning at the semantic
level, where the acceptability of arguments is asserted. However, studying how the acceptability state
of argument changes as the debate unfolds is a key component for handling dynamics in AFs. When
a new argument is proposed (added to the framework), its interaction with the already existing part
of the AF may change the other arguments’ acceptability state. With only the static representation
of the debate, rendered through the AF, at our disposal, we can question which arguments, and in
particular which attacks among them, are necessary to assert acceptability and which are negligible. In
practice, if removing the attack conducted by an argument  towards another argument  changes the
label of , we conclude that  semantically depends on . For the sake of a simpler notation, we will
focus on the grounded semantics, which yields a unique labelling . Regardless, extending the study
to accommodate other semantics (like the complete one), which may involve multiple labellings, is
straightforward.</p>
      <p>Definition 4 (Semantic Dependency). Given an AF  = ⟨Arg, ⟩ and two arguments ,  ∈ Arg,
let  = ⟨Arg,  ∖ {(, )}⟩. We say that  semantically depends on  if and only if  () ̸= ().
Otherwise, we say that  is semantically independent of .</p>
      <p>Since the attack relation in AFs is asymmetric, semantic dependency is inherently asymmetric as
well. Moreover, it is evident that an argument is semantically independent of all other arguments that
do not directly or indirectly attack it.</p>
      <p>Notation 2 (Invariant Attack). Let  = ⟨Arg, ⟩ be an AF, where ,  ∈ Arg are two arguments such
that (, ) ∈ . We say that (, ) is an invariant attack if  is semantically independent of .</p>
      <p>Removing multiple invariant attacks is not guaranteed, in general, to leave the labelling unaltered.
For instance, removing the invariant attacks (, ) and (,  ) from the AF of Figure 1 changes the label
of  from OUT to UND.
Example 2. Consider now the cycle {, , } illustrated in Figure 2. From the syntactical perspective, we
observe that  depends on ,  depends on , and , in turn, depends on , creating a circular dependency.
However, when analysing the situation at the semantic level, through the lens of grounded labelling, we find
that only  semantically depends on , whereas  and  do not semantically depend on  and , respectively.
In fact, excluding the attack (, ) for the assessment of argument acceptability,  would receive the label
IN. On the other hand, (, ) and (, ) are invariant attacks since  is rendered OUT by , while  is IN
in any case. Extending the analysis to arguments outside the cycle, we also find that  is semantically
independent of  since excluding the attack (, ) would still result in  being labelled as OUT.</p>
      <p>We use semantic dependency to refine the approach for evaluating arguments within cycles,
specifically releasing syntactic dependencies that hinder the identification of the initial argument to be
included. The idea is to evaluate first in each cycle one of the sink arguments (not attacking other
arguments in the cycle) obtained by eliminating invariant attacks. Referring again to Figure 2, we want
to select either  or  as the first argument to evaluate within the cycle. Indeed, they both conduct
invariant attacks on other arguments in the cycle ( towards  and  towards ). In particular, we note
that removing the attack (, ) from the AF does not afect the labelling, indicating that ’s syntactic
dependence on  is irrelevant to the study of the semantics. Following this observation, we may
disregard (, ) and justifiably designate  as the first argument of the cycle to be evaluated.
Notation 3 (Invariant Attack Sets Within Cycles). Consider an AF  = ⟨Arg, ⟩ and let  = {(, ) |
(, ) ∈  ∧  ∈ CiD()} the set of attacks between arguments within a cycle. Then  ⊆  is an invariant
attack set within cycles of  if, given  = ⟨Arg,  ∖ ⟩, we have that  () = (). Moreover, we
denote with ℐ the set of all invariant attack sets within cycles of  .</p>
      <p>Definition 5 (Semantics-Aware Evaluation Order). Let  = ⟨Arg, ⟩ be an AF, and ℐ the set of all
invariant attack sets within cycles of  . A semantics-aware evaluation order for  is a numbering
 : Arg → N such that  is a feasible evaluation order for  = ⟨Arg,  ∖ ⟩, where  ∈ ℐ and
• ∄′ ∈ ℐ such that |ArC(⟨Arg,  ∖ ′⟩)| &lt; |ArC()|;
• ∄′′ ∈ ℐ such that ′′ ⊂  and |ArC(⟨Arg,  ∖ ′′⟩)| = |ArC()|.</p>
      <p>In the definition above,  represents the specific subset of attacks within the set ℐ that, when
removed from the set , results in the minimum number of arguments involved in cycles within
the AF ⟨Arg,  ∖ ⟩. Breaking a cycle by exploiting semantic dependency entails determining which
argument to evaluate first. Once this argument has been found, all others in the cycle can be processed
following their syntactic dependencies. However, in some instances, a cycle might include all arguments
semantically dependent on each other, making it impossible to identify a specific attack to remove for
rendering one of the arguments within this cycle a sink. Therefore, our goal is to minimise ArC(),
i.e., the number of arguments in cycles, rather than trying to eliminate all the cycles, which may not
be possible. Additionally,  is the minimal set with respect to set inclusion among all elements of ℐ
ensuring the smallest number of arguments in cycles is attained. This further minimisation allows the
initial AF to change as little as possible to reconstruct its instantiation process.</p>
      <p>Example 3. Resuming from Example 2, we have that ℐ = {∅, {(, )}, {(, )}, {(, ), (, )}} is the
set of all invariant attack sets within cycles for the AF  ⟨Arg, ⟩ in Figure 2. In this set, both {(, )}
and {(, )} are such that the removal of one of them eliminates the only cycle in the AF, and no smaller
attack set does so. Following Definition 5, we can obtain two refined AFs:  = ⟨Arg,  ∖ {(, )}⟩, and
′ = ⟨Arg, ∖{(, )}⟩. For , we find two feasible evaluation orders, (, , , , ,  ) and (, , , , , ),
while ′ allows for 32 possible feasible evaluation orders, corresponding to any permutation of the six
arguments in the AF following the partial order “ precedes ;  precedes ;  precedes , , and  ”. All these
orders are semantics-aware evaluation orders for  .</p>
      <p>A thorough study of the complexity of calculating a semantics-aware evaluation order for an AF
would require a more in-depth analysis, which is beyond the scope of this paper. As a preliminary
consideration, we observe that the problem of finding invariant attacks is related to establishing a
semantic equivalence between two AFs, which is generally intractable [20]. However, this problem
might be simplified in the case where the compared AFs share the same set of arguments [21].</p>
      <p>In general, feasible evaluation order and semantics-aware evaluation order are not related. Among
all the semantics-aware evaluation orders for  , only (, , , , ,  ), (, , , , , ), (, , , , ,  ),
and (, , , , , ) are also feasible evaluation orders for  since Definition 3 requires that  always
be evaluated first and does not allow  and  to be evaluated before  and . Moreover, considering
 , (, , , , ,  ) is a feasible evaluation order but not a semantics-aware evaluation order since the
semantic dependency of  on  is not taken into account. Below, we show that for any AF it is always
possible to find at least one feasible evaluation order that is also a semantics-aware evaluation order.
Proposition 1. Given an AF  = ⟨Arg, ⟩, there exists a numbering  : Arg → N such that  is a
feasible evaluation order and a semantics-aware evaluation order for  .</p>
      <p>Proof. It is suficient to observe that for any AF, it is always possible to find a semantics-aware evaluation
order such that for every cycle , all arguments belonging to  are evaluated before the arguments
attacking it. If none of the attacks between arguments in  is invariant, the semantics-aware evaluation
order collapses to a feasible evaluation order, as an argument in the cycle is chosen nondeterministically
to be evaluated first. If  includes an argument  conducting an invariant attack towards another
argument  within the cycle, disregarding the presence of (, ), it is possible to evaluate the nodes
within the cycle starting from  and ending at . The order obtained in both cases is a feasible evaluation
order by Definition 3.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Semantics-Aware Evaluation Order in Small Real-World Scenarios</title>
      <p>In this section, we illustrate with two examples of how the semantics-aware evaluation order can be
employed to reconstruct the progression of a debate by studying the sequence in which arguments might
have been introduced. The first example, taken from [ 22], reflects Anna’s reasoning about the suitability
of an apartment for rent, and was designed as a case study for a Temporal AF that incorporates the
availability of arguments over time. Using an AF already tailored for dynamic contexts aligns perfectly
with our objectives. Figure 3 shows the reference AF for this example, with the arguments listed
below. Originally comprising five arguments, we expanded the example by incorporating arguments
 and , along with the attacks (,  ), (, ) and (,  ) which generate a cycle. This addition further
demonstrates the efectiveness of the proposed methodology. Note that the arguments we consider are
abstract and are associated here with natural language sentences for exemplification only.
a: Anna should rent the apartment she found.
b: The apartment seems to have humidity problems.
c: The owner is committed to solving structural problems in the apartment.
d: A nightclub is set to open nearby shortly.
e: Laws forbid the opening of nightclubs in the area.
f: The owner, planning to sell the property soon, is unlikely to fund long-term repairs.
g: Due to legal constraints, the apartment cannot be sold immediately.</p>
      <p>Let us call  the AF in Figure 3 . The portion of  that is most interesting to analyse for this
example is the cycle formed by the arguments ,  and  . The situation described is as follows: humidity
problems compromise the plan to sell the apartment shortly – (,  ); intent on selling, the owner is
not interested in structural work on the property – (, ); the owner is committed on solving the
humidity problem – (, ). The presence of this cycle results in the identification of possible less
meaningful argument orderings when only using the syntactic dependency generated by attacks.
Take, for instance, the sequence (, , , , , , ), which represents an evaluation order for  . The
placement of  before  in this sequence may not reflect a realistic scenario. Essentially, evaluating the
owner’s commitment () before acknowledging the humidity problems () may lead Anna to initially
feel reassured about the apartment’s issues, only to realise later on that there are specific, potentially
unaddressed problems. This sequence might not provide the most logical flow for decision-making.
It would be more realistic for Anna to first consider the potential issue ( ) before contemplating the
owner’s commitment (), thereby creating a more logical dialogue as she considers her options. We
show that (, , , , , , ) is not a semantics-aware evaluation order for  . First, we identify the set
ℐ = {∅, {(,  )}, {(, )}, {(,  ), (, )}} of all invariant attack sets within cycles of  . It is easy to
verify that all attacks in elements of ℐ are either from OUT to IN arguments or from OUT to OUT. Since
there is no  ∈ ℐ such that (, ) ∈ , according to Definition 5, it is impossible for a semantics-aware
evaluation order to evaluate argument  before .</p>
      <p>On the other hand, sequences such as (, , , , , , ), (, , , , , , ), and (, , , , , , )
qualify as semantics-aware evaluation orders. To substantiate this claim, we search for minimal sets
 ∈ ℐ for which  = ⟨Arg,  ∖ ⟩ is acyclic. Both {(,  )} and {(, )} are viable candidates as minimal
attack invariant sets. Considering the invariant attack (,  ) for removal, permits  to be evaluated
directly after ,  after , and  subsequent to , giving rise to orders like (, , , , , , ). Alternatively,
when removing (, ),  becomes a sink argument in  = ⟨Arg,  ∖ {(, )}⟩, allowing its evaluation
at any stage; thus,  follows  and  ,  comes after  , and  after . Consequently, orders such as
(, , , , , , ) and (, , , , , , ) are possible under these conditions.</p>
      <p>For the next example, we use a deliberation dialogue extracted from [23], focusing on modelling
information exchange for managing shared resources. The dialogue features three participants: Alice, a
farmer; Bob, an oyster farmer; and Carol, a government representative. They are engaged in a discussion
concerning the efects of fertilisers on oysters, as delineated below. The reference AF, which we will
call , is shown in Figure 4. We adjusted the original example to enhance its relevance for our study,
resulting in the emergence of two distinct cycles: {, , , } and {, , , }.</p>
      <p>a: (Alice) Using a lot of fertiliser helps to have a big yield.
b: (Bob) Using a lot of fertiliser pollutes the lake and harms the oyster.
c: (Carol) Low-income farms incur significant fertiliser costs, attracting authority attention.
d: (Carol) Using more fertiliser than the norm implies a fine.
e: (Alice) There is no risk of being controlled because of lack of means.
f: (Carol) Farms bear significant expenses to mitigate the harmful impacts of pesticides.
g: (Alice) Lake pollution is not linked to pesticides.
h: (Bob) The studies conducted on the groundwater were inaccurate.</p>
      <p>To compute a semantics-aware evaluation order, we must identify beforehand a minimal invariant
attack set within cycles of  = ⟨Arg, ⟩ capable of minimising, upon its removal, the number of
arguments within cycles. Since we have two cycles in , we want to remove exactly two invariant
attacks, one from each cycle. Within {, , , }, we find three invariant attacks: (, ), (, ), and
(, ), while in {, , , } we find four: (,  ), (, ), (, ), and (, ). Only some pairs combining
invariant attacks from each cycle belong to ℐ. For instance, the pair {(, ), (, )} is not an invariant
attack set within cycles of  since () = OUT ̸= IN =  () with  = ⟨Arg,  ∖ {(, ), (, )}⟩.
This illustrates why, to maintain a coherent debate flow where counterarguments are efectively
positioned, Alice’s argument () that using a lot of fertiliser helps to have a big yield should logically
precede at least one between Bob’s argument () that using a lot of fertiliser pollutes the lake and
harms the oyster, or Carol’s argument () that using more fertiliser than the norm implies a fine.
In total, we find eleven minimal invariant attack set within cycles of  such that their removal
produces an acyclic AF: {(, ), (,  )}, {(, ), (, )}, {(, ), (, )}, {(, ), (, )}, {(, ), (, )},
{(, ), (,  )}, {(, ), (, )}, {(, ), (, )}, {(, ), (,  )}, {(, ), (, )}, {(, ), (, )}.</p>
      <p>For instance, if we select {(, ), (, )}, we can obtain the semantics-aware evaluation order
(, , , , ℎ, , , ). Following this order, the debate would start with Carol highlighting the potential
ifnes for using more fertiliser than normative levels ( ), setting a regulatory tone. Alice quickly counters
by questioning the efectiveness of such controls due to limited enforcement resources ( ). Carol
responds by pointing out the significant financial burden on low-income farms from high fertiliser
costs, which attracts more regulatory scrutiny (), contrasting with Alice’s point about enforcement
challenges. Alice then shifts the topic slightly by denying any link between lake pollution and pesticides
(), possibly trying to deflect from broader environmental concerns. Bob introduces a twist by
questioning the accuracy of groundwater studies (ℎ), which casts doubt on all environmental impact claims
discussed. Carol continues by examining farms’ economic burden in mitigating the negative efects of
pesticides ( ), countering Alice’s previous assertions. Alice then praises the agricultural benefits of
high fertiliser use, emphasising increased yields (). Bob wraps up the discussion by focusing on the
environmental damages of excessive fertiliser use, specifically highlighting the pollution of lakes and
the harm to oysters (), directly opposing Alice’s utilitarian view and bringing the debate full circle to
the consequences of agricultural practices on the environment.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Automatic Instantiation of AFs with</title>
      <p>cla
Identifying invariant attacks is a key step in establishing a semantics-aware evaluation order. The
problem of detecting modifications at the syntactic level of AFs that do not afect the semantics has
already been addressed in the literature with diferent approaches and methodologies, e.g., [ 14, 21].
In [14], the authors discuss the persistence of semantics after the removal of attacks. For complete,
preferred and grounded semantics, all attacks except IN to OUT and UND to UND can be removed
without altering the label of any argument (attacks from IN to IN, from IN to UND, and from UND
to IN are considered impossible because they contravene Definition 2). Attacks satisfying removal
persistence are invariant but do not constitute the totality of invariant attacks of an AF. For example, an
attack originating from an IN argument  to an OUT argument  is invariant if  is attacked by another
IN argument . Therefore, this method is not immediately viable, as it necessitates further research to
develop a procedure capable of detecting all the attacks of interest.</p>
      <p>In a separate line of work, Baumann has explored semantic equivalence properties between two
AFs where the second framework is derived from specific modifications made to the first [ 21]. Among
other aspects, his work examines semantic equivalence following the operation of local deletion, which
involves the removal of attacks between arguments. Despite lacking an operational definition for
identifying invariant attacks, we will leverage this concept to automate the process of identifying such
attacks.</p>
      <p>More in detail, we are interested in finding sets of attacks  with the properties described in
Definition 5:  must be the smallest set whose removal minimises the number of arguments involved in
cycles of an AF without changing the state of acceptability of the arguments. To approach this problem,
we propose an implementation in Answer Set Programming (ASP) [24], a type of logic programming
that operates based on the answer set semantics. In this framework, solutions to a specific problem
are delineated as selected models, or answer sets, of the associated logic program. ASP is particularly
well-suited for the specific task of minimising the number of arguments belonging to cycles of AFs
while preserving argument acceptability due to its inherent strengths in handling complex search and
optimisation problems within combinatorial decision-making environments.</p>
      <sec id="sec-5-1">
        <title>5.1. ASP Optimization for Minimal Invariant Attack Sets</title>
        <p>We outline the main passages of the proposed APS implementation, consisting of rules for determining
paths and cycles, attacks to remove, grounded labelling, and semantic equivalence, alongside necessary
minimisations. The complete code can be found in the appendix of this paper. The initial step in our
program involves supplying an AF in the ASPARTIX format [25], which entails defining arguments
and attacks using respectively the predicates arg/1 and att/2. Afterwards, we define a choice rule
{ remove(X, Y) : att(X, Y) } that allows any attack (,  ) to be considered for removal based
on the criteria set later in the program. We also include definitions for paths and membership in a cycle
before and after the potential removal of attacks. For example, a path from  to  in the modified AF
exists if  attacks  and the attack (,  ) has not been removed.</p>
        <p>To ensure that the labels assigned to arguments will not change after the attacks are removed, we
must first obtain a grounded labelling for the AF before and after the modifications. We specify rules
reflecting the conditions given in Definition 2 for labelling the AF before and after the changes. In
particular, we explicitly declare that an argument is labelled UND if it is neither IN nor OUT. We also
introduce a constraint imposing that exactly one label can be assigned to each argument. Then, we
obtain the grounded labelling by minimising the number of IN labels assigned to arguments of the AF.</p>
        <p>At this point, we impose the semantic equivalence constraint between the original AF and that
obtained after removing the attacks. Concretely, we require that if an argument  has a certain label
before removal, this label is maintained after removal. Next, we give two optimisation statements to
minimise the number of arguments that are part of cycles and the number of attacks to be removed.
Finally, we filter the output to display only instances of the remove/2 predicate, showing which attacks
are chosen for removal.
5.2. A cla Program to Instantiate AFs
We now show how AFs can be instantiated through cla constructs [18] which introduce arguments
following a semantics-aware evaluation order. A key feature of cla is its ability to handle concurrency
and nondeterminism, enabling the simulation of the dynamic aspects of real-life debates. The cla
program provided in Listing 1 realises the AF of Figure 4 by taking into account syntactic and semantic
dependencies between arguments. All arguments, except for  and , are integrated into the debate
only when their syntactic dependencies are satisfied (Listing 1, lines 3 − 10). In detail, the instruction
checkw({c,f},{}) -&gt; add({a},{(a,f),(a,c)}) -&gt; success) -&gt; success adds  and its
attacks into the shared knowledge base only when both  and  (the attacked arguments) are already
present. No check is made for  and , so these arguments can immediately be added (lines 6 and
9, respectively), ignoring their syntactic dependencies.  = {(, ), (, )} is a minimal invariant
attack set in the sense of Definition 5, hence the invariant attacks (, ) and (, ) have initially been
ignored to break the two cycles in the AF. They are incorporated afterwards (lines 1 − 2) when all the
arguments they involve have already been added. All the instructions are executed in parallel, enabling
the addition of each argument as soon as the conditions in the guarded agent are satisfied. It follows
that every sequence of additions obtained as an execution trace of the program in Listing 1 enumerates
the arguments in a semantics-aware evaluation order.
checkw ( { d , a } , { } ) −&gt; add ( { } , { ( d , a ) } ) −&gt; s u c c e s s | |
checkw ( { g , b } , { } ) −&gt; add ( { } , { ( g , b ) } ) −&gt; s u c c e s s | |
checkw ( { c , f } , { } ) −&gt; add ( { a } , { ( a , f ) , ( a , c ) } ) −&gt; s u c c e s s | |
checkw ( { a } , { } ) −&gt; add ( { b } , { ( b , a ) } ) −&gt; s u c c e s s | |
checkw ( { e } , { } ) −&gt; add ( { c } , { ( c , e ) } ) −&gt; s u c c e s s | |
add ( { d } , { } ) −&gt; s u c c e s s | |
checkw ( { d } , { } ) −&gt; add ( { e } , { ( e , d ) } ) −&gt; s u c c e s s | |
checkw ( { g } , { } ) −&gt; add ( { f } , { ( f , g ) } ) −&gt; s u c c e s s | |
add ( { g } , { } ) −&gt; s u c c e s s | |
checkw ( { g } , { } ) −&gt; add ( { h } , { ( h , g ) } ) −&gt; s u c c e s s ;</p>
        <p>We provide a procedure, illustrated in Algorithm 1, for automatically obtaining a cla program
that builds an AF by adding arguments in semantics-aware evaluation order. Our input is an AF
 = ⟨, ⟩, while the output is a string corresponding to a cla program. The procedure initiates
by invoking find_minimal_invariant_attack_set( ) (line 2 of Algorithm 1), namely a call to
the ASP program described in Section 5.1 used for identifying a set  of attacks that, when removed,
left the AF with the minimum number of arguments in circular dependency. Subsequently, in line 3,
we define  as the AF obtained from  by removing the attacks in . Afterwards, the process starts
to generate the cla program. This phase is divided into two steps. Initially, we write cla instructions
to add all attacks within  into the shared knowledge base (lines 5 − 6), provided that all arguments
engaged in these attacks have already been added. Then, we call the procedure gen_cla_prog()
described in [16], which generates a cla program for instantiating  while ensuring the arguments are
added in a feasible evaluation order.</p>
        <p>Algorithm 1: Procedure for generating a cla program to instantiate a specified AF.</p>
        <p>Data: AF  = ⟨, ⟩</p>
        <p>Result: string 
1 procedure gen_cla_prog_saeo( ):
2 I = find_minimal_invariant_attack_set( )
3  = ⟨,  ∖ ⟩
4  = “”
5 foreach (, ) in  do
6  =  + “checkw({, }, {}) − &gt; add({}, {(, )}) − &gt; success ‖ ”
7  =  + gen_cla_prog()
// I: set of attacks</p>
        <p>The program resulting from the Algorithm 1 allows the shared knowledge base to be manipulated to
shape the desired AF. This instantiation involves the addition of arguments according to the syntactic
and semantic dependency relations dictated by the attacks within the framework. Due to the inclusion
of parallel and nondeterministic operations, multiple unique executions may occur, leading to diferent
(semantics-aware evaluation) orders for the addition of arguments.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>A semantics-aware evaluation order introduces the arguments in a meaningful sequence, simulating
what might have happened during the instantiation of the AF under consideration. Arguments that
receive attacks are evaluated before those that initiate them, except for one argument per cycle, whose
invariant attack is bypassed to allow the other arguments for proper evaluation. "The refined framework
, obtained as per Definition 5, can still contain cycles since it is possible that no invariant attack is
identified within some cycles, necessitating the adoption of an arbitrary sequence provided by the
feasible evaluation order for arguments involved in circular dependencies. Furthermore, multiple
arguments conducting invariant attacks may be candidates within a cycle for initial evaluation. Even
in such scenarios, there is no specific criterion for prioritising one argument over others for being
evaluated first. Hence, the approach with the semantics-aware evaluation order might not always
identify a single argument to evaluate first in every cycle. Nonetheless, such an order helps to limit
the cases where the choice remains arbitrary, providing more meaningful insights into the possible
sequence of arguments that constitutes the unfolding of a debate.</p>
      <p>In the future, we plan to advance this work by studying a further evaluation approach based on three
assumptions that better capture some aspects of real argumentative processes. Firstly, we can assume
that a debate among multiple agents takes place through an exchange of arguments that replicate
and counter the arguments already introduced. Each new argument inserted must therefore keep the
graph connected. Secondly, we assume that when an agent inserts an argument, this will be labelled
IN, as no one has had the chance to reply yet. This assumption implies a diferent use of semantic
dependence from that presented in this paper, where instead the inserted arguments can have any
label. Finally, it is reasonable to think that new arguments must change the acceptability of some other
argument in the AF, otherwise there would have been no reason to insert such an argument. With these
assumptions, we obtain sequences of arguments that could closely mirror argumentation processes with
the outlined characteristics, though this approach may narrow the scope of application. For example,
the semantics-aware evaluation order allows new arguments to be inserted without being connected to
the previously instantiated part of the AF.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>The authors are member of the INdAM Research group GNCS and of Consorzio CINI. This work has been
partially supported by: GNCS-INdAM, CUP_E53C23001670001; GNCS-INdAM, CUP_E53C22001930001;
EU PNRR MUR PRIN project EPICA: “Empowering Public Interest Communication with
Argumentation” - Next Generation (J53D23007220006); EU PNRR MUR project SERICS - Next
Generation (PE00000014); University of Perugia - Fondo Ricerca di Ateneo (2020, 2021, 2022) - Projects
BLOCKCHAIN4FOODCHAIN, FICO, AIDMIX, “Civil Safety and Security for Society”; European Union
- Next Generation EU NRRP-MUR - Project J97G22000170005 VITALITY: “Innovation, digitalisation and
sustainability for the difused economy in Central Italy”; Piano di Sviluppo e Coesione del Ministero
della Salute 2014-2020 - Project I83C22001350001 LIFE: “the itaLian system Wide Frailty nEtwork” (Linea
di azione 2.1 “Creazione di una rete nazionale per le malattie ad alto impatto” - Traiettoria 2 “E-Health,
diagnostica avanzata, medical devices e mini invasività”).
Proceedings of the 30th Italian Conference on Computational Logic, Genova, Italy, July 1-3, 2015,
volume 1459 of CEUR Workshop Proceedings, CEUR-WS.org, 2015, pp. 197–201.
[8] P. M. Dung, On the acceptability of arguments and its fundamental role in nonmonotonic reasoning,
logic programming and n-person games, Artif. Intell. 77 (1995) 321–358.
[9] P. Baroni, M. Caminada, M. Giacomin, An introduction to argumentation semantics, Knowl. Eng.</p>
      <p>Rev. 26 (2011) 365–410.
[10] H. Prakken, M. D. Winter, Abstraction in argumentation: Necessary but dangerous, in:
Computational Models of Argument - Proceedings of COMMA 2018, Warsaw, Poland, 12-14 September
2018, volume 305 of Frontiers in Artificial Intelligence and Applications , IOS Press, 2018, pp. 85–96.
[11] G. Alfano, S. Greco, F. Parisi, Incremental computation in dynamic argumentation frameworks,</p>
      <p>IEEE Intell. Syst. 36 (2021) 80–86.
[12] S. Doutre, J. Mailly, Constraints and changes: A survey of abstract argumentation dynamics,</p>
      <p>Argument Comput. 9 (2018) 223–248.
[13] S. Bistarelli, F. Santini, C. Taticchi, On looking for invariant operators in argumentation semantics,
in: Proceedings of the Thirty-First International Florida Artificial Intelligence Research Society
Conference, FLAIRS 2018, Melbourne, Florida, USA. May 21-23 2018, AAAI Press, 2018, pp. 537–540.
[14] T. Rienstra, C. Sakama, L. W. N. van der Torre, Persistence and monotony properties of
argumentation semantics, in: Theory and Applications of Formal Argumentation - Third International
Workshop, TAFA 2015, Buenos Aires, Argentina, July 25-26, 2015, Revised Selected Papers, volume
9524 of Lecture Notes in Computer Science, Springer, 2015, pp. 211–225.
[15] R. Baumann, What does it take to enforce an argument? minimal change in abstract
argumentation, in: ECAI 2012 - 20th European Conference on Artificial Intelligence. Including Prestigious
Applications of Artificial Intelligence (PAIS-2012) System Demonstrations Track, Montpellier,
France, August 27-31 , 2012, volume 242 of Frontiers in Artificial Intelligence and Applications , IOS
Press, 2012, pp. 127–132.
[16] S. Bistarelli, C. Taticchi, Deriving dependency graphs from abstract argumentation frameworks,
in: AIxIA 2023 - Advances in Artificial Intelligence - XXIInd International Conference of the Italian
Association for Artificial Intelligence, AIxIA 2023, Rome, Italy, November 6-9, 2023, Proceedings,
volume 14318 of Lecture Notes in Computer Science, Springer, 2023, pp. 17–29.
[17] M. Caminada, On the issue of reinstatement in argumentation, in: Logics in Artificial Intelligence,
10th European Conference, JELIA 2006, Liverpool, UK, September 13-15, 2006, Proceedings, volume
4160 of Lecture Notes in Computer Science, Springer, 2006, pp. 111–123.
[18] S. Bistarelli, C. Taticchi, A concurrent language for modelling agents arguing on a shared
argumentation space, Argument Comput. 15 (2024) 21–48.
[19] S. Bistarelli, C. Taticchi, Introducing a tool for concurrent argumentation, in: Logics in Artificial
Intelligence - 17th European Conference, JELIA 2021, Virtual Event, May 17-20, 2021, Proceedings,
volume 12678 of Lecture Notes in Computer Science, Springer, 2021, pp. 18–24.
[20] R. Baumann, W. Dvorák, T. Linsbichler, S. Woltran, A general notion of equivalence for abstract
argumentation, Artif. Intell. 275 (2019) 379–410.
[21] R. Baumann, Context-free and context-sensitive kernels: Update and deletion equivalence in
abstract argumentation, in: ECAI 2014 - 21st European Conference on Artificial Intelligence, 18-22
August 2014, Prague, Czech Republic - Including Prestigious Applications of Intelligent Systems
(PAIS 2014), volume 263 of Frontiers in Artificial Intelligence and Applications , IOS Press, 2014, pp.
63–68.
[22] M. C. Budán, M. L. Cobo, D. C. Martínez, G. R. Simari, Bipolarity in temporal argumentation
frameworks, Int. J. Approx. Reason. 84 (2017) 1–22.
[23] N. Paget, G. Pigozzi, O. Barreteau, Information sharing for natural resources management, 2013.
[24] V. Lifschitz, Answer Set Programming, Springer, 2019.
[25] U. Egly, S. A. Gaggl, S. Woltran, ASPARTIX: implementing argumentation frameworks using
answer-set programming, in: Logic Programming, 24th International Conference, ICLP 2008,
Udine, Italy, December 9-13 2008, Proceedings, volume 5366 of Lecture Notes in Computer Science,
Springer, 2008, pp. 734–738.
Listing 2 provides an ASP implementation designed to identify the smallest set of attacks whose
elimination minimises the number of arguments involved in cycles within an AF while maintaining the
original acceptability state of the arguments.</p>
      <p>Listing 2: ASP Implementation for Minimal Invariant Attack Sets.
1 % AF p r o v i d e d i n a s e p a r a t e f i l e
2 # i n c l u d e " a f . l p " .
3
4 % Choice r u l e f o r a t t a c k s t o remove
5 { remove ( X , Y ) : a t t ( X , Y ) } .
6
7 %P a t h s and c y c l e s
8 path ( X , Y ) : − a t t ( X , Y ) .
9 path ( X , Y ) : − path ( X , Z ) , a t t ( Z , Y ) .
10 p a t h _ a f t e r ( X , Y ) : − a t t ( X , Y ) , not remove ( X , Y ) .
11 p a t h _ a f t e r ( X , Y ) : − p a t h _ a f t e r ( X , Z ) , a t t ( Z , Y ) , not remove ( Z , Y ) .
12 i n _ c y c l e ( X ) : − path ( X , X ) .
13 i n _ c y c l e _ a f t e r ( X ) : − p a t h _ a f t e r ( X , X ) .
14
15 %Grounded l a b e l l i n g
16 i n ( X ) : − a r g ( X ) , not h a s _ n o n _ o u t _ a t t a c k e r ( X ) .
17 h a s _ n o n _ o u t _ a t t a c k e r ( X ) : − a t t ( Y , X ) , a r g ( Y ) , not out ( Y ) .
18 out ( X ) : − a r g ( X ) , a t t ( Y , X ) , a r g ( Y ) , i n ( Y ) .
19 und ( X ) : − a r g ( X ) , not i n ( X ) , not out ( X ) .
20 : − a r g ( X ) , not 1 { i n ( X ) ; out ( X ) ; und ( X ) } 1 .
21 # minimize { 1@4, X : i n ( X ) } .
22
23 %Grounded l a b e l l i n g a f t e r t h e removal
24 i n _ a f t e r ( X ) : − a r g ( X ) , not has_non_o_a_a ( X ) .
25 has_non_o_a_a ( X ) : − a t t ( Y , X ) , a r g ( Y ) , not o u t _ a f t e r ( Y ) , not remove ( Y , X ) .
26 o u t _ a f t e r ( X ) : − a r g ( X ) , a t t ( Y , X ) , a r g ( Y ) , i n _ a f t e r ( Y ) , not remove ( Y , X ) .
27 u n d _ a f t e r ( X ) : − a r g ( X ) , not i n _ a f t e r ( X ) , not o u t _ a f t e r ( X ) .
28 : − a r g ( X ) , not 1 { i n _ a f t e r ( X ) ; o u t _ a f t e r ( X ) ; u n d _ a f t e r ( X ) } 1 .
29 # minimize { 1@3, X : i n _ a f t e r ( X ) } .
30
31 %S e m a n t i c e q u i v a l e n c e
32 : − i n ( X ) , not i n _ a f t e r ( X ) .
33 : − out ( X ) , not o u t _ a f t e r ( X ) .
34 : − und ( X ) , not u n d _ a f t e r ( X ) .
35
36 % M i n i m i s a t i o n
37 # minimize { 1@2, X : i n _ c y c l e _ a f t e r ( X ) } .
38 # minimize { 1@1, X , Y : remove ( X , Y ) } .
39
40 %Output
41 #show remove / 2 .</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dutilh Novaes</surname>
          </string-name>
          , Argument and Argumentation, in: The Stanford Encyclopedia of Philosophy, Fall 2022 ed., Metaphysics Research Lab, Stanford University,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L.</given-names>
            <surname>Caroprese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Vocaturo</surname>
          </string-name>
          , E. Zumpano,
          <article-title>Argumentation approaches for explanaible AI in medical informatics</article-title>
          ,
          <source>Intell. Syst. Appl</source>
          .
          <volume>16</volume>
          (
          <year>2022</year>
          )
          <fpage>200109</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>L.</given-names>
            <surname>Xiao</surname>
          </string-name>
          ,
          <article-title>Towards evidence-based argumentation graph for clinical decision support</article-title>
          ,
          <source>in: 35th IEEE International Symposium on Computer-Based Medical Systems, CBMS</source>
          <year>2022</year>
          , Shenzen, China,
          <source>July 21-23</source>
          ,
          <year>2022</year>
          , IEEE,
          <year>2022</year>
          , pp.
          <fpage>400</fpage>
          -
          <lpage>405</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vassiliades</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Bassiliades</surname>
          </string-name>
          , T. Patkos,
          <source>Argumentation and explainable artificial intelligence:</source>
          a survey,
          <source>Knowl. Eng. Rev</source>
          .
          <volume>36</volume>
          (
          <year>2021</year>
          )
          <article-title>e5</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>Karafili</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. C.</given-names>
            <surname>Kakas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. I.</given-names>
            <surname>Spanoudakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Lupu</surname>
          </string-name>
          ,
          <article-title>Argumentation-based security for social good</article-title>
          ,
          <source>in: 2017 AAAI Fall Symposia</source>
          , Arlington, Virginia, USA, November 9-
          <issue>11</issue>
          ,
          <year>2017</year>
          , AAAI Press,
          <year>2017</year>
          , pp.
          <fpage>164</fpage>
          -
          <lpage>170</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. N. L.</given-names>
            <surname>Franqueira</surname>
          </string-name>
          , T. T. Tun,
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Wieringa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Nuseibeh</surname>
          </string-name>
          ,
          <article-title>Automated analysis of security requirements through risk-based argumentation</article-title>
          ,
          <source>J. Syst. Softw</source>
          .
          <volume>106</volume>
          (
          <year>2015</year>
          )
          <fpage>102</fpage>
          -
          <lpage>116</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S.</given-names>
            <surname>Bistarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Santini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Taticchi</surname>
          </string-name>
          ,
          <article-title>Towards visualising security with arguments</article-title>
          , in:
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>