Perfect Timed Communication Is Hard

We introduce the model of communicating timed automata (CTA) that extends the classical models of finite-state processes communicating through FIFO perfect channels and timed automata, in the sense that the finite-state processes are replaced by timed automata, and messages inside the perfect channels are equipped with clocks representing their ages. In addition to the standard operations (resetting clocks, checking guards of clocks) each automaton can either (1) append a message to the tail of a channel with an initial age or (2) receive the message at the head of a channel if its age satisfies a set of given constraints. In this paper, we show that the reachability problem is undecidable even in the case of two timed automata connected by one unidirectional timed channel if one allows global clocks (that the two automata can check and manipulate). We prove that this undecidability still holds even for CTA consisting of three timed automata and two unidirectional timed channels (and without any global clock). However, the reachability problem becomes decidable (in \(\mathsf {EXPTIME}\)) in the case of two automata linked with one unidirectional timed channel and with no global clock. Finally, we consider the bounded-context case, where in each context, only one timed automaton is allowed to receive messages from one channel while being able to send messages to all the other timed channels. In this case we show that the reachability problem is decidable.

[1]  Wang Yi,et al.  Communicating Timed Automata: The More Synchronous, the More Difficult to Verify , 2006, CAV.

[2]  Alain Finkel,et al.  Verification of programs with half-duplex communication , 2005, Inf. Comput..

[3]  Loïc Hélouët,et al.  Decidable Classes of Unbounded Petri Nets with Time and Urgency , 2016, Petri Nets.

[4]  Ashutosh Trivedi,et al.  Recursive Timed Automata , 2010, ATVA.

[5]  Rupak Majumdar,et al.  Analyzing Real-Time Event-Driven Programs , 2009, FORMATS.

[6]  Rupak Majumdar,et al.  Decision Problems for the Verification of Real-Time Software , 2006, HSCC.

[7]  Laura Bocchi,et al.  Meeting Deadlines Together , 2015, CONCUR.

[8]  Salvatore La Torre,et al.  Context-Bounded Analysis of Concurrent Queue Systems , 2008, TACAS.

[9]  Lorenzo Clemente,et al.  Timed Pushdown Automata Revisited , 2015, 2015 30th Annual ACM/IEEE Symposium on Logic in Computer Science.

[10]  Parosh Aziz Abdulla,et al.  Verifying Programs with Unreliable Channels , 1996, Inf. Comput..

[11]  Ashutosh Trivedi,et al.  A Perfect Class of Context-Sensitive Timed Languages , 2016, DLT.

[12]  Zhe Dang,et al.  Pushdown timed automata: a binary reachability characterization and safety verification , 2001, Theor. Comput. Sci..

[13]  Alain Finkel,et al.  Reachability in Timed Counter Systems , 2009, INFINITY.

[14]  Lorenzo Clemente,et al.  Reachability of Communicating Timed Processes , 2013, FoSSaCS.

[15]  Philippe Schnoebelen,et al.  Mixing Lossy and Perfect Fifo Channels , 2008, CONCUR.

[16]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[17]  Lorenzo Clemente,et al.  Timed pushdown automata and branching vector addition systems , 2017, 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS).

[18]  Jan K. Pachl Reachability problems for communicating finite state machines , 2003, ArXiv.

[19]  Parosh Aziz Abdulla,et al.  Timed Petri Nets and BQOs , 2001, ICATPN.

[20]  Serge Haddad,et al.  Comparison of Different Semantics for Time Petri Nets , 2005, ATVA.

[21]  Ahmed Bouajjani,et al.  On the Automatic Verification of Systems with Continuous Variables and Unbounded Discrete Data Structures , 1994, Hybrid Systems.

[22]  Parosh Aziz Abdulla,et al.  Dense-Timed Petri Nets: Checking Zenoness, Token liveness and Boundedness , 2006, Log. Methods Comput. Sci..

[23]  Parosh Aziz Abdulla,et al.  Dense-Timed Pushdown Automata , 2012, 2012 27th Annual IEEE Symposium on Logic in Computer Science.

[24]  Ahmed Bouajjani,et al.  Symbolic Reachability Analysis of FIFO-Channel Systems with Nonregular Sets of Configurations , 1999, Theor. Comput. Sci..

[25]  Parosh Aziz Abdulla,et al.  What is Decidable about Perfect Timed Channels? , 2017, ArXiv.

[26]  Paul Gastin,et al.  Analyzing Timed Systems Using Tree Automata , 2016, CONCUR.

[27]  Daniel Brand,et al.  On Communicating Finite-State Machines , 1983, JACM.