Almost-Optimal Strategies in Priced Timed Games Patricia Bouyer 1 , - - PowerPoint PPT Presentation

almost optimal strategies in priced timed games
SMART_READER_LITE
LIVE PREVIEW

Almost-Optimal Strategies in Priced Timed Games Patricia Bouyer 1 , - - PowerPoint PPT Presentation

Almost-Optimal Strategies in Priced Timed Games Patricia Bouyer 1 , Kim G. Larsen 2 , Nicolas Markey 1 , and Jacob Illum Rasmussen 2 1 Lab. Specification et Verification, ENS Cachan & CNRS, France 2 Dept of Computer Science, Aalborg University,


slide-1
SLIDE 1

Almost-Optimal Strategies in Priced Timed Games

Patricia Bouyer1, Kim G. Larsen2, Nicolas Markey1, and Jacob Illum Rasmussen2

1 Lab. Specification et Verification, ENS Cachan & CNRS, France 2 Dept of Computer Science, Aalborg University, Denmark

December 15, 2006

slide-2
SLIDE 2

Verification & Model-Checking

system:

property:

G(request⇒F grant)

model-checking algorithm

yes/no

slide-3
SLIDE 3

Verification & Control

system:

property:

G(request⇒F grant)

controller synthesis

yes/no

slide-4
SLIDE 4

Adding timing requirements

Need for timed models:

the behaviour of most systems depends on time; (faithful) modelling has to take time into account;

timed automata, timed Petri nets, timed process algebras, ... Need for time in specification:

again, the behaviour of most systems depends on time; untimed specifications are not enough (e.g., bounded response property);

TCTL, MTL, TPTL, timed µ-calculus, ...

slide-5
SLIDE 5

Time is not always sufficient

In some cases, we don’t want to measure time, but rather energy consumption, price to pay for reaching some goal, ...

slide-6
SLIDE 6

Time is not always sufficient

In some cases, we don’t want to measure time, but rather energy consumption, price to pay for reaching some goal, ... hybrid automata: timed automata augmented with variables whose derivative is not constant. examples: leaking gas burner, water-level monitor, ...

x ≤ 1 ˙ x = 1 ˙ y = 1 ˙ z = 1 true ˙ x = 1 ˙ y = 1 ˙ z = 0

x≤1, x:=0 x≥30, x:=0 x,y,z:=0

Theorem (HKPV97)

Reachability is undecidable (even for timed automata where one single “clock” has two derivatives).

slide-7
SLIDE 7

Time is not always sufficient

In some cases, we don’t want to measure time, but rather energy consumption, price to pay for reaching some goal, ... hybrid automata: timed automata augmented with variables whose derivative is not constant. examples: leaking gas burner, water-level monitor, ...

x ≤ 1 ˙ x = 1 ˙ y = 1 ˙ z = 1 true ˙ x = 1 ˙ y = 1 ˙ z = 0

x≤1, x:=0 x≥30, x:=0 x,y,z:=0

priced timed automata: similar to hybrid automata, but the behavior only depends on clock variables.

slide-8
SLIDE 8

Related work on priced timed automata

Basic properties

Optimal reachability

[ATP01,BFH+01,LBB+01,BBBR06]

Mean-cost optimality

[BBL04]

Control games

Properties, and restricted decidability results

[ABM04,BCFL04,BCFL05]

Undecidability for timed game automata with more than three clocks

[BBR05,BBM06]

Decidability for timed automata with one clock

[BLMR06]

Model-checking of WCTL

Undecidability for timed automata with more than three clocks

[BBR04,BBM06]

Decidability for timed automata with one clock

[BLM07]

slide-9
SLIDE 9

Outline of the talk

1

Introduction

2

Definitions and examples

3

Existence of optimal strategies in 1PTGAs is decidable

4

(Pseudo-)algorithm for computing the optimal cost

5

Conclusion

slide-10
SLIDE 10

Outline of the talk

1

Introduction

2

Definitions and examples

3

Existence of optimal strategies in 1PTGAs is decidable

4

(Pseudo-)algorithm for computing the optimal cost

5

Conclusion

slide-11
SLIDE 11

Priced timed game automata

Definition (ALP01,BFH+01)

A priced timed game automaton is a timed automaton with costs where states are partitionned into controllable and uncontrollable

  • nes:

G = Qc ∪ Qu, Q0, AP, ℓ, δ, C, G, R, I, Qurg, P

a,b x≤4 ˙ p=1 ¬ a, ¬ b y≤1 ∧ x≤4 ˙ p=0 ¬ a, ¬ b y≤1 ∧ x≤4 ˙ p=0 ¬ a,b y≤2 ˙ p=4 x≥1 y=2 x:=0 x≥1 y:=0 y≤1 y:=0 x≥1 y=2 x:=0 x≥1 y:=0 p+=2 y≤1 y:=0

AP = {a, b} C = {x, y}

slide-12
SLIDE 12

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

slide-13
SLIDE 13

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

x=0 y=0 x=1.3 y=1.3 x=1.3 y=0 x=1.3 y=0 x=3.7 y=2.4 x=3.7 y=2.4

slide-14
SLIDE 14

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

x=0 y=0 x=1.3 y=1.3 x=1.3 y=0 x=1.3 y=0 x=3.7 y=2.4 x=3.7 y=2.4

6.5 14.4 1

slide-15
SLIDE 15

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching :

slide-16
SLIDE 16

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching : 5t + 6(3 − t) + 1

slide-17
SLIDE 17

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching : 5t + 6(3 − t) + 1, 5t + (3 − t) + 7

slide-18
SLIDE 18

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching : max (5t + 6(3 − t) + 1, 5t + (3 − t) + 7)

slide-19
SLIDE 19

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching : inf

0≤t≤2 max (5t + 6(3 − t) + 1, 5t + (3 − t) + 7)

slide-20
SLIDE 20

Example

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Minimal cost for reaching : inf

0≤t≤2 max (5t + 6(3 − t) + 1, 5t + (3 − t) + 7) = 17.2

(when t = 1.8)

slide-21
SLIDE 21

Strategies

Definitions

Run(A, B) is the set of trajectories from some state in A to some state in B; a strategy is a function σ: Run(Q × R+C, Qc × R+C) → δ ∪ R+

>0

slide-22
SLIDE 22

Strategies

Definitions

Run(A, B) is the set of trajectories from some state in A to some state in B; a strategy is a function σ: Run(Q × R+C, Qc × R+C) → δ ∪ R+

>0

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Example of a strategy σ: in , wait until x = 2; in , wait until x = 3; in , wait until x = 4;

slide-23
SLIDE 23

Strategies

Definitions

a run ρ = ((qi, vi))i∈Z+ is compatible with a strategy σ from step i0 if, for each i ≥ i0 s.t. qi ∈ Qc,

if σ(ρ≤i) = e ∈ δ and vi | = I(qi) and vi | = G(e), then e = (qi, qi+1) and vi+1 = vi[R(e) ← 0]. if σ(ρ≤i) = r ∈ R+

>0 and, for all t ∈ [0, r], vi + t |

= I(qi), then qi+1 = qi and vi+1 = vi + r.

a strategy σ is winning (for some reachability objective W ⊆ Q) after some finite prefix ρ0 if any “prolongation” of ρ0 that is compatible with σ after ρ0, reaches a location in W .

slide-24
SLIDE 24

Strategies

Definitions

the cost of a winning strategy σ from ρ0 is Cost(σ, ρ0) = sup{cost(ρ) | ρ compatible execution after ρ0} (assuming that the trajectory stops as soon as it enters any location in W ).

slide-25
SLIDE 25

Strategies

Definitions

the cost of a winning strategy σ from ρ0 is Cost(σ, ρ0) = sup{cost(ρ) | ρ compatible execution after ρ0} (assuming that the trajectory stops as soon as it enters any location in W ).

Example

˙ p=5 y=0 ˙ p=6 ˙ p=1

  • x≤2

y:=0 x≥3 p+=1 p+=7 x≥3

Consider strategy σ: in , wait until x = 2; in , wait until x = 3; in , wait until x = 4; Cost(σ, ( , x = 0)) = sup(17, 19) = 19.

slide-26
SLIDE 26

Bad news!

Theorem (BBR05,BBM06)

The existence of a strategy with cost less than or equal to a given value is undecidable on PTGAs.

slide-27
SLIDE 27

Bad news!

Theorem (BBR05,BBM06)

The existence of a strategy with cost less than or equal to a given value is undecidable on PTGAs. Idea of the proof. Encoding of a two-counter machine.

  • The reduction can be achieved involving only three clocks.
slide-28
SLIDE 28

Bad news!

Theorem (BBR05,BBM06)

The existence of a strategy with cost less than or equal to a given value is undecidable on PTGAs. Idea of the proof. Encoding of a two-counter machine.

  • The reduction can be achieved involving only three clocks.

What happens with only one clock?

slide-29
SLIDE 29

Outline of the talk

1

Introduction

2

Definitions and examples

3

Existence of optimal strategies in 1PTGAs is decidable

4

(Pseudo-)algorithm for computing the optimal cost

5

Conclusion

slide-30
SLIDE 30

Strategies

Definitions

Run(A, B) is the set of trajectories from some state in A to some state in B; a strategy is a function σ: Run(Q × R+, Qc × R+) → δ ∪ R+

>0

a strategy is memoryless if it only depends on the present state: σ: Qc × R+ → δ ∪ R+

>0

slide-31
SLIDE 31

Strategies

Definitions

the cost of a winning strategy σ from ρ0 is Cost(σ, ρ0) = sup{cost(ρ) | ρ compatible execution after ρ0} (assuming that the trajectory stops as soon as it enters any location in W ). the optimal cost of winning from some state s is OptCost(s) = inf{Cost(σ, s) | σ winning strategy} a strategy σ is ε-optimal in state s if OptCost(s) ≤ Cost(σ, ρ0) ≤ OptCost(s) + ε a strategy is optimal if it is 0-optimal.

slide-32
SLIDE 32

Memorylessness and optimality

Fact

In our PTGAs, optimal strategies do not always exist.

Example

˙ p=2 ˙ p=1 x≤1

  • x=1

x=0

In this example, only ε-optimal strategies exist, for any ε > 0.

slide-33
SLIDE 33

Memorylessness and optimality

Fact

In our PTGAs, optimal strategies do not always exist.

Fact

When optimal strategies exist, they might require some memory.

Example

˙ p=2 x≤1

  • ˙

p=1 x=1 x<1,x:=0 x>0

An optimal strategy depends on the date at which the blue state is entered.

slide-34
SLIDE 34

Memorylessness and optimality

Fact

In our PTGAs, optimal strategies do not always exist.

Fact

When optimal strategies exist, they might require some memory.

Example

˙ p=2 x≤1

  • ˙

p=1 x=1 x<1,x:=0 x>0

An optimal strategy depends on the date at which the blue state is

  • entered. But there is a memoryless ε-optimal strategy.
slide-35
SLIDE 35

Decidability of 1PTGAs

Definition

Given ε > 0 and N ∈ Z+, a strategy σ is (ε, N) acceptable if σ is ε-optimal and memoryless, there is a partition (In)n≤N of [0, M] (where M is the maximal constant of the guards and invariants of the game) s.t., for any q ∈ Qc, x → σ(q, x) is constant on each In.

slide-36
SLIDE 36

Decidability of 1PTGAs

Definition

Given ε > 0 and N ∈ Z+, a strategy σ is (ε, N) acceptable if σ is ε-optimal and memoryless, there is a partition (In)n≤N of [0, M] (where M is the maximal constant of the guards and invariants of the game) s.t., for any q ∈ Qc, x → σ(q, x) is constant on each In.

Main Theorem

For every location, the optimal cost is computable and is piecewise affine. There exists N ∈ Z+ s.t., for any ε > 0, we can effectively compute an (ε, N)-acceptable (thus, almost-optimal and memoryless) strategy.

slide-37
SLIDE 37

Simplifying the problem

We restrict to TGAs with maximal constant 1 (in clock constraints)

slide-38
SLIDE 38

Simplifying the problem

We restrict to TGAs with maximal constant 1 (in clock constraints)

Example

˙ p=2 x≤4 x<3 x≥2 ˙ p=2 x≤1 ˙ p=2 x≤1 ˙ p=2 x≤1 x<1 ˙ p=2 x≤1

x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0 x=1 x:=0

slide-39
SLIDE 39

Simplifying the problem

We restrict to strongly-connected TGAs without resets.

slide-40
SLIDE 40

Simplifying the problem

We restrict to strongly-connected TGAs without resets.

Example

˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x:=0 x≤1 x:=0

slide-41
SLIDE 41

Simplifying the problem

We restrict to strongly-connected TGAs without resets.

Example

˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x:=0 x≤1 x:=0

slide-42
SLIDE 42

Simplifying the problem

We restrict to strongly-connected TGAs without resets.

Example

˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x:=0 x≤1 x:=0 ˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x:=0 x≤1 x:=0

slide-43
SLIDE 43

Simplifying the problem

We restrict to strongly-connected TGAs without resets.

Example

˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x≤1 x:=0 ˙ p=1 ˙ p=4 ˙ p=3 ˙ p=1 x≤1 x:=0 x:=0 +∞

slide-44
SLIDE 44

Simplifying the problem

We restrict to strongly-connected TGAs without resets. G

m n x:=0

G ′

m1 n2 x:=0 +∞

slide-45
SLIDE 45

Simplifying the problem

We restrict to strongly-connected TGAs without resets. G

m n x:=0

G ′

m1 n2 x:=0 +∞

Theorem

OptCostG(q, x) = OptCostG ′(q1, x).

slide-46
SLIDE 46

Simplifying the problem

We restrict to strongly-connected TGAs without resets. G

m n x:=0

G ′

m1 n2 x:=0 +∞

Theorem

OptCostG(q, x) = OptCostG ′(q1, x).

Theorem

If σ′ is (ε′, N′)-acceptable in G ′, then σ(q, x) =      σ′(q2, x)

if Cost(q2, x) ≤ Cost(q1, x)

σ′(q1, x)

  • therwise

is (2ε′, N′)-acceptable in G.

slide-47
SLIDE 47

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-48
SLIDE 48

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-49
SLIDE 49

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-50
SLIDE 50

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-51
SLIDE 51

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-52
SLIDE 52

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-53
SLIDE 53

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-54
SLIDE 54

Simplifying the problem

x:=0 x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-55
SLIDE 55

Simplifying the problem

x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-56
SLIDE 56

Simplifying the problem

x:=0

Reduced to strongly-connected PTGAs clock is bounded by 1 no resetting transitions.

slide-57
SLIDE 57

Main theorem with outside cost-functions

Theorem

Let G be a strongly-connected non- resetting 1PTGA with outside cost- functions. OptCostG is computable; in each location, function x → OptCostG(q, x) is decreasing, piecewise affine and continuous. Its finitely many segments either have slope −c where c is the price of some locations, or are fragments of the

  • utside cost-functions;

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

There exists N ∈ Z+ s.t., for any ε > 0, we can compute an (ε, N)-acceptable strategy σ.

slide-58
SLIDE 58

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-59
SLIDE 59

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-60
SLIDE 60

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-61
SLIDE 61

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-62
SLIDE 62

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-63
SLIDE 63

Operations on cost functions: controllable locations

˙ p = 3 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-64
SLIDE 64

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-65
SLIDE 65

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-66
SLIDE 66

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-67
SLIDE 67

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-68
SLIDE 68

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-69
SLIDE 69

Operations on cost functions: uncontrollable locations

˙ p = 2 ˙ p = 5 ˙ p = 3 ˙ p = 2 ˙ p = 1

slide-70
SLIDE 70

Inductive proof

Ideas of the proof

Induction on the number of non-urgent locations in the SCC base cases:

all locations are urgent (thus uncontrollable); there is only one location, which is controllable (thus non-urgent).

induction step: we consider one of the non-urgent locations having minimal cost rate:

if it is controllable, we create two SCCs having one less non-urgent location; if it is uncontrollable, we make it urgent and add an extra

  • utside cost function to which it can go.

Skip proof

slide-71
SLIDE 71

Inductive proof – base cases

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-72
SLIDE 72

Inductive proof – base cases

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-73
SLIDE 73

Inductive proof – base cases

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-74
SLIDE 74

Inductive proof – base cases

˙ p=3

slide-75
SLIDE 75

Inductive proof – base cases

˙ p=3

slide-76
SLIDE 76

Inductive proof – base cases

˙ p=3

slide-77
SLIDE 77

Inductive proof – base cases

˙ p=3

slide-78
SLIDE 78

Inductive proof – base cases

˙ p=3

slide-79
SLIDE 79

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

slide-80
SLIDE 80

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

Let σ be a winning strategy.

slide-81
SLIDE 81

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

Let σ be a winning strategy. Assume there exists an outcome

  • f σ s.t.:

(qmin, u) →∗ (qmin, v) →∗ win with 0 ≤ u < v ≤ 1.

slide-82
SLIDE 82

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

Let σ be a winning strategy. Assume there exists an outcome

  • f σ s.t.:

(qmin, u) →∗ (qmin, v) →∗ win with 0 ≤ u < v ≤ 1. Then σ is not optimal: waiting in qmin would have been cheaper.

slide-83
SLIDE 83

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

slide-84
SLIDE 84

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1 ˙ p=3 ˙ p=2 ˙ p=1 ˙ p=5 x≤1

slide-85
SLIDE 85

Inductive proof – inductive cases

When qmin is controllable:

˙ p=3 ˙ p=2 ˙ p=5 x≤1 ˙ p=3 ˙ p=2 ˙ p=5 x≤1 ˙ p=1 +∞

slide-86
SLIDE 86

Inductive proof – inductive cases

When qmin is controllable: G

m

qmin

n

G ′

m1 n1

qmin

m2 n2 +∞

slide-87
SLIDE 87

Inductive proof – inductive cases

When qmin is controllable: G

m

qmin

n

G ′

m1 n1

qmin

m2 n2 +∞

Theorem

OptCostG ′(q1, x) = OptCostG(q, x).

slide-88
SLIDE 88

Inductive proof – inductive cases

When qmin is controllable: G

m

qmin

n

G ′

m1 n1

qmin

m2 n2 +∞

Theorem

OptCostG ′(q1, x) = OptCostG(q, x).

Theorem

Let σ′ be an (ε′, N′)-acceptable strategy for G ′. Let σ(q, x) =      σ′(q2, x)

if CostG′(q2,x)≤OptCostG′(qmin,x)

σ′(q1, x)

  • therwise

Then σ is (3ε′, N)-acceptable in G, for some N independant of ε′.

slide-89
SLIDE 89

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-90
SLIDE 90

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Make qmin urgent and apply I.H.:

slide-91
SLIDE 91

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Make qmin urgent and apply I.H.:

slide-92
SLIDE 92

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Make qmin urgent and apply I.H.:

First instance where slope less than cmin

slide-93
SLIDE 93

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Make qmin urgent and apply I.H.:

It’s better to wait in qmin...

slide-94
SLIDE 94

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Make qmin urgent and apply I.H.:

slide-95
SLIDE 95

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Apply I.H. again:

slide-96
SLIDE 96

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Apply I.H. again:

slide-97
SLIDE 97

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Apply I.H. again:

First instance where slope less than cmin

slide-98
SLIDE 98

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

Apply I.H. again:

It’s better to wait in qmin...

slide-99
SLIDE 99

Inductive proof – inductive cases

When qmin is uncontrollable:

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

This procedure terminates because fragments having slope strictly less than cmin are fragments of outside functions.

slide-100
SLIDE 100

Outline of the talk

1

Introduction

2

Definitions and examples

3

Existence of optimal strategies in 1PTGAs is decidable

4

(Pseudo-)algorithm for computing the optimal cost

5

Conclusion

slide-101
SLIDE 101

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-102
SLIDE 102

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-103
SLIDE 103

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-104
SLIDE 104

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-105
SLIDE 105

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-106
SLIDE 106

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-107
SLIDE 107

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-108
SLIDE 108

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-109
SLIDE 109

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-110
SLIDE 110

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-111
SLIDE 111

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-112
SLIDE 112

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-113
SLIDE 113

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-114
SLIDE 114

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-115
SLIDE 115

Iterative pseudo-algorithm of [BCFL04]

˙ p=1 ˙ p=1 ˙ p=5 ˙ p=3 x≤1

slide-116
SLIDE 116

Iterative pseudo-algorithm of [BCFL04]

Theorem

This algorithm terminates on 1PTGAs.

slide-117
SLIDE 117

Iterative pseudo-algorithm of [BCFL04]

Theorem

This algorithm terminates on 1PTGAs. Proof. The cost functions computed at round i represent the cost of winning in at most i steps. Since there exists N ∈ Z+ s.t., for any ε > 0, there exists an (ε, N)-acceptable strategy, we know that there exists ε-optimal strategies that are guaranteed to win in at most N × |Q| steps.

slide-118
SLIDE 118

Outline of the talk

1

Introduction

2

Definitions and examples

3

Existence of optimal strategies in 1PTGAs is decidable

4

(Pseudo-)algorithm for computing the optimal cost

5

Conclusion

slide-119
SLIDE 119

Conclusion and Perspectives

Summary of our works:

Adding costs to timed automata provides a natural way for modeling resource consumption. unfortunately, costs are expensive! Undecidable for three-clock automata; Complex algorithms for one-clock automata; Convergence of the pseudo-algorithm of [BCFL04].

Perspectives:

Complexity gap: our algorithm runs in 3EXPTIME, while our best lower bound is PTIME; What happens in two-clock Priced Timed Automata? Priced ATL model-checking: mixing games and WCTL; Multi-constrained objectives.