Robust Model-Checking of Timed Automata Ocan Sankur 1 2 March - - - PowerPoint PPT Presentation

robust model checking of timed automata
SMART_READER_LITE
LIVE PREVIEW

Robust Model-Checking of Timed Automata Ocan Sankur 1 2 March - - - PowerPoint PPT Presentation

Robust Model-Checking of Timed Automata Ocan Sankur 1 2 March - September 2010 (Joint work with Patricia Bouyer-Decitre 2 and Nicolas Markey 2 ) 1 Ecole Normale Sup erieure, Paris 2 LSV, CNRS & Ecole Normale Sup erieure de


slide-1
SLIDE 1

Robust Model-Checking of Timed Automata

Ocan Sankur 1

2

March - September 2010 (Joint work with Patricia Bouyer-Decitre 2 and Nicolas Markey 2 )

1

´ Ecole Normale Sup´ erieure, Paris

2 LSV, CNRS & ´

Ecole Normale Sup´ erieure de Cachan Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 1 / 15

slide-2
SLIDE 2

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994]

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-3
SLIDE 3

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-4
SLIDE 4

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-5
SLIDE 5

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-6
SLIDE 6

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A. A run of A is as follows. (q0, (x = 0, y = 0))

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-7
SLIDE 7

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A. A run of A is as follows. (q0, (x = 0, y = 0)) 1.7 − − → (q0, (x = 1.7, y = 1.7))

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-8
SLIDE 8

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A. A run of A is as follows. (q0, (x = 0, y = 0)) 1.7 − − → (q0, (x = 1.7, y = 1.7)) a − → (q1, (x = 0, y = 1.7))

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-9
SLIDE 9

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A. A run of A is as follows. (q0, (x = 0, y = 0)) 1.7 − − → (q0, (x = 1.7, y = 1.7)) a − → (q1, (x = 0, y = 1.7))

0.5

− − → (q1, (x = 0.5, y = 2.2))

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-10
SLIDE 10

Timed Automata (TA)

Timed automata = Finite automata + Clocks. [Alur and Dill 1994] Clocks grow continuously, all at the same rate. They are used to (de)activate the transitions of the automaton and can be reset when taking a transition.

q0 start q1 error a: x ≤ 2 / x := 0 b: y ≥ 2 / y := 0 c: x = 0&y ≥ 2

Exact semantics of TA

Given a TA A, the the exact semantics of A is denoted by A. A run of A is as follows. (q0, (x = 0, y = 0)) 1.7 − − → (q0, (x = 1.7, y = 1.7)) a − → (q1, (x = 0, y = 1.7))

0.5

− − → (q1, (x = 0.5, y = 2.2)) b − → (q0, (x = 0.5, y = 0)) . . .

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 2 / 15

slide-11
SLIDE 11

Model-Checking Timed Automata

Model-checking: Given a TA A, decide whether all runs of A verify some property P, written A | = P.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 3 / 15

slide-12
SLIDE 12

Model-Checking Timed Automata

Model-checking: Given a TA A, decide whether all runs of A verify some property P, written A | = P. where P is a LTL formula (such as a safety or liveness property).

Theorem (Alur and Dill 1994)

Model-checking timed-automata against LTL formulae is PSPACE-complete. Industrial applications: audio/video, communication protocols, ... Existing model-checking tools: Uppaal, Kronos, ...

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 3 / 15

slide-13
SLIDE 13

Implementability of Timed Automata

Problem: The exact semantics of timed automata makes unrealistic assumptions: Systems have instant reaction time,

a

− → 0.00001 − − − − → b − →. clocks are infinitely precise. “x ≤ k”.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 4 / 15

slide-14
SLIDE 14

Implementability of Timed Automata

Problem: The exact semantics of timed automata makes unrealistic assumptions: Systems have instant reaction time,

a

− → 0.00001 − − − − → b − →. clocks are infinitely precise. “x ≤ k”. [De Wulf, Doyen and Raskin 2004] introduced the enlarged semantics of A, parameterized by δ > 0, taking into account these problems. Aδ is obtained by relaxing all constraints by δ, i.e. each constraint of the form x ≤ k x ≥ k.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 4 / 15

slide-15
SLIDE 15

Implementability of Timed Automata

Problem: The exact semantics of timed automata makes unrealistic assumptions: Systems have instant reaction time,

a

− → 0.00001 − − − − → b − →. clocks are infinitely precise. “x ≤ k”. [De Wulf, Doyen and Raskin 2004] introduced the enlarged semantics of A, parameterized by δ > 0, taking into account these problems. Aδ is obtained by relaxing all constraints by δ, i.e. each constraint of the form becomes x ≤ k+δ x ≥ k−δ.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 4 / 15

slide-16
SLIDE 16

Implementability of Timed Automata

Problem: The exact semantics of timed automata makes unrealistic assumptions: Systems have instant reaction time,

a

− → 0.00001 − − − − → b − →. clocks are infinitely precise. “x ≤ k”. [De Wulf, Doyen and Raskin 2004] introduced the enlarged semantics of A, parameterized by δ > 0, taking into account these problems. Aδ is obtained by relaxing all constraints by δ, i.e. each constraint of the form becomes x ≤ k+δ x ≥ k−δ. ◮ This corresponds to the (over-approximation of the) implementation of A in a simple micro-processor model, with finite precision and a nonzero reaction time. Fast micro-processor ⇔ small δ.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 4 / 15

slide-17
SLIDE 17

Robustness of Timed Automata - 2

For δ = 0.1, Aδ is defined by,

q0 start q1 error a: x ≤ 2.1 / x := 0 b: y ≥ 1.9 / y := 0 c: x ≤ 0.1&y ≥ 1.9

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 5 / 15

slide-18
SLIDE 18

Robustness of Timed Automata - 2

For δ = 0.1, Aδ is defined by,

q0 start q1 error a: x ≤ 21 / x := 0 b: y ≥ 19 / y := 0 c: x ≤ 1&y ≥ 19

There is an equivalent timed automaton obtained by changing the scale of time (multiplying all constants by 10)

  • For fixed δ, Aδ is the exact semantics of a timed automaton.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 5 / 15

slide-19
SLIDE 19

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-20
SLIDE 20

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P. Question Does A | = P imply A | ≡ P?

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-21
SLIDE 21

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P. Question Does A | = P imply A | ≡ P? No! There exists automata A such that Reach(A) Reach(Aδ) for any δ > 0.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-22
SLIDE 22

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P. Question Does A | = P imply A | ≡ P? No! There exists automata A such that Reach(A) Reach(Aδ) for any δ > 0. An error state that is not reachable in A may be reachable in the implementation.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-23
SLIDE 23

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P. Question Does A | = P imply A | ≡ P? No! There exists automata A such that Reach(A) Reach(Aδ) for any δ > 0. An error state that is not reachable in A may be reachable in the implementation.

Modeling Verification Implementation not ok

  • k

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-24
SLIDE 24

Robustness in Timed Automata - 3

Robust model-checking

Given A and a property P, does Aδ verify P for some δ > 0? If it does, we write A | ≡ P. Question Does A | = P imply A | ≡ P? No! There exists automata A such that Reach(A) Reach(Aδ) for any δ > 0. An error state that is not reachable in A may be reachable in the implementation.

Modeling Verification Implementation not ok

  • k

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 6 / 15

slide-25
SLIDE 25

Background

Robust model-checking of reachability properties is PSPACE-complete. [Puri 1998] and [De Wulf, Doyen, Markey, Raskin 2004].

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 7 / 15

slide-26
SLIDE 26

Background

Robust model-checking of reachability properties is PSPACE-complete. [Puri 1998] and [De Wulf, Doyen, Markey, Raskin 2004].

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 7 / 15

slide-27
SLIDE 27

Background

Robust model-checking of reachability properties is PSPACE-complete. [Puri 1998] and [De Wulf, Doyen, Markey, Raskin 2004]. Robust model-checking of co-B¨ uchi (LTL) properties is PSPACE-complete [Bouyer,Markey, Reynier 2006]. and a fragment of MTL is EXPSPACE-complete [Bouyer, Markey, Reynier 2008].

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 7 / 15

slide-28
SLIDE 28

Background

Robust model-checking of reachability properties is PSPACE-complete. [Puri 1998] and [De Wulf, Doyen, Markey, Raskin 2004]. Robust model-checking of co-B¨ uchi (LTL) properties is PSPACE-complete [Bouyer,Markey, Reynier 2006]. and a fragment of MTL is EXPSPACE-complete [Bouyer, Markey, Reynier 2008]. All previous works are only valid for a subclass of timed automata (verifying the progress cycles hypothesis)

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 7 / 15

slide-29
SLIDE 29

Background

Robust model-checking of reachability properties is PSPACE-complete. [Puri 1998] and [De Wulf, Doyen, Markey, Raskin 2004]. Robust model-checking of co-B¨ uchi (LTL) properties is PSPACE-complete [Bouyer,Markey, Reynier 2006]. and a fragment of MTL is EXPSPACE-complete [Bouyer, Markey, Reynier 2008]. All previous works are only valid for a subclass of timed automata (verifying the progress cycles hypothesis)

Progress cycles

A timed automaton verifies the progress cycles hypothesis if all cycles of its region automaton resets all clocks at least once. ⇒ “one cannot measure time spent in a loop”. A program that waits for a special signal (ignoring other signals) violates this hypothesis.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 7 / 15

slide-30
SLIDE 30

Our results

All our results are valid for general timed automata.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 8 / 15

slide-31
SLIDE 31

Our results

All our results are valid for general timed automata. Reduction of robust model-checking against co-B¨ uchi properties (LTL) to model-checking in exact semantics in optimal complexity (PSPACE).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 8 / 15

slide-32
SLIDE 32

Our results

All our results are valid for general timed automata. Reduction of robust model-checking against co-B¨ uchi properties (LTL) to model-checking in exact semantics in optimal complexity (PSPACE). A new algorithm for robust model-checking of co-B¨ uchi properties based on region automaton (generalizes [BMR06]).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 8 / 15

slide-33
SLIDE 33

Our results

All our results are valid for general timed automata. Reduction of robust model-checking against co-B¨ uchi properties (LTL) to model-checking in exact semantics in optimal complexity (PSPACE). A new algorithm for robust model-checking of co-B¨ uchi properties based on region automaton (generalizes [BMR06]). Our proof techniques are original and are based on an encoding by channel machines, introduced in [Bouyer, Markey, Ouaknine, Worrell 2007].

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 8 / 15

slide-34
SLIDE 34

Our results

All our results are valid for general timed automata. Reduction of robust model-checking against co-B¨ uchi properties (LTL) to model-checking in exact semantics in optimal complexity (PSPACE). A new algorithm for robust model-checking of co-B¨ uchi properties based on region automaton (generalizes [BMR06]). Our proof techniques are original and are based on an encoding by channel machines, introduced in [Bouyer, Markey, Ouaknine, Worrell 2007].

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 8 / 15

slide-35
SLIDE 35

Encoding of Aδ explained (by example)

Goal: For any A and δ ∈ [0, 1], define a finite-state machine CA(N) with a FIFO channel, parameterized by N ∈ N, that captures the behaviour of Aδ.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-36
SLIDE 36

Encoding of Aδ explained (by example)

Goal: For any A and δ ∈ [0, 1], define a finite-state machine CA(N) with a FIFO channel, parameterized by N ∈ N, that captures the behaviour of Aδ. 1 x y z Let be a state of A (where ⌊x⌋ = 1, ⌊y⌋ = 2, ⌊z⌋ = 0).

slide-37
SLIDE 37

Encoding of Aδ explained (by example)

Goal: For any A and δ ∈ [0, 1], define a finite-state machine CA(N) with a FIFO channel, parameterized by N ∈ N, that captures the behaviour of Aδ. 1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Add N new clocks that are regularly distributed in [0, 1] and that have values mod 1. CA(N) encodes the regions of the states of A + {∆0, . . . , ∆N−1} using a discrete state and a channel.

slide-38
SLIDE 38

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9

head→ ∆x∆∆∆∆∆∆yz∆∆∆

  • channel

←tail (⌊x⌋ = 1, ⌊y⌋ = 2, ⌊z⌋ = 0)

  • discrete state

.

slide-39
SLIDE 39

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Delay of 0.04 time units CA(N): ∆x∆∆∆∆∆∆yz∆∆∆ ( ⌊x⌋ = 1, ⌊y⌋ = 2, ⌊z⌋ = 0).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-40
SLIDE 40

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Delay of 0.02 time units CA(N): ∆∆x∆∆∆∆∆∆yz∆∆ ( ⌊x⌋ = 1, ⌊y⌋ = 2, ⌊z⌋ = 0). Rule: When a ∆ is read from the channel, write it back into the channel.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-41
SLIDE 41

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Delay of 0.15 time units CA(N): yz∆∆x∆∆∆∆∆∆∆∆ ( ⌊x⌋ = 0, ⌊y⌋ = 3, ⌊z⌋ = 1). Rule: When a clock y = ∆ is read from the channel, write it back into the channel and increment its integer part.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-42
SLIDE 42

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Guard y ≤ k is satisfied if ⌊y⌋ ≤ k − 1

  • r

⌊y⌋ = k and ∆y

  • ≤∆1

z∆∆∆∆x∆∆∆∆∆

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-43
SLIDE 43

Encoding of Aδ explained (by example)

1 x y z ∆0 ∆1 ∆2 ∆3 ∆4 ∆5 ∆6 ∆7 ∆8 ∆9 Guard y ≤ k is satisfied if ⌊y⌋ ≤ k − 1

  • r

⌊y⌋ = k and ∆y

  • ≤∆1

z∆∆∆∆x∆∆∆∆∆ From the encoding, we know that |y − ⌊y⌋| ≤ 2

N .

◮ Small δ ⇔ large N.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 9 / 15

slide-44
SLIDE 44

Relation between CA(N) and Aδ

Lemma (Simulation lemma - Adapted from BMR08)

A 1

N ⊑ CA(N) ⊑ A 2 N

Valid in our case, with no “progress cycles hypothesis”. {CA(N)}N>0 can be used to study robust linear properties of {A 1

N }N>0. Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 10 / 15

slide-45
SLIDE 45

Relation between CA(N) and Aδ

Lemma (Simulation lemma - Adapted from BMR08)

A 1

N ⊑ CA(N) ⊑ A 2 N

Valid in our case, with no “progress cycles hypothesis”. {CA(N)}N>0 can be used to study robust linear properties of {A 1

N }N>0.

Result of BMR’08: A robust MC algorithm against coFlat-MTL (a timed logic that subsumes LTL) in EXPSPACE. They make a limited use of this encoding (only for bounded executions). Proofs mix CA(N) and Aδ.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 10 / 15

slide-46
SLIDE 46

Relation between CA(N) and Aδ

Lemma (Simulation lemma - Adapted from BMR08)

A 1

N ⊑ CA(N) ⊑ A 2 N

Valid in our case, with no “progress cycles hypothesis”. {CA(N)}N>0 can be used to study robust linear properties of {A 1

N }N>0.

Result of BMR’08: A robust MC algorithm against coFlat-MTL (a timed logic that subsumes LTL) in EXPSPACE. They make a limited use of this encoding (only for bounded executions). Proofs mix CA(N) and Aδ. Our work: We develop proof techniques based entirely on this encoding. ◮A finer analysis of the enlarged semantics w.r.t untimed properties ◮and a study of non-progress cycles, yields a reduction to classical model-checking against (untimed) co-B¨ uchi properties for general timed automata (PSPACE).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 10 / 15

slide-47
SLIDE 47

Reduction to classical model-checking

Theorem

There exists N0 > 0 (of order 2|A|), such that ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. “CA(N0) captures the behaviours of all CA(N)”.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 11 / 15

slide-48
SLIDE 48

Reduction to classical model-checking

Theorem

There exists N0 > 0 (of order 2|A|), such that ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. “CA(N0) captures the behaviours of all CA(N)”. ◮ By simulation lemma, A

1 2N0 captures the behaviours of all Aδ. And

A

1 2N0 is a timed automaton of size O(|A|). Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 11 / 15

slide-49
SLIDE 49

Reduction to classical model-checking

Theorem

There exists N0 > 0 (of order 2|A|), such that ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. “CA(N0) captures the behaviours of all CA(N)”. ◮ By simulation lemma, A

1 2N0 captures the behaviours of all Aδ. And

A

1 2N0 is a timed automaton of size O(|A|).

Robust Model-checking Algorithm

Let A′ obtained from A by changing time scale (×2N0). Apply classical model-checking algorithm to A′.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 11 / 15

slide-50
SLIDE 50

Proof idea of the reduction

Proof of ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. One direction is obvious (from right to left). The other direction is equivalent to CA(N0) | = P ⇒ ∀N > 0, CA(N) | = P. (1)

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 12 / 15

slide-51
SLIDE 51

Proof idea of the reduction

Proof of ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. One direction is obvious (from right to left). The other direction is equivalent to CA(N0) | = P ⇒ ∀N > 0, CA(N) | = P. (1) Proof of (1) in two steps. For all 0 < K < N0, CA(N0) ⊑ CA(N0 − K) (easy),

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 12 / 15

slide-52
SLIDE 52

Proof idea of the reduction

Proof of ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. One direction is obvious (from right to left). The other direction is equivalent to CA(N0) | = P ⇒ ∀N > 0, CA(N) | = P. (1) Proof of (1) in two steps. For all 0 < K < N0, CA(N0) ⊑ CA(N0 − K) (easy), proves (1) for 1, . . . , N0 − 1

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 12 / 15

slide-53
SLIDE 53

Proof idea of the reduction

Proof of ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. One direction is obvious (from right to left). The other direction is equivalent to CA(N0) | = P ⇒ ∀N > 0, CA(N) | = P. (1) Proof of (1) in two steps. For all 0 < K < N0, CA(N0) ⊑ CA(N0 − K) (easy), proves (1) for 1, . . . , N0 − 1 For any run π of CA(N), there exists a run π′ of CA(N + 1) that verifies the same co-B¨ uchi properties (difficult).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 12 / 15

slide-54
SLIDE 54

Proof idea of the reduction

Proof of ∃N > 0, CA(N) | = P ⇔ CA(N0) | = P. One direction is obvious (from right to left). The other direction is equivalent to CA(N0) | = P ⇒ ∀N > 0, CA(N) | = P. (1) Proof of (1) in two steps. For all 0 < K < N0, CA(N0) ⊑ CA(N0 − K) (easy), proves (1) for 1, . . . , N0 − 1 For any run π of CA(N), there exists a run π′ of CA(N + 1) that verifies the same co-B¨ uchi properties (difficult). proves (1) for N0 + 1, . . . , ∞ →Pumping lemma (Main lemma, see report).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 12 / 15

slide-55
SLIDE 55

Pumping lemma: simple case by example

Delay transitions. CA(N) CA(N + 1) ∆∆x∆∆∆y∆∆ ∆∆x∆∆∆y∆∆∆

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 13 / 15

slide-56
SLIDE 56

Pumping lemma: simple case by example

Delay transitions. CA(N) CA(N + 1) ∆∆x∆∆∆y∆∆ ∆∆x∆∆∆y∆∆∆ ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 13 / 15

slide-57
SLIDE 57

Pumping lemma: simple case by example

Delay transitions. CA(N) CA(N + 1) ∆∆x∆∆∆y∆∆ ∆∆x∆∆∆y∆∆∆ ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y Discrete transitions. Special case: If all ∆-blocks are of size ≥ 2, then all guards satisfied in CA(N) are also satisfied in CA(N + 1).

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 13 / 15

slide-58
SLIDE 58

Pumping lemma: simple case by example

Delay transitions. CA(N) CA(N + 1) ∆∆x∆∆∆y∆∆ ∆∆x∆∆∆y∆∆∆ ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y Discrete transitions. Special case: If all ∆-blocks are of size ≥ 2, then all guards satisfied in CA(N) are also satisfied in CA(N + 1). ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 13 / 15

slide-59
SLIDE 59

Pumping lemma: simple case by example

Delay transitions. CA(N) CA(N + 1) ∆∆x∆∆∆y∆∆ ∆∆x∆∆∆y∆∆∆ ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y Discrete transitions. Special case: If all ∆-blocks are of size ≥ 2, then all guards satisfied in CA(N) are also satisfied in CA(N + 1). ∆∆∆∆x∆∆∆y ∆∆∆∆∆x∆∆∆y x∆∆∆∆∆∆∆y x∆∆∆∆∆∆∆∆y Our proofs are based on watching the evolution of the sizes of ∆-blocks.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 13 / 15

slide-60
SLIDE 60

Conclusion

Reduction to classical model-checking.

◮ Well-known model-checking theory in exact semantics. ◮ No progress cycles hypothesis: no restriction to modeling.

New proof techniques based on encoding by channel machines. (Not presented here) New algorithm for robust model-checking: extended region-automaton (generalizes BMR06) to general TA.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 14 / 15

slide-61
SLIDE 61

Future Work

Partial enlargement: only the guards of a given subset of clocks are enlarged. Preliminary results:

◮ Enlarging all clocks but one = enlarging all clocks. ◮ Enlarging all clocks but two = enlarging all clocks = exact semantics.

Making automata robust: instead of analyzing automata can we modify a given automaton so that it becomes robust? (Preliminary results, also joint with Claus Thrane. See DOTS’10.) Robust controller synthesis using our techniques (based on encoding by channel machines). PhD thesis at ENS Cachan on Robust Analysis and Synthesis of Timed Automata.

Ocan Sankur (ENS & ENS Cachan) Robust Model-Checking of Timed Automata September 7, 2010 15 / 15