A Refinement Based Strategy for Local Deadlock Analysis of Networks of CSP Processes

Based on a characterisation of process networks in the CSP process algebra, we formalise a set of behavioural restrictions used for local deadlock analysis. Also, we formalise two patterns, originally proposed by Roscoe, which avoid deadlocks in cyclic networks by performing only local analyses on components of the network; our formalisation systematises the behavioural and structural constraints imposed by the patterns. A distinguishing feature of our approach is the use of refinement expressions for capturing notions of pattern conformance, which can be mechanically checked by CSP tools like FDR. Moreover, three examples are introduced to demonstrate the effectiveness of our strategy, including a performance comparison between FDR default deadlock assertion and the verification of local behavioural constraints induced by our approach, also using FDR.

[1]  Glynn Winskel,et al.  Seminar on Concurrency , 1984, Lecture Notes in Computer Science.

[2]  Andrew William Roscoe,et al.  The Theory and Practice of Concurrency , 1997 .

[3]  Augusto Sampaio,et al.  Systematic Development of Trustworthy Component Systems , 2009, FM.

[4]  Joseph Sifakis,et al.  D-Finder 2: Towards Efficient Correctness of Incremental Design , 2011, NASA Formal Methods.

[5]  Michael Goldsmith,et al.  Hierarchical Compression for Model-Checking CSP or How to Check 1020 Dining Philosophers for Deadlock , 1995, TACAS.

[6]  Stefan Gruner,et al.  Deadlock-freeness of hexagonal systolic arrays , 2010, Inf. Process. Lett..

[7]  A. W. Roscoe,et al.  The Pursuit of Deadlock freedom , 1987, Inf. Comput..

[8]  Yoshinao Isobe,et al.  Extending CSP-Prover by deadlock-analysis : Towards the verification of systolic arrays , 2005 .

[9]  Augusto Sampaio,et al.  Leadership Election: An Industrial SoS Application of Compositional Deadlock Verification , 2014, NASA Formal Methods.

[10]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[11]  A. W. Roscoe,et al.  Deadlock analysis in networks of communicating processes , 1989, Distributed Computing.

[12]  Martín Abadi,et al.  Composing Specifications , 1989, REX Workshop.

[13]  Kim G. Larsen,et al.  Memory Efficient Data Structures for Explicit Verification of Timed Systems , 2014, NASA Formal Methods.

[14]  A. W. Roscoe,et al.  An Improved Failures Model for Communicating Processes , 1984, Seminar on Concurrency.

[15]  Rajeev Alur,et al.  A Temporal Logic of Nested Calls and Returns , 2004, TACAS.

[16]  A. W. Roscoe Understanding Concurrent Systems , 2010, Texts in Computer Science.

[17]  Ana Cavalcanti,et al.  FM 2009: Formal Methods, Second World Congress, Eindhoven, The Netherlands, November 2-6, 2009. Proceedings , 2009, FM.

[18]  Jeremy M. R. Martin,et al.  A Design Strategy for Deadlock-Free Concurrent Systems , 1997 .