Verifying Timed Reachability Properties
Lecture #17 of Advanced Model Checking Joost-Pieter Katoen Lehrstuhl 2: Software Modeling & Verification
E-mail: katoen@cs.rwth-aachen.de June 30, 2014
c JPK
Verifying Timed Reachability Properties Lecture #17 of Advanced - - PowerPoint PPT Presentation
Verifying Timed Reachability Properties Lecture #17 of Advanced Model Checking Joost-Pieter Katoen Lehrstuhl 2: Software Modeling & Verification E-mail: katoen@cs.rwth-aachen.de June 30, 2014 c JPK Advanced model checking Timelock,
E-mail: katoen@cs.rwth-aachen.de June 30, 2014
c JPK
Advanced model checking
d0
d1
a state contains a timelock whenever no time-divergent paths emanate from it
a path is Zeno if it is time-convergent and performs infinitely many actions
c JPK 1
Advanced model checking
c JPK 2
Advanced model checking
d0
d1
d2
d1
dk0
d0 time-units
α1
d1
1
dk1
1
d1 time-units
α2
d1
2
dk2
2
d2 time-units
α3
j=1 dj i = di.
d0
d1
i0 di
c JPK 3
Advanced model checking
d0
d1
i−1
c JPK 4
Advanced model checking
c JPK 5
Advanced model checking
– some time-divergent path satisfies ✷true, i.e., there is 1 time-divergent path – note: for fair CTL, the states in which a fair path starts also satisfy ∃✷true
c JPK 6
Advanced model checking
– Zeno paths are excluded as they could be false alarms
– TS(TA)/∼ = is a region transition system and denoted RTS(TA)
CTL formula c JPK 7
Advanced model checking
– introduce a fresh clock, z say, that does not occur in TA
atomic clock constraints are atomic propositions, i.e., a CTL formula results
c JPK 8
Advanced model checking
JΨ
JΨ
JPK 9
Advanced model checking
– this property guarantees that equivalent states satisfy the same path formulas
c JPK 10
Advanced model checking
– agree on the integer parts of all clock values, and – agree on the ordering of the fractional parts of all clocks
– if clocks exceed the maximal constant with which they are compared their precise value is not of interest
c JPK 11
Advanced model checking
s ∼ = s′ iff ℓ = ℓ′ and η ∼ = η′
c JPK 12
Advanced model checking
c JPK 13
Advanced model checking
c JPK 14
Advanced model checking
where for the upper bound it is assumed that cx 1 for any x ∈ C the number of state regions is |Loc| times larger
c JPK 15
Advanced model checking
c JPK 16
Advanced model checking
where AP′ includes all propositions in TA and atomic clock constraints in TA and Φ
c JPK 17
Advanced model checking
c JPK 18
Advanced model checking
c JPK 19
Advanced model checking
– the exact delay is not recorded, only that some delay took place – if any clock x exceeds cx, delays are self-loops
c JPK 20
Advanced model checking
c JPK 21
Advanced model checking
c JPK 22
Advanced model checking
time-convergent paths are paths that only perform delays from some time instant on
c JPK 23
Advanced model checking
g:α,D
α
τ
c JPK 24
Advanced model checking
switch on x 2 reset(x)
x x
1x
2x
1x
2 x 11
x 2x
2x
21
x 2 x 1x
switch on switch off
c JPK 25
Advanced model checking
For non-Zeno timed automaton TA and timed reachability property ∀✸J Φ: TA | = ∀✸JΦ iff RTS(TA, Φ) | = ∀ Φ
c JPK 26
Advanced model checking
Non-Zeno TA is timelock-free iff RTS(TA) has no reachable terminal states timelocks can thus be checked by a reachability analysis of RTS(TA)
c JPK 27
Advanced model checking
switch on switch off x 2 reset(x)
x=0
x=1
x=2
x>2
x=0
x=1
x=2
x>2
0<x<1
1<x<2
0<x<1
1<x<2 sw off sw off sw on sw on sw on sw on sw on sw on
c JPK 28
Advanced model checking
Model checking timed reachability on TA is PSPACE-complete
c JPK 29
Advanced model checking
all facts without proof
c JPK 30