on the relationship between reachability problems in
play

On the Relationship between Reachability Problems in Timed and - PowerPoint PPT Presentation

On the Relationship between Reachability Problems in Timed and Counter Automata Christoph Haase 1 , 2 Jol Ouaknine 2 James Worrell 2 1 now at LSV, CNRS & ENS de Cachan, France 2 Department of Computer Science, University of Oxford, UK


  1. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? No we cannot!

  2. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ?

  3. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 )

  4. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 )

  5. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 ) → ( 3 , c 1 �→ 6 , c 2 �→ 8 )

  6. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 ) → ( 3 , c 1 �→ 6 , c 2 �→ 8 ) → ( 2 , c 1 �→ 5 , c 2 �→ 8 )

  7. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 ) → ( 3 , c 1 �→ 6 , c 2 �→ 8 ) → ( 2 , c 1 �→ 5 , c 2 �→ 8 ) → · · ·

  8. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 ) → ( 3 , c 1 �→ 6 , c 2 �→ 8 ) → ( 2 , c 1 �→ 5 , c 2 �→ 8 ) → · · · → ( 2 , c 1 �→ 1 , c 2 �→ 0 )

  9. Reachability in Counter Automata 3 1 2 4 Can we reach ( 4 , c 1 �→ 0 , c 2 �→ 0 ) starting in ( 1 , c 1 �→ 6 , c 2 �→ 0 ) ? ( 1 , c 1 �→ 6 , c 2 �→ 0 ) → ( 2 , c 1 �→ 6 , c 2 �→ 10 ) → ( 3 , c 1 �→ 6 , c 2 �→ 8 ) → ( 2 , c 1 �→ 5 , c 2 �→ 8 ) → · · · → ( 2 , c 1 �→ 1 , c 2 �→ 0 ) → �

  10. Reachability in Counter Automata • Reachability in counter automata is undecidable already for two counters [Minsky, 1961] • Reachability is NP-complete for one counter [H., Kreutzer, O., W., 2009] • Reachability is NL OG S PACE -complete for one counter with numbers encoded in unary [Lafourcade, Lugiez, Treinen, 2004]

  11. Reachability in Counter Automata • Reachability in counter automata is undecidable already for two counters [Minsky, 1961] • Reachability is NP-complete for one counter [H., Kreutzer, O., W., 2009] • Reachability is NL OG S PACE -complete for one counter with numbers encoded in unary [Lafourcade, Lugiez, Treinen, 2004]

  12. Reachability in Counter Automata • Reachability in counter automata is undecidable already for two counters [Minsky, 1961] • Reachability is NP-complete for one counter [H., Kreutzer, O., W., 2009] • Reachability is NL OG S PACE -complete for one counter with numbers encoded in unary [Lafourcade, Lugiez, Treinen, 2004]

  13. Reachability in Counter Automata • Reachability in counter automata is undecidable already for two counters [Minsky, 1961] • Reachability is NP-complete for one counter [H., Kreutzer, O., W., 2009] • Reachability is NL OG S PACE -complete for one counter with numbers encoded in unary [Lafourcade, Lugiez, Treinen, 2004]

  14. This talk: Can we naturally relate reachability problems in timed and counter automata?

  15. This talk: Can we naturally relate reachability problems in timed and counter automata?

  16. Bounded Counter Automata

  17. Bounded Counter Automata • Counters are constrained to take values from bounded intervals from N • Zero tests can be discarded • Can be viewed as strongly-bounded VASS as defined by [Memmim, Roucairol, 1980]

  18. Bounded Counter Automata • Counters are constrained to take values from bounded intervals from N • Zero tests can be discarded • Can be viewed as strongly-bounded VASS as defined by [Memmim, Roucairol, 1980]

  19. Bounded Counter Automata • Counters are constrained to take values from bounded intervals from N • Zero tests can be discarded • Can be viewed as strongly-bounded VASS as defined by [Memmim, Roucairol, 1980]

  20. Bounded Counter Automata • Reachability is trivially decidable and in PS PACE • Reachability with one counter is NP-hard and in PS PACE [Bouyer et al ., 2008] • Reachability with one counter inter-reducible with model considered by Demri and Gascon where counter ranges over Z and sign tests are allowed

  21. Bounded Counter Automata • Reachability is trivially decidable and in PS PACE • Reachability with one counter is NP-hard and in PS PACE [Bouyer et al ., 2008] • Reachability with one counter inter-reducible with model considered by Demri and Gascon where counter ranges over Z and sign tests are allowed

  22. Bounded Counter Automata • Reachability is trivially decidable and in PS PACE • Reachability with one counter is NP-hard and in PS PACE [Bouyer et al ., 2008] • Reachability with one counter inter-reducible with model considered by Demri and Gascon where counter ranges over Z and sign tests are allowed

  23. Bounded Counter Automata • Reachability is trivially decidable and in PS PACE • Reachability with one counter is NP-hard and in PS PACE [Bouyer et al ., 2008] • Reachability with one counter inter-reducible with model considered by Demri and Gascon where counter ranges over Z and sign tests are allowed

  24. Remainder of this talk Relating Reachability in Timed and Bounded Counter Automata with respect to logspace reductions: Reach. in n -clock TA, n ≥ 3 ⇐ ⇒ Reach. in bounded 2-CA Reach. in 2-clock TA ⇐ ⇒ Reach. in bounded 1-CA Reach. in 1-clock TA ⇐ ⇒ Reach. in bounded 0-CA

  25. Remainder of this talk Relating Reachability in Timed and Bounded Counter Automata with respect to logspace reductions: Reach. in n -clock TA, n ≥ 3 ⇐ ⇒ Reach. in bounded 2-CA Reach. in 2-clock TA ⇐ ⇒ Reach. in bounded 1-CA Reach. in 1-clock TA ⇐ ⇒ Reach. in bounded 0-CA

  26. Remainder of this talk Relating Reachability in Timed and Bounded Counter Automata with respect to logspace reductions: Reach. in n -clock TA, n ≥ 3 ⇐ ⇒ Reach. in bounded 2-CA Reach. in 2-clock TA ⇐ ⇒ Reach. in bounded 1-CA Reach. in 1-clock TA ⇐ ⇒ Reach. in bounded 0-CA

  27. Remainder of this talk Relating Reachability in Timed and Bounded Counter Automata with respect to logspace reductions: Reach. in n -clock TA, n ≥ 3 ⇐ ⇒ Reach. in bounded 2-CA Reach. in 2-clock TA ⇐ ⇒ Reach. in bounded 1-CA Reach. in 1-clock TA ⇐ ⇒ Reach. in bounded 0-CA

  28. Remainder of this talk Relating Reachability in Timed and Bounded Counter Automata with respect to logspace reductions: Reach. in n -clock TA, n ≥ 3 ⇐ ⇒ Reach. in bounded 2-CA Reach. in 2-clock TA ⇐ ⇒ Reach. in bounded 1-CA Reach. in 1-clock TA ⇐ ⇒ Reach. in bounded 0-CA

  29. Bounded Two-Counter Automata and n -Clock Timed Automata

  30. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  31. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  32. make bounds equal

  33. make bounds equal

  34. make bounds equal

  35. make bounds equal

  36. encode additional counters into second counter

  37. encode additional counters into second counter

  38. encode additional counters into second counter

  39. “reserve” temporary storage on first counter

  40. move “higher” counter values to temporary storage

  41. block “upper” bits and simulate operation

  42. move temporarily stored counters back

  43. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  44. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  45. Simulating Bounded Two-Counter Automata with Timed Automata Main idea: • Assume uniform bound b on two counters • Store values of counters in difference of clock values • If x = b then x − y represents value of the first counter and x − z the value of the second counter • Replace in- and decrements by gadgets

  46. Simulating Bounded Two-Counter Automata with Timed Automata Main idea: • Assume uniform bound b on two counters • Store values of counters in difference of clock values • If x = b then x − y represents value of the first counter and x − z the value of the second counter • Replace in- and decrements by gadgets

  47. Simulating Bounded Two-Counter Automata with Timed Automata Main idea: • Assume uniform bound b on two counters • Store values of counters in difference of clock values • If x = b then x − y represents value of the first counter and x − z the value of the second counter • Replace in- and decrements by gadgets

  48. Simulating Bounded Two-Counter Automata with Timed Automata Main idea: • Assume uniform bound b on two counters • Store values of counters in difference of clock values • If x = b then x − y represents value of the first counter and x − z the value of the second counter • Replace in- and decrements by gadgets

  49. Simulating Bounded Two-Counter Automata with Timed Automata Main idea: • Assume uniform bound b on two counters • Store values of counters in difference of clock values • If x = b then x − y represents value of the first counter and x − z the value of the second counter • Replace in- and decrements by gadgets

  50. Simulating Bounded Two-Counter Automata with Timed Automata

  51. Simulating Bounded Two-Counter Automata with Timed Automata

  52. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  53. Bounded Two-Counter Automata and n -Clock Timed Automata bounded n -counter automata ⇓ bounded two-counter automata ⇓ n -clock timed automata, n ≥ 3 ⇓ bounded ( 2 n + 2 ) -counter automata

  54. Simulating n -Clock Timed Automata with Bounded Counter Automata • Main idea: simulate region abstraction on the counters

  55. Simulating n -Clock Timed Automata with Bounded Counter Automata • Main idea: simulate region abstraction on the counters

Recommend


More recommend