<!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>Eficient Compliance Computation in Probabilistic Declarative Specifications</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mario Alviano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonio Ielo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesco Ricca</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DeMaCS, University of Calabria</institution>
          ,
          <addr-line>87036 Rende (CS)</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, we investigate the measurement of trace satisfaction probabilities within probabilistic Declare models, where Declare constraints are associated with probabilities. Each constraint, with a probability , is independently included in a model with probability  or excluded with probability 1 − . This probabilistic framework creates multiple possible worlds, each corresponding to a specific selection of constraints, with the probability of each world calculated as the product of the probabilities of its included constraints. A trace can be satisfied by some of these worlds, and the probability that a trace is satisfied is the sum of the probabilities of all satisfying worlds. We develop techniques to compute this satisfaction probability by integrating a tool that determines trace satisfaction for crisp Declare models with an implementation of the inclusion-exclusion principle. Our preliminary experiments compare the performance of our prototype with and without the inclusion-exclusion principle, highlighting its impact on the eficiency and accuracy of the probability computations. The results demonstrate the potential of our approach in enhancing the analysis of probabilistic Declare models, providing a foundation for more sophisticated probabilistic reasoning in process mining.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Process Mining</kwd>
        <kwd>Declare</kwd>
        <kwd>Probabilistic Reasoning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The modeling and analysis of business processes are crucial for organizations seeking to improve
eficiency, compliance, and adaptability in a dynamic environment [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Traditional approaches to process
modeling often rely on deterministic frameworks where every aspect of the process is explicitly defined.
However, real-world processes are frequently subject to variability and uncertainty, necessitating the
incorporation of probabilistic elements into process models. Probabilistic Declare [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is an extension of
the Declare [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] modeling language that addresses this need by associating constraints with probabilities,
thereby allowing for the representation of uncertainty in process execution.
      </p>
      <p>Declare is a declarative process modeling language that allows the specification of constraints on the
execution of activities within a process. Unlike imperative process modeling languages that prescribe a
specific sequence of activities, Declare defines what must or must not happen, thereby ofering greater
lfexibility. Constraints in Declare can represent various types of conditions, such as precedence (an
activity must precede another), response (an activity must be followed by another), and exclusion
(two activities cannot occur together). This flexibility makes Declare particularly suitable for complex,
lfexible, and dynamic processes.</p>
      <p>In a probabilistic Declare model, each constraint is assigned a probability  representing the likelihood
that the constraint is included in the model. This probabilistic nature acknowledges the inherent
uncertainty and variability in real-world processes, where constraints might not always be strictly
enforced or might only apply under certain conditions. The inclusion or exclusion of each constraint is
assumed to be independent, leading to a combinatorial explosion of possible worlds—each corresponding
to a unique subset of constraints. The probability of a particular world is the product of the probabilities
of the constraints it includes. For a given trace (a sequence of executed activities), the probability that
the trace is satisfied by the probabilistic Declare model is the sum of the probabilities of all worlds in
which the trace satisfies the constraints. This probabilistic framework introduces significant challenges
in measuring trace satisfaction probabilities due to the exponential number of possible worlds.</p>
      <p>
        The primary objective of this paper is to develop and evaluate techniques for measuring the probability
that a trace is satisfied by a probabilistic Declare model. To achive this objective, we use an existing
logic-programming-based tool [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] capable of determining whether a trace satisfies a set of crisp Declare
constraints and apply the inclusion-exclusion principle [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] to eficiently compute the satisfaction
probabilities, mitigating the combinatorial complexity. By adapting tools for crisp Declare to work
within the probabilistic framework, we ensure that the underlying logic for constraint satisfaction
remains robust and accurate, and can evolve indepedenly from the probabilistic setting. Regarding the
inclusion-exclusion principle, it is a mathematical technique used to calculate the probability of the union
of multiple events. By applying this principle, we can systematically account for the overlaps between
diferent sets of constraints, thus avoiding the need to explicitly enumerate all possible worlds. This
significantly reduces the computational burden and improves the eficiency of probability calculations.
Our preliminary experiment involves testing the prototype implementation on a set of example traces
and probabilistic Declare models also belonging to classical declarative process mining benchmarks
from the literature. The experiment compares the performance and accuracy of the prototype with and
without the inclusion-exclusion principle. The results indicate that the inclusion-exclusion principle
greatly enhances computational eficiency.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminaries</title>
      <sec id="sec-2-1">
        <title>2.1. Process Mining</title>
        <p>A process is a sequence of interrelated activities performed to achieve specific goals. In stark contrast
to projects, processes are recurrent and have well-defined inputs and outputs. Due to the fact that
processes are repeated over time, understanding, optimizing and improving processes is an appealing
problem of practical interest, as each future enactment of the process benefits of these improvements. In
the case of a manufacturing process, this could mean a faster execution speed, requiring less resources,
or being overall cheaper.</p>
        <p>
          Process Mining [
          <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
          ] emerges as an interdisciplinary research field, encompassing tools and
techniques from computer science, formal methods, data science and business process management to study
processes. The central objects of Process Mining techniques are the event log and the process model.
        </p>
        <p>
          Event logs consist of all the activities that have been performed in order to execute a process, and can
be naturally partitioned into traces, that is, group together all events produced by the same execution
of the process. Process models, on the other hand, are mathematical abstractions that allow to study
processes and their properties. Process models can be either described by a domain expert, or learned
from event logs, which is referred to as performing the process discovery [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] task. Another classic task is
the conformance checking [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] task, which amounts to compute whether a trace is compliant to a given
process model or not. There exist diferent formalisms to express process models. In particular, there’s
a distinction between declarative process models and procedural (or imperative) process models [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
Procedural models aim to explicitly describe compliant traces. The most common process models in
Process Mining literature are variants of the Petri Net, an automaton-like computational structure
which is procedural in nature. Declarative process models, on the other hand, consist usually of
high-level specifications that shrink the space of valid traces, by forbidding invalid behavior. It is
well-known in the process mining literature that, in practice, imperative process models and declarative
process models are efective in diferent contexts [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]: imperative process easily model well-structured
processes while declarative process models are more apt for loosely structured processes [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Among
declarative process modeling languages, Declare [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] has been the most successful one. The Declare
language consists of a set of templates based on a set of temporal patterns which frequently arise when
writing specifications [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. Each Declare template describes a temporal relationship between some
activities occurring in the same process trace — and, implicitly, defining what should not happen in a
given trace for it to be considered compliant to the template. Thus, a process model in Declare is a
set of constraints, obtained by instantiating some templates with specific activities. This has enabled
process mining practitioners to exploit formal techniques grounded in LTLf to provide specifications for
processes, without the hassle and intricacies [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] of writing a complete LTLf specification from scratch.
Furthermore, it has also provided efective techniques to tackle Declare reasoning problems.
Declarebased reasoning tasks are usually dealt either with ad-hoc procedures scanning each trace [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], regular
expressions [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], or by reasoning on their corresponding automaton (as in the case of monitoring [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]),
which is obtained from their corresponding LTLf definition through established techniques [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
        </p>
        <p>
          Early approaches to Declare and Declare-like patterns are based on logic programming [
          <xref ref-type="bibr" rid="ref18 ref19 ref20 ref21">18, 19, 20, 21</xref>
          ].
Recent works also apply Answer Set Programming to tackle conformance checking and query checking
of Declare models [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Linear Temporal Logic over Finites Traces</title>
        <p>
          Linear Temporal Logic (LTL; [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]) is an extension of propositional logic where the addition of temporal
operators enables to reason over an infinite sequence of states (finite sets of propositional symbols),
called trace. Linear Temporal Logic over Finite Traces (LTLf; [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ]) is a finite variant of LTL, where
traces are finite sequences. Let  be a finite set of propositional symbols. An LTL f formula  over  is
defined according to the following grammar:
        </p>
        <p>:=  ∧  | X  |  U  | ¬ |  | F  | G 
where  ∈ . A trace is a finite sequence  =  0 . . .  , where   ⊆  is the -th state of  , denoted
by  () and  + 1 is the trace length, denoted by ( ). Given a trace  , an integer 0 ≤  &lt; ( )
and formula  , the satisfaction relation is denoted by ,  |=  (to be read “ satisfies  at time ”) and
defined as follows:
• ,  |= ⊤ if 0 ≤  &lt; ( );
• ,  |=  ∈  if  ∈  ();
• ,  |= X  if ,  + 1 |=  and  + 1 &lt; ( );
• ,  |=  ∧  if ,  |=  and ,  |=  ;
• ,  |= ¬ if it is not true that ,  |= ;
• ,  |=  U  if there exists  ≤  &lt; ( ) such that ,  |=  and for all  ≤  &lt;  it holds that
,  |= ;
• ,  |= F  if there exists  ≤  ≤ ( ) − 1 such that ,  |=  ;
• ,  |= G  if for all  ≤  ≤ ( ) − 1 we have that ,  |=  .</p>
        <p>If ,  |= ¬, we also write ,  ̸|= . Whenever , 0 |=  , we say that  is a model of  . Classic
propositional shorthands (e.g. →, ∨, . . . ) are defined as usual.</p>
        <p>Example 1. Consider the following formulae 1, 2, 3, 4, along with an informal explanation of their
intended semantics:
1 = (¬ U ) ∨ G ¬
3 = F  → F 
2 = G ( → X )
4 = 
1 states that either  never happens (G ¬) or that it never happens before the first occurrence of
 (¬ U ). 2 states that whenever  occurs,  will occur in the next state. 3 states that whenever 
happens,  happens as well — without any constraint about their relative order in the trace. 4 states
that  must occur in the first state of the trace. An example of model for 1 ∧ 2 ∧ 3 would be the trace
 = {, } · { , }, while an example of violating trace would be  ′ = {}, as  occurs but  does not (thus
violating 3) or  ′′ = {} · { , } (which violates 4).</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Declare</title>
        <p>
          LTLf has been widely applied to domains where reasoning about finite executions is more natural [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ]
than the infinite traces counterpart of LTL. However, despite LTL f being an expressive logic to write
temporal specifications, it is seldom the case that LTL f is directly applied, especially by people without
a background in formal methods, due to intricacies and pitfalls [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] of writing correct declarative
specifications. In particular, a template language known as Declare [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] has become particularly relevant
in the process mining [
          <xref ref-type="bibr" rid="ref24 ref7">7, 24</xref>
          ] community. Although Declare has not originally been developed using
LTLf logic, a very successful stream of research is based on Declare-as-LTLf formalization [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ]. The
success of Declare as process modeling language is due to the fact that, although it can be formally
grounded in terms of LTLf, each template that is part of the language has an intuitive meaning, that can
be understood by non-experts in temporal logic. This enables process mining practitioners and domain
experts to compose specifications as set of small and easily-understandable LTL f formulae, without
being logic experts, while getting all the benefits of the LTL f formalization of Declare.
        </p>
        <p>The Declare language is composed by a set of templates. Each template corresponds to an LTLf
definition, and can be “instantiated” into a constraint (an LTLf formula) by specifying which activities
the template relates to.</p>
        <p>Example 2. The formulae 1, 2, 3, 4 are respectively instances of the Precedence, Chain Response,
Responded Existence and Init Declare templates, 1 ≡ Precedence(, ), 2 ≡ Chain Response(, ),
3 ≡ Responded Existence(, ), and 4 ≡ Init().</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Probabilistic Declarative Specifications</title>
      <p>
        One of the limits of declarative process specifications, not specifically related to Declare or LTL f, is
that a given process execution trace is either compliant or not to a given specification. Since typically
declarative specifications are understood as a conjunction of constraints, this means that a single
violated constraints causes the whole model to be violated. This does not allow to reason, handle and
address uncertainty, which is intrinsic in process executions. Recently, probabilistic extensions of Declare
and LTLf have been proposed [
        <xref ref-type="bibr" rid="ref26 ref27 ref28">26, 27, 28</xref>
        ]. One limitation of these approaches it that the semantic of
these probabilistic extensions interprets the probability associated to each constraint as its expected
support on an event log. Recall that the support of a constraint over a log is defined as the percentage
of traces satisfying the constraint contained in the log. This has counterintuitive side-efects, which
are discussed in more detail in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Most importantly, it is not possible to measure how much a single
trace is compliant w.r.t. a specification. Authors of [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] tackle this issue by introducing the notion of
probabilistic declarative specifications , which encompasses a probabilistic extension of Declare, whose
semantics is inspired to the popular distribution semantics in probabilistic logic programming [
        <xref ref-type="bibr" rid="ref29 ref30">29, 30</xref>
        ].
Most importantly, [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] also introduces a notion of compliance of a trace w.r.t. a probabilistic declarative
specification, that quantitatively measures the probability of a trace satisfying a declarative specification
without referring to an event log.
      </p>
      <p>
        The main contribution of this paper is to revise, refine and build upon ideas introduced in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to
provide a definition of probabilistic declarative specification and trace compliance which is grounded in
standard notions of discrete probability spaces. This yields an equivalent characterization of probabilistic
declarative specifications, aligned with standard notions of probability, that results in a more eficient
implementation of the compliance computation. We briefly recap definitions and concepts introduced
in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Traces &amp; logs. Let  be a finite set of activities. A process execution trace (or just trace) is a string over
. (In applications of LTLf to declarative process mining, it is customary to assume that for each state
| | = 1, e.g. exactly one event occurs at each time-step. Hence, traces can be modeled as strings over
 rather than over 2.) An event log is a multi-set of traces. Although declarative specifications are
usually expressed in LTLf, characterization herein introduced are more general than LTLf. Thus, we
rely on an abstract notion of constraint (similar to [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ]).
      </p>
      <p>Constraints &amp; satisfaction. A constraint  is a function with signature  : * ↦→ {⊤, ⊥}. Given a
trace  , a constraint is satisfied if ( ) = ⊤ (also denoted by  |= ) and violated if ( ) = ⊥ (also
denoted by  ̸|= ). We respectively say that the trace satisfies or violates the constraint.
Declarative specifications (DS). A DS (or simply specification ) is a set of constraints. A trace 
violates a specification ℳ = {1, . . . , } if there exists 1 ≤  ≤  such that  ̸|= ; it complies with a
specification ℳ if it does not violate it (i.e. if  |=  for all 1 ≤  ≤ ). With a slight abuse of notation,
we denote these scenarios by  ̸|= ℳ and  |= ℳ respectively. Declarative specifications satisfy the
following monotonicity property: If  violates a constraint , then  violates any specification that
includes .</p>
      <p>
        Probabilistic declarative specifications (PDS). The idea of PDS, as introduced in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], is to associate to
each constraint in a specification ℳ a probability, to be understood as the strength (or relevance) of the
constraint. The underlying idea, inspired from distribution semantics, is that a probabilistic specification
defines a probability distribution over standard (non-probabilistic) declarative specifications, where
constraints are independently sampled from each other. Constraints with probability 1 (or 0) are certain,
mandatory, crisp and should always be satisfied (or ignored) in order for a trace to be compliant with
the specification. On the other hand, true probabilistic constraints ( 0 &lt;  &lt; 1) are not mandatory, and
a trace can violate them while still overrall satisfying the declarative specification. Thus, rather than
satisfying traces and violating traces, authors of [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] propose a quantitative notion of compliance, the
probability that a trace is accepted by a declarative specification sampled from a probabilistic declarative
specification. The intution is that if a constraint gets associated to a high probability, being compliant
to that constraint yields higher compliance to the overall specification.
      </p>
      <p>
        Probability space. We ground the notion of PDS and compliance in terms of a discrete probability
space over subsets of a declarative specification. The following provides an alternative characterization
of PDSs as introduced in Definitions 5-10 of the original article [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Lemma 1. Let  be a finite, nonempty set,  :  ↦→ [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ]. Let  : 2 ↦→ [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ] be the function:
 () = ∏︁  () ·
      </p>
      <p>∏︁ 1 −  ()
∈</p>
      <p>∈∖</p>
      <p>It holds that ∑︀∈2  () = 1.</p>
      <p>Proof. By induction on  = | |. If  = {1}, then it has two subsets ∅ and  , with respectively
 (∅) = 1 −  (1) and  ( ) =  (1), thus the property holds. Assume the property holds for
 = {1, . . . , }. We need to prove it holds for  ′ =  ∪ {+1}.</p>
      <p>∑︁  () =
∑︁  () +</p>
      <p>∑︁  ()
∈2′
∈2′ :
+1∈
∈2′ :
+1̸∈
= ∑︁  ( ∪ {+1}) +  ()</p>
      <p>∈2
= ∑︁  (+1) () + (1 −  (+1)) ·  ()</p>
      <p>∈2
= ∑︁ ( (+1) + 1 −  (+1)) ·  ()</p>
      <p>∈2
= ∑︁  () = 1
∈2
(1)
(2)
(3)
(4)
(5)</p>
      <p>
        Thus,  is a probability mass function, and the pair (2 ,  ) is a discrete probability space.
Definition 1 (Probabilistic Declarative Specification; PDS) . A probabilistic declarative specification
(PDS) is a pair (ℳ,  ) where ℳ is a set of constraints and  : ℳ ↦→ [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ]. We call  () the relevance of
the constraint  ∈ ℳ.
      </p>
      <p>Let  = 2ℳ be the set of worlds associated to a PDS. By the previous lemma, (,  ) is a discrete
probability space. With a slight abuse of notation, we will refer to the PDS and the underlying probability
space as PDS. Intuitively, the outcome of the stochastic event is a standard declarative specification.</p>
      <p>Let () be the event “the constraint  belongs to the declarative specification”. We show that
P(()) =  (), where P(· ) denotes the probability function.</p>
      <p>Lemma 2. Let (ℳ,  ) be a PDS. Let  ∈ ℳ. It holds that P(()) =  ().</p>
      <p>Proof. A subset of ℳ either contains  or not. Thus, 2ℳ = ⋃︀
⊆ℳ∖{ }
worlds that contain , i.e.  of the form {} ∪ , where  ⊆ ℳ ∖ { }.</p>
      <p>{,  ∪ {}}. We are interested in
By summing up over such worlds  , we obtain  (), hence P(()) =  ().</p>
      <p>
        Similar reasoning yields that () and (′), for  ̸= ′, are independent events. This is not surprising:
we can recognize  as the joint probability mass function of  independent Bernoulli variables. These
facts, that follow from the underlying discrete probability space structure of (ℳ,  ), indeed reconcile
our definition of PDS with the one provided in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Thus with a slight abuse of notation we can also
talk about probability of a constraint , although the probability space is defined over worlds.
      </p>
      <p>Let  be a trace, (ℳ,  ) a PDS. For each specification  ⊆ ℳ , either  |=  or  ̸|=  ; thus
 efectively behaves like a binary random variable Π : 2ℳ ↦→ {0, 1}, where Π( ) = 1 if and only
if  |=  . With a slight abuse of notation, we will use  both to denote the string over  and its
associated random variable Π.</p>
      <p>
        Compliance [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is understood as a measure for “how likely it is for  to satisfy ℳ”. It is defined in
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] as the sum of probabilities of worlds  such that  |=  . By treating traces as binary random
variables, compliance naturally emerges as the expected value of the random variable  :
compliance((ℳ,  ),  ) = E( ) = 0 · P( = 0) + 1 · P( = 1)
= P( ⋃︁
      </p>
      <p>)
 ⊆ℳ :
 |=
= 1 − P( ⋃︁</p>
      <p>)
 ⊆ℳ :
 ̸|=
(6)
(7)
(8)
To compute compliance(ℳ,  ), we need to reason about composite events. First, we establish that:
1 If  () = 1 and  ̸|= , then the probability of a satisfying world for  is zero;
2 If  () = 1 and  |= , then  does not afect the overall compliance, compliance(ℳ,  ) =
compliance(ℳ ∖ {},  );</p>
      <p>
        These facts easily follow from the probability associated to each world. We provide a numeric example
of this fact, which will serve as a running example through the rest of the section. To ease computations,
in the rest of the sections whenever  is a real number in [
        <xref ref-type="bibr" rid="ref1">0, 1</xref>
        ] we denote by ′ the value ′ = 1 − .
Example 3 (Compliance is unafected by crisp constraints) . Consider the specification ℳ =
{1, 2, 3, 4} of the previous example, with  (1) = 1,  (2) = ,  (3) = ,  (4) = . This
yields 16 possible worlds 1, . . . , 16, with corresponding probability P():
1 = {}
2 = {1}
      </p>
      <p>The only worlds with a non-null probability are ,  ∈ {2, 6, 7, 8, 13, 14, 15, 16}, and we can easily observe the
bijection between this set of worlds and the power set of {2, 3, 4} (e.g., the specification obtained by discarding
crisp constraints):</p>
      <sec id="sec-3-1">
        <title>Crisp constraints with a null probability have a similar behavior.</title>
        <p>Example 4 (Compliance computation - Enumerating Worlds). Consider a trace  = {, , }. It satisfies
the constraints 1, 3 and 4. Thus, compatible worlds are all the ones that do not contain 2, namely
, with  ∈  = {1, 2, 4, 5, 7, 8, 11, 15}. Computing ∑︀∈ P() according to worlds’ probabilities in
Example 3 yields ′′′ + ′′ + ′′ + ′ = ′(′′ + ′ + ′ + ) = ′ (ignoring null terms).</p>
        <p>Thus, since we have shown that compliance of a trace  is not afected by crisp constraints in ℳ, in
the rest of the section we assume without loss of generality that (ℳ,  ) consists solely of probabilistic
constraints (e.g., for all , 0 &lt;  () &lt; 1). Furthermore, without loss of generality, we assume that
constraints in ℳ are indexed in such a way that  ̸|=  if 1 ≤  ≤  and  |=  if  &lt;  ≤ ,
for some 1 ≤  ≤ |ℳ| . We define the composite events  () = (), worlds that contain the
violating constraint ; VIO = ⋃︀1≤ ≤   () the event that corresponds to worlds violating at least one
constraint, thus yielding worlds for which  is not compliant. Similarly, we define () as the worlds
that contain the satisfied constraint  and none of the violating constraints, thus () = () ∩ VIO,
with SAT = ⋃︀+1≤ ≤  () = ⋃︀+1≤ ≤  () ∩  . Furthermore, the  event is the event that
includes no satisficing constraints.</p>
        <p>P(VIO) = P( ⋃︁  ())
P(SAT) = P(</p>
        <p>())
= P(
= P(
= P(
1≤ ≤</p>
        <p>⋃︁
+1≤ ≤</p>
        <p>⋃︁
+1≤ ≤</p>
        <p>⋃︁
+1≤ ≤</p>
        <p>⋃︁
+1≤ ≤ 
Example 5. Consider the PDS ({1, 2, 3, 4},  ) and the trace  = {, , } as by Example 4. First, we
would ignore the crisp constraint 1, and re-index ℳ as above, obtaining ℳ′ = {1, 2, 3} where 1 = 2,
2 = 3 and 3 = 4. In this case, we have  = 1. The event  (1) is the set of worlds that include 2.
Referring to Example 3, that is worlds {3, 6, 9, 10, 12, 13, 14, 16} . The event (2) are the
set of worlds that do not contain 2 and include 3, namely {4, 7, 11, 15} and (3) by analogous
reasoning is the set of worlds that do not contain 2 and include 4, namely {5, 8, 11, 15}. (2)
and (3) are not disjoint events since they both include the worlds 11 and 15.</p>
        <p>
          Since VIO and SAT are defined as the union of non-disjoint events, their probabilities can be computed
by applying the inclusion-exclusion principle [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. In the rest of the section, to simplify the notation, we
denote () by (). In particular:
        </p>
        <p>
          The definition of VIO and SAT events rely on the monotonicity assumption of the semantics underlying
the constraints in the specification ℳ. Thus, we can compute compliance by applying the
inclusionexclusion principle [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] either to the collections {() :  + 1 ≤  ≤ } or {() : 1 ≤  ≤ }:
() ∩ VIO)
() ∩ ( ⋃︁  ()))
() ∩ ( ⋂︁  ()))
1≤ ≤ 
1≤ ≤
        </p>
        <p>⋃︁
= P( ⋂︁  ()) · P(</p>
        <p>1≤ ≤ 
= ( ∏︁ 1 − P( ()))· P(
+1≤ ≤ 
⋃︁
())
1≤ ≤ 
+1≤ ≤</p>
        <p>())
P
P
P
︃( 
⋃︁ ()</p>
        <p>)︃
︃( 
⋃︁ ()</p>
        <p>)︃
︃( 
⋃︁ ()</p>
        <p>)︃
=1
=1
=1
⎛
⎛
⎛

= ∑︁ ⎜⎝(− 1)− 1
=1</p>
        <p>= ∑︁ ⎜⎝(− 1)− 1
=1</p>
        <p>= ∑︁ ⎜⎝(− 1)− 1
=1</p>
        <p>⎛
∑︁
⊆{ |1|,=...,}</p>
        <p>P ⎝⋂︁ ()⎠⎠⎟
∈
⎞⎞
⎞
∑︁
∑︁
⊆{ |1|,=...,} ∈
⊆{ |1|,=...,} ∈
∏︁ P(())⎟</p>
        <p>⎠
⎞
∏︁  ()⎟
⎠</p>
        <p>Computing such probabilities boils down to the probability of independent events, which are input
values provided in  for the PDS (ℳ,  ) (as it follows from Lemma 2). We can choose either one of the
sets, eventually complementing the result. In practice, due to the exponential number of subsets to be
considered, we prefer the one with the least cardinality (e.g., compute based on {() : 1 ≤  ≤ } if 
has less violated constraints in ℳ than satisficing ones; viceversa, {() :  + 1 ≤  ≤ } if there are
less satisficing constraints than violating ones).</p>
        <p>(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
Algorithm 1 Computing compliance
Algorithm 2 Applying inclusion-exclusion principle</p>
        <p>
          This suggests a straightforward 2-phase technique to compute compliance of a trace wrt a PDS, shown
as Algorithm 1, where InclusionExclusion is a procedure (reported as Algorithm 2) that iterates over
subsets of a finite set and computes probabilities according to the above considerations. Specicfially,
the first phase comprises only line 8 of Algorithm 1 and uses an external tool (as for example the
one presented in [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]) to identify all the violated constraints and store them in the set VIOLATED. The
external tool is not further used afterward, in the second phase of the proposed procedure, which starts
by checking the presence of crisp constraints in VIOLATED (lines 9–10). If all the violated constraints
are probabilistic, then the set SATISFIED of satisfied probabilistic constraints is computed (line 12)
and inclusion-exclusion is applied on the smaller among the two sets of constraints (lines 13–19). The
quantities no_vio and no_sat (lines-16–17) denote respectively the probability of a world not containing
any violated constraint, and the probability of a world not containing any satisfied constraint — recall
that the empty specification trivially accepts all traces.
        </p>
        <p>Example 6 (Computing compliance - Inclusion Exclusion). In the same setting as Example 4, the
satisficing non-crisp constraints are 3 and 4. Since we have a single violated constraint and two satisfied
non-crisp constraints, the algorithm would apply the inclusion-exclusion computation over the singleton set
of constraint {2}, yielding  (2) = , and return its complement 1 −  = ′, matching results obtained
by enumrating worlds in Example 4. Similarly, applying the algorithm on the set of satisficing constraints
{3, 4} would yield the following quantities:
applying the inclusion-exclusion principle over the set {3, 4} yields the probability:
no_vio = (1 −  (2)) = ′
no_sat = (1 −  (3))(1 −  (4)) = ′′
 =  (3) +  (4) −  (3) (4) =  +  −</p>
      </sec>
      <sec id="sec-3-2">
        <title>Hence, returning the value:</title>
        <p>no_vio(no_sat +  ) = ′(′′ +  +  − )
= (1 − )((1 − )(1 − ) +  +  − )
= (1 − )((1 −  −  +  +  +  − ))
= (1 − )</p>
        <p>Also in this case, this matches the result obtained by worlds enumeration.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments</title>
      <p>We perform some experiments to assess scalability and feasibility of our approach. Code for our
prototype and to reproduce these experiments is available in a public repository1.</p>
      <sec id="sec-4-1">
        <title>4.1. Inclusion-exclusion scalability</title>
        <p>By applying the inclusion-exclusion principle, according to the previous section, computing
compliance of a trace wrt a PDS is exponential in the number min(|VIO|, |SAT|). Hereinafter, the number
min(|VIO|, |SAT|) is referred to as the number of efective constraints . Computing compliance does not
depend altogether on the nature and underlying semantics of the constraints to be checked against the
trace, nor on the length of the trace. Similarly, the size (number of constraints) in the PDS does not
afect complexity, but merely provides an upper bound on the number of efective constraints (in the
worst case, the number of efective constraints is half of the number of probabilistic constraints).</p>
        <p>
          Thus, to assess scalability of this approach, we measure time to compute compliance as the number
of efective constraints increases. In particular, we analyze runtimes of compliance checking varying
the number of efective constraints from 1 to 30, sampling 5 PDSs for each number, and 10 traces for
each PDS. This yields 50 compliance measurements for each number of efective constraints. Table 1
reports the average runtime and the standard deviation for number of constraints handled within the
timeout of 120s (i.e., from 21 to 27). We can observe that runtime doubles with the increment of the
number of efective constraints, which is expected due to inclusion-exclusion being applied. However,
1https://www.github.com/ainnoot/pds-compliance
# of Efective Constraints
21
22
23
24
25
26
27
it is important to note that the number of efective constraints is, in the worst case, half of the number
of probabilistic constraints. It turns out that an enumeration of possible worlds has to deal with 2

subsets of constraints, while our approach only consider 2 2 subsets in the worst case. 2 We leave the
comparison with the original implementation provided in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] as a future work, but we observe here that
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] reports times in the order of 104 seconds of computation to process models with 14 crisp constraints
and 7 probabilistic constraints, while our implementation can handle up to 54 probabilistic constraints
in less than 2 minutes (120 seconds), with crisp constraints not afecting times at all; these times regard
only compliance computation, and crisp conformance checking has to be performed separately, with
times in the order of minutes.
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Use on a real-world log</title>
        <p>
          We also make some preliminary tests of our approach on real-world logs. As an example, we compute
compliance for traces of the Sepsis event log, a well-known process mining event log dealing with
healthcare data. First, we extract a Declare model ℳ using MINERful [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] default parameters, interpreting the
support of each constraint as its associated probability. Then, we use an ASP-based tool [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] to perform
conformance checking of ℳ over each trace of ℒ. The resulting model ℳ contains 36 constraints.
Upon projecting the input traces onto the constraints (e.g., computing the sets SAT and VIO for each
trace), we obtain 28 unique traces. Thus, we are to perform 28 compliance checking tasks on a PDS of
at most 18 efective constraints. This is well within the capacity of our approach. Indeed, the whole
process takes about 2 seconds on a standard laptop, with roughly 1 second spent parsing input and
performing crisp conformance checking, and the rest of time computing compliance of the 28 traces.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>
        Probabilistic extensions of LTLf [
        <xref ref-type="bibr" rid="ref26 ref27 ref28">26, 27, 28</xref>
        ] and LTLf-based pattern languages are increasingly gaining
attraction in process mining applications. A recent work by [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] proposes a novel probabilistic semantic
for declarative specifications, inspired by distribution semantic from probabilistic logic programming.
This approach disentangles the probability associated to a constraint in the declarative specification
from the notion of expected relative frequency observed in an event log, which is the approach of other
probabilistic extensions of LTLf and Declare. In this paper, we propose an alternative approach to address
compliance computation, based on standard discrete probability notions and combinatorial principles,
which has the potential to significantly improve the performance of the logic programming-based
approach introduced in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
2Intuitively, if 2 constraints are satisfied (thus, 2 violated) we are forced to apply inclusion-exclusion over 2 items.
This work was partially supported by Italian Ministry of University and Research (MUR) under PRIN project
PRODE “Probabilistic declarative process mining”, CUP H53D23003420006, under PRIN project PINPOINT “exPlaInable
kNowledge-aware PrOcess INTelligence”, CUP H23C22000280006, under PNRR project FAIR “Future AI Research”, CUP
H23C22000860006, under PNRR project Tech4You “Technologies for climate change adaptation and quality of life
improvement”, CUP H23C22000370006, and under PNRR project SERICS “SEcurity and RIghts in the CyberSpace”, CUP
H73C22000880001; by Italian Ministry of Health (MSAL) under POS projects CAL. HUB.RIA (CUP H53C22000800006)
and RADIOAMICA (CUP H53C22000650006); by Italian Ministry of Enterprises and Made in Italy under project
STROKE 5.0 (CUP B29J23000430005); and by the LAIA lab (part of the SILA labs). Mario Alviano and Francesco
Ricca are members of Gruppo Nazionale Calcolo Scientifico-Istituto Nazionale di Alta Matematica (GNCS-INdAM).
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>P.</given-names>
            <surname>Trkman</surname>
          </string-name>
          ,
          <article-title>The critical success factors of business process management</article-title>
          ,
          <source>Int. J. Inf. Manag</source>
          .
          <volume>30</volume>
          (
          <year>2010</year>
          )
          <fpage>125</fpage>
          -
          <lpage>134</lpage>
          . URL: https://doi.org/10.1016/j.ijinfomgt.
          <year>2009</year>
          .
          <volume>07</volume>
          .003.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M.</given-names>
            <surname>Vespa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Bellodi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Chesani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Loreti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Lamma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ciampolini</surname>
          </string-name>
          ,
          <article-title>Probabilistic compliance in declarative process mining</article-title>
          ,
          <source>in: Proceedings of the 3rd International Workshop on Process Management in the AI Era (PMAI</source>
          <year>2024</year>
          ), volume
          <volume>3779</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2024</year>
          , pp.
          <fpage>11</fpage>
          -
          <lpage>22</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Pesic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Schonenberg</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>DECLARE: full support for loosely-structured processes</article-title>
          , in: EDOC, IEEE Computer Society,
          <year>2007</year>
          , pp.
          <fpage>287</fpage>
          -
          <lpage>300</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Chiariello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Fionda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ielo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          ,
          <article-title>A direct ASP encoding for declare</article-title>
          , in: M.
          <string-name>
            <surname>Gebser</surname>
          </string-name>
          , I. Sergey (Eds.),
          <source>Practical Aspects of Declarative Languages - 26th International Symposium, PADL</source>
          <year>2024</year>
          , London, UK, January
          <volume>15</volume>
          -
          <issue>16</issue>
          ,
          <year>2024</year>
          , Proceedings, volume
          <volume>14512</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2024</year>
          , pp.
          <fpage>116</fpage>
          -
          <lpage>133</lpage>
          . URL: https://doi.org/10. 1007/978-3-
          <fpage>031</fpage>
          -52038-
          <issue>9</issue>
          _
          <fpage>8</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Sane</surname>
          </string-name>
          ,
          <article-title>The inclusion-exclusion principle</article-title>
          ,
          <source>Hindustan Book Agency, Gurgaon</source>
          ,
          <year>2013</year>
          , pp.
          <fpage>57</fpage>
          -
          <lpage>79</lpage>
          . URL: https://doi.org/10. 1007/
          <fpage>978</fpage>
          -93-86279-55-
          <issue>2</issue>
          _4. doi:
          <volume>10</volume>
          .1007/
          <fpage>978</fpage>
          -93-86279-55-
          <issue>2</issue>
          _
          <fpage>4</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Process mining: A 360 degree overview</article-title>
          , in: W.
          <string-name>
            <surname>M. P. van der Aalst</surname>
          </string-name>
          , J. Carmona (Eds.),
          <source>Process Mining Handbook</source>
          , volume
          <volume>448</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>3</fpage>
          -
          <lpage>34</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>031</fpage>
          -08848-
          <issue>3</issue>
          _
          <fpage>1</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <source>Process Mining - Data Science in Action, Second Edition</source>
          , Springer,
          <year>2016</year>
          . URL: https://doi.org/10. 1007/978-3-
          <fpage>662</fpage>
          -49851-4.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Foundations of process discovery</article-title>
          , in: W.
          <string-name>
            <surname>M. P. van der Aalst</surname>
          </string-name>
          , J. Carmona (Eds.),
          <source>Process Mining Handbook</source>
          , volume
          <volume>448</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>37</fpage>
          -
          <lpage>75</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>031</fpage>
          -08848-
          <issue>3</issue>
          _
          <fpage>2</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Carmona</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. F. van Dongen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          ,
          <article-title>Conformance checking: Foundations, milestones and challenges</article-title>
          , in: W.
          <string-name>
            <surname>M. P. van der Aalst</surname>
          </string-name>
          , J. Carmona (Eds.),
          <source>Process Mining Handbook</source>
          , volume
          <volume>448</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>155</fpage>
          -
          <lpage>190</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>031</fpage>
          -08848-
          <issue>3</issue>
          _
          <fpage>5</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>P.</given-names>
            <surname>Pichler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Zugal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pinggera</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <article-title>Imperative versus declarative process modeling languages: An empirical investigation</article-title>
          , in: F. Daniel,
          <string-name>
            <given-names>K.</given-names>
            <surname>Barkaoui</surname>
          </string-name>
          , S. Dustdar (Eds.),
          <string-name>
            <surname>Business Process Management Workshops - BPM 2011 International Workshops</surname>
          </string-name>
          , Clermont-Ferrand, France,
          <year>August 29</year>
          ,
          <year>2011</year>
          ,
          <string-name>
            <given-names>Revised</given-names>
            <surname>Selected</surname>
          </string-name>
          <string-name>
            <given-names>Papers</given-names>
            ,
            <surname>Part</surname>
          </string-name>
          <string-name>
            <surname>I</surname>
          </string-name>
          , volume
          <volume>99</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2011</year>
          , pp.
          <fpage>383</fpage>
          -
          <lpage>394</lpage>
          . URL: https://doi.org/10. 1007/978-3-
          <fpage>642</fpage>
          -28108-2_
          <fpage>37</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
            , M. Pesic,
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Schonenberg</surname>
          </string-name>
          ,
          <article-title>Declarative workflows: Balancing between flexibility and support</article-title>
          ,
          <source>Comput. Sci. Res</source>
          . Dev.
          <volume>23</volume>
          (
          <year>2009</year>
          )
          <fpage>99</fpage>
          -
          <lpage>113</lpage>
          . URL: https://doi.org/10.1007/s00450-009-0057-9.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>C. D. Ciccio</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Mecella</surname>
          </string-name>
          ,
          <article-title>On the discovery of declarative control flows for artful processes</article-title>
          ,
          <source>ACM Trans. Manag. Inf. Syst</source>
          .
          <volume>5</volume>
          (
          <year>2015</year>
          )
          <volume>24</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>24</lpage>
          :
          <fpage>37</fpage>
          . URL: https://doi.org/10.1145/2629447.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>M. B. Dwyer</surname>
            ,
            <given-names>G. S.</given-names>
          </string-name>
          <string-name>
            <surname>Avrunin</surname>
            ,
            <given-names>J. C.</given-names>
          </string-name>
          <string-name>
            <surname>Corbett</surname>
          </string-name>
          ,
          <article-title>Patterns in property specifications for finite-state verification</article-title>
          , in: B.
          <string-name>
            <surname>W. Boehm</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Garlan</surname>
          </string-name>
          , J. Kramer (Eds.),
          <source>Proceedings of the 1999 International Conference on Software Engineering</source>
          , ICSE'
          <fpage>99</fpage>
          , Los Angeles, CA, USA, May
          <volume>16</volume>
          -22,
          <year>1999</year>
          , ACM,
          <year>1999</year>
          , pp.
          <fpage>411</fpage>
          -
          <lpage>420</lpage>
          . URL: https://doi.org/10.1145/302405.302672.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>B.</given-names>
            <surname>Greenman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Saarinen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Nelson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Krishnamurthi</surname>
          </string-name>
          ,
          <article-title>Little tricky logic: Misconceptions in the understanding of LTL, Art Sci</article-title>
          .
          <source>Eng</source>
          . Program.
          <volume>7</volume>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>I.</given-names>
            <surname>Donadello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <surname>A. Shikhizada,</surname>
          </string-name>
          <article-title>Declare4py: A python library for declarative process mining, in: BPM (PhD/Demos)</article-title>
          , volume
          <volume>3216</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>117</fpage>
          -
          <lpage>121</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>G. D.</given-names>
            <surname>Giacomo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. D.</given-names>
            <surname>Masellis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grasso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <article-title>Monitoring business metaconstraints based on LTL and LDL for finite traces</article-title>
          , in: S. W. Sadiq,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sofer</surname>
          </string-name>
          , H. Völzer (Eds.),
          <source>Business Process Management - 12th International Conference, BPM</source>
          <year>2014</year>
          , Haifa, Israel, September 7-
          <issue>11</issue>
          ,
          <year>2014</year>
          . Proceedings, volume
          <volume>8659</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2014</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>17</lpage>
          . URL: https://doi.org/10.1007/978-3-
          <fpage>319</fpage>
          -10172-
          <issue>9</issue>
          _
          <fpage>1</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G. D.</given-names>
            <surname>Giacomo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Favorito</surname>
          </string-name>
          ,
          <article-title>Compositional approach to translate ltlf/ldlf into deterministic finite automata</article-title>
          , in: S. Biundo,
          <string-name>
            <given-names>M.</given-names>
            <surname>Do</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Goldman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Katz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. H.</given-names>
            <surname>Zhuo</surname>
          </string-name>
          (Eds.),
          <source>Proceedings of the Thirty-First International Conference on Automated Planning and Scheduling</source>
          ,
          <string-name>
            <surname>ICAPS</surname>
          </string-name>
          <year>2021</year>
          , Guangzhou,
          <source>China (virtual)</source>
          ,
          <source>August 2-13</source>
          ,
          <year>2021</year>
          , AAAI Press,
          <year>2021</year>
          , pp.
          <fpage>122</fpage>
          -
          <lpage>130</lpage>
          . URL: https://ojs.aaai.org/index.php/ICAPS/article/view/15954.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>E.</given-names>
            <surname>Bellodi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          , E. Lamma,
          <article-title>Statistical relational learning for workflow mining</article-title>
          ,
          <source>Intell. Data Anal</source>
          .
          <volume>20</volume>
          (
          <year>2016</year>
          )
          <fpage>515</fpage>
          -
          <lpage>541</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>E.</given-names>
            <surname>Bellodi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          , E. Lamma,
          <article-title>Probabilistic declarative process mining</article-title>
          ,
          <source>in: KSEM</source>
          , volume
          <volume>6291</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2010</year>
          , pp.
          <fpage>292</fpage>
          -
          <lpage>303</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>F.</given-names>
            <surname>Chesani</surname>
          </string-name>
          , E. Lamma,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Storari</surname>
          </string-name>
          ,
          <article-title>Exploiting inductive logic programming techniques for declarative process mining</article-title>
          ,
          <source>Trans. Petri Nets Other Model. Concurr</source>
          .
          <volume>2</volume>
          (
          <year>2009</year>
          )
          <fpage>278</fpage>
          -
          <lpage>295</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>E.</given-names>
            <surname>Lamma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Storari</surname>
          </string-name>
          ,
          <article-title>Applying inductive logic programming to process mining</article-title>
          ,
          <source>in: ILP</source>
          , volume
          <volume>4894</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2007</year>
          , pp.
          <fpage>132</fpage>
          -
          <lpage>146</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>A.</given-names>
            <surname>Pnueli</surname>
          </string-name>
          ,
          <article-title>The temporal logic of programs</article-title>
          , in: FOCS, IEEE Computer Society,
          <year>1977</year>
          , pp.
          <fpage>46</fpage>
          -
          <lpage>57</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>G. D.</given-names>
            <surname>Giacomo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Linear temporal logic and linear dynamic logic on finite traces</article-title>
          ,
          <source>in: IJCAI, IJCAI/AAAI</source>
          ,
          <year>2013</year>
          , pp.
          <fpage>854</fpage>
          -
          <lpage>860</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          , J. Carmona (Eds.),
          <source>Process Mining Handbook</source>
          , volume
          <volume>448</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <surname>C. D. Ciccio</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Montali</surname>
          </string-name>
          ,
          <article-title>Declarative process specifications: Reasoning, discovery, monitoring</article-title>
          , in: Process Mining Handbook, volume
          <volume>448</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>108</fpage>
          -
          <lpage>152</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>A.</given-names>
            <surname>Alman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Peñaloza</surname>
          </string-name>
          ,
          <article-title>Probabilistic declarative process mining</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>109</volume>
          (
          <year>2022</year>
          )
          <fpage>102033</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Peñaloza</surname>
          </string-name>
          ,
          <article-title>Probabilistic conformance checking based on declarative process models</article-title>
          ,
          <source>in: CAiSE Forum</source>
          , volume
          <volume>386</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>86</fpage>
          -
          <lpage>99</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Peñaloza</surname>
          </string-name>
          ,
          <article-title>Temporal logics over finite traces with uncertainty</article-title>
          ,
          <source>in: AAAI</source>
          , AAAI Press,
          <year>2020</year>
          , pp.
          <fpage>10218</fpage>
          -
          <lpage>10225</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>T.</given-names>
            <surname>Sato</surname>
          </string-name>
          ,
          <article-title>A statistical learning method for logic programs with distribution semantics</article-title>
          , in: ICLP, MIT Press,
          <year>1995</year>
          , pp.
          <fpage>715</fpage>
          -
          <lpage>729</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <surname>E. Bellodi,</surname>
          </string-name>
          <article-title>The distribution semantics in probabilistic logic programming and probabilistic description logics: a survey</article-title>
          ,
          <source>Intelligenza Artificiale</source>
          <volume>17</volume>
          (
          <year>2023</year>
          )
          <fpage>143</fpage>
          -
          <lpage>156</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>V.</given-names>
            <surname>Fionda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ielo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Ricca</surname>
          </string-name>
          ,
          <article-title>Logic-based composition of business process models</article-title>
          ,
          <source>in: KR</source>
          ,
          <year>2023</year>
          , pp.
          <fpage>272</fpage>
          -
          <lpage>281</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>