Timed automata Decidability issues Patricia Bouyer-Decitre LSV, - - PowerPoint PPT Presentation

timed automata decidability issues
SMART_READER_LITE
LIVE PREVIEW

Timed automata Decidability issues Patricia Bouyer-Decitre LSV, - - PowerPoint PPT Presentation

Timed automata Decidability issues Patricia Bouyer-Decitre LSV, CNRS & ENS Cachan, France 1/22 An example of a timed automaton done , 22 y 25 repairing repair , x 15 0 = : y repair problem , x :=0 safe alarm 2 y


slide-1
SLIDE 1

Timed automata – Decidability issues

Patricia Bouyer-Decitre

LSV, CNRS & ENS Cachan, France

1/22

slide-2
SLIDE 2

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

2/22

slide-3
SLIDE 3

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

x y

2/22

slide-4
SLIDE 4

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

x

23

y

23

2/22

slide-5
SLIDE 5

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

x

23

y

23 23

2/22

slide-6
SLIDE 6

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

x

23 15.6

y

23 23 38.6

2/22

slide-7
SLIDE 7

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe ⋅⋅⋅ 15.6

2/22

slide-8
SLIDE 8

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe

2.3

− − →

failsafe ⋅⋅⋅ 15.6 17.9 2.3

2/22

slide-9
SLIDE 9

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe

2.3

− − →

failsafe

repair

− − − − →

repairing ⋅⋅⋅ 15.6 17.9 17.9 2.3

2/22

slide-10
SLIDE 10

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe

2.3

− − →

failsafe

repair

− − − − →

repairing

22.1

− − →

repairing ⋅⋅⋅ 15.6 17.9 17.9 40 2.3 22.1

2/22

slide-11
SLIDE 11

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe

2.3

− − →

failsafe

repair

− − − − →

repairing

22.1

− − →

repairing

done

− − − →

safe ⋅⋅⋅ 15.6 17.9 17.9 40 40 2.3 22.1 22.1

2/22

slide-12
SLIDE 12

An example of a timed automaton

safe alarm repairing failsafe problem, x:=0 repair, x≤15

y : =

delayed, y:=0

15≤x≤16

repair

2≤y∧x≤56 y:=0

done, 22≤y≤25

safe

23

− →

safe

problem

− − − − − →

alarm

15.6

− − →

alarm

delayed

− − − − − →

failsafe

x

23 15.6 15.6 ⋅⋅⋅

y

23 23 38.6 failsafe

2.3

− − →

failsafe

repair

− − − − →

repairing

22.1

− − →

repairing

done

− − − →

safe ⋅⋅⋅ 15.6 17.9 17.9 40 40 2.3 22.1 22.1

This run reads the timed word (problem, 23)(delayed, 38.6)(repair, 40.9), (done, 63).

2/22

slide-13
SLIDE 13

Decidability of basic properties

Outline

  • 1. Decidability of basic properties
  • 2. Equivalence (or preorder) checking
  • 3. Some extensions of timed automata

3/22

slide-14
SLIDE 14

Decidability of basic properties

Verification

Emptiness problem

Is the language accepted by a timed automaton empty? basic reachability/safety properties

(final states)

basic liveness properties

(휔-regular conditions)

4/22

slide-15
SLIDE 15

Decidability of basic properties

Verification

Emptiness problem

Is the language accepted by a timed automaton empty? Problem: the set of configurations is infinite ⇝ classical methods for finite-state systems cannot be applied

4/22

slide-16
SLIDE 16

Decidability of basic properties

Verification

Emptiness problem

Is the language accepted by a timed automaton empty? Problem: the set of configurations is infinite ⇝ classical methods for finite-state systems cannot be applied Positive key point: variables (clocks) increase at the same speed

4/22

slide-17
SLIDE 17

Decidability of basic properties

Verification

[AD90] Alur, Dill. Automata for modeling real-time systems (ICALP’90). [AD94] Alur, Dill. A theory of timed automata (Theoretical Computer Science).

Emptiness problem

Is the language accepted by a timed automaton empty? Problem: the set of configurations is infinite ⇝ classical methods for finite-state systems cannot be applied Positive key point: variables (clocks) increase at the same speed

Theorem [AD90,AD94]

The emptiness problem for timed automata is decidable and PSPACE-complete.

4/22

slide-18
SLIDE 18

Decidability of basic properties

Verification

[AD90] Alur, Dill. Automata for modeling real-time systems (ICALP’90). [AD94] Alur, Dill. A theory of timed automata (Theoretical Computer Science).

Emptiness problem

Is the language accepted by a timed automaton empty? Problem: the set of configurations is infinite ⇝ classical methods for finite-state systems cannot be applied Positive key point: variables (clocks) increase at the same speed

Theorem [AD90,AD94]

The emptiness problem for timed automata is decidable and PSPACE-complete. Method: construct a finite abstraction

4/22

slide-19
SLIDE 19

Decidability of basic properties

The region abstraction

clock x clock y 1 1 2 2

5/22

slide-20
SLIDE 20

Decidability of basic properties

The region abstraction

1 1 2 2 clock y clock x

  • nly constraints: x ∼ c with c ∈ {0, 1, 2}

y ∼ c with c ∈ {0, 1, 2} “compatibility” between regions and constraints

5/22

slide-21
SLIDE 21

Decidability of basic properties

The region abstraction

1 1 2 2 clock y clock x The path

x=1 y=1

  • can be fired from
  • cannot be fired from

“compatibility” between regions and constraints “compatibility” between regions and time elapsing

5/22

slide-22
SLIDE 22

Decidability of basic properties

The region abstraction

1 1 2 2 clock y clock x The path

x=1 y=1

  • can be fired from
  • cannot be fired from

“compatibility” between regions and constraints “compatibility” between regions and time elapsing

5/22

slide-23
SLIDE 23

Decidability of basic properties

The region abstraction

1 1 2 2 clock y clock x “compatibility” between regions and constraints “compatibility” between regions and time elapsing ⇝ an equivalence of finite index

5/22

slide-24
SLIDE 24

Decidability of basic properties

The region abstraction

1 1 2 2 clock y clock x “compatibility” between regions and constraints “compatibility” between regions and time elapsing ⇝ an equivalence of finite index a time-abstract bisimulation

5/22

slide-25
SLIDE 25

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that:

6/22

slide-26
SLIDE 26

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that: a ∀

6/22

slide-27
SLIDE 27

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a

6/22

slide-28
SLIDE 28

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0

6/22

slide-29
SLIDE 29

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0 ∃d′ > 0 훿(d′)

6/22

slide-30
SLIDE 30

Decidability of basic properties

Time-abstract bisimulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0 ∃d′ > 0 훿(d′) ... and vice-versa (swap ∙ and ∙).

6/22

slide-31
SLIDE 31

Decidability of basic properties

The region abstraction (2)

  • region R defined by:

✽ ❁ ✿ 0 < x < 1 0 < y < 1 y < x 1 1 2 2 clock y clock x

7/22

slide-32
SLIDE 32

Decidability of basic properties

The region abstraction (2)

  • region R defined by:

✽ ❁ ✿ 0 < x < 1 0 < y < 1 y < x

  • time successors of R

1 1 2 2 clock y clock x

7/22

slide-33
SLIDE 33

Decidability of basic properties

The region abstraction (2)

  • region R defined by:

✽ ❁ ✿ 0 < x < 1 0 < y < 1 y < x

  • time successors of R

image of R when resetting clock x 1 1 2 2 clock y clock x

7/22

slide-34
SLIDE 34

Decidability of basic properties

The construction of the region graph

It “mimicks” the behaviours of the clocks.

1 2 1 1 1 2 1 2 1 2

delay delay delay delay x:=0 x:=0

ℓ1 ℓ2 y<1, x:=0

8/22

slide-35
SLIDE 35

Decidability of basic properties

Region automaton ≡ finite bisimulation quotient

◆ region graph timed automaton

ℓ1 ℓ2 y<1,a,x:=0

9/22

slide-36
SLIDE 36

Decidability of basic properties

Region automaton ≡ finite bisimulation quotient

◆ region graph timed automaton

ℓ1 ℓ2 y<1,a,x:=0

ℓ1 ℓ1 ℓ1 ℓ2

a a a

region automaton

9/22

slide-37
SLIDE 37

Decidability of basic properties

Region automaton ≡ finite bisimulation quotient

◆ region graph timed automaton

ℓ1 ℓ2 y<1,a,x:=0

ℓ1 ℓ1 ℓ1 ℓ2

a a a

region automaton ℒ(reg. aut.) = UNTIME(ℒ(timed aut.))

9/22

slide-38
SLIDE 38

Decidability of basic properties

An example [AD94]

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d

10/22

slide-39
SLIDE 39

Decidability of basic properties

An example [AD94]

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d y x

10/22

slide-40
SLIDE 40

Decidability of basic properties

An example [AD94]

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d s0 x=y=0 s1 0=y<x<1 s1 y=0,x=1 s1 y=0,x>1 s2 1=y<x s3 0<y<x<1 s3 0<y<1<x s3 1=y<x s3 x>1,y>1 a a a b b b c a a a d d d d d d d d a y x

10/22

slide-41
SLIDE 41

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

11/22

slide-42
SLIDE 42

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣

11/22

slide-43
SLIDE 43

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣ It can be used to check for:

11/22

slide-44
SLIDE 44

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣ It can be used to check for:

reachability/safety properties

11/22

slide-45
SLIDE 45

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣ It can be used to check for:

reachability/safety properties liveness properties (like B¨ uchi properties)

11/22

slide-46
SLIDE 46

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣ It can be used to check for:

reachability/safety properties liveness properties (like B¨ uchi properties) ⇝ problems with Zeno behaviours?

(infinitely many actions in bounded time) 11/22

slide-47
SLIDE 47

Decidability of basic properties

timed automaton

finite bisimulation quotient

large (but finite) automaton (region automaton)

large: exponential in the number of clocks and in the constants (if encoded in binary). The number of regions is: ❨

x∈X

(2Mx + 2) ⋅ ∣X∣! ⋅ 2∣X∣ It can be used to check for:

reachability/safety properties liveness properties (like B¨ uchi properties) ⇝ problems with Zeno behaviours?

(infinitely many actions in bounded time)

NB: standard problem in timed automata...

11/22

slide-48
SLIDE 48

Decidability of basic properties

Back to the example

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d

12/22

slide-49
SLIDE 49

Decidability of basic properties

Back to the example

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d y x

12/22

slide-50
SLIDE 50

Decidability of basic properties

Back to the example

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d s0 x=y=0 s1 0=y<x<1 s1 y=0,x=1 s1 y=0,x>1 s2 1=y<x s3 0<y<x<1 s3 0<y<1<x s3 1=y<x s3 x>1,y>1 a a a b b b c a a a d d d d d d d d a y x

12/22

slide-51
SLIDE 51

Decidability of basic properties

Back to the example

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d s0 x=y=0 s1 0=y<x<1 s1 y=0,x=1 s1 y=0,x>1 s2 1=y<x s3 0<y<x<1 s3 0<y<1<x s3 1=y<x s3 x>1,y>1 a a a b b b c a a a d d d d d d d d a y x

Zeno cycles

12/22

slide-52
SLIDE 52

Decidability of basic properties

Back to the example

s0 s1 s2 s3 x>0,a y:=0 y=1,b x<1,c x<1,c y<1,a,y:=0 x>1,d s0 x=y=0 s1 0=y<x<1 s1 y=0,x=1 s1 y=0,x>1 s2 1=y<x s3 0<y<x<1 s3 0<y<1<x s3 1=y<x s3 x>1,y>1 a a a b b b c a a a d d d d d d d d a y x

Cycles with non-Zeno behaviours

12/22

slide-53
SLIDE 53

Equivalence (or preorder) checking

Outline

  • 1. Decidability of basic properties
  • 2. Equivalence (or preorder) checking
  • 3. Some extensions of timed automata

13/22

slide-54
SLIDE 54

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that:

14/22

slide-55
SLIDE 55

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀

14/22

slide-56
SLIDE 56

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a

14/22

slide-57
SLIDE 57

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0

14/22

slide-58
SLIDE 58

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0 ∃ 훿(d)

14/22

slide-59
SLIDE 59

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0 ∃ 훿(d) ... and vice-versa (swap ∙ and ∙) for the bisimulation relation.

14/22

slide-60
SLIDE 60

Equivalence (or preorder) checking

Strong timed (bi)simulation

This is a relation between ∙ and ∙ such that: a ∀ ∃ a 훿(d) ∀d > 0 ∃ 훿(d) ... and vice-versa (swap ∙ and ∙) for the bisimulation relation.

Theorem

Strong timed (bi)simulation between timed automata is decidable and EXPTIME-complete.

(see later for a simple proof of the upper bound)

14/22

slide-61
SLIDE 61

Equivalence (or preorder) checking

Language (or trace) equivalence and inclusion

Question

Given two timed automata 풜 and ℬ, is L(풜) = L(ℬ) (resp. L(풜) ⊆ L(ℬ))?

15/22

slide-62
SLIDE 62

Equivalence (or preorder) checking

Language (or trace) equivalence and inclusion

[AD90] Alur, Dill. Automata for modeling real-time systems (ICALP’90). [AD94] Alur, Dill. A theory of timed automata (Theoretical Computer Science).

Question

Given two timed automata 풜 and ℬ, is L(풜) = L(ℬ) (resp. L(풜) ⊆ L(ℬ))?

Theorem [AD90,AD94]

Language equivalence and language inclusion are undecidable in timed automata. ... as a special case of the universality problem (are all timed words

accepted by the automaton?).

15/22

slide-63
SLIDE 63

Equivalence (or preorder) checking

Language (or trace) equivalence and inclusion

[AD90] Alur, Dill. Automata for modeling real-time systems (ICALP’90). [AD94] Alur, Dill. A theory of timed automata (Theoretical Computer Science).

Question

Given two timed automata 풜 and ℬ, is L(풜) = L(ℬ) (resp. L(풜) ⊆ L(ℬ))?

Theorem [AD90,AD94]

Language equivalence and language inclusion are undecidable in timed automata. ... as a special case of the universality problem (are all timed words

accepted by the automaton?).

⇝ Proof by reduction from the recurring problem

  • f a two-counter machine

15/22

slide-64
SLIDE 64

Equivalence (or preorder) checking

Undecidability of universality

Theorem [AD90,AD94]

Universality of timed automata is undecidable.

16/22

slide-65
SLIDE 65

Equivalence (or preorder) checking

Undecidability of universality

Theorem [AD90,AD94]

Universality of timed automata is undecidable. b0 b1 b2 b3

1 t.u. = 1 config

c c c c c cc c c cc d d d d d d d d d d d

value of c 1 t.u. = 1 config decrementation of d

  • ne configuration is encoded in one time unit

number of c’s: value of counter c number of d’s: value of counter d

  • ne time unit between two corresponding c’s (resp. d’s)

16/22

slide-66
SLIDE 66

Equivalence (or preorder) checking

Undecidability of universality

Theorem [AD90,AD94]

Universality of timed automata is undecidable. b0 b1 b2 b3

1 t.u. = 1 config

c c c c c cc c c cc d d d d d d d d d d d

value of c 1 t.u. = 1 config decrementation of d

  • ne configuration is encoded in one time unit

number of c’s: value of counter c number of d’s: value of counter d

  • ne time unit between two corresponding c’s (resp. d’s)

⇝ We encode “non-behaviours” of a two-counter machine

16/22

slide-67
SLIDE 67

Equivalence (or preorder) checking

Example

Module to check that if instruction i does not decrease counter c, then all actions c appearing less than 1 t.u. after bi has to be followed by an

  • ther c 1 t.u. later.

s0 s1 s2 bi, x := 0 x < 1, c, x := 0 x = 1, ¬c x ∕= 1

17/22

slide-68
SLIDE 68

Equivalence (or preorder) checking

Example

Module to check that if instruction i does not decrease counter c, then all actions c appearing less than 1 t.u. after bi has to be followed by an

  • ther c 1 t.u. later.

s0 s1 s2 bi, x := 0 x < 1, c, x := 0 x = 1, ¬c x ∕= 1 The union of all small modules is not universal iff The two-counter machine has a recurring computation

17/22

slide-69
SLIDE 69

Equivalence (or preorder) checking [Tri03] Tripakis. Folk theorems on the determinization and minimization of timed automata (FORMATS’03). [Fin06] Finkel. Undecidable problems about timed automata (FORMATS’06).

Bad news

Language inclusion is undecidable [AD90,AD94]

(Bad news for the application to verification)

Complementability is undecidable [Tri03,Fin06] ...

18/22

slide-70
SLIDE 70

Equivalence (or preorder) checking [Tri03] Tripakis. Folk theorems on the determinization and minimization of timed automata (FORMATS’03). [Fin06] Finkel. Undecidable problems about timed automata (FORMATS’06).

Bad news

Language inclusion is undecidable [AD90,AD94]

(Bad news for the application to verification)

Complementability is undecidable [Tri03,Fin06] ... An example of non-determinizable/non-complementable timed aut.: s0 s1 s2 a, x := 0 x = 1, a a a a

18/22

slide-71
SLIDE 71

Equivalence (or preorder) checking [Tri03] Tripakis. Folk theorems on the determinization and minimization of timed automata (FORMATS’03). [Fin06] Finkel. Undecidable problems about timed automata (FORMATS’06). [AM04] Alur, Madhusudan. Decision problems for timed automata: A survey (SFM-04:RT)).

Bad news

Language inclusion is undecidable [AD90,AD94]

(Bad news for the application to verification)

Complementability is undecidable [Tri03,Fin06] ... An example of non-determinizable/non-complementable aut.: [AM04] s0 s1 a, x := 0 a, b x ∕= 1, a, b

18/22

slide-72
SLIDE 72

Equivalence (or preorder) checking [Tri03] Tripakis. Folk theorems on the determinization and minimization of timed automata (FORMATS’03). [Fin06] Finkel. Undecidable problems about timed automata (FORMATS’06). [AM04] Alur, Madhusudan. Decision problems for timed automata: A survey (SFM-04:RT)).

Bad news

Language inclusion is undecidable [AD90,AD94]

(Bad news for the application to verification)

Complementability is undecidable [Tri03,Fin06] ... An example of non-determinizable/non-complementable aut.: [AM04] s0 s1 a, x := 0 a, b x ∕= 1, a, b

UNTIME L ∩ {(a∗b∗, 휏) ∣ all a′s happen before 1 and no two a′s simultaneously}✁ is not regular (exercise!)

18/22

slide-73
SLIDE 73

Some extensions of timed automata

Outline

  • 1. Decidability of basic properties
  • 2. Equivalence (or preorder) checking
  • 3. Some extensions of timed automata

19/22

slide-74
SLIDE 74

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

20/22

slide-75
SLIDE 75

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

20/22

slide-76
SLIDE 76

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

is also a time-abstract bisimulation!

20/22

slide-77
SLIDE 77

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

is also a time-abstract bisimulation! Linear constraints (i.e. 2x + 3y ∼ 5)

20/22

slide-78
SLIDE 78

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

is also a time-abstract bisimulation! Linear constraints (i.e. 2x + 3y ∼ 5)

undecidable in general

20/22

slide-79
SLIDE 79

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

is also a time-abstract bisimulation! Linear constraints (i.e. 2x + 3y ∼ 5)

undecidable in general

  • nly decidable in few cases

20/22

slide-80
SLIDE 80

Some extensions of timed automata

What if we extend the clock constraints?

Diagonal constraints (i.e. x − y ≤ 2)

decidable (with the same complexity)

is also a time-abstract bisimulation! Linear constraints (i.e. 2x + 3y ∼ 5)

undecidable in general

  • nly decidable in few cases

is a time-abstract bisimulation (when two clocks x and y and constraints x + y ∼ c)!

20/22

slide-81
SLIDE 81

Some extensions of timed automata

What if we allow more operations on clocks?

[BDFP04] Bouyer, Dufourd, Fleury, Petit. Updatable Timed Automata (Theoretical Computer Science).

that can be transfer operations (i.e. x := y), or reinitialization

  • perations (i.e. x := 4), or ...

[BDFP04]

21/22

slide-82
SLIDE 82

Some extensions of timed automata

What if we allow more operations on clocks?

[BDFP04] Bouyer, Dufourd, Fleury, Petit. Updatable Timed Automata (Theoretical Computer Science).

that can be transfer operations (i.e. x := y), or reinitialization

  • perations (i.e. x := 4), or ...

[BDFP04] simple constraints + diagonal constraints x := c, x := y x := x + 1 x := y + c x := x − 1 x :< c x :> c x :∼ y + c y + c <: x :< y + d y + c <: x :< z + d

21/22

slide-83
SLIDE 83

Some extensions of timed automata

What if we allow more operations on clocks?

[BDFP04] Bouyer, Dufourd, Fleury, Petit. Updatable Timed Automata (Theoretical Computer Science).

that can be transfer operations (i.e. x := y), or reinitialization

  • perations (i.e. x := 4), or ...

[BDFP04] simple constraints + diagonal constraints x := c, x := y decidable x := x + 1 decidable x := y + c undecidable x := x − 1 undecidable x :< c decidable decidable x :> c undecidable x :∼ y + c y + c <: x :< y + d y + c <: x :< z + d undecidable

21/22

slide-84
SLIDE 84

Some extensions of timed automata

What if we allow more operations on clocks?

[BDFP04] Bouyer, Dufourd, Fleury, Petit. Updatable Timed Automata (Theoretical Computer Science).

that can be transfer operations (i.e. x := y), or reinitialization

  • perations (i.e. x := 4), or ...

[BDFP04] simple constraints + diagonal constraints x := c, x := y decidable x := x + 1 decidable x := y + c undecidable x := x − 1 undecidable x :< c decidable decidable x :> c undecidable x :∼ y + c y + c <: x :< y + d y + c <: x :< z + d undecidable ⇝ need of being very careful when using more operations on clocks!

21/22

slide-85
SLIDE 85

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

[HKPV95] Henzinger, Kopke, Puri, Varaiya. What’s decidable wbout hybrid automata? (SToC’95).

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

22/22

slide-86
SLIDE 86

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

[HKPV95] Henzinger, Kopke, Puri, Varaiya. What’s decidable wbout hybrid automata? (SToC’95).

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

The thermostat example

Off ˙ T=−0.5T (T≥18) On ˙ T=2.25−0.5T (T≤22) T≤19 T≥21

22/22

slide-87
SLIDE 87

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

[HKPV95] Henzinger, Kopke, Puri, Varaiya. What’s decidable wbout hybrid automata? (SToC’95).

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

The thermostat example

Off ˙ T=−0.5T (T≥18) On ˙ T=2.25−0.5T (T≤22) T≤19 T≥21 22 18 21 19 2 4 6 8 10 time

22/22

slide-88
SLIDE 88

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

[HKPV95] Henzinger, Kopke, Puri, Varaiya. What’s decidable wbout hybrid automata? (SToC’95).

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

The thermostat example

Off ˙ T=−0.5T (T≥18) On ˙ T=2.25−0.5T (T≤22) T≤19 T≥21 22 18 21 19 2 4 6 8 10 time

Theorem [HKPV95]

The reachability problem is undecidable in hybrid automata, even for stopwatch automata.

(stopwatch automata: timed automata in which clocks can be stopped)

22/22

slide-89
SLIDE 89

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

The thermostat example

Off ˙ T=−0.5T (T≥18) On ˙ T=2.25−0.5T (T≤22) T≤19 T≥21 22 18 21 19 2 4 6 8 10 time

Theorem [HKPV95]

The reachability problem is undecidable in hybrid automata, even for stopwatch automata.

(stopwatch automata: timed automata in which clocks can be stopped)

A relevant question

Is there something between timed automata and hybrid automata which is decidable?

22/22

slide-90
SLIDE 90

Some extensions of timed automata

A note on hybrid automata (see more on Friday)

a discrete control (the mode of the system) + continuous evolution of the variables within a mode

The thermostat example

Off ˙ T=−0.5T (T≥18) On ˙ T=2.25−0.5T (T≤22) T≤19 T≥21 22 18 21 19 2 4 6 8 10 time

Theorem [HKPV95]

The reachability problem is undecidable in hybrid automata, even for stopwatch automata.

(stopwatch automata: timed automata in which clocks can be stopped)

A relevant question

Is there something between timed automata and hybrid automata which is decidable?

⇝ See Nicolas’ afternoon lecture

22/22