SlideShare a Scribd company logo
1 of 41
Download to read offline
Verification of Data-Aware Processes
Boundaries of Decidability: Positive Results
Diego Calvanese, Marco Montali
Research Centre for Knowledge and Data (KRDB)
Free University of Bozen-Bolzano, Italy
KRDB
1
29th European Summer School in Logic, Language, and Information
(ESSLLI 2017)
Toulouse, France – 17–28 July 2017
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (1/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Understanding and comparing DCDSs
Before moving into verification, we need to understand how to characterize the
(branching) behavior induced by a DCDS.
How to compare the behaviors induced by two DCDSs?
How does behavioral equivalence relate with satisfaction of verification
formulae?
In the propositional case, the main tool for answering such questions is that of
bisimulation.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (2/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
A crash course on bisimulation
Bisimulation between propositional transition systems
Consider two propositional transition systems A = SA
, sA
0 , propA
, ⇒A and
B = SB
, sB
0 , propB
, ⇒B . Two states sA
∈ SA
and sB
∈ SB
bisimilar if:
1 sA
and sB
are isomorphic (local condition).
2 If there exists a state sA
1 of A such that sA
⇒A sA
1 , then there exists a
state sB
1 of B such that sB
⇒B sB
1 , and sA
1 and sB
1 are bisimilar (forth c.).
3 The other direction (back condition).
A and B are bisimilar, if their initial states are bisimilar.
A B
sA
sB
sA
1 sB
1
sB
2sA
2
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (3/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Two fundamental theorems
Consider two propositional transition systems A and B.
Theorem
If A and B are bisimilar, then they satisfy exactly the same µL properties.
Intuitively, µL is not able to distinguish bisimilar transition systems.
Theorem
If A and B satisfy exactly the same µL properties, then they are bisimilar.
Intuitively, µL is the maximal logic that captures bisimulation.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (4/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Correspondence Theorems for DCDSs
Can we lift these fundamental correspondence theorems to the case of DCDSs?
In the general case, we are doomed, since relational transition systems are
simply too rich.
We proceed as follows:
1 We single out key properties of the RTSs induced by DCDSs.
2 We introduce suitable notions of bisimulations for the FO temporal logics
introduced before.
3 We reconstruct correspondence theorems.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (5/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Two key properties of DCDSs
We have already seen the two properties of DCDSs to exploit:
Markovian, i.e., the next state only depends on the current state and the
input.
Based on generic queries, which do not distinguish structures that are
identical modulo uniform renaming of (new) data objects.
DCDSs are generic, which implies that, modulo isomorphisms on the results of
service calls, successor states are “indistinguishable” from each other.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (6/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Bisimulation between RTSs
Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2.
A bisimulation between Υ1 and Υ2
is a binary relation connecting pairs of states under a global bijection.
In particular, ≈ ⊆ S1 × S2 is a bisimulation between Υ1 and Υ2
if there exists a bijection h : ∆1 → ∆2 such that s1 ≈ s2 implies that:
1 h induces an isomorphism between db1(s1) and db2(s2);
2 for each s1, if s1 ⇒1 s1 then there is an s2 with s2 ⇒2 s2 s.t. s1 ≈ s2;
3 the other direction.
Υ1 ≈ Υ2 if s01 ≈ s02.
The classical result on indistinguishability of bisimilar TSs by µL formulas
extends to µLFO.
Theorem
If Υ1 ≈ Υ2, then for every µLFO closed formula Φ, we have that:
Υ1 |= Φ if and only if Υ2 |= Φ.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (7/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (8/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Weakening the bisimulations
The notion of bisimulation as just defined is suitable for µLFO (and LTL-FO),
but is too strong for our purposes.
Note:
µLFO allows for quantifying over the whole domain.
Captured by the global bijection in the definition of bisimulation.
In µLA, instead we can quantify only over the active domain of the current
state, and the evolution of its elements over time.
The bijection should consider the history so far plus the new objects.
In µLP , we can quantify only over the objects that persist.
The bijection should consider elements that persist in the state.
We suitably adjust the definition of bisimulation to reflect these restrictions.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (9/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
History-preserving bisimulation
Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2.
Let H be the set of all partial bijections between ∆1 and ∆2.
A history-preserving bisimulation between Υ1 and Υ2
is a ternary relation ≈A
⊆ S1 × H × S2, connecting pairs of states under a
bijection that tracks the history.
In particular, s1, h, s2 ∈ ≈A
h , denoted s1 ≈A
h s2, implies that:
1 h ∈ H induces an isomorphism between db1(s1) and db2(s2);
2 for each s1, if s1 ⇒1 s1 then there is an s2 with s2 ⇒2 s2 and a bijection
h that extends h, such that s1 ≈A
h s2;
3 the other direction.
Υ1 ≈A
Υ2 if there exists a partial bijection h0 such that s01 ≈A
h0
s02.
Theorem
If Υ1 ≈A
Υ2, then for every µLA closed formula Φ, we have that:
Υ1 |= Φ if and only if Υ2 |= Φ.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (10/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
History-preserving bisimulation
a() :
P(x) del{R(x)}, add{Q(f(x), g(x))}
Q(a, a) ∧ P(x) del{Q(a, a)}, add{R(x)}
I0 = {P(a), Q(a, a)}
P(a) Q(a,a)
f(a)→b g(a)→b
P(a) R(a) Q(b,b)
f(a)→a g(a)→a
P(a) R(a) Q(a,a)
f(a)→c g(a)→c
P(a) R(a) Q(c,c)
f(a)→b g(a)→b
P(a) Q(b,b)
f(a)→c g(a)→c
P(a) Q(c,c)
. . .
P(a) Q(a,a)
f(a)→b g(a)→a
P(a) R(a) Q(b,a)
f(a)→a g(a)→b
P(a) R(a) Q(a,b)
f(a)→a g(a)→a
P(a) R(a) Q(a,a)
f(a)→b g(a)→b
P(a) R(a) Q(b,b)
f(a)→b g(a)→c
P(a) R(a) Q(b,c)
f(a)→a g(a)→b
P(a) Q(a,b)
f(a)→b g(a)→a
P(a) Q(b,a)
f(a)→b g(a)→b
P(a) Q(b,b)
f(a)→b g(a)→c
P(a) Q(b,c)
h(a) = a
h1(a) = a
h2(a) = a
h2(b) = bh3(a) = a
h3(c) = b
h2 = h2
h3 = h3
The two transition systems are
history-preserving bisimilar.
Hence, they satisfy the same set
of µLA / LTL-FOA properties.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (11/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Persistence-preserving bisimulation
Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2.
Let H be the set of all partial bijections between ∆1 and ∆2.
A persistence-preserving bisimulation between Υ1 and Υ2
is a ternary relation ≈P
⊆ S1 × H × S2, connecting pairs of states under a
bijection that tracks the history of persisting objects.
In particular, s1, h, s2 ∈ ≈P
h , denoted s1 ≈P
h s2 implies that:
1 h ∈ H induces an isomorphism between db1(s1) and db2(s2);
2 for each s1, if s1 ⇒1 s1 then there exists an s2 with s2 ⇒2 s2 and a
bijection h that extends h restricted on adom(db1(s1)) ∪ adom(db1(s1)),
such that s1 ≈P
h s2;
3 the other direction.
Υ1 ≈P
Υ2 if there exists a partial bijection h0 such that s01 ≈P
h0
s02.
Theorem
If Υ1 ≈P
Υ2, then for every µLP closed formula Φ, we have that:
Υ1 |= Φ if and only if Υ2 |= Φ.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (12/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Genericity, Bisimulation Collapse
The different bisimulations are tightly related to the logic variants that we have
introduced.
Consider two RTSs Υ1 = ∆1, R, S1, q10, db1, ⇒1 and
Υ2 = ∆2, R, S2, q20, db2, ⇒2
with |∆1| = |∆2| infinite, a state s1 of T1, and a state s2 of T2.
Let s1 ≡µLFO
s2 denote that states s1 and s2 satisfy the same µLFO formulas,
analogously for µLA and µLP .
Finite-active-domain transition system
Is a RTS such that the active domain of every state is finite (though not
necessarily bounded by some given b).
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (13/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Genericity, Bisimulation Collapse, and µLFO Variants
The following always hold:
s1 ≈ s2 implies s1 ≈A
s2 implies s1 ≈P
s2
s1 ≈P
s2 implies s1 ≡µLP
s2
s1 ≈A
s2 implies s1 ≡µLA
s2
s1 ≈ s2 implies s1 ≡µLFO
s2
s1 ≡µLFO
s2 implies s1 ≡µLA
s2 implies s1 ≡µLP
s2
When T1 and T2 are generic:
s1 ≈P
s2 equivalent s1 ≈A
s2 equivalent s1 ≈ s2
When T1 and T2 are generic and finite-active-domain:
s1 ≡µLP
s2 equivalent s1 ≈P
s2
s1 ≡µLA
s2 equivalent s1 ≈A
s2
s1 ≡µLFO
s2 equivalent s1 ≈ s2
s1 ≡µLP
s2 equivalent s1 ≡µLA
s2 equivalent s1 ≡µLFO
s2
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (14/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (15/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Summary of results so far
We have seen the following results:
Without restrictions on the form of the DCDS, even the simplest properties
(reachability) is undecidable.
Towards decidability, we deal only with state bounded DCDSs and
with logics with active domain quantification (µLA, LTL-FOA).
Even for state bounded DCDS, we have that:
Model checking LTL-FOA (and hence LTL-FO) is undecidable.
Model checking µLA does not admit formula-independent abstractions.
To overcome these problems, we can follow different approaches:
We consider a further restriction on DCDSs: run-boundedness
(is only meaningful under deterministic services semantics).
We consider a further restriction on the logics: µLP and LTL-FOP .
We study formula-dependent abstractions.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (16/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Current overall picture
Reachability over unrestricted DCDSs: U
Tune DCDS:
state-bounded
Reachability over state-bounded DCDSs: D
Model checking µLFO/µLA
over state-bounded DCDSs: no FIA
Model checking LTL-FO/LTL-FOA
over state-bounded DCDSs: U
Tune DCDS:
run-bounded
Tune logic:
persistence
Tune DCDS:
run-bounded
Tune logic:
persistence
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (17/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Towards decidability
We need to tame the two sources of infinity in
the RTS ΥX generated by a DCDS X:
infinite branching, due to external input;
infinite runs, i.e., runs visiting infinitely
many DBs.
P(a) P(a)
P(b)
. . .
. . .
. . .
. . .
To prove decidability of model checking for restricted DCDSs and a specific
verification logic L:
We use as a tool bisimulations for the logic L.
We show that we can construct a finite-state RTS ΘX that provides a
faithful abstraction of ΥX for formulas of L.
In other words, ΘX and ΥX are bisimilar, under the bisimulation for L.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (18/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (19/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Dealing with infinite branching
Infinite branching is caused by the infinite number
of possible combinations of values returned by the
service calls.
Notice, however, that for each state along a run:
only a finite number of values have been
encountered so far, and
only a finite number of service calls are issued
when an action is executed.
Hence, due to genericity, we need only to take into
account:
whether a new value is equal to or differs from a
value encountered so far;
whether new values obtained from different
service calls are equal to or differ from each other.
• • •
•
•
•
• • •
•
•
•
• • •
•
•
•
• • •
•
•
•
• • •
•
•
•
· · ·
A-bisimilar
non A-bisimilar
Note: Instead of actual values, use isomorphic types based on equality
commitments.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (20/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Equality commitments
Consider a set D consisting of:
constants, and
terms obtained by applying functions to constants (i.e., service calls).
Equality commitment (EqC) H on D
is a partition of D such that each element of the partition contains at most one
constant (but arbitrarily many terms).
Note: each equality commitment H induces an equality relation =H on the
elements of D.
Given a state s of ΥX with DB I, we consider now EqCs on
adom(I) ∪ adom(I0) as the set of constants, and
calls(I) as the set of terms.
Note: there are only finitely many such EqCs.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (21/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Equality commitments and pruning
A service call evaluation θ respects an EqC H
if for every two terms t1, t2, we have that t1θ = t2θ if and only if t1 =H t2.
For an action α and parameter evaluation σ, consider now all successors of
state s according to an EqC H:
For each θ that respects H, state s has one successor do(I, α, σ, θ).
All such successors are isomorphic. Hence each EqC H determines an
isomorphism type.
We can now prune all isomorphic successors except one, which is kept as
representative of the isomorphism type.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (22/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Equality commitments – Example
Consider action α with no params and using a nondeterministic service call f:
α·eff = R(x, y) add{S(f(x), f(y))}
R(a,b)
R(a,b)
S(f(a),f(b))
α
θ1
a X X
b
f(a)f(b)
θ2
a X
b X
f(a)f(b)
θ3
a X
b X
f(a)f(b)
θ4
a
b X X
f(a)f(b)
θ5
a X
b
c X
f(a)f(b)
θ6
a
b X
c X
f(a)f(b)
θ7
a X
b
c X
f(a)f(b)
θ8
a
b X
c X
f(a)f(b)
θ9
a
b
c X X
f(a)f(b)
θ10
a
b
c X
d X
f(a)f(b)
R(a,b)
S(a,a)
R(a,b)
S(a,b)
R(a,b)
S(b,b)
R(a,b)
S(b,a)
R(a,b)
S(a,c)
R(a,b)
S(b,c)
R(a,b)
S(c,a)
R(a,b)
S(c,b)
R(a,b)
S(c,c)
R(a,b)
S(c,d)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (23/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Constructing a finite branching abstraction
Theorem
Let ΘX be the RTS obtained from ΥX by pruning successor nodes according to
equality commitments. Then:
ΘX is finite branching.
ΘX and ΥX are persistence-preserving bisimilar.
Note:
In the construction of ΘX , we have computed EqCs by considering as
constants only the elements of the active domains of the current state and
of the initial state s0.
Instead, if we determine EqCs by considering as constants all values along
the history, then:
ΘX is still finite branching.
ΘX and ΥX are history-preserving bisimilar.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (24/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (25/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Dealing with infinite runs
We still need to address infiniteness of the RTS coming from possibly infinite
runs, which may accumulate infinitely many new values along the run.
Two approaches to deal with this:
1 Restrict the DCDS, by ruling out a priori the accumulation of infinitely
many values along a run.
run-bounded DCDSs
2 Restrict the logics, making them “insensitive” to the infinitely many values.
persistence-preserving variants of µLFO and LTL-FO
Recall: the DCDSs we consider are state-bounded!
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (26/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Run-boundedness
A DCDS X is run-bounded
if there exists a fixed number b such that the number of values used in each
(infinite) run of X, is bounded by b: given ΥX = ∆, R, S, s0, db, ⇒ , for
each sequence s0, s1, s2, . . . such that si ⇒ si+1 for all i ≥ 0, we have that
| i≥0 adom(db(si))| ≤ b.
Note:
In general, even when X is run-bounded, ΥX is still infinite-state due to
infinite branching (but we have seen how to cope with this).
Run-boundedness is a semantic condition.
Theorem
Verification of µLA over run-bounded DCDSs is decidable and can be
reduced to model checking of propositional µ-calculus over a finite TS.
Verification of LTL-FOA over run-bounded DCDSs is decidable and can be
reduced to model checking of propositional LTL over a finite TS.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (27/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Current overall picture
Reachability over unrestricted DCDSs: U
Tune DCDS:
state-bounded
Reachability over state-bounded DCDSs: D
Model checking µLFO/µLA
over state-bounded DCDSs: no FIA
Model checking LTL-FO/LTL-FOA
over state-bounded DCDSs: U
Tune DCDS:
run-bounded
Tune logic:
persistence
Tune DCDS:
run-bounded
Tune logic:
persistence
Model checking µLFO/LTL-FO
over run-bounded DCDSs: D (FIA)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (28/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Avoiding run-boundedness
Run-boundedness is a rather restrictive condition for DCDSs
With non-deterministic services: only a finite number of service calls . . .
With deterministic services: only a finite number of distinct service calls . . .
. . . may be issued along a run.
Instead of requiring run-boundedness, we:
restrict the form of quantification, and
show how to construct a finite faithful abstraction in which we reuse values
along runs.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (29/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Eventually recycling pruning
Intuition:
We consider logics with persistence-preserving quantification, which cannot
quantify over values, once they have left the active domain.
When we need to return new values from service calls, we “recycle” those
values that previously disappeared.
We incorporate the recycling into the construction of the RTS for the
DCDS, effectively pruning the set of generated states.
If the DCDS is b-bounded, the recycling algorithm will introduce at most
2 · b new values overall. Namely, for each state s:
at most b values that constitute adom(db(s));
at most b new values that are introduced by the service calls, and that
possibly replace some of the values in adom(db(s)).
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (30/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Recycling algorithm
Algorithm Recycle
Input: DCDS X = D, P, I0 , with D = R, C and P = F, A, .
S := {I0}; ⇒ := ∅; UsedValues := adom(I0);
repeat
pick non visited triple of state I ∈ S, action α, and legal parameters σ;
RecyclableValues := UsedValues − (adom(I0) ∪ adom(I));
pick set V of n service call results such that:
1 |V| = n = |calls(add(I, α, σ) ∪ del(I, α, σ))|, and
2
V ⊆ RecyclableValues, if |RecyclableValues| ≥ n, % recycled values
V ⊂ ∆ − UsedValues, otherwise; % fresh values
F := adom(I0) ∪ adom(I) ∪ V;
for each θ ∈ evalsF (I, α, σ) such that Inext |= C,
where Inext := do(I, α, σ, θ) do
S := S ∪ {Inext };
⇒ := ⇒ ∪ { I, Inext };
UsedValues := UsedValues ∪ adom(Inext );
enddo
until S and ⇒ no longer change;
return ∆, R, S, I0, dbid , ⇒ , where dbid is the identity function.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (31/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Example
R(a)
R(b)
R(c)
R(d)
R(e)
. . .
R(a)
R(b)
R(c)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (32/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Outline
1 Genericity and Bisimulations
2 Weaker Forms of Bisimulation
3 Towards Decidability of Verification
4 Dealing with Infinite Branching
5 Dealing with Infinite Runs
6 Decidability Results
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (33/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Decidability for persistence-preserving logics
Given as input a state-bounded DCDS X, algorithm Recycle constructs
a finite RTS ΘX .
Moreover, ΘX and ΥX are persistence-preserving bisimilar.
Note: the algorithm does not require to know the bound b for the state.
From this, and the fact that µLP / LTL-FOA are invariant under
persistence-reserving bisimulations, we obtain decidability of verification.
Theorem
Verification of µLP over state-bounded DCDSs is decidable and can be
reduced to model checking of propositional µ-calculus over a finite TS.
Verification of LTL-FOP over state-bounded DCDSs is decidable and can
be reduced to model checking of propositional LTL over a finite TS.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (34/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Current overall picture
Reachability over unrestricted DCDSs: U
Tune DCDS:
state-bounded
Reachability over state-bounded DCDSs: D
Model checking µLFO/µLA
over state-bounded DCDSs: no FIA
Model checking LTL-FO/LTL-FOA
over state-bounded DCDSs: U
Tune DCDS:
run-bounded
Tune logic:
persistence
Tune DCDS:
run-bounded
Tune logic:
persistence
Model checking µLFO/LTL-FO
over run-bounded DCDSs: D (FIA)
Model checking µLP /LTL-FOP
over state-bounded DCDSs: D (FIA)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (35/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
µLA and µLFO over state-bounded DCDSs
We have seen that µLA (and hence µLFO) over state-bounded DCDSs does not
admit formula-independent abstractions.
But is verification decidable?
µLFO is not able to single out properties about a run.
Combined with genericity of the RTS generated by a DCDS X, this limits
the ability to express first-order temporal properties over ΥX .
Hence, given a µLFO formula Φ with n variables, we can introduce n data
slots that keep track of their assignments.
Theorem
Given a state-bounded DCDS X and an integer n, we can construct a finite
state abstraction ΘX of ΥX (that depends on n) such that, for every µLFO
formula Φ with n variables,
ΘX |= Φ if and only if ΥX |= Φ.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (36/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Final overall picture
Reachability over unrestricted DCDSs: U
Tune DCDS:
state-bounded
Reachability over state-bounded DCDSs: D
Model checking µLFO/µLA
over state-bounded DCDSs: D (FDA)
Model checking LTL-FO/LTL-FOA
over state-bounded DCDSs: U
Tune DCDS:
run-bounded
Tune logic:
persistence
Tune DCDS:
run-bounded
Tune logic:
persistence
Model checking µLFO/LTL-FO
over run-bounded DCDSs: D (FIA)
Model checking µLP /LTL-FOP
over state-bounded DCDSs: D (FIA)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (37/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Deciding state and run-boundedness
State-boundedness and run-boundedness are semantic properties.
Theorem
Checking whether a DCDS is state-/run-bounded is:
Undecidable for an unknown bound.
Decidable for a given bound.
Proof of undecidability of checking boundedness
By encoding the halting problem of TMs. Given a TM M:
We construct a DCDS XM that encodes the computation of M.
XM also maintains an additional unary relation R, in which it inserts a
fresh value for each transition that M performs.
We have that:
The TM M halts iff XM is state-bounded iff XM is run-bounded.
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (38/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Deciding state and run-boundedness
State-boundedness and run-boundedness are semantic properties.
Theorem
Checking whether a DCDS is state-/run-bounded is:
Undecidable for an unknown bound.
Decidable for a given bound.
Proof of decidability of checking b-boundedness of a DCDS X
We construct a new DCDS X as follows:
Define a Boolean query Q>b testing that the active domain contains more
than b distinct values.
Conjoin each condition in the condition-action rules with ¬Q>b, thus
blocking all actions when the size of the active domain exceeds b.
Add a new condition-action rule that raises a flag when Q>b becomes true.
Hence, the flag is raised in X if and only if X is not b-bounded.
X is state-bounded, hence reachability of raising the flag is decidable.
(For decidability of checking b-run-boundedness, we can proceed analogously.)
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (38/39)
Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results
Results on (un)decidability of verification for DCDSs
UnrestrictedDCDSs(Turingcomplete)
State-boundedDCDSs
Run-boundedDCDSs
Finite-stateDCDSs
GR+
-acyclic DCDSs
GR-acyclic DCDSs
Weakly-acyclic DCDSs
for det. services
Finite-range DCDSs
Unrestricted State-bounded Run-bounded Finite-state
LTL-FO / µLFO U U / FDA D / FDA D
LTL-FOA / µLA U U / FDA D D
LTL-FOP / µLP U D D D
LTL / µL U D D D
D: decidable with formula independent abstraction U: undecidable
FDA: decidable, but formula dependent abstraction
Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (39/39)

More Related Content

What's hot

Persistence of power-law correlations in nonequilibrium steady states of gapp...
Persistence of power-law correlations in nonequilibrium steady states of gapp...Persistence of power-law correlations in nonequilibrium steady states of gapp...
Persistence of power-law correlations in nonequilibrium steady states of gapp...Jarrett Lancaster
 
Geometric properties for parabolic and elliptic pde
Geometric properties for parabolic and elliptic pdeGeometric properties for parabolic and elliptic pde
Geometric properties for parabolic and elliptic pdeSpringer
 
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij (Stepan Douplii)
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
A Complete Ideals Derivation in Bcik – Algebras
A Complete Ideals Derivation in Bcik – AlgebrasA Complete Ideals Derivation in Bcik – Algebras
A Complete Ideals Derivation in Bcik – Algebrasijtsrd
 
Singula holomorphic foliations on cp3 shfc zak
Singula holomorphic foliations on cp3 shfc zakSingula holomorphic foliations on cp3 shfc zak
Singula holomorphic foliations on cp3 shfc zakFrancisco Inuma
 
Higher dimensional image analysis using brunn minkowski theorem, convexity an...
Higher dimensional image analysis using brunn minkowski theorem, convexity an...Higher dimensional image analysis using brunn minkowski theorem, convexity an...
Higher dimensional image analysis using brunn minkowski theorem, convexity an...Alexander Decker
 
Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)Matthew Leingang
 
Conflicts between relevance-sensitive revision
Conflicts between relevance-sensitive revisionConflicts between relevance-sensitive revision
Conflicts between relevance-sensitive revisionstellaseremetaki
 
Dr NV SRINIVASULU-Tpjrc ijaerd paper
Dr NV SRINIVASULU-Tpjrc ijaerd paperDr NV SRINIVASULU-Tpjrc ijaerd paper
Dr NV SRINIVASULU-Tpjrc ijaerd paperSRINIVASULU N V
 
[PR12] categorical reparameterization with gumbel softmax
[PR12] categorical reparameterization with gumbel softmax[PR12] categorical reparameterization with gumbel softmax
[PR12] categorical reparameterization with gumbel softmaxJaeJun Yoo
 
Information geometry: Dualistic manifold structures and their uses
Information geometry: Dualistic manifold structures and their usesInformation geometry: Dualistic manifold structures and their uses
Information geometry: Dualistic manifold structures and their usesFrank Nielsen
 
An elementary introduction to information geometry
An elementary introduction to information geometryAn elementary introduction to information geometry
An elementary introduction to information geometryFrank Nielsen
 
Abstraction Reconceptualised
Abstraction ReconceptualisedAbstraction Reconceptualised
Abstraction Reconceptualisedjamesstudd
 
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityAn Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityIRJESJOURNAL
 

What's hot (20)

Verification of Data-Aware Processes at ESSLLI 2017 3/6 - Verification Logics
Verification of Data-Aware Processes at ESSLLI 2017 3/6 - Verification LogicsVerification of Data-Aware Processes at ESSLLI 2017 3/6 - Verification Logics
Verification of Data-Aware Processes at ESSLLI 2017 3/6 - Verification Logics
 
Deep Learning Opening Workshop - Domain Adaptation Challenges in Genomics: a ...
Deep Learning Opening Workshop - Domain Adaptation Challenges in Genomics: a ...Deep Learning Opening Workshop - Domain Adaptation Challenges in Genomics: a ...
Deep Learning Opening Workshop - Domain Adaptation Challenges in Genomics: a ...
 
Persistence of power-law correlations in nonequilibrium steady states of gapp...
Persistence of power-law correlations in nonequilibrium steady states of gapp...Persistence of power-law correlations in nonequilibrium steady states of gapp...
Persistence of power-law correlations in nonequilibrium steady states of gapp...
 
Geometric properties for parabolic and elliptic pde
Geometric properties for parabolic and elliptic pdeGeometric properties for parabolic and elliptic pde
Geometric properties for parabolic and elliptic pde
 
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
 
8803-09-lec16.pdf
8803-09-lec16.pdf8803-09-lec16.pdf
8803-09-lec16.pdf
 
N0747577
N0747577N0747577
N0747577
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
A Complete Ideals Derivation in Bcik – Algebras
A Complete Ideals Derivation in Bcik – AlgebrasA Complete Ideals Derivation in Bcik – Algebras
A Complete Ideals Derivation in Bcik – Algebras
 
Singula holomorphic foliations on cp3 shfc zak
Singula holomorphic foliations on cp3 shfc zakSingula holomorphic foliations on cp3 shfc zak
Singula holomorphic foliations on cp3 shfc zak
 
Higher dimensional image analysis using brunn minkowski theorem, convexity an...
Higher dimensional image analysis using brunn minkowski theorem, convexity an...Higher dimensional image analysis using brunn minkowski theorem, convexity an...
Higher dimensional image analysis using brunn minkowski theorem, convexity an...
 
Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)Lesson 27: Integration by Substitution (Section 021 handout)
Lesson 27: Integration by Substitution (Section 021 handout)
 
Conflicts between relevance-sensitive revision
Conflicts between relevance-sensitive revisionConflicts between relevance-sensitive revision
Conflicts between relevance-sensitive revision
 
Dr NV SRINIVASULU-Tpjrc ijaerd paper
Dr NV SRINIVASULU-Tpjrc ijaerd paperDr NV SRINIVASULU-Tpjrc ijaerd paper
Dr NV SRINIVASULU-Tpjrc ijaerd paper
 
[PR12] categorical reparameterization with gumbel softmax
[PR12] categorical reparameterization with gumbel softmax[PR12] categorical reparameterization with gumbel softmax
[PR12] categorical reparameterization with gumbel softmax
 
Information geometry: Dualistic manifold structures and their uses
Information geometry: Dualistic manifold structures and their usesInformation geometry: Dualistic manifold structures and their uses
Information geometry: Dualistic manifold structures and their uses
 
An elementary introduction to information geometry
An elementary introduction to information geometryAn elementary introduction to information geometry
An elementary introduction to information geometry
 
Abstraction Reconceptualised
Abstraction ReconceptualisedAbstraction Reconceptualised
Abstraction Reconceptualised
 
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityAn Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
 
03 choi
03 choi03 choi
03 choi
 

Similar to Verification of Data-Aware Processes at ESSLLI 2017 5/6 - Boundaries of Decidability: Positive Results

Housing Price Models
Housing Price ModelsHousing Price Models
Housing Price ModelsGaetan Lion
 
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTION
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTIONFITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTION
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTIONcscpconf
 
Fitting the log skew normal to
Fitting the log skew normal toFitting the log skew normal to
Fitting the log skew normal tocsandit
 
Liom sg talk 2020
Liom sg talk 2020Liom sg talk 2020
Liom sg talk 2020Ze-Yang Li
 
Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Alexander Decker
 
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Umberto Picchini
 
dougherty5e_C07G01_2016_05_05 upb cbba.pptx
dougherty5e_C07G01_2016_05_05 upb cbba.pptxdougherty5e_C07G01_2016_05_05 upb cbba.pptx
dougherty5e_C07G01_2016_05_05 upb cbba.pptxRodrigo Paniagua
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet AllocationMarco Righini
 
On the approximation of the sum of lognormals by a log skew normal distribution
On the approximation of the sum of lognormals by a log skew normal distributionOn the approximation of the sum of lognormals by a log skew normal distribution
On the approximation of the sum of lognormals by a log skew normal distributionIJCNCJournal
 
Regression on gaussian symbols
Regression on gaussian symbolsRegression on gaussian symbols
Regression on gaussian symbolsAxel de Romblay
 
Locally Averaged Bayesian Dirichlet Metrics
Locally Averaged Bayesian Dirichlet MetricsLocally Averaged Bayesian Dirichlet Metrics
Locally Averaged Bayesian Dirichlet MetricsNTNU
 

Similar to Verification of Data-Aware Processes at ESSLLI 2017 5/6 - Boundaries of Decidability: Positive Results (20)

CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
CLIM Program: Remote Sensing Workshop, Optimization for Distributed Data Syst...
 
Housing Price Models
Housing Price ModelsHousing Price Models
Housing Price Models
 
Deep Learning Opening Workshop - Horseshoe Regularization for Machine Learnin...
Deep Learning Opening Workshop - Horseshoe Regularization for Machine Learnin...Deep Learning Opening Workshop - Horseshoe Regularization for Machine Learnin...
Deep Learning Opening Workshop - Horseshoe Regularization for Machine Learnin...
 
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTION
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTIONFITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTION
FITTING THE LOG SKEW NORMAL TO THE SUM OF INDEPENDENT LOGNORMALS DISTRIBUTION
 
Fitting the log skew normal to
Fitting the log skew normal toFitting the log skew normal to
Fitting the log skew normal to
 
Liom sg talk 2020
Liom sg talk 2020Liom sg talk 2020
Liom sg talk 2020
 
Dissertation Paper
Dissertation PaperDissertation Paper
Dissertation Paper
 
B. Liseo, Metodi inferenziali per dati integrati
B. Liseo, Metodi inferenziali per dati integratiB. Liseo, Metodi inferenziali per dati integrati
B. Liseo, Metodi inferenziali per dati integrati
 
Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)Stability criterion of periodic oscillations in a (16)
Stability criterion of periodic oscillations in a (16)
 
Chapter6.pdf.pdf
Chapter6.pdf.pdfChapter6.pdf.pdf
Chapter6.pdf.pdf
 
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
 
dougherty5e_C07G01_2016_05_05 upb cbba.pptx
dougherty5e_C07G01_2016_05_05 upb cbba.pptxdougherty5e_C07G01_2016_05_05 upb cbba.pptx
dougherty5e_C07G01_2016_05_05 upb cbba.pptx
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet Allocation
 
Econometrics ch12
Econometrics ch12Econometrics ch12
Econometrics ch12
 
gamdependence_revision1
gamdependence_revision1gamdependence_revision1
gamdependence_revision1
 
On the approximation of the sum of lognormals by a log skew normal distribution
On the approximation of the sum of lognormals by a log skew normal distributionOn the approximation of the sum of lognormals by a log skew normal distribution
On the approximation of the sum of lognormals by a log skew normal distribution
 
Regression on gaussian symbols
Regression on gaussian symbolsRegression on gaussian symbols
Regression on gaussian symbols
 
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
 
Phd defence. University of Turin
Phd defence. University of TurinPhd defence. University of Turin
Phd defence. University of Turin
 
Locally Averaged Bayesian Dirichlet Metrics
Locally Averaged Bayesian Dirichlet MetricsLocally Averaged Bayesian Dirichlet Metrics
Locally Averaged Bayesian Dirichlet Metrics
 

More from Faculty of Computer Science - Free University of Bozen-Bolzano

More from Faculty of Computer Science - Free University of Bozen-Bolzano (20)

From Case-Isolated to Object-Centric Processes - A Tale of two Models
From Case-Isolated to Object-Centric Processes - A Tale of two ModelsFrom Case-Isolated to Object-Centric Processes - A Tale of two Models
From Case-Isolated to Object-Centric Processes - A Tale of two Models
 
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic SettingReasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
 
Constraints for Process Framing in Augmented BPM
Constraints for Process Framing in Augmented BPMConstraints for Process Framing in Augmented BPM
Constraints for Process Framing in Augmented BPM
 
Intelligent Systems for Process Mining
Intelligent Systems for Process MiningIntelligent Systems for Process Mining
Intelligent Systems for Process Mining
 
Declarative process mining
Declarative process miningDeclarative process mining
Declarative process mining
 
Process Reasoning and Mining with Uncertainty
Process Reasoning and Mining with UncertaintyProcess Reasoning and Mining with Uncertainty
Process Reasoning and Mining with Uncertainty
 
From Case-Isolated to Object-Centric Processes
From Case-Isolated to Object-Centric ProcessesFrom Case-Isolated to Object-Centric Processes
From Case-Isolated to Object-Centric Processes
 
Modeling and Reasoning over Declarative Data-Aware Processes
Modeling and Reasoning over Declarative Data-Aware ProcessesModeling and Reasoning over Declarative Data-Aware Processes
Modeling and Reasoning over Declarative Data-Aware Processes
 
Soundness of Data-Aware Processes with Arithmetic Conditions
Soundness of Data-Aware Processes with Arithmetic ConditionsSoundness of Data-Aware Processes with Arithmetic Conditions
Soundness of Data-Aware Processes with Arithmetic Conditions
 
Probabilistic Trace Alignment
Probabilistic Trace AlignmentProbabilistic Trace Alignment
Probabilistic Trace Alignment
 
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple ActorsStrategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
 
Extending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with UncertaintyExtending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with Uncertainty
 
Extending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with UncertaintyExtending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with Uncertainty
 
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
 
From legacy data to event data
From legacy data to event dataFrom legacy data to event data
From legacy data to event data
 
Putting Decisions in Perspective(s)
Putting Decisions in Perspective(s)Putting Decisions in Perspective(s)
Putting Decisions in Perspective(s)
 
Enriching Data Models with Behavioral Constraints
Enriching Data Models with Behavioral ConstraintsEnriching Data Models with Behavioral Constraints
Enriching Data Models with Behavioral Constraints
 
Representing and querying norm states using temporal ontology-based data access
Representing and querying norm states using temporal ontology-based data accessRepresenting and querying norm states using temporal ontology-based data access
Representing and querying norm states using temporal ontology-based data access
 
Compliance monitoring of multi-perspective declarative process models
Compliance monitoring of multi-perspective declarative process modelsCompliance monitoring of multi-perspective declarative process models
Compliance monitoring of multi-perspective declarative process models
 
Processes and organizations - a look behind the paper wall
Processes and organizations - a look behind the paper wallProcesses and organizations - a look behind the paper wall
Processes and organizations - a look behind the paper wall
 

Recently uploaded

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyDrAnita Sharma
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 

Recently uploaded (20)

❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomology
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 

Verification of Data-Aware Processes at ESSLLI 2017 5/6 - Boundaries of Decidability: Positive Results

  • 1. Verification of Data-Aware Processes Boundaries of Decidability: Positive Results Diego Calvanese, Marco Montali Research Centre for Knowledge and Data (KRDB) Free University of Bozen-Bolzano, Italy KRDB 1 29th European Summer School in Logic, Language, and Information (ESSLLI 2017) Toulouse, France – 17–28 July 2017
  • 2. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (1/39)
  • 3. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Understanding and comparing DCDSs Before moving into verification, we need to understand how to characterize the (branching) behavior induced by a DCDS. How to compare the behaviors induced by two DCDSs? How does behavioral equivalence relate with satisfaction of verification formulae? In the propositional case, the main tool for answering such questions is that of bisimulation. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (2/39)
  • 4. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results A crash course on bisimulation Bisimulation between propositional transition systems Consider two propositional transition systems A = SA , sA 0 , propA , ⇒A and B = SB , sB 0 , propB , ⇒B . Two states sA ∈ SA and sB ∈ SB bisimilar if: 1 sA and sB are isomorphic (local condition). 2 If there exists a state sA 1 of A such that sA ⇒A sA 1 , then there exists a state sB 1 of B such that sB ⇒B sB 1 , and sA 1 and sB 1 are bisimilar (forth c.). 3 The other direction (back condition). A and B are bisimilar, if their initial states are bisimilar. A B sA sB sA 1 sB 1 sB 2sA 2 Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (3/39)
  • 5. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Two fundamental theorems Consider two propositional transition systems A and B. Theorem If A and B are bisimilar, then they satisfy exactly the same µL properties. Intuitively, µL is not able to distinguish bisimilar transition systems. Theorem If A and B satisfy exactly the same µL properties, then they are bisimilar. Intuitively, µL is the maximal logic that captures bisimulation. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (4/39)
  • 6. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Correspondence Theorems for DCDSs Can we lift these fundamental correspondence theorems to the case of DCDSs? In the general case, we are doomed, since relational transition systems are simply too rich. We proceed as follows: 1 We single out key properties of the RTSs induced by DCDSs. 2 We introduce suitable notions of bisimulations for the FO temporal logics introduced before. 3 We reconstruct correspondence theorems. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (5/39)
  • 7. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Two key properties of DCDSs We have already seen the two properties of DCDSs to exploit: Markovian, i.e., the next state only depends on the current state and the input. Based on generic queries, which do not distinguish structures that are identical modulo uniform renaming of (new) data objects. DCDSs are generic, which implies that, modulo isomorphisms on the results of service calls, successor states are “indistinguishable” from each other. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (6/39)
  • 8. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Bisimulation between RTSs Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2. A bisimulation between Υ1 and Υ2 is a binary relation connecting pairs of states under a global bijection. In particular, ≈ ⊆ S1 × S2 is a bisimulation between Υ1 and Υ2 if there exists a bijection h : ∆1 → ∆2 such that s1 ≈ s2 implies that: 1 h induces an isomorphism between db1(s1) and db2(s2); 2 for each s1, if s1 ⇒1 s1 then there is an s2 with s2 ⇒2 s2 s.t. s1 ≈ s2; 3 the other direction. Υ1 ≈ Υ2 if s01 ≈ s02. The classical result on indistinguishability of bisimilar TSs by µL formulas extends to µLFO. Theorem If Υ1 ≈ Υ2, then for every µLFO closed formula Φ, we have that: Υ1 |= Φ if and only if Υ2 |= Φ. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (7/39)
  • 9. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (8/39)
  • 10. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Weakening the bisimulations The notion of bisimulation as just defined is suitable for µLFO (and LTL-FO), but is too strong for our purposes. Note: µLFO allows for quantifying over the whole domain. Captured by the global bijection in the definition of bisimulation. In µLA, instead we can quantify only over the active domain of the current state, and the evolution of its elements over time. The bijection should consider the history so far plus the new objects. In µLP , we can quantify only over the objects that persist. The bijection should consider elements that persist in the state. We suitably adjust the definition of bisimulation to reflect these restrictions. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (9/39)
  • 11. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results History-preserving bisimulation Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2. Let H be the set of all partial bijections between ∆1 and ∆2. A history-preserving bisimulation between Υ1 and Υ2 is a ternary relation ≈A ⊆ S1 × H × S2, connecting pairs of states under a bijection that tracks the history. In particular, s1, h, s2 ∈ ≈A h , denoted s1 ≈A h s2, implies that: 1 h ∈ H induces an isomorphism between db1(s1) and db2(s2); 2 for each s1, if s1 ⇒1 s1 then there is an s2 with s2 ⇒2 s2 and a bijection h that extends h, such that s1 ≈A h s2; 3 the other direction. Υ1 ≈A Υ2 if there exists a partial bijection h0 such that s01 ≈A h0 s02. Theorem If Υ1 ≈A Υ2, then for every µLA closed formula Φ, we have that: Υ1 |= Φ if and only if Υ2 |= Φ. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (10/39)
  • 12. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results History-preserving bisimulation a() : P(x) del{R(x)}, add{Q(f(x), g(x))} Q(a, a) ∧ P(x) del{Q(a, a)}, add{R(x)} I0 = {P(a), Q(a, a)} P(a) Q(a,a) f(a)→b g(a)→b P(a) R(a) Q(b,b) f(a)→a g(a)→a P(a) R(a) Q(a,a) f(a)→c g(a)→c P(a) R(a) Q(c,c) f(a)→b g(a)→b P(a) Q(b,b) f(a)→c g(a)→c P(a) Q(c,c) . . . P(a) Q(a,a) f(a)→b g(a)→a P(a) R(a) Q(b,a) f(a)→a g(a)→b P(a) R(a) Q(a,b) f(a)→a g(a)→a P(a) R(a) Q(a,a) f(a)→b g(a)→b P(a) R(a) Q(b,b) f(a)→b g(a)→c P(a) R(a) Q(b,c) f(a)→a g(a)→b P(a) Q(a,b) f(a)→b g(a)→a P(a) Q(b,a) f(a)→b g(a)→b P(a) Q(b,b) f(a)→b g(a)→c P(a) Q(b,c) h(a) = a h1(a) = a h2(a) = a h2(b) = bh3(a) = a h3(c) = b h2 = h2 h3 = h3 The two transition systems are history-preserving bisimilar. Hence, they satisfy the same set of µLA / LTL-FOA properties. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (11/39)
  • 13. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Persistence-preserving bisimulation Consider Υ1, Υ2 over disjoint data domains ∆1, ∆2, with states S1, S2. Let H be the set of all partial bijections between ∆1 and ∆2. A persistence-preserving bisimulation between Υ1 and Υ2 is a ternary relation ≈P ⊆ S1 × H × S2, connecting pairs of states under a bijection that tracks the history of persisting objects. In particular, s1, h, s2 ∈ ≈P h , denoted s1 ≈P h s2 implies that: 1 h ∈ H induces an isomorphism between db1(s1) and db2(s2); 2 for each s1, if s1 ⇒1 s1 then there exists an s2 with s2 ⇒2 s2 and a bijection h that extends h restricted on adom(db1(s1)) ∪ adom(db1(s1)), such that s1 ≈P h s2; 3 the other direction. Υ1 ≈P Υ2 if there exists a partial bijection h0 such that s01 ≈P h0 s02. Theorem If Υ1 ≈P Υ2, then for every µLP closed formula Φ, we have that: Υ1 |= Φ if and only if Υ2 |= Φ. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (12/39)
  • 14. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Genericity, Bisimulation Collapse The different bisimulations are tightly related to the logic variants that we have introduced. Consider two RTSs Υ1 = ∆1, R, S1, q10, db1, ⇒1 and Υ2 = ∆2, R, S2, q20, db2, ⇒2 with |∆1| = |∆2| infinite, a state s1 of T1, and a state s2 of T2. Let s1 ≡µLFO s2 denote that states s1 and s2 satisfy the same µLFO formulas, analogously for µLA and µLP . Finite-active-domain transition system Is a RTS such that the active domain of every state is finite (though not necessarily bounded by some given b). Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (13/39)
  • 15. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Genericity, Bisimulation Collapse, and µLFO Variants The following always hold: s1 ≈ s2 implies s1 ≈A s2 implies s1 ≈P s2 s1 ≈P s2 implies s1 ≡µLP s2 s1 ≈A s2 implies s1 ≡µLA s2 s1 ≈ s2 implies s1 ≡µLFO s2 s1 ≡µLFO s2 implies s1 ≡µLA s2 implies s1 ≡µLP s2 When T1 and T2 are generic: s1 ≈P s2 equivalent s1 ≈A s2 equivalent s1 ≈ s2 When T1 and T2 are generic and finite-active-domain: s1 ≡µLP s2 equivalent s1 ≈P s2 s1 ≡µLA s2 equivalent s1 ≈A s2 s1 ≡µLFO s2 equivalent s1 ≈ s2 s1 ≡µLP s2 equivalent s1 ≡µLA s2 equivalent s1 ≡µLFO s2 Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (14/39)
  • 16. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (15/39)
  • 17. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Summary of results so far We have seen the following results: Without restrictions on the form of the DCDS, even the simplest properties (reachability) is undecidable. Towards decidability, we deal only with state bounded DCDSs and with logics with active domain quantification (µLA, LTL-FOA). Even for state bounded DCDS, we have that: Model checking LTL-FOA (and hence LTL-FO) is undecidable. Model checking µLA does not admit formula-independent abstractions. To overcome these problems, we can follow different approaches: We consider a further restriction on DCDSs: run-boundedness (is only meaningful under deterministic services semantics). We consider a further restriction on the logics: µLP and LTL-FOP . We study formula-dependent abstractions. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (16/39)
  • 18. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Current overall picture Reachability over unrestricted DCDSs: U Tune DCDS: state-bounded Reachability over state-bounded DCDSs: D Model checking µLFO/µLA over state-bounded DCDSs: no FIA Model checking LTL-FO/LTL-FOA over state-bounded DCDSs: U Tune DCDS: run-bounded Tune logic: persistence Tune DCDS: run-bounded Tune logic: persistence Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (17/39)
  • 19. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Towards decidability We need to tame the two sources of infinity in the RTS ΥX generated by a DCDS X: infinite branching, due to external input; infinite runs, i.e., runs visiting infinitely many DBs. P(a) P(a) P(b) . . . . . . . . . . . . To prove decidability of model checking for restricted DCDSs and a specific verification logic L: We use as a tool bisimulations for the logic L. We show that we can construct a finite-state RTS ΘX that provides a faithful abstraction of ΥX for formulas of L. In other words, ΘX and ΥX are bisimilar, under the bisimulation for L. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (18/39)
  • 20. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (19/39)
  • 21. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Dealing with infinite branching Infinite branching is caused by the infinite number of possible combinations of values returned by the service calls. Notice, however, that for each state along a run: only a finite number of values have been encountered so far, and only a finite number of service calls are issued when an action is executed. Hence, due to genericity, we need only to take into account: whether a new value is equal to or differs from a value encountered so far; whether new values obtained from different service calls are equal to or differ from each other. • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • · · · A-bisimilar non A-bisimilar Note: Instead of actual values, use isomorphic types based on equality commitments. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (20/39)
  • 22. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Equality commitments Consider a set D consisting of: constants, and terms obtained by applying functions to constants (i.e., service calls). Equality commitment (EqC) H on D is a partition of D such that each element of the partition contains at most one constant (but arbitrarily many terms). Note: each equality commitment H induces an equality relation =H on the elements of D. Given a state s of ΥX with DB I, we consider now EqCs on adom(I) ∪ adom(I0) as the set of constants, and calls(I) as the set of terms. Note: there are only finitely many such EqCs. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (21/39)
  • 23. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Equality commitments and pruning A service call evaluation θ respects an EqC H if for every two terms t1, t2, we have that t1θ = t2θ if and only if t1 =H t2. For an action α and parameter evaluation σ, consider now all successors of state s according to an EqC H: For each θ that respects H, state s has one successor do(I, α, σ, θ). All such successors are isomorphic. Hence each EqC H determines an isomorphism type. We can now prune all isomorphic successors except one, which is kept as representative of the isomorphism type. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (22/39)
  • 24. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Equality commitments – Example Consider action α with no params and using a nondeterministic service call f: α·eff = R(x, y) add{S(f(x), f(y))} R(a,b) R(a,b) S(f(a),f(b)) α θ1 a X X b f(a)f(b) θ2 a X b X f(a)f(b) θ3 a X b X f(a)f(b) θ4 a b X X f(a)f(b) θ5 a X b c X f(a)f(b) θ6 a b X c X f(a)f(b) θ7 a X b c X f(a)f(b) θ8 a b X c X f(a)f(b) θ9 a b c X X f(a)f(b) θ10 a b c X d X f(a)f(b) R(a,b) S(a,a) R(a,b) S(a,b) R(a,b) S(b,b) R(a,b) S(b,a) R(a,b) S(a,c) R(a,b) S(b,c) R(a,b) S(c,a) R(a,b) S(c,b) R(a,b) S(c,c) R(a,b) S(c,d) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (23/39)
  • 25. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Constructing a finite branching abstraction Theorem Let ΘX be the RTS obtained from ΥX by pruning successor nodes according to equality commitments. Then: ΘX is finite branching. ΘX and ΥX are persistence-preserving bisimilar. Note: In the construction of ΘX , we have computed EqCs by considering as constants only the elements of the active domains of the current state and of the initial state s0. Instead, if we determine EqCs by considering as constants all values along the history, then: ΘX is still finite branching. ΘX and ΥX are history-preserving bisimilar. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (24/39)
  • 26. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (25/39)
  • 27. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Dealing with infinite runs We still need to address infiniteness of the RTS coming from possibly infinite runs, which may accumulate infinitely many new values along the run. Two approaches to deal with this: 1 Restrict the DCDS, by ruling out a priori the accumulation of infinitely many values along a run. run-bounded DCDSs 2 Restrict the logics, making them “insensitive” to the infinitely many values. persistence-preserving variants of µLFO and LTL-FO Recall: the DCDSs we consider are state-bounded! Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (26/39)
  • 28. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Run-boundedness A DCDS X is run-bounded if there exists a fixed number b such that the number of values used in each (infinite) run of X, is bounded by b: given ΥX = ∆, R, S, s0, db, ⇒ , for each sequence s0, s1, s2, . . . such that si ⇒ si+1 for all i ≥ 0, we have that | i≥0 adom(db(si))| ≤ b. Note: In general, even when X is run-bounded, ΥX is still infinite-state due to infinite branching (but we have seen how to cope with this). Run-boundedness is a semantic condition. Theorem Verification of µLA over run-bounded DCDSs is decidable and can be reduced to model checking of propositional µ-calculus over a finite TS. Verification of LTL-FOA over run-bounded DCDSs is decidable and can be reduced to model checking of propositional LTL over a finite TS. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (27/39)
  • 29. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Current overall picture Reachability over unrestricted DCDSs: U Tune DCDS: state-bounded Reachability over state-bounded DCDSs: D Model checking µLFO/µLA over state-bounded DCDSs: no FIA Model checking LTL-FO/LTL-FOA over state-bounded DCDSs: U Tune DCDS: run-bounded Tune logic: persistence Tune DCDS: run-bounded Tune logic: persistence Model checking µLFO/LTL-FO over run-bounded DCDSs: D (FIA) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (28/39)
  • 30. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Avoiding run-boundedness Run-boundedness is a rather restrictive condition for DCDSs With non-deterministic services: only a finite number of service calls . . . With deterministic services: only a finite number of distinct service calls . . . . . . may be issued along a run. Instead of requiring run-boundedness, we: restrict the form of quantification, and show how to construct a finite faithful abstraction in which we reuse values along runs. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (29/39)
  • 31. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Eventually recycling pruning Intuition: We consider logics with persistence-preserving quantification, which cannot quantify over values, once they have left the active domain. When we need to return new values from service calls, we “recycle” those values that previously disappeared. We incorporate the recycling into the construction of the RTS for the DCDS, effectively pruning the set of generated states. If the DCDS is b-bounded, the recycling algorithm will introduce at most 2 · b new values overall. Namely, for each state s: at most b values that constitute adom(db(s)); at most b new values that are introduced by the service calls, and that possibly replace some of the values in adom(db(s)). Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (30/39)
  • 32. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Recycling algorithm Algorithm Recycle Input: DCDS X = D, P, I0 , with D = R, C and P = F, A, . S := {I0}; ⇒ := ∅; UsedValues := adom(I0); repeat pick non visited triple of state I ∈ S, action α, and legal parameters σ; RecyclableValues := UsedValues − (adom(I0) ∪ adom(I)); pick set V of n service call results such that: 1 |V| = n = |calls(add(I, α, σ) ∪ del(I, α, σ))|, and 2 V ⊆ RecyclableValues, if |RecyclableValues| ≥ n, % recycled values V ⊂ ∆ − UsedValues, otherwise; % fresh values F := adom(I0) ∪ adom(I) ∪ V; for each θ ∈ evalsF (I, α, σ) such that Inext |= C, where Inext := do(I, α, σ, θ) do S := S ∪ {Inext }; ⇒ := ⇒ ∪ { I, Inext }; UsedValues := UsedValues ∪ adom(Inext ); enddo until S and ⇒ no longer change; return ∆, R, S, I0, dbid , ⇒ , where dbid is the identity function. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (31/39)
  • 33. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Example R(a) R(b) R(c) R(d) R(e) . . . R(a) R(b) R(c) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (32/39)
  • 34. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Outline 1 Genericity and Bisimulations 2 Weaker Forms of Bisimulation 3 Towards Decidability of Verification 4 Dealing with Infinite Branching 5 Dealing with Infinite Runs 6 Decidability Results Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (33/39)
  • 35. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Decidability for persistence-preserving logics Given as input a state-bounded DCDS X, algorithm Recycle constructs a finite RTS ΘX . Moreover, ΘX and ΥX are persistence-preserving bisimilar. Note: the algorithm does not require to know the bound b for the state. From this, and the fact that µLP / LTL-FOA are invariant under persistence-reserving bisimulations, we obtain decidability of verification. Theorem Verification of µLP over state-bounded DCDSs is decidable and can be reduced to model checking of propositional µ-calculus over a finite TS. Verification of LTL-FOP over state-bounded DCDSs is decidable and can be reduced to model checking of propositional LTL over a finite TS. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (34/39)
  • 36. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Current overall picture Reachability over unrestricted DCDSs: U Tune DCDS: state-bounded Reachability over state-bounded DCDSs: D Model checking µLFO/µLA over state-bounded DCDSs: no FIA Model checking LTL-FO/LTL-FOA over state-bounded DCDSs: U Tune DCDS: run-bounded Tune logic: persistence Tune DCDS: run-bounded Tune logic: persistence Model checking µLFO/LTL-FO over run-bounded DCDSs: D (FIA) Model checking µLP /LTL-FOP over state-bounded DCDSs: D (FIA) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (35/39)
  • 37. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results µLA and µLFO over state-bounded DCDSs We have seen that µLA (and hence µLFO) over state-bounded DCDSs does not admit formula-independent abstractions. But is verification decidable? µLFO is not able to single out properties about a run. Combined with genericity of the RTS generated by a DCDS X, this limits the ability to express first-order temporal properties over ΥX . Hence, given a µLFO formula Φ with n variables, we can introduce n data slots that keep track of their assignments. Theorem Given a state-bounded DCDS X and an integer n, we can construct a finite state abstraction ΘX of ΥX (that depends on n) such that, for every µLFO formula Φ with n variables, ΘX |= Φ if and only if ΥX |= Φ. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (36/39)
  • 38. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Final overall picture Reachability over unrestricted DCDSs: U Tune DCDS: state-bounded Reachability over state-bounded DCDSs: D Model checking µLFO/µLA over state-bounded DCDSs: D (FDA) Model checking LTL-FO/LTL-FOA over state-bounded DCDSs: U Tune DCDS: run-bounded Tune logic: persistence Tune DCDS: run-bounded Tune logic: persistence Model checking µLFO/LTL-FO over run-bounded DCDSs: D (FIA) Model checking µLP /LTL-FOP over state-bounded DCDSs: D (FIA) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (37/39)
  • 39. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Deciding state and run-boundedness State-boundedness and run-boundedness are semantic properties. Theorem Checking whether a DCDS is state-/run-bounded is: Undecidable for an unknown bound. Decidable for a given bound. Proof of undecidability of checking boundedness By encoding the halting problem of TMs. Given a TM M: We construct a DCDS XM that encodes the computation of M. XM also maintains an additional unary relation R, in which it inserts a fresh value for each transition that M performs. We have that: The TM M halts iff XM is state-bounded iff XM is run-bounded. Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (38/39)
  • 40. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Deciding state and run-boundedness State-boundedness and run-boundedness are semantic properties. Theorem Checking whether a DCDS is state-/run-bounded is: Undecidable for an unknown bound. Decidable for a given bound. Proof of decidability of checking b-boundedness of a DCDS X We construct a new DCDS X as follows: Define a Boolean query Q>b testing that the active domain contains more than b distinct values. Conjoin each condition in the condition-action rules with ¬Q>b, thus blocking all actions when the size of the active domain exceeds b. Add a new condition-action rule that raises a flag when Q>b becomes true. Hence, the flag is raised in X if and only if X is not b-bounded. X is state-bounded, hence reachability of raising the flag is decidable. (For decidability of checking b-run-boundedness, we can proceed analogously.) Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (38/39)
  • 41. Bisimulations Weaker Bisimulations Towards Decidability Infinite Branching Infinite Runs Decidability Results Results on (un)decidability of verification for DCDSs UnrestrictedDCDSs(Turingcomplete) State-boundedDCDSs Run-boundedDCDSs Finite-stateDCDSs GR+ -acyclic DCDSs GR-acyclic DCDSs Weakly-acyclic DCDSs for det. services Finite-range DCDSs Unrestricted State-bounded Run-bounded Finite-state LTL-FO / µLFO U U / FDA D / FDA D LTL-FOA / µLA U U / FDA D D LTL-FOP / µLP U D D D LTL / µL U D D D D: decidable with formula independent abstraction U: undecidable FDA: decidable, but formula dependent abstraction Calvanese, Montali (FUB) Verification of Data-Aware Processes ESSLLI 2017 – 24–28/07/2017 (39/39)