parametric ltl games
play

Parametric LTL Games Martin Zimmermann RWTH Aachen University - PowerPoint PPT Presentation

Parametric LTL Games Martin Zimmermann RWTH Aachen University February 25th, 2010 AlMoTh 2010 Frankfurt am Main, Germany Martin Zimmermann RWTH Aachen University Parametric LTL Games 1/18 Motivation We consider infinite games with winning


  1. Parametric LTL Games Martin Zimmermann RWTH Aachen University February 25th, 2010 AlMoTh 2010 Frankfurt am Main, Germany Martin Zimmermann RWTH Aachen University Parametric LTL Games 1/18

  2. Motivation We consider infinite games with winning conditions in linear temporal logic ( LTL ). Advantages of LTL as specification language are compact, variable-free syntax, intuitive semantics, successfully employed in model checking tools. Martin Zimmermann RWTH Aachen University Parametric LTL Games 2/18

  3. Motivation We consider infinite games with winning conditions in linear temporal logic ( LTL ). Advantages of LTL as specification language are compact, variable-free syntax, intuitive semantics, successfully employed in model checking tools. However, LTL lacks capabilities to express timing constraints. There are many extensions of LTL that deal with this. Here, we consider two of them: PLTL : Parametric LTL (Alur et. al., ’99) PROMPT − LTL (Kupferman et. al., ’07) Martin Zimmermann RWTH Aachen University Parametric LTL Games 2/18

  4. Outline 1. Introduction 2. PROMPT LTL 3. Parametric LTL 4. Conclusion Martin Zimmermann RWTH Aachen University Parametric LTL Games 3/18

  5. Infinite Games An arena A = ( V , V 0 , V 1 , E , v 0 , l ) consists of p q , r a finite, directed graph ( V , E ), v 1 v 3 p , q a partition { V 0 , V 1 } of V , v 0 an initial vertex v 0 , v 2 v 4 a labeling l : V → 2 P for some set P of ∅ r atomic propositions. Winning conditions are expressed in extensions of LTL over P . Martin Zimmermann RWTH Aachen University Parametric LTL Games 4/18

  6. Infinite Games An arena A = ( V , V 0 , V 1 , E , v 0 , l ) consists of p q , r a finite, directed graph ( V , E ), v 1 v 3 p , q a partition { V 0 , V 1 } of V , v 0 an initial vertex v 0 , v 2 v 4 a labeling l : V → 2 P for some set P of ∅ r atomic propositions. Winning conditions are expressed in extensions of LTL over P . Theorem (Pnueli, Rosner ’89) Determining the winner of an LTL game is 2EXPTIME -complete. Finite-state strategies suffice to win an LTL game. Martin Zimmermann RWTH Aachen University Parametric LTL Games 4/18

  7. Outline 1. Introduction 2. PROMPT LTL 3. Parametric LTL 4. Conclusion Martin Zimmermann RWTH Aachen University Parametric LTL Games 5/18

  8. PROMPT-LTL Games Add prompt-eventually F P to LTL . Semantics defined w.r.t. free, but fixed bound k : ϕ ρ ( ρ, i , k ) | = F P ϕ : i i + k Martin Zimmermann RWTH Aachen University Parametric LTL Games 6/18

  9. PROMPT-LTL Games Add prompt-eventually F P to LTL . Semantics defined w.r.t. free, but fixed bound k : ϕ ρ ( ρ, i , k ) | = F P ϕ : i i + k PROMPT − LTL game ( A , ϕ ): σ is a winning strategy for Player 0 iff there exists a bound k such that ( ρ, 0 , k ) | = ϕ for every play ρ consistent with σ . Martin Zimmermann RWTH Aachen University Parametric LTL Games 6/18

  10. PROMPT-LTL Games Add prompt-eventually F P to LTL . Semantics defined w.r.t. free, but fixed bound k : ϕ ρ ( ρ, i , k ) | = F P ϕ : i i + k PROMPT − LTL game ( A , ϕ ): σ is a winning strategy for Player 0 iff there exists a bound k such that ( ρ, 0 , k ) | = ϕ for every play ρ consistent with σ . Example ϕ = G ( q → F P p ). For some k , Player 0 has to answer every request q within k steps by seeing p . Note: k may not depend on a single play. Martin Zimmermann RWTH Aachen University Parametric LTL Games 6/18

  11. PROMPT-LTL Games: Results Theorem Deciding whether Player 0 has a winning strategy in a PROMPT − LTL game is 2EXPTIME complete. Martin Zimmermann RWTH Aachen University Parametric LTL Games 7/18

  12. PROMPT-LTL Games: Results Theorem Deciding whether Player 0 has a winning strategy in a PROMPT − LTL game is 2EXPTIME complete. Proof 2EXPTIME algorithm: apply alternating-color technique of Kupferman et al.: reduce G to an LTL game G ′ such that a finite-state winning strategy for G ′ can be transformed into a finite-state winning strategy for G which bounds the waiting times. Player 0 wins G ′ only if she can ensure a bound on the prompt-eventualities in G . Martin Zimmermann RWTH Aachen University Parametric LTL Games 7/18

  13. PROMPT-LTL Games: Results Theorem Deciding whether Player 0 has a winning strategy in a PROMPT − LTL game is 2EXPTIME complete. Proof 2EXPTIME algorithm: apply alternating-color technique of Kupferman et al.: reduce G to an LTL game G ′ such that a finite-state winning strategy for G ′ can be transformed into a finite-state winning strategy for G which bounds the waiting times. Player 0 wins G ′ only if she can ensure a bound on the prompt-eventualities in G . 2EXPTIME hardness follows from 2EXPTIME hardness of solving LTL games. Martin Zimmermann RWTH Aachen University Parametric LTL Games 7/18

  14. Outline 1. Introduction 2. PROMPT LTL 3. Parametric LTL 4. Conclusion Martin Zimmermann RWTH Aachen University Parametric LTL Games 8/18

  15. Parametric LTL Let X and Y be two disjoint sets of variables. PLTL adds bounded temporal operators to LTL : F ≤ x for x ∈ X , G ≤ y for y ∈ Y . Martin Zimmermann RWTH Aachen University Parametric LTL Games 9/18

  16. Parametric LTL Let X and Y be two disjoint sets of variables. PLTL adds bounded temporal operators to LTL : F ≤ x for x ∈ X , G ≤ y for y ∈ Y . Semantics defined w.r.t. variable valuation α : X ∪ Y → N . ϕ ρ ( ρ, i , α ) | = F ≤ x ϕ : i + α ( x ) i ϕ ϕ ϕ ϕ ϕ = G ≤ y ϕ : ρ ( ρ, i , α ) | i + α ( y ) i Martin Zimmermann RWTH Aachen University Parametric LTL Games 9/18

  17. Parametric LTL Let X and Y be two disjoint sets of variables. PLTL adds bounded temporal operators to LTL : F ≤ x for x ∈ X , G ≤ y for y ∈ Y . Semantics defined w.r.t. variable valuation α : X ∪ Y → N . ϕ ρ ( ρ, i , α ) | = F ≤ x ϕ : i + α ( x ) i ϕ ϕ ϕ ϕ ϕ = G ≤ y ϕ : ρ ( ρ, i , α ) | i + α ( y ) i The operators U ≤ x , R ≤ y , F > y , G > x , U > y , and R > x (with the obvious semantics) are syntactic sugar, and will be ignored. Martin Zimmermann RWTH Aachen University Parametric LTL Games 9/18

  18. Parametric LTL Games PLTL game ( A , ϕ ): σ is a winning strategy for Player 0 w.r.t. α iff for all plays ρ consistent with σ : ( ρ, 0 , α ) | = ϕ . τ is a winning strategy for Player 1 w.r.t. α iff for all plays ρ consistent with τ : ( ρ, 0 , α ) �| = ϕ . Martin Zimmermann RWTH Aachen University Parametric LTL Games 10/18

  19. Parametric LTL Games PLTL game ( A , ϕ ): σ is a winning strategy for Player 0 w.r.t. α iff for all plays ρ consistent with σ : ( ρ, 0 , α ) | = ϕ . τ is a winning strategy for Player 1 w.r.t. α iff for all plays ρ consistent with τ : ( ρ, 0 , α ) �| = ϕ . The set of winning valuations for Player i is W i G = { α | Player i has winning strategy for G w.r.t. α } . We are interested in the emptiness, finiteness, and universality problem for W i G and in finding optimal valuations in W i G . Martin Zimmermann RWTH Aachen University Parametric LTL Games 10/18

  20. PLTL Games: Examples Winning condition FG ≤ y p : Player 0’s goal: eventually satisfy p for at least α ( y ) steps. p p p p ≥ α ( y ) Martin Zimmermann RWTH Aachen University Parametric LTL Games 11/18

  21. PLTL Games: Examples Winning condition FG ≤ y p : Player 0’s goal: eventually satisfy p for at least α ( y ) steps. p p p p ≥ α ( y ) Player 1’s goal: reach vertex with ¬ p at least every α ( y ) steps. ¬ p ¬ p ¬ p ¬ p ≤ α ( y ) ≤ α ( y ) ≤ α ( y ) ≤ α ( y ) Martin Zimmermann RWTH Aachen University Parametric LTL Games 11/18

  22. PLTL Games: Examples Winning condition G ( q → F ≤ x p ): “Every request q is eventually responded by p ”. Player 0’s goal: uniformly bound the waiting times between requests q and responses p by α ( x ). q p q p ≤ α ( x ) ≤ α ( x ) Martin Zimmermann RWTH Aachen University Parametric LTL Games 12/18

  23. PLTL Games: Examples Winning condition G ( q → F ≤ x p ): “Every request q is eventually responded by p ”. Player 0’s goal: uniformly bound the waiting times between requests q and responses p by α ( x ). q p q p ≤ α ( x ) ≤ α ( x ) Player 1’s goal: enforce waiting time greater than α ( x ). q , ¬ p ¬ p ¬ p ¬ p ≥ α ( x ) Martin Zimmermann RWTH Aachen University Parametric LTL Games 12/18

  24. PLTL Games: Examples Winning condition G ( q → F ≤ x p ): “Every request q is eventually responded by p ”. Player 0’s goal: uniformly bound the waiting times between requests q and responses p by α ( x ). q p q p ≤ α ( x ) ≤ α ( x ) Player 1’s goal: enforce waiting time greater than α ( x ). q , ¬ p ¬ p ¬ p ¬ p ≥ α ( x ) Note: both winning conditions induce an optimization problem (for Player 0): maximize α ( y ) respectively minimize α ( x ). Martin Zimmermann RWTH Aachen University Parametric LTL Games 12/18

  25. PLTL: Results Theorem Let G be a PLTL game. The emptiness, finiteness, and universality problem for W i G are 2EXPTIME -complete. Martin Zimmermann RWTH Aachen University Parametric LTL Games 13/18

Recommend


More recommend