<!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>December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>The Epistemic Planning Domain Definition Language</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alessandro Burigana</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Fabiano</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Free University of Bozen-Bolzano</institution>
          ,
          <addr-line>Bolzano</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Parma</institution>
          ,
          <addr-line>Parma</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>2</volume>
      <issue>2022</issue>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Epistemic planning is a branch of Artificial Intelligence that stems from the combination of automated planning and Dynamic Epistemic Logic (DEL). While DEL provides a very expressive framework-which comes at the cost of undecidability-to guarantee the feasibility of the planning process, various fragments have been studied in the literature, that rely on very specific syntax for representing domains. As a result, a comprehensive language that is able to capture the general DEL framework is currently not present in the literature. In this paper, we propose a new language called EPDDL (Epistemic Planning Domain Definition Language), through which we can capture the full DEL semantics, thus allowing for a general and unified syntax for representing epistemic planning domains.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Dynamic Epistemic Logic</title>
      <p>Epistemic Models. Let  be a countable set of propositional atoms and  = {1, . . . , } be
a finite set of agents. The language ℒ, of multi-agent epistemic logic is defined by the BNF:
 ::=  | ¬ |  ∧  | □  |  , where  ∈ ,  ∈  and  ⊆  . We read the formulae
□  and  as “agent  knows/believes that  ” and “group  has common knowledge/belief
that  ”, respectively. In the possible world semantics of DEL, a Kripke model [12] represents an
epistemic model. Epistemic models contain both factual information on multiple possible worlds
and epistemic information, i.e., which worlds are considered possible by agents.
Definition 1 (Kripke Model). A Kripke model is a triple  = (, ,  ) where: 1)  ̸= ∅
is the set of possible worlds, 2)  : →2 ×  assigns to each agent  an accessibility relation
() (abbreviated as ), 3)  : →2 assigns to each atom a set of worlds.</p>
      <p>An epistemic state is a pair (, ), where  ⊆  is a non-empty set of
designated worlds denoting the real state of afairs. Truth of formulae is defined as follows:
i. (, ) |=  if  ∈  (); ii. (, ) |= ¬ if (, ) ̸|=  ; iii. (, ) |=  ∧  if
(, ) |=  and (, ) |=  ; iv. (, ) |= □  if ∀ if (, ) ∈  then (, ) |=  ; and
v. (, ) |=  if ∀ if (, ) ∈ * then (, ) |=  (where  = ∪∈ and *
denotes its transitive closure). Finally, (, ) |=  if (, ) |=  , for all  ∈ .
Event Models. In DEL, actions are modeled by event models [13, 14], that represent how new
information changes the perspectives of agents. Here, events can be seen as possible actions and
the accessibility relation  describes which events are considered possible by agent .
Definition 2 (Event Model). An event model is a quadruple ℰ = (, , , ) where:
1)  ̸= ∅ is the set of events, 2)  : →2×  assigns to each agent  an accessibility

relation () (abbreviated as ), 3)  : →ℒ, assigns to each event a precondition,

4)  : →(→ℒ, ) assigns to each event a postcondition for each atom.
Informally, preconditions capture the applicability of events, whereas postconditions determine
whether an atom is true after the event is applied. A (multi-)pointed event model is a pair (ℰ , ),
where  ⊆  is a non-empty set of designated events, and it represents an action in DEL.
Product Update. The product update formalizes how actions bring about information change
in epistemic states in DEL. An action (ℰ , ) is applicable in (, ) if and only if for each
world  ∈  there exists an event  ∈  such that (, ) |= ().</p>
      <p>Definition 3 (Product Update). Given an action (ℰ , ) applicable in an epistemic state
(, ), where  = (, ,  ) and ℰ = (, , , ), the product update of (, )
with (ℰ , ) is the multi-pointed Kripke model (, ) ⊗ (ℰ , ) = (( ′, ′,  ′), ′), where:
1.  ′ = {(, ) ∈  ×  | (, ) |= ()},
2. ′ = {((, ), (,  )) ∈  ′ ×  ′ | (, ) ∈  and (,  ) ∈ },
3.  ′() = {(, ) ∈  ′ | (, ) |= ()()},
4. ′ = {(, ) ∈  ′ |  ∈  and  ∈ }.</p>
      <p>Example 1 (DEL). Consider the above situation with Anne () and Bob (). Before Anne reads
the letter, both agents consider possible two options: either she was admitted in the university
(), or not. Thus, we need two worlds to represent this uncertainty (1 and 2, respectively).
As we are universal observers, we assume that we know that 1 is the designated world (circled
dot). This is modeled by the epistemic state on the left. When Anne reads the letter, Bob can not
read its content. In the center of the picture, events 1 (Anne learns that ) and 2 (Anne learns
that ¬) are needed to represent Bob’s uncertainty about the outcomes of the action (we use the
notation ⟨, ⟩ for events). In this way, Anne learns that she was admitted, while Bob remains
uncertain. Moreover, both Anne and Bob are reciprocally aware of their perspective. The epistemic
state  ′ that results from this action is on the right. Notice that now Anne knows that she was
admitted, i.e., ( ′, (1, 1)) |= □ , while Bob does not change his perspective.
,</p>
      <p>, 
1:
2:¬
,</p>
      <p>, 
⊗

, 
= ,</p>
      <p>, 
1:⟨,⟩ 2:⟨¬,⟩
(1, 1):
(2, 2):¬</p>
    </sec>
    <sec id="sec-3">
      <title>3. EPDDL</title>
      <p>
        The development of the syntax of EPDDL was driven by three design principles: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) to maintain
the style of PDDL syntax, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) to capture the entire DEL semantics (i.e., to be able to represent all
possible event models), and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) to obtain an intuitive and usable language, even for researchers
that are less familiar with epistemic planning and DEL. The main structure of EPDDL includes
three main components: problem (specific part), domain and action type library (universal parts).
Due to space limits, we do not provide the full BNF and we base our exposition on Example 1.
Problem. The problem defines “specific” aspects of a planning task. In EPDDL, in addition to
objects, initial state and goal, we also list which agents are present in the particular instance.
Goals in EPDDL are expressed by a generic formula   ∈ ℒ, . The syntax of propositional
formulae is the same as in PDDL. Modal formulae such as □  and  (with || ≥ 2) are
represented as [i] and [G] , respectively. Finally, initial states can be represented in two
ways: either explicitly (specifying worlds, relations and valuation), or by means of a finitary
S5theory [15], i.e., a set of formulae of a particular form that admits a finite number of (equivalent)
ifnite models (computable in polynomial time). In our example, we use a finitary S5-theory to
state that: 1) Anne was admitted to the university (line 4), and 2) Anne and Bob have common
knowledge that they both do not know whether she was admitted (lines 5-6).
1 (define (problem p1)
2 (:domain example1)
3 (:agents Anne Bob)
Domain and Action Type Library. In EPDDL, the universal aspects of a problem (types,
predicates, actions) are jointly described by a domain and an action type library. Moreover, actions
are defined on three separated levels of abstraction: events, action types and actions. Domains
define types, predicates and actions, whereas action type libraries contain the description of
events and action types. We now analyze more in depth these elements. Events constitute the
atomic components, where preconditions and postconditions (if any) are defined. Events are
then combined within action types to represent event models (Definition 2). Finally, each action
must include its type in its specification. Actions and their type are described separately, since
it is common for diferent actions to share the same underlying structure. This allows for a
more concise and readable representation (design principle (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )).
      </p>
      <p>Since a library is intended to describe universal aspects, action types should not refer to
specific entities of a problem. To this end, we implemented two important design choices:
1) parametrized events and action types, and 2) observability groups. First, parameters allow
to abstract from particular predicates and agents. Importantly, in EPDDL, apart from objects,
parameters can also refer to agents, formulae and postconditions. This aspect is crucial to
maintain the universality of action types: for instance, if we pass the preconditions of events as
parameters, we can simply refer to them as variables within an action type. As a result, action
type libraries can be used transversally across diferent domains . Second, observability groups
generalize accessibility relations. Each group represents the perspective of one or more agents.
For instance, when Anne reads the letter, she is fully observant, since she learns its content,
while Bob is partially observant, since he remains uncertain about Anne’s knowledge. Action
types only refer to observability groups (lines 13-15). Then, in each action we assign each agent
to a group (lines 29-33). We now show the EPDDL representation of the action of Example 1.
1 (define (library lib)
2 (:event e1
3 :parameters (?sensed - predicate)
4 :precondition (?sensed))
5 (:event e2
6 :parameters (?sensed - predicate)
7 :precondition (not (?sensed)))
8 (:action-type sensing
9 :parameters (?p - predicate)
10 :observability-groups (Fully Partially)
11 :events (e1 (?sensed :: ?p) )
12 (e2 (?sensed :: ?p) )
13 :relations (Fully (e1 e1) (e2 e2))
14 (Partially (e1 e1) (e2 e2)
15 (e1 e2) (e2 e1))
16 :designated (e1)))
4. Discussion
17 (define (domain example1)
18 (:action-type-libraries lib)
19 (:requirements :del :typing :equality
20 :universal-conditions)
21 (:predicates (u)
22 (has_letter ?ag - agent))
23 (:action read_letter
24 :parameters (?ag - agent)
25 :action-type (sensing (?p :: (u)) )
26 :precondition (has_letter ?ag)
27 :observability-conditions
28 (?ag Fully)
29 (forall (?ag2 - agent)
30 (if (not (= ?ag2 ?ag))
31 (Partially)
32 ))))
In this paper, we have introduced a new language for describing epistemic planning domains,
called EPDDL. Importantly, this language is able to capture the full DEL semantics. Intuitively,
this follows from the fact that each component of an event model (events, relations, preconditions,
postconditions) is captured by a corresponding syntactical element of EPDDL. Thus, we obtain
a syntax through which we can represent the existing fragments of epistemic planning in an
unified way. Due to space limits, we could not address all features of the language. As future
work, we plan on finalizing the syntax of EPDDL and to implement a full-fledged parser (also
including a type checker). Moreover, we intend to use EPDDL to create a public repository of
epistemic planning domains to be used as benchmarks for epistemic planners.
(1963) 83–94.
[13] A. Baltag, L. S. Moss, S. Solecki, The Logic of Public Announcements and Common
Knowledge and Private Suspicions, in: I. Gilboa (Ed.), Proceedings of the 7th Conference
on Theoretical Aspects of Rationality and Knowledge (TARK-98), Evanston, IL, USA, July
22-24, 1998, Morgan Kaufmann, 1998, pp. 43–56.
[14] H. van Ditmarsch, B. Kooi, Semantic Results for Ontic and Epistemic Change, Texts in</p>
      <p>Logic and Games 3, Amsterdam University Press, 2008, pp. 87–117.
[15] T. C. Son, E. Pontelli, C. Baral, G. Gelfond, Finitary s5-theories, in: E. Fermé, J. Leite (Eds.),
Logics in Artificial Intelligence - 14th European Conference, JELIA 2014, Funchal, Madeira,
Portugal, September 24-26, 2014. Proceedings, volume 8761 of Lecture Notes in Computer
Science, Springer, 2014, pp. 239–252. URL: https://doi.org/10.1007/978-3-319-11558-0_17.
doi:10.1007/978-3-319-11558-0\_17.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>T.</given-names>
            <surname>Bolander</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Andersen</surname>
          </string-name>
          ,
          <article-title>Epistemic Planning for Single and Multi-Agent Systems</article-title>
          ,
          <source>J. Appl. Non Class. Logics</source>
          <volume>21</volume>
          (
          <year>2011</year>
          )
          <fpage>9</fpage>
          -
          <lpage>34</lpage>
          . URL: https://doi.org/10.3166/jancl.21.
          <fpage>9</fpage>
          -
          <lpage>34</lpage>
          . doi:
          <volume>10</volume>
          . 3166/jancl.21.
          <fpage>9</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Hintikka</surname>
          </string-name>
          ,
          <article-title>Knowledge and Belief: An Introduction to the Logic of the Two Notions</article-title>
          , Contemporary Philosophy, Cornell University Press,
          <year>1962</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>H. P. van Ditmarsch</surname>
          </string-name>
          , W. van der Hoek,
          <string-name>
            <given-names>B. P.</given-names>
            <surname>Kooi</surname>
          </string-name>
          , Dynamic Epistemic Logic, volume
          <volume>337</volume>
          ,
          <string-name>
            <surname>Springer</surname>
            <given-names>Netherlands</given-names>
          </string-name>
          ,
          <year>2007</year>
          . URL: https://doi.org/10.1007/978-1-
          <fpage>4020</fpage>
          -5839-4. doi:
          <volume>10</volume>
          . 1007/978-1-
          <fpage>4020</fpage>
          -5839-4.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Burigana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fabiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Dovier</surname>
          </string-name>
          , E. Pontelli,
          <article-title>Modelling Multi-Agent Epistemic Planning in ASP, Theory Pract</article-title>
          . Log. Program.
          <volume>20</volume>
          (
          <year>2020</year>
          )
          <fpage>593</fpage>
          -
          <lpage>608</lpage>
          . URL: https://doi.org/10.1017/ S1471068420000289. doi:
          <volume>10</volume>
          .1017/S1471068420000289.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>F.</given-names>
            <surname>Fabiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Burigana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Dovier</surname>
          </string-name>
          , E. Pontelli, EFP
          <volume>2</volume>
          .0:
          <string-name>
            <given-names>A</given-names>
            <surname>Multi-Agent Epistemic Solver with Multiple E-State</surname>
          </string-name>
          <string-name>
            <given-names>Representations</given-names>
            , in: J.
            <surname>C. Beck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Bufet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hofmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Karpas</surname>
          </string-name>
          , S. Sohrabi (Eds.),
          <source>Proceedings of the Thirtieth International Conference on Automated Planning and Scheduling</source>
          , Nancy, France,
          <source>October 26-30</source>
          ,
          <year>2020</year>
          , AAAI Press,
          <year>2020</year>
          , pp.
          <fpage>101</fpage>
          -
          <lpage>109</lpage>
          . URL: https://aaai.org/ojs/index.php/ICAPS/article/view/6650.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>X.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          , A
          <article-title>general multi-agent epistemic planner based on higherorder belief change</article-title>
          , in: C.
          <string-name>
            <surname>Sierra</surname>
          </string-name>
          (Ed.),
          <source>Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI</source>
          <year>2017</year>
          , Melbourne, Australia,
          <source>August 19-25</source>
          ,
          <year>2017</year>
          , ijcai.org,
          <year>2017</year>
          , pp.
          <fpage>1093</fpage>
          -
          <lpage>1101</lpage>
          . URL: https://doi.org/10.24963/ijcai.
          <year>2017</year>
          /152. doi:
          <volume>10</volume>
          .24963/ijcai.
          <year>2017</year>
          /152.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>F.</given-names>
            <surname>Kominis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Gefner</surname>
          </string-name>
          , Beliefs In Multiagent Planning: From One Agent to Many, in: R. I. Brafman,
          <string-name>
            <given-names>C.</given-names>
            <surname>Domshlak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Haslum</surname>
          </string-name>
          , S. Zilberstein (Eds.),
          <source>Proceedings of the Twenty-Fifth International Conference on Automated Planning and Scheduling</source>
          ,
          <string-name>
            <surname>ICAPS</surname>
          </string-name>
          <year>2015</year>
          , Jerusalem, Israel, June 7-11,
          <year>2015</year>
          , AAAI Press,
          <year>2015</year>
          , pp.
          <fpage>147</fpage>
          -
          <lpage>155</lpage>
          . URL: http://www.aaai.org/ocs/index. php/ICAPS/ICAPS15/paper/view/10617.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Le</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Fabiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. C.</given-names>
            <surname>Son</surname>
          </string-name>
          , E. Pontelli,
          <article-title>EFP and PG-EFP: Epistemic Forward Search Planners in Multi-Agent Domains</article-title>
          , in: M. de Weerdt, S. Koenig, G. Röger, M. T. J.
          <string-name>
            <surname>Spaan</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the Twenty-Eighth International Conference on Automated Planning and Scheduling</source>
          ,
          <string-name>
            <surname>ICAPS</surname>
          </string-name>
          <year>2018</year>
          ,
          <article-title>Delft, The Netherlands</article-title>
          , June 24-29,
          <year>2018</year>
          , AAAI Press,
          <year>2018</year>
          , pp.
          <fpage>161</fpage>
          -
          <lpage>170</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C. J.</given-names>
            <surname>Muise</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Belle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Felli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>McIlraith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. R.</given-names>
            <surname>Pearce</surname>
          </string-name>
          , L. Sonenberg,
          <article-title>Planning Over Multi-Agent Epistemic States: A Classical Planning Approach</article-title>
          , in: B.
          <string-name>
            <surname>Bonet</surname>
          </string-name>
          , S. Koenig (Eds.),
          <source>Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, January 25-30</source>
          ,
          <year>2015</year>
          , Austin, Texas, USA, AAAI Press,
          <year>2015</year>
          , pp.
          <fpage>3327</fpage>
          -
          <lpage>3334</lpage>
          . URL: http://www.aaai.org/ocs/index.php/AAAI/AAAI15/paper/view/9974.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>C.</given-names>
            <surname>Baral</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Gelfond</surname>
          </string-name>
          , E. Pontelli,
          <string-name>
            <given-names>T. C.</given-names>
            <surname>Son</surname>
          </string-name>
          ,
          <article-title>An Action Language for Multi-Agent Domains: Foundations</article-title>
          ,
          <source>CoRR abs/1511</source>
          .
          <year>01960</year>
          (
          <year>2015</year>
          ). URL: http://arxiv.org/abs/1511.
          <year>01960</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F.</given-names>
            <surname>Fabiano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Srivastava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lenchner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Horesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Rossi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Ganapini</surname>
          </string-name>
          , E-PDDL:
          <article-title>A standardized way of defining epistemic planning problems</article-title>
          ,
          <source>CoRR abs/2107</source>
          .08739 (
          <year>2021</year>
          ). URL: https://arxiv.org/abs/2107.08739. arXiv:
          <volume>2107</volume>
          .
          <fpage>08739</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Kripke</surname>
          </string-name>
          , Semantical Considerations on Modal Logic,
          <source>Acta Philosophica Fennica 16</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>