Model checking of state-rich formalism Circus by linking to CSP ∥ B

被引:0
作者
Ye, Kangfeng [1 ]
Woodcock, Jim [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
基金
英国工程与自然科学研究理事会;
关键词
Circus; CSP parallel to B; CSP; Z; B; ProB; Model checking; Buffer; TUTORIAL INTRODUCTION; UNIFYING THEORIES; SEMANTICS;
D O I
10.1007/s10009-015-0402-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Since state-rich formalism Circus is a combination of Z, CSP, refinement calculus and Dijkstra's guarded commands, its model checking is intrinsically more complicated and difficult than that of individual state-based languages or process algebras. Current solutions translate executable constructs of Circus programs to Java with JCSP, or translate them to CSP processes. Data aspects of Circus programs are expressed in the Java programming language or as CSP processes. Both of them have disadvantages. This work presents a new approach to model-checking Circus by linking it to CSP parallel to B; then we utilise ProB to model-check and animate the CSP parallel to B program. The most significant advantage of this approach is the direct mapping of the state part in Circus to Z and finally to B, which maintains the high-level abstraction of data specification. In addition, introduction of deadlock, invariant violation checking, LTL formula checking and animation is another key advantage. We present our approach, a link definition for a subset of Circus constructs, as well as a popular case study ( reactive buffer) to show the practical usability of our work. We conclude with a discussion of related work, advantages and potential limitations of our approach and future work.
引用
收藏
页码:73 / 96
页数:24
相关论文
共 49 条
[1]  
[Anonymous], B LANG REF MAN VERS
[2]  
[Anonymous], 1976, A discipline of programming
[3]  
[Anonymous], 1980, CALCULUS COMMUNICATI, DOI DOI 10.1007/3-540-10235-3
[4]  
[Anonymous], 1992, Prentice Hall International Series in Computer Science
[5]  
[Anonymous], UNIFYING THEORIES PR
[6]  
[Anonymous], 2005, B BOOK ASSIGNING PRO
[7]  
[Anonymous], 2010, Modeling in Event-B: system and software engineering
[8]  
[Anonymous], 1994, PRENTICE HALL INT SE
[9]  
[Anonymous], THESIS
[10]  
Beg A., 2010, P 8 INT C FRONT INF