• Non ci sono risultati.

Interval Temporal Logic Model Checking

N/A
N/A
Protected

Academic year: 2021

Condividi "Interval Temporal Logic Model Checking"

Copied!
41
0
0

Testo completo

(1)

Interval Temporal Logic Model Checking Angelo Montanari

Interval Temporal Logic Model Checking

Angelo Montanari

Dept. of Mathematics, Computer Science, and Physics University of Udine, Italy

Temporal Logics: Satisfiability Checking, Model Checking, and Synthesis

University of Udine, Udine (Italy) January 20, 2017

(2)

Model checking

Model checking: the desired properties of a system are checked against a model of it

I themodelis usually a (finite) state-transition system

I system properties are specified by atemporal logic(LTL, CTL, and the like)

Distinctive features of model checking:

I exaustivecheck of all the possible behaviours

I fully automaticprocess

I acounterexampleis produced for a violated property

(3)

Interval Temporal Logic Model Checking Angelo Montanari

Point-based vs. interval-based model checking

Model checking is usuallypoint-based:

I properties express requirements over points (snapshots) of a computation (states of the state-transition system)

I they are specified by means of point-based temporal logics such as LTL and CTL

Interval-basedproperties express conditions on computation stretches, e.g., actions with duration, accomplishments, and temporal aggregations, instead of on computation states A lot of work has been done oninterval temporal logic(ITL) satisfiability checking.

Little work has been done onITL model checking(Bozzelli,

Lomuscio, Michaliszyn, Molinari, Montanari, Murano, Perelli, Peron, Sala)

(4)

Outline of the talk

I the model checking problem for interval temporal logics

I complexity results: the general picture

I the case of the interval temporal logic AABBE

(5)

Interval Temporal Logic Model Checking Angelo Montanari

The modeling of the system: Kripke structures

v0

v2

p2 v1

p1 pv33

v1

p1

v2

p2

v3

p3 r1

r2

r3

u1 u2 u3

r2

r3

r1 r3

r1

r2

A finite Kripke structure

I HS formulas are interpreted over (finite) state-transition systems, whose states are labeled with sets of proposition letters (Kripke structures)

I An interval is atrace(finite path) in a Kripke structure

(6)

HS: the modal logic of Allen’s interval relations

The thirteenbinary ordering relationsbetween two intervals on a linear order form the set of Allen’s interval relations

They give rise to corresponding unary modalities over frames where intervals are primitive entities:

I HS featuresa modality for any Allen ordering relationbetween pairs of intervals (except for equality)

Allen rel. HS Definition Example

x y

v z

v z

v z

v z

v z

v z

meets hAi [x,y]RA[v,z] ⇐⇒ yv before hLi [x,y]RL[v,z] ⇐⇒ y<v started-by hBi [x,y]RB[v,z] ⇐⇒ xvz<y finished-by hEi [x,y]RE[v,z] ⇐⇒ yzx<v contains hDi [x,y]RD[v,z] ⇐⇒ x<vz<y overlaps hOi [x,y]RO[v,z] ⇐⇒ x<v<y<z

All modalities can be expressed by means ofhAi,hBi,hEi, and their transposed modalities only

(7)

Interval Temporal Logic Model Checking Angelo Montanari

HS semantics and model checking

Truth of a formulaψover a traceρof a Kripke structureK  (AP,W, δ, µ,w0)defined by induction on the complexity ofψ:

I K, ρ |p iff p ∈T

w ∈states(ρ)µ(w), for any letter p∈ AP (homogeneity assumption);

I negation, disjunction, and conjunction are standard;

I K, ρ | hAiψiff there is a traceρ0s.t. lst(ρ)fst(ρ0)and K, ρ0 | ψ;

I K, ρ | hBiψiff there is a prefixρ0ofρs.t. K, ρ0 | ψ;

I K, ρ | hEiψiff there is a suffixρ0ofρ s.t.K, ρ0 | ψ;

I the semantic clauses forhAi, hBi, andhEiare similar

Model Checking

K | ψ ⇐⇒ for all initial tracesρofK, it holds thatK, ρ | ψ Possibly infinitely many traces!

(8)

Remark: HS state semantics (HS

st

)

I According to the given semantics, HS modalities allow oneto branch both in the past and in the future

ϕ1

hBiϕ1

ϕ1

hEiϕ1

ϕ1

hAiϕ1

ϕ2

hAiϕ2

(9)

Interval Temporal Logic Model Checking Angelo Montanari

An example: the Kripke structure K

Sched

v0

v2

p2

v1

p1 pv33

v1

p1

v2

p2

v3

p3 r1

r2

r3

u1 u2 u3

r2

r3

r1 r3

r1 r2

(10)

A short account of K

Sched

KSched models the behaviour of aschedulerserving 3 processes which are continuously requesting the use of a common resource

Initial state: v0 (no process is served in that state)

In vi and vi thei-th processis served (pi holds in those states) The schedulercannot serve the same process twicein two successive rounds:

I process i is served in state vi, then, after “some time”, a transition ui from vi to vi is taken; subsequently, process i cannot be served again immediately, as vi is not directly reachable from vi

I a transition rj, with j,i, from vi to vj is then taken and process j is served

It can beeasily generalisedto an arbitrary number of processes

(11)

Interval Temporal Logic Model Checking Angelo Montanari

Some meaningful properties to be checked over K

Sched Validity of properties over all legal computation intervals can be forced by modality[E](they are suffixes of at least one initial trace) Property 1: in any computation interval of length at least 4, at least 2 processes are witnessed (YES/no process can be executed twice in a row)

KSched | [E] hEi3> →(χ(p1, p2)χ(p1, p3)χ(p2, p3)), whereχ(p, q) hEi hAi p ∧ hEi hAi q

Property 2: in any computation interval of length at least 11, process 3 is executed at least once (NO/the scheduler can postpone the execution of a process ad libitum)

KSched 6| [E](hEi10> → hEi hAi p3)

Property 3: in any computation interval of length at least 6, all processes are witnessed (NO/the scheduler should be forced to execute them in a strictly periodic manner, which is not the case)

KSched 6| [E](hEi5→(hEi hAi p1∧ hEi hAi p2∧ hEi hAi p3))

(12)

Model checking: the key notion of BE

k

-descriptor

I TheBE-nesting depthof an HS formulaψ(NestBE(ψ)) is the maximum degree of nesting of modalities B and E inψ

I Two tracesρandρ0of a Kripke structureK arek-equivalentif and only ifK, ρ | ψiffK, ρ0 | ψfor all HS-formulasψwith NestBE(ψ)k

We provide a suitable tree representation for a trace, called a BEk-descriptor

TheBEk-descriptorfor a traceρ v0v1..vm−1vm, denoted BEk(ρ), is defined as follows:

(v0, {v1, ..,vm−1},vm)

. . . . . . . . . . . . BEk−1S2)

. . . . . . . . . BEk−1S1)

. . . . . . . . . . . .

. . . . . . . . . BEk−1P2)

. . . . . . . . . BEk−1P1)

. . . . . . . . .

descriptor element

ρP1, ρP2, . . .prefixesofρ ρS1, ρS2, . . .suffixesofρ

Remark: the descriptor does not feature sibling isomorphic subtrees

(13)

Interval Temporal Logic Model Checking Angelo Montanari

Model checking: the key notion of BE

k

-descriptor

I TheBE-nesting depthof an HS formulaψ(NestBE(ψ)) is the maximum degree of nesting of modalities B and E inψ

I Two tracesρandρ0of a Kripke structureK arek-equivalentif and only ifK, ρ | ψiffK, ρ0 | ψfor all HS-formulasψwith NestBE(ψ)k

We provide a suitable tree representation for a trace, called a BEk-descriptor

TheBEk-descriptorfor a traceρ v0v1..vm−1vm, denoted BEk(ρ), is defined as follows:

(v0, {v1, ..,vm−1},vm)

. . . . . . . . . . . . BEk−1S2)

. . . . . . . . . BEk−1S1)

. . . . . . . . . . . .

. . . . . . . . . BEk−1P2)

. . . . . . . . . BEk−1P1)

. . . . . . . . .

descriptor element

ρP1, ρP2, . . .prefixesofρ ρS1, ρS2, . . .suffixesofρ

Remark: the descriptor does not feature sibling isomorphic subtrees

(14)

An example of a BE

2

-descriptor

v0

p vq1

The BE2-descriptor for the traceρ  v0v1v04v1 (for the sake of readability, only the subtrees for prefixes are displayed)

(v0, {v0, v1}, v1)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {}, v1) (v0, {v0, v1}, v0)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {v0, v1}, v0)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {v0, v1}, v0)

Remark: the subtree to the left is associated with both prefixes v0v1v03and v0v1v04(there are no sibling isomorphic subtrees in the descriptor)

(15)

Interval Temporal Logic Model Checking Angelo Montanari

An example of a BE

2

-descriptor

v0

p vq1

The BE2-descriptor for the traceρ  v0v1v04v1 (for the sake of readability, only the subtrees for prefixes are displayed)

(v0, {v0, v1}, v1)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {}, v1) (v0, {v0, v1}, v0)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {v0, v1}, v0)

(v0, {}, v1) (v0, {v1}, v0)

(v0, {v0, v1}, v0)

Remark: the subtree to the left is associated with both prefixes v0v1v03and v0v1v04(there are no sibling isomorphic subtrees in the descriptor)

(16)

Decidability of model checking for full HS

FACT 1:For any Kripke structureK and any BE-nesting depth k0, the number of different BEk-descriptors isfinite(and thus at least one descriptor has to be associated with infinitely many traces)

FACT 2:Two tracesρandρ0of a Kripke structureK described by thesame BEkdescriptorarek-equivalent

Theorem

The model checking problem for full HS on finite Kripke structures is decidable (with a non-elementary algorithm)

A. Molinari, A. Montanari, A. Murano, G. Perelli, and A. Peron, Checking Interval Properties of Computations, Acta Informatica, Special Issue: Temporal Representation and Reasoning (TIME’14), Vol. 56, n. 6-8, October 2016, pp. 587-619

What about lower bounds?

(17)

Interval Temporal Logic Model Checking Angelo Montanari

Decidability of model checking for full HS

FACT 1:For any Kripke structureK and any BE-nesting depth k0, the number of different BEk-descriptors isfinite(and thus at least one descriptor has to be associated with infinitely many traces)

FACT 2:Two tracesρandρ0of a Kripke structureK described by thesame BEkdescriptorarek-equivalent

Theorem

The model checking problem for full HS on finite Kripke structures is decidable (with a non-elementary algorithm)

A. Molinari, A. Montanari, A. Murano, G. Perelli, and A. Peron, Checking Interval Properties of Computations, Acta Informatica, Special Issue: Temporal Representation and Reasoning (TIME’14), Vol. 56, n. 6-8, October 2016, pp. 587-619

What about lower bounds?

(18)

Decidability of model checking for full HS

FACT 1:For any Kripke structureK and any BE-nesting depth k0, the number of different BEk-descriptors isfinite(and thus at least one descriptor has to be associated with infinitely many traces)

FACT 2:Two tracesρandρ0of a Kripke structureK described by thesame BEkdescriptorarek-equivalent

Theorem

The model checking problem for full HS on finite Kripke structures is decidable (with a non-elementary algorithm)

A. Molinari, A. Montanari, A. Murano, G. Perelli, and A. Peron, Checking Interval Properties of Computations, Acta Informatica, Special Issue:

Temporal Representation and Reasoning (TIME’14), Vol. 56, n. 6-8, October 2016, pp. 587-619

What about lower bounds?

(19)

Interval Temporal Logic Model Checking Angelo Montanari

Decidability of model checking for full HS

FACT 1:For any Kripke structureK and any BE-nesting depth k0, the number of different BEk-descriptors isfinite(and thus at least one descriptor has to be associated with infinitely many traces)

FACT 2:Two tracesρandρ0of a Kripke structureK described by thesame BEkdescriptorarek-equivalent

Theorem

The model checking problem for full HS on finite Kripke structures is decidable (with a non-elementary algorithm)

A. Molinari, A. Montanari, A. Murano, G. Perelli, and A. Peron, Checking Interval Properties of Computations, Acta Informatica, Special Issue:

Temporal Representation and Reasoning (TIME’14), Vol. 56, n. 6-8, October 2016, pp. 587-619

What about lower bounds?

(20)

The logic BE

Theorem

The model checking problem for BE, over finite Kripke structures, is EXPSPACE-hard

L. Bozzelli, A. Molinari, A. Montanari, A. Peron, and P. Sala, Interval Temporal Logic Model Checking: The Border Between Good and Bad HS Fragments, IJCAR 2016

Proof (sketch): a polynomial-timereduction from a domino-tiling problemfor grids with rows of single exponential length

I for an instance I of the problem, we build a Kripke structureKI and a BE formulaϕI in polynomial time

I there is an initial trace ofKI satisfyingϕI iff there is a tiling of I I KI | ¬ϕI iff there exists no tiling of I

(21)

Interval Temporal Logic Model Checking Angelo Montanari

BE hardness: encoding of the domino-tiling problem

Instance of the tiling problem: (C, ∆,n,dinit,dfinal), with C a finite set of colors and∆ ⊆C×C×C×C a set of tuples (cB,cL,cT,cR)

dk0 d1k d2k d2kn−2 d2kn−1

dj+1i dji dij−1 di−1j di+1j

d20 d10

d00 d20n−2 d20n−1

dInit

dFin

dij cijL cjiR

cjiB cjiT

dj−1i cij−1T

String (interval) encodingof the problem

d00 0 · · · 00 d01 1 · · · 00 · · · d20n1 1 · · · 11 $ d10 0 · · · 00 d11 1 · · · 00 · · · d12n1 1 · · · 11 $ column 0 column 1 column 2n− 1 column 0 column 1 column 2n− 1

row 0 row 1

(22)

The complexity picture

AABE PSPACE-complete B PSPACE-complete

E PSPACE-complete AAEE PSPACE-complete AABB PSPACE-complete

AA PNP[O(log2n)]

PNP[O(log n)]-hard

A, A PNP[O(log2n)]

PNP[O(log n)]-hard

AB, AE PNP[O(log2n)]

PNP[O(log n)]-hard AAB PNP-complete AAE PNP-complete

AB PNP-complete AE PNP-complete

hBi coNP-complete hEi coNP-complete

Prop coNP-complete AABBE, AAEBE EXPSPACE

PSPACE-hard

BE nonELEMENTARY EXPSPACE-hard full HS nonELEMENTARY

EXPSPACE-hard

hardness hardness

hardness

hardness upper-bound

hardness

hardness hardness

hardness hardness

hardness

upper-bound hardness

upper-bound

(23)

Interval Temporal Logic Model Checking Angelo Montanari

Three main gaps to fill

The picture shows that there three main gaps to fill:

I full HS and BE are in betweennonELEMENTARYand EXPSPACE

I AABBE,AAEBE,ABBE,AEBE,ABBE,and AEBE are in betweenEXPSPACEandPSPACE

I A,A,AA,AB, and AE are in betweenPNP[O(log2n)]and PNP[O(log n)]

(24)

The logic AABBE

Let us consider the case of the logic AABBE, which is obtained from full HS (AABBEE) by removing modalityhEi

A high-level account of the solution:

I we can restrict our attention toprefixes(Bk-descriptors suffice)

I the size of the tree representation of Bk-descriptors is larger than necessary (redundancy) and it prevents their efficient exploitation in model checking algorithms

I atrace representativecan be chosen to represent a (possibly infinite) set of traces with the same Bk-descriptor

I abound, which depends on both the number|W| of states of the Kripke structure and the B-nesting depth k, can be given to the length of trace representatives

(25)

Interval Temporal Logic Model Checking Angelo Montanari

The logic AABBE

Let us consider the case of the logic AABBE, which is obtained from full HS (AABBEE) by removing modalityhEi

A high-level account of the solution:

I we can restrict our attention toprefixes(Bk-descriptors suffice)

I the size of the tree representation of Bk-descriptors is larger than necessary (redundancy) and it prevents their efficient exploitation in model checking algorithms

I atrace representativecan be chosen to represent a (possibly infinite) set of traces with the same Bk-descriptor

I abound, which depends on both the number|W| of states of the Kripke structure and the B-nesting depth k, can be given to the length of trace representatives

(26)

The logic AABBE

Let us consider the case of the logic AABBE, which is obtained from full HS (AABBEE) by removing modalityhEi

A high-level account of the solution:

I we can restrict our attention toprefixes(Bk-descriptors suffice)

I the size of the tree representation of Bk-descriptors is larger than necessary (redundancy) and it prevents their efficient exploitation in model checking algorithms

I atrace representativecan be chosen to represent a (possibly infinite) set of traces with the same Bk-descriptor

I abound, which depends on both the number|W| of states of the Kripke structure and the B-nesting depth k, can be given to the length of trace representatives

(27)

Interval Temporal Logic Model Checking Angelo Montanari

The logic AABBE

Let us consider the case of the logic AABBE, which is obtained from full HS (AABBEE) by removing modalityhEi

A high-level account of the solution:

I we can restrict our attention toprefixes(Bk-descriptors suffice)

I the size of the tree representation of Bk-descriptors is larger than necessary (redundancy) and it prevents their efficient exploitation in model checking algorithms

I atrace representativecan be chosen to represent a (possibly infinite) set of traces with the same Bk-descriptor

I abound, which depends on both the number|W| of states of the Kripke structure and the B-nesting depth k, can be given to the length of trace representatives

(28)

The logic AABBE

Let us consider the case of the logic AABBE, which is obtained from full HS (AABBEE) by removing modalityhEi

A high-level account of the solution:

I we can restrict our attention toprefixes(Bk-descriptors suffice)

I the size of the tree representation of Bk-descriptors is larger than necessary (redundancy) and it prevents their efficient exploitation in model checking algorithms

I atrace representativecan be chosen to represent a (possibly infinite) set of traces with the same Bk-descriptor

I abound, which depends on both the number|W| of states of the Kripke structure and the B-nesting depth k, can be given to the length of trace representatives

(29)

Interval Temporal Logic Model Checking Angelo Montanari

Prefix-bisimilarity

Definition (Prefix-bisimilarity)

Two tracesρandρ0areh-prefix bisimilarif the following conditions inductively hold:

I for h0:

fst(ρ)fst(ρ0), lst(ρ)lst(ρ0), and states(ρ)states(ρ0)

I for h>0:

ρandρ0are 0-prefix bisimilar and for each proper prefixνofρ (resp., proper prefixν0ofρ0), there exists a proper prefixν0 of ρ0(resp., proper prefixνofρ) such thatνandν0are

(h1)-prefix bisimilar

I h-prefix bisimilarity is anequivalence relationover the set of traces

I h-prefix bisimilaritypropagates downwards

(30)

h-prefix bisimilarityh-equivalence

Proposition

Let h0, andρandρ0be two h-prefix bisimilar traces of a Kripke structureK. For each AABBE formulaψ, with B-nesting ofψ less than or equal to h, it holds that

K, ρ | ψ ⇐⇒ K , ρ0 | ψ

(31)

Interval Temporal Logic Model Checking Angelo Montanari

Induced trace

Definition (Induced trace)

Letρbe a trace of length n of a Kripke structureK. Atrace induced byρis a traceπofK such that there exists an increasing

sequence ofρ-positions i1 < . . . <ik, where i11, ik n, and π  ρ(i1)· · ·ρ(ik)

ρ

π

1 2 3 4 5

1 2 3 4 5 6 7 8 9 10

π = ρ(1)ρ(4)ρ(5)ρ(7)ρ(10)

Ifπis induced byρ ⇒fst(π)fst(ρ), lst(π)lst(ρ), and

|π| ≤ |ρ|

(32)

Prefix-skeleton sampling

Definition (Prefix-skeleton sampling)

Letρbe a trace of a Kripke structureK (AP,W, δ, µ,w0). Given twoρ-positions i and j, with ij, theprefix-skeleton

samplingofρ(i,j)is theminimal set P ofρ-positions in the interval [i,j]satisfying:

I i,jP;

I for each state wW occurring alongρ(i+1,j1), the minimal position k ∈ [i+1,j1]such thatρ(k)w is in P

i j

w1 w1 w1 w1 w2 w1 w3 w1 w2 w3 w1 w3

ρ(i, j)

P ={i, i + 1, i + 4, i + 6, j}

(33)

Interval Temporal Logic Model Checking Angelo Montanari

h-prefix sampling

Definition (h-prefix sampling)

For each h1, theh-prefix sampling ofρis theminimal set Ph of ρ-positionsinductively satisfying the following conditions:

I for h1: P1is the prefix-skeleton sampling ofρ;

I for h>1:

I Ph⊇ Ph−1and

I for all pairs of consecutive positions i, j in Ph−1, the prefix-skeleton sampling ofρ(i, j)is in Ph

Proposition

The h-prefix sampling Phof (any)ρis such that |Ph| ≤ (|W| +2)h

(34)

A small model (trace) result

Given a traceρ, we can derive another traceρ0, induced byρand h-prefix bisimilar toρ, such that|ρ0| ≤ (|W| +2)h+2 as follows:

1. we first compute the (h+1)-prefix sampling Ph+1 ofρ; 2. then, for all pairs of consecutiveρ-positions i,j in Ph+1, we

consider a trace induced byρ(i,j), with no repeated

occurrences of any state, except at most the first and last ones (hence no longer than(|W| +2));

3. ρ0is just the ordered concatenation of all these traces ρandρ0can be proved to be h-prefix bisimilar, and thus

ρ0is indistinguishable fromρwith respect to the fulfilment of any formulaψ, with B-nesting ofψ(abbreviated NestB(ψ))≤h By the previous bound on|Ph|, it holds that|ρ0| ≤ (|W| +2)h+2

(35)

Interval Temporal Logic Model Checking Angelo Montanari

A small model (trace) result

Given a traceρ, we can derive another traceρ0, induced byρand h-prefix bisimilar toρ, such that|ρ0| ≤ (|W| +2)h+2 as follows:

1. we first compute the(h+1)-prefix sampling Ph+1 ofρ;

2. then, for all pairs of consecutiveρ-positions i,j in Ph+1, we consider a trace induced byρ(i,j), with no repeated

occurrences of any state, except at most the first and last ones (hence no longer than(|W| +2));

3. ρ0is just the ordered concatenation of all these traces ρandρ0can be proved to be h-prefix bisimilar, and thus

ρ0is indistinguishable fromρwith respect to the fulfilment of any formulaψ, with B-nesting ofψ(abbreviated NestB(ψ))≤h By the previous bound on|Ph|, it holds that|ρ0| ≤ (|W| +2)h+2

(36)

A small model (trace) result

Given a traceρ, we can derive another traceρ0, induced byρand h-prefix bisimilar toρ, such that|ρ0| ≤ (|W| +2)h+2 as follows:

1. we first compute the(h+1)-prefix sampling Ph+1 ofρ; 2. then, for all pairs of consecutiveρ-positions i,j in Ph+1, we

consider a trace induced byρ(i,j), with no repeated

occurrences of any state, except at most the first and last ones (hence no longer than(|W| +2));

3. ρ0is just the ordered concatenation of all these traces ρandρ0can be proved to be h-prefix bisimilar, and thus

ρ0is indistinguishable fromρwith respect to the fulfilment of any formulaψ, with B-nesting ofψ(abbreviated NestB(ψ))≤h By the previous bound on|Ph|, it holds that|ρ0| ≤ (|W| +2)h+2

(37)

Interval Temporal Logic Model Checking Angelo Montanari

A small model (trace) result

Given a traceρ, we can derive another traceρ0, induced byρand h-prefix bisimilar toρ, such that|ρ0| ≤ (|W| +2)h+2 as follows:

1. we first compute the(h+1)-prefix sampling Ph+1 ofρ; 2. then, for all pairs of consecutiveρ-positions i,j in Ph+1, we

consider a trace induced byρ(i,j), with no repeated

occurrences of any state, except at most the first and last ones (hence no longer than(|W| +2));

3. ρ0is just the ordered concatenation of all these traces

ρandρ0can be proved to be h-prefix bisimilar, and thus

ρ0is indistinguishable fromρwith respect to the fulfilment of any formulaψ, with B-nesting ofψ(abbreviated NestB(ψ))≤h By the previous bound on|Ph|, it holds that|ρ0| ≤ (|W| +2)h+2

(38)

A small model (trace) result

Given a traceρ, we can derive another traceρ0, induced byρand h-prefix bisimilar toρ, such that|ρ0| ≤ (|W| +2)h+2 as follows:

1. we first compute the(h+1)-prefix sampling Ph+1 ofρ; 2. then, for all pairs of consecutiveρ-positions i,j in Ph+1, we

consider a trace induced byρ(i,j), with no repeated

occurrences of any state, except at most the first and last ones (hence no longer than(|W| +2));

3. ρ0is just the ordered concatenation of all these traces ρandρ0can be proved to be h-prefix bisimilar, and thus

ρ0is indistinguishable fromρwith respect to the fulfilment of any formulaψ, with B-nesting ofψ(abbreviated NestB(ψ))≤h By the previous bound on|Ph|, it holds that|ρ0| ≤ (|W| +2)h+2

(39)

Interval Temporal Logic Model Checking Angelo Montanari

An EXPSPACE model checking algorithm for AABBE

Algorithm 1ModCheck(K, ψ)

1: h ← NestB(ψ)

2: u ← New(Unravelling(K, w0, h)) /w0initial state ofK 3: while u.hasMoreTracks() do

4: ρ0← u.getNextTrack()

5: if Check(K, h, ψ, ρ0) 0 then return 0: “K , ρ06| ψ”/Counterexample found

X

return 1: “K | ψ” /Model checking OK

X

L. Bozzelli, A. Molinari, A. Montanari, A. Peron, and P. Sala, Interval Temporal Logic Model Checking Based on Track Bisimilarity and Prefix Sampling, ICTCS 2016

(40)

PSPACE-hardness of AABBE model checking

PSPACE-hardnessof the model checking problem for the fragment B (and thus for AABBE) can be proved by a reduction from the QBF problem

Theorem

The model checking problem for B, and thus for AABBE, over finite Kripke structures is PSPACE-hard

AABBE model checking is thus in between PSPACE and EXPSPACE (remind: BE model checking is EXPSPACE-hard)

A. Molinari, A. Montanari, A. Peron, and P. Sala, Model Checking Well-Behaved Fragments of HS: The (Almost) Final Picture, KR 2016

(41)

Interval Temporal Logic Model Checking Angelo Montanari

Latest developments

I Interval vs. Point Temporal Logic Model Checking: an Expressiveness Comparison

I Model Checking Complex Systems against ITL Specifications with Regular Expressions

Riferimenti

Documenti correlati

”Regularity of the ring of invariants under certain actions of finite abelian Hopf algebras in characteristic p&gt;0”, J. Tyc, ”On F -integrable actions of the restricted Lie algebra

Solution proposed by Roberto Tauraso, Dipartimento di Matematica, Universit`a di Roma “Tor Vergata”, via della Ricerca Scientifica, 00133 Roma,

[r]

[r]

Solution proposed by Roberto Tauraso, Dipartimento di Matematica, Universit` a di Roma “Tor Vergata”, via della Ricerca Scientifica, 00133 Roma, Italy. Let a(n, k) be the number

La stessa cosa vale anche per il verbo “to be” (essere), che viene utilizzato in molte espressioni idiomatiche inglesi, le quali in italiano sono invece tradotte con il

Sia k il numero di eccedenze strette di 0 (peraltro uguale al numero di eccedenze strette di ). Proseguendo, dopo esattamente k passaggi di mano tutti hanno il loro diploma.

The authors of [5] denote by H(G) the set of all H-subgroups of G.. Gasch¨ utz [7] introduced the class of finite T -groups and characterized solvable T -groups. He proved that