<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Implementing the Fatio Protocol for Multi-Agent Argumentation in LogiKEy</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Luca Pasetto</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christoph Benzmüller</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Freie Universität Berlin</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Otto-Friedrich-Universität Bamberg</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Luxembourg</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <fpage>38</fpage>
      <lpage>47</lpage>
      <abstract>
        <p>Fatio is a dialogue protocol that has been proposed to extend the language for agent communications FIPA ACL with locutions for dialectical argumentation. Its syntax is composed of five agent locutions, and its axiomatic semantics is defined in terms of the mental states (beliefs and desires) of the participating agents, that are influenced by what is uttered. LogiKEy is a framework and methodology for the design and engineering of ethico-legal reasoners which is based on semantical embeddings of logics and logic combinations in expressive classical higher-order logic (HOL). In this paper, we explore a modelling and present a first implementation of the axiomatic semantics of Fatio in the Isabelle/HOL proof assistant system following the LogiKEy methodology.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Proof assistants</kwd>
        <kwd>Isabelle/HOL</kwd>
        <kwd>Knowledge representation and reasoning</kwd>
        <kwd>Automated theorem proving</kwd>
        <kwd>Semantical embedding</kwd>
        <kwd>Higher-order logic</kwd>
        <kwd>Dialogue</kwd>
        <kwd>Argumentation</kwd>
        <kwd>Multi-Agent systems</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Recent advancements in dialogue systems based on language models are pushing the boundaries of
what is possible in AI-human interaction. The rapid evolution of these technologies can set up the
stage for more intuitive and helpful AI systems in everyday life, but at the same time presents a variety
of risks. This motivates research on formal dialogue systems, based on logical languages, for which
it is possible to formally (and eventually also mechanically) prove relevant properties. In this paper,
we explore an Isabelle/HOL modelling of Fatio, a formal dialogue system based on argumentation
between multiple agents by following the LogiKEy [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] framework and methodology. For an overview
of argumentation-based dialogue, the interested reader can refer to [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        LogiKEy [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is a framework and methodology that can be used for the design, engineering and
experimentation of reasoning systems, with a focus on ethico-legal applications [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and normative
reasoning [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The formal framework of LogiKEy is based on shallow semantical embeddings (SSE) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] of
combinations of various logics in classical higher-order logic (HOL). This meta-logical approach allows
the use of off-the-shelf theorem provers and model finders for HOL, and therefore aids designers of
ethical intelligent agents by allowing them to employ existing technologies instead of having to face the
cumbersome task of developing completely new tools. Additionally, continuous improvements to the
theorem provers enhance the reasoning capabilities within LogiKEy without needing extra adjustments.
The methodology is represented in Figure 1: the relevant object logics are encoded in HOL and can in
turn be used to express domain theories, with the purpose of successively experimenting with concrete
applications and examples.
      </p>
      <p>
        The rest of the paper is structured as follows: Section 2 describes the Fatio protocol as in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], Section
3 shows its LogiKEy implementation in the Isabelle/HOL proof assistant system, and Section 4 discusses
the relevant results and the remaining challenges.
L2 — Domain-Specific Language(s)
      </p>
      <p>L1 — Object Logic(s)</p>
    </sec>
    <sec id="sec-2">
      <title>2. The Fatio Protocol</title>
      <p>
        This section summarizes the Fatio protocol for dialectical argumentation between agents that has been
introduced in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The original paper motivates the protocol as an extension of the language FIPA
ACL [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for agent interactions with the goal of addressing the criticism that it lacks a proper theory
of argumentation. The authors therefore provide a set of locutions for the requesting and providing
of reasons. The intuition is that agents that are proponents or opponents of a claim aim to establish
the truth through various locutions or dialectical moves. The protocol is defined with a syntax, an
axiomatic semantics, and an operational semantics.
      </p>
      <sec id="sec-2-1">
        <title>2.1. Syntax</title>
        <p>
          The general syntax for utterances is illocution(Pi, ϕ) or illocution(Pi, Pj , ϕ), where illocution
is an illocutionary act, Pi is an identifier for the agent making the utterance (the speaker), Pj (with
Pj 6= Pi) denotes an agent at whom the utterance is directed, and ϕ is the content of the utterance.
Utterances are intended to be made to the entire group involved in the dialogue. For the content of
the utterance, any agreed formal language can be used, but the authors assume that the content layer
is represented in a propositional language, with lower-case Greek letters as propositions. The set of
well-formed content formulae, closed under the usual connectives, is denoted as C. Since the protocol is
used to exchange justifications for claims, some utterances also contain content comprising arguments
(e.g., premises and inference-rules), which are represented by upper-case Greek letters. The set of
well-formed argument formulae, closed under the usual connectives, is denoted as A, with C ⊂ A.
If ϕ ∈ C is a proposition in the content language and Φ ∈ A is a justification, Φ ⊢+ ϕ is written to
indicate that Φ is an argument in support of ϕ, and Φ ⊢− ϕ to indicate that Φ is an argument against
ϕ. In order to keep track of commitments to provide justifications for utterances, the concept of a
dialectical obligation is introduced and is used to refer to previous commitments in the dialogue. The
syntax is made up of five locutions or dialectical moves [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]:
• F1 – assert(Pi, ϕ): A speaker Pi asserts a statement ϕ. By doing so, Pi creates a dialectical
obligation to provide justification for ϕ, if subsequently required by another participant.
• F2 – question(Pj , Pi, ϕ): A speaker Pj questions a prior utterance of assert(Pi, ϕ) and
seeks a justification for ϕ. The speaker Pj of the question creates no dialectical obligations.
• F3 – challenge(Pj , Pi, ϕ): A speaker Pj challenges a prior utterance of assert(Pi, ϕ) and
seeks a justification for ϕ. Unlike a question, Pj also creates a dialectical obligation on himself
to provide a justification for not asserting ϕ, such as an argument against ϕ, if questioned or
challenged. Therefore, challenge(Pj , Pi, ϕ) is considered stronger than question(Pj , Pi, ϕ).
• F4 – justify(Pi, Φ ⊢+ ϕ): A speaker Pi, who had previously uttered assert(Pi, ϕ) and was
then questioned or challenged, is able to provide a justification Φ for the initial statement ϕ.
• F5 – retract(Pi, ϕ): A speaker Pi, who had previously made an assertion assert(Pi, ϕ) or
justification justify(Pi, Φ ⊢+ ϕ), can withdraw this statement with the utterance of retract(Pi,
ϕ) or retract(Pi, Φ ⊢+ ϕ), respectively. This removes the earlier dialectical obligation on Pi to
justify ϕ or Φ, if questioned or challenged.
        </p>
        <p>
          The locutions are also subject to combination rules, introduced in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], that constrain when an utterance
can be made within the dialogue, ensuring structured interaction based on assertions, questions,
challenges, justifications, and retractions. For instance, they ensure that the utterance assert(Pi, ϕ)
may be made at any time, and that immediately following an utterance of question(Pj , Pi, ϕ) or
challenge(Pj , Pi, ϕ), the speaker Pi of assert(Pi, ϕ) must reply with justify(Pi, Φ ⊢+ ϕ), for
some Φ ∈ A.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Axiomatic Semantics</title>
        <p>
          The axiomatic semantics gives a set of axioms in terms of pre-conditions and post-conditions for each
locution of Fatio, and it involves beliefs and desires of the participating agents. Mental states such
as beliefs and desires are used in order to be consistent with the axiomatic semantics of FIPA ACL.
The concept of a dialectical obligation is also clarified at this point, as the authors introduce, for each
participant Pi, one dialectical obligations store DOS(Pi) to record dialectical obligations. The contents
of DOS(Pi) are triples (Pi, X, Y ), where Pi is a participant, X ∈ C or X ∈ A, and Y ∈ {+, −}.
The intuition is that (Pi, ϕ, +) ∈ DOS(Pi) indicates that participant Pi has a dialectical obligation to
provide a justification in support of ϕ. Two classes of modal operators are used in the semantics: one
for beliefs Bi and one for desires Di, where i is an agent identifier. Also, an element from FIPA’s action
language is used: Done [illocution(Pi, ϕ), pre-con] indicates that illocution(Pi, ϕ) has been uttered by
participant Pi with content ϕ, and with pre-conditions pre-con true. For the purposes of the current
implementation, we do not consider pre-con and use Done [illocution(Pi, ϕ)]. The pre-conditions and
post-conditions are then [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]:
• assert(Pi, ϕ)
– Pre-conditions: A speaker Pi does not have yet the dialectical obligation to provide
justification for ϕ, and Pi desires that each participant Pj (j 6= i) believes that Pi believes
the proposition ϕ ∈ C. Formally, ((Pi, ϕ, +) ∈/ DOS(Pi)) ∧ (∀j 6= i)(DiBj Biϕ).
– Post-conditions: Each participant Pk(k 6= i), believes that participant Pi desires that
each participant Pj (j 6= i) believe that Pi believes ϕ. Moreover, the dialectical obligation
(Pi, ϕ, +) is added to DOS(Pi).
        </p>
        <p>Formally, (Pi, ϕ, +) ∈ DOS(Pi) ∧ (∀k 6= i)(∀j 6= i)(BkDiBj Biϕ).
• question(Pj , Pi, ϕ)
• challenge(Pj , Pi, ϕ)
– Pre-conditions: Some participant Pi(i 6= j) has a dialectical obligation to
support ϕ and participant Pj desires that each other participant Pk(k 6= j), believes
that Pj desires that Pi utter a justify locution for ϕ. Formally, ∃i(i 6= j)
((Pi, ϕ, +) ∈ DOS(Pi) ∧ (∀k 6= j)Dj BkDj (∃Δ ∈ A) Done [justify(Pi, Δ ⊢+ ϕ)]) .
– Post-conditions: Participant Pi must utter a justify locution. There is no change on the
dialectical obligations. Formally, (∃Δ ∈ A) Done [justify(Pi, Δ ⊢+ ϕ)] .
– Pre-conditions: Some participant Pi(i 6= j) has a dialectical obligation to support ϕ.</p>
        <p>Participant Pj desires that each other participant Pk(k 6= j), believe both that Pj desires
that Pi utter a justify(Pi, Δ ⊢+ ϕ) locution for some Δ ∈ A and that Pj does not believe
ϕ. Formally, ∃i(i 6= j) ((Pi, ϕ, +) ∈ DOS(Pi) ∧ (∀k 6= j)(Dj Bk¬Bj ϕ)
∧ (∀k 6= j)Dj BkDj (∃Δ ∈ A) Done [justify(Pi, Δ ⊢+ ϕ)]).
– Post-conditions: Participant Pi must utter a justify locution. Moreover, the
dialectical obligation (Pj , ϕ, −) is added to DOS(Pj ). Formally, ((Pj , ϕ, −) ∈ DOS(Pj )
∧ (∃Δ ∈ A) Done [justify (Pi, Δ ⊢+ ϕ)]).
– Pre-conditions: A speaker Pi has a dialectical obligation to support ϕ. Another speaker
Pj (j 6= i) has uttered a question(Pj , Pi, ϕ) or a challenge(Pj , Pi, ϕ) locution.
Furthermore, Pi desires that each participant Pk(k 6= i) believes that Pi believes that Φ ∈ A is
an argument for ϕ. Formally, ((Pi, ϕ, +) ∈ DOS(Pi)) ∧ (Done [question (Pj , Pi, ϕ)] ∨
Done [challenge (Pj , Pi, ϕ)) ∧ (∃Φ ∈ A) (∀k 6= i) DiBkBi (Φ ⊢+ ϕ) .
– Post-conditions: Each participant Pk(k 6= i) believes that Pi desires that each participant
Pj (j 6= i) believes that Pi believes that Φ ∈ A is an argument for ϕ. Moreover, the
dialectical obligation (Pi, Φ, +) is added to DOS(Pi). Formally, ((Pi, Φ, +) ∈ DOS(Pi)) ∧
(∀k 6= i) (∀j 6= i) BkDiBj Bi (Φ ⊢+ ϕ) .
– Pre-conditions: For the proposition ϕ ∈ C, it is required that (Pi, ϕ, +) ∈ DOS(Pi).</p>
        <p>Participant Pi desires that each participant Pj (j 6= i) believes that Pi no longer believes ϕ.
Additionally, Pi desires that each participant Pj (j 6= i) understands that Pi no longer
maintains a disbelief in ϕ. Formally, ((Pi, ϕ, +) ∈ DOS(Pi) ∧ (∀j 6= i) DiBj ¬Biϕ) ∨
((Pi, ϕ, −) ∈ DOS(Pi) ∧ (∀j 6= i) DiBj ¬¬Biϕ) .
– Post-conditions: Depending on the case outlined in the pre-conditions, either each
participant Pk(k 6= i) believes that participant Pi desires that each participant
Pj (j 6= i) believes that Pi no longer believes ϕ, or each participant Pk(k 6= i)
believes that participant Pi desires that each participant Pj (j 6= i) believes that
Pi no longer disbelieves ϕ. Moreover, either (Pi, ϕ, +) or (Pi, ϕ, −) is removed
from DOS(Pi). Formally, ((Pi, ϕ, +) ∈/ DOS(Pi) ∧ (∀k 6= i) (∀j 6= i) BkDiBj ¬Biϕ) ∨
((Pi, ϕ, −) ∈/ DOS(Pi) ∧ (∀k 6= i) (∀j 6= i) BkDiBj ¬¬Biϕ) .</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Operational Semantics</title>
        <p>
          The operational semantics is given in terms of internal decision mechanisms for agents that in the
protocol are not specified and are left to be implemented, for example through reasoning methods based
on formal argumentation. For instance, a decision mechanism is used by an agent to decide whether to
assert a given statement at a given point of the dialogue, and another decision mechanism is used by
an agent with a dialectical obligation to justify a statement or argument to identify the best possible
justification at a given point of the dialogue. We do not go into more details of the operational semantics
here, as for now we only focused on the encoding of the axiomatic semantics.
3. Fatio in LogiKEy
The possibility of using the existing LogiKEy infrastructure has allowed for rapid prototyping of the
Fatio protocol in the Isabelle/HOL proof assistant system [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. Figure 2 shows the layers of the LogiKEy
methodology applied to Fatio.
        </p>
        <p>The layers are as follows:
• L0 is the underlying Meta-Logic (HOL) layer;
• L1 represents the combination of object logics: (L1.1) a deeply embedded logic to be used to
express the content of the Fatio locutions and (L1.2) a shallowly embedded logic to represent the
axiomatic semantics in terms of beliefs and desires;
• L2 is about domain-specific languages: (L2.1) is the encoding of world knowledge using L1.2 and
(L2.2) is the actual language of Fatio, based on agents uttering locutions; and
• L3 is the layer for dialogue applications, that use in turn the L2 languages.
L3 — Dialogue Applications</p>
        <p>L2.2 — Fatio Language</p>
        <p>L2.1 — Encoding of</p>
        <p>World Knowledge</p>
        <p>L1.3 — Logic Combination
L1.1 — Content</p>
        <p>Logic (Deep
Embedding)</p>
        <p>L1.2 — BD
Logic (Shallow</p>
        <p>Embedding)</p>
        <p>The architecture shows that at layer L1 we have both a shallow and a deep embedding of logics, but
additionally the situation is even more complex, as the two logics are also nested within each other. We
now go through the main parts of the implementation and describe choices and challenges.1</p>
        <p>We begin with layer L1.2, showing the higher-order multimodal logic that we then use to represent
beliefs and desires of agents. Here, σ is the type of world depended formulas, and complex formulas are
built by following the semantics of the logical connectives.</p>
        <p>This logic is shallowly embedded, and after defining a datatype for speakers (for simplicity, at this
moment we list only three possible speakers a, b and c) we define the two modal operators Bi and Di
for each speaker i.
1The code of the Isabelle/HOL implementation that we describe here is available at https://github.com/cbenzmueller/LogiKEy/
tree/master/Fatio/v1</p>
        <p>At layer L1.1 (on the left below) we have a deeply embedded propositional logic, with
formulas of type Formula. This logic is then used inside the Fatio language of type FatioL to
represent the content of the Fatio locutions: we show the syntax of the Fatio language at layer
L2.2 (on the right below), with the five above mentioned kinds of locutions and content of type Formula.</p>
        <p>In the axiomatic semantics, the beliefs and desires of the agents are about formulas that have been
uttered during the dialogue using the content language, that is, the deeply embedded one. However,
the axiomatic semantics is expressed in the shallowly embedded higher-order multimodal logic.
Therefore, at layer L1.3 it is necessary to have a mapping between the deeply embedded content
formulas (L1.1) and the shallowly embedded higher-order multimodal logic formulas (L1.2). This is
built starting from the atoms of the languages with mkHOMMLatom (on the left below) and arriving to
the complex formulas with the function Map1 specified on the relative connectives (on the right below).
We also map to the higher-order multimodal logic the special formulas that appear in the axiomatic
semantics for Done [illocution(Pi, ϕ)] (with MapDone) and for Φ ⊢+ ϕ in justify(Pi, Φ ⊢+ ϕ) (with
MapEntailment).</p>
        <p>We show then some experiments to clarify the differences between the deep and the shallow
embedding. First, while for the deeply embedded logic of L1.1 we can find a counterexample to show
that it does not hold that p → p = ¬⊥, when this is mapped to the shallowly embedded logic of L1.2 we
can prove that it holds that Map1(p → p) = Map1(¬⊥) (on the left below). Indeed, the deep embedding
is motivated by the need to differentiate two same Fatio locutions that involve different but semantically
equivalent formulas of the content language, while with the shallow embedding we cannot distinguish
between formulas like p → p and ¬⊥. We can find a counterexample to show that it does not hold
that assert(a, p → p) = assert(a, ¬⊥), but also there is a counterexample to show that it does not
hold that Done [assert(a, p → p)] = Done [assert(a, ¬⊥)] (on the right below). This is the intended
behaviour for Done, as in this case we might be in a dialogue where agent a has asserted ¬⊥ but not p → p.</p>
        <p>We proceed now with the modelling of the axiomatic semantics of the protocol. The first ingredient is
the dialectical obligations store DOS, that we represent as a list of triples (Speaker, Formula, Sign).
The function to update DOS when a Fatio locution is executed is then shown below here on the right:
assert, justify, and challenge add an element to DOS, retract removes an element from
DOS, while question does not change DOS.
For layer L1.3, the next step is to encode the pre-conditions of each locution. In order to do that,
the formal definitions of the original paper should be clear and not leave space for ambiguity. If we
consider the pre-conditions of question and challenge, we have that ∃Δ appears after the modal
operators Dj BkDj in (∀k 6= j)Dj BkDj (∃Δ ∈ A) Done [justify(Pi, Δ ⊢+ ϕ)] . It is not completely
clear if the authors actually intended the modal operators to operate on a quantified formula, or if they
intended the existential quantifier as a meta-language element. To better understand the situation, we
experimented with the expression and tried to move the existential quantifier outside of the modal
operators, obtaining (∀k 6= j) (∃Δ ∈ A) Dj BkDj Done [justify(Pi, Δ ⊢+ ϕ)] . Indeed, the two
formulas are not equivalent, and we found out that while the second one implies the first one (lemma
ent3), the inverse does not hold (counterexample for lemma ent2). For now, we decided to follow
strictly the contents of the paper, so we kept the first formula for the pre-conditions, but this might be a
knowledge representation choice that can be changed in favor of the formula that better encodes the
desired effects.</p>
        <p>We can then proceed with the encoding of the pre-conditions. We write function PreCond that
checks whether the pre-conditions of a locution are satisfied, given a current dialectical obligations store
DOS and a current set Γ of shallowly embedded formulas that represent the encoded world knowledge
of layer L2.1.</p>
        <p>The post-conditions are encoded with the GammaAdd function, that takes a locution and gives the set of
formulas representing its post-conditions. At this point, in the axiomatic semantics of the paper the
postconditions of question and challenge contain a formula (∃Δ ∈ A) Done [justify(Pi, Δ ⊢+ ϕ)],
which means that the relevant justify locution is uttered. However, we think that this would be
better handled by combination rules or operational semantics, and the justify locution cannot have
been uttered already when the post-conditions of question and challenge are imposed. For this
reason, we simplified the post-conditions of these two locutions.</p>
        <p>The actual evolution of the set of formulas Γ is encoded by GammaUpdate, that outputs the updated
set of formulas Γ′ given a current locution and a current set of formulas Γ. It does so by including (1)
the new formulas added with GammaAdd, (2) the formulas that are already in Γ and are consistent with
(1), and (3) the relevant MapDone formula for the current locution.</p>
        <p>A FatioState is defined as a triple (FatioL list, DOS list, Γ). The function FatioCheck
goes from one FatioState to the next by executing its first locution, and the function FatioCheckRec
executes an entire dialogue by a series of recursive calls, and outputs True if the final state is
successful, that is, the pre-conditions of each executed locution are satisfied after having imposed the
post-conditions of the previous locution.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>4. Discussion</title>
      <p>We presented a first modelling and implementation of the Fatio protocol in the LogiKEy framework.
The next step is obviously to carry out more extensive experiments on it, in order to test it and possibly
to improve it accordingly. At this point, we ran only a few experiments with some small dialogues.
While the reasoning system is promising, and up to our knowledge it is the first implementation of
Fatio that actually uses the intended modal logic semantics, the modelling is not simple and there are a
few sources of complexity that emerged:
• complexity of the relationship between the embeddings of the logics (the deep embedding is being
mapped to the shallow embedding, and the Fatio language, that uses the deeply embedded logic,
is again being mapped to the shallow embedding);
• complexity in terms of how Isabelle/HOL can cope with the modelling, as
– we had a few technical issues related to the parsing of the formulas combining different
logics, and in order to solve them at this point we are using a large quantity of brackets to
speed-up the disambiguation process, and
– we had some issues regarding the responsiveness of the theorem provers called by
sledgehammer, caused by the complexity of the involved formulas;
• complexity in terms of human usability/readability for experimentation (the formulas to be used
to encode the world knowledge and to satisfy the pre-conditions in the axiomatic semantics
involve complex nesting of beliefs and desires that might be hard to grasp for a human user of
the protocol, and moreover as already mentioned the formulas have to involve large numbers of
brackets to help the parser).</p>
      <p>An additional challenge in this kind of work is that in the original paper there are extra-logical aspects
that have to be clarified in order to implement the protocol. As it is natural with implementations, there
are differences between the paper and the code, and during the implementation things can be simplified
or might need to be made more explicit. In our case, for example, we simplified the post-conditions of
question and challenge, and we modelled the dialectical obligations store DOS in a slightly simpler
way compared to the original paper. At the same time, we had to make (temporary) choices about
how to model the Done operator and on where to put the existential quantifier in the pre-conditions of
question and challenge. These are cases where the experimental approach proposed with LogiKEy
can be impactful, as we made these choice with the support of small experiments.</p>
      <p>The point of how to assess the correctness of our method is important to discuss. A pen and paper
proof would be possible if we had a proper target semantics, but in the process of implementing the
protocol we actually had to make changes to the original semantics. Therefore, a contribution of this
paper is in making more clear how the target semantics should look like, so to possibly simplify it. In
general, an overall future goal is to simplify the modelling to solve some of the challenges listed above.
For instance, as already stated, the relationship between the shallow and the deep embedding is not
straightforward. Therefore, streamlining it (e.g., by only using a shallow embedding, even though a
more sophisticated one) would help to fix some of the complexities we have with the integration of the
different reasoning mechanisms.
This work was supported by the Luxembourg National Research Fund (FNR) through the project Logical
methods for Deontic Explanations (INTER/DFG/23/17415164/LODEX) and the project Deontic Logic
for Epistemic Rights (OPEN O20/14776480).</p>
      <p>The authors would like to thank Prof. Leon van der Torre for sharing the enthusiasm about Fatio, and
David Fuenmayor and Daniel Kirchner for helpful comments.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Benzmüller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Parent</surname>
          </string-name>
          ,
          <string-name>
            <surname>L. van der Torre</surname>
          </string-name>
          ,
          <article-title>Designing normative theories for ethical and legal reasoning: LogiKEy framework, methodology, and tool support</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>287</volume>
          (
          <year>2020</year>
          )
          <article-title>103348</article-title>
          . doi:
          <volume>10</volume>
          .1016/j.artint.
          <year>2020</year>
          .
          <volume>103348</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>E.</given-names>
            <surname>Black</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Maudet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Parsons</surname>
          </string-name>
          ,
          <article-title>Argumentation-based dialogue</article-title>
          ,
          <source>Handbook of Formal Argumentation</source>
          , Volume
          <volume>2</volume>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Benzmüller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fuenmayor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Lomfeld</surname>
          </string-name>
          ,
          <article-title>Modelling value-oriented legal reasoning in LogiKEy, Logics 2 (</article-title>
          <year>2024</year>
          )
          <fpage>31</fpage>
          -
          <lpage>78</lpage>
          . doi:
          <volume>10</volume>
          .3390/logics2010003, preprint arXiv:
          <year>2006</year>
          .12789.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>X.</given-names>
            <surname>Parent</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Benzmüller</surname>
          </string-name>
          ,
          <article-title>Automated verification of deontic correspondences in Isabelle/HOL - first results</article-title>
          , in: C.
          <string-name>
            <surname>Benzmüller</surname>
          </string-name>
          , J. Otten (Eds.),
          <source>ARQNL 2022: Automated Reasoning in Quantified Non-Classical Logics. Proceedings of the 4th International Workshop on Automated Reasoning in Quantified Non-Classical Logics (ARQNL</source>
          <year>2022</year>
          )
          <article-title>affiliated with the 11th</article-title>
          <source>International Joint Conference on Automated Reasoning (IJCAR</source>
          <year>2022</year>
          ). Haifa, Israel,
          <year>August 11</year>
          ,
          <year>2022</year>
          , volume
          <volume>3326</volume>
          , CEUR Workshop Proceedings, CEUR-WS.org,
          <year>2023</year>
          , pp.
          <fpage>92</fpage>
          -
          <lpage>108</lpage>
          . URL: https://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>3326</volume>
          /.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>C.</given-names>
            <surname>Benzmüller</surname>
          </string-name>
          ,
          <article-title>Universal (meta-)logical reasoning: Recent successes</article-title>
          ,
          <source>Science of Computer Programming</source>
          <volume>172</volume>
          (
          <year>2019</year>
          )
          <fpage>48</fpage>
          -
          <lpage>62</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.scico.
          <year>2018</year>
          .
          <volume>10</volume>
          .008.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>McBurney</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Parsons</surname>
          </string-name>
          ,
          <article-title>Locutions for argumentation in agent interaction protocols</article-title>
          , in: R. M. van
          <string-name>
            <surname>Eijk</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.-P. Huget</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Dignum</surname>
          </string-name>
          (Eds.),
          <source>Agent Communication</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2005</year>
          , pp.
          <fpage>209</fpage>
          -
          <lpage>225</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <article-title>[7] Fipa. communicative act library specification</article-title>
          ,
          <source>Standard SC00037J</source>
          ,
          <year>2002</year>
          .
          <article-title>Foundation for Intelligent Physical Agents</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P.</given-names>
            <surname>McBurney</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Parsons</surname>
          </string-name>
          ,
          <article-title>Games that agents play: A formal framework for dialogues between autonomous agents</article-title>
          ,
          <source>J. Log. Lang. Inf</source>
          .
          <volume>11</volume>
          (
          <year>2002</year>
          )
          <fpage>315</fpage>
          -
          <lpage>334</lpage>
          . URL: https://doi.org/10.1023/A:1015586128739. doi:
          <volume>10</volume>
          .1023/A:
          <fpage>1015586128739</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Nipkow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. C.</given-names>
            <surname>Paulson</surname>
          </string-name>
          , M. Wenzel, Isabelle/HOL - A
          <string-name>
            <surname>Proof Assistant for Higher-Order</surname>
            <given-names>Logic</given-names>
          </string-name>
          , volume
          <volume>2283</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>