Efficient Approximate Verification of B via Symmetry Markers

We present a new approximate verification technique for B models. The technique employs symmetry of B models induced by the use of deferred sets. The basic idea is to efficiently compute markers for states, which are such that symmetric states are guaranteed to have the same marker (but not the other way around). The approximate verification algorithm then assumes that two states with the same marker can be considered symmetric. We describe how symmetry markers can be efficiently computed and empirically evaluate an implementation, showing both very good performance results and a high degree of precision (i.e., very few non-symmetric states receive the same marker). We also identify a class of B models for which the technique is precise.

[1]  Muffy Calder,et al.  Finding Symmetry in Models of Concurrent Systems by Static Channel Diagram Analysis , 2005, Electron. Notes Theor. Comput. Sci..

[2]  A. Prasad Sistla,et al.  Symmetry and model checking , 1993, Formal Methods Syst. Des..

[3]  Donald L. Kreher,et al.  Combinatorial algorithms: generation, enumeration, and search , 1998, SIGA.

[4]  Michael J. Butler,et al.  Symmetry Reduction for B by Permutation Flooding , 2007, B.

[5]  Muffy Calder,et al.  Spin-to-Grape: A Tool for Analysing Symmetry in Promela Models , 2005, Electron. Notes Theor. Comput. Sci..

[6]  Gary L. Peterson,et al.  Myths About the Mutual Exclusion Problem , 1981, Inf. Process. Lett..

[7]  Steve Schneider The B-method - an introduction , 2001, The cornerstones of computing series.

[8]  Alan J. Hu,et al.  Protocol verification as a hardware design aid , 1992, Proceedings 1992 IEEE International Conference on Computer Design: VLSI in Computers & Processors.

[9]  Muffy Calder,et al.  Symmetry in temporal logic model checking , 2006, CSUR.

[10]  Editors , 2003 .

[11]  Alastair F. Donaldson,et al.  Automatic Symmetry Detection for Model Checking Using Computational Group Theory , 2005, FM.

[12]  Michael J. Butler,et al.  Symmetry Reduced Model Checking for B , 2007, First Joint IEEE/IFIP Symposium on Theoretical Aspects of Software Engineering (TASE '07).

[13]  A. Prasad Sistla,et al.  SMC: a symmetry-based model checker for verification of safety and liveness properties , 2000, TSEM.

[14]  Dragan Bosnacki,et al.  Symmetric Spin , 2002, International Journal on Software Tools for Technology Transfer.

[15]  Donald L. Kreher,et al.  Graphs, algorithms and optimization , 2004 .

[16]  Michael J. Butler,et al.  Automatic Refinement Checking for B , 2005, ICFEM.

[17]  Somesh Jha,et al.  Exploiting symmetry in temporal logic model checking , 1993, Formal Methods Syst. Des..

[18]  Frank Waters,et al.  The B Book , 1971 .

[19]  A. Prasad Sistla,et al.  Utilizing symmetry when model-checking under fairness assumptions: an automata-theoretic approach , 1997, TOPL.

[20]  Somesh Jha,et al.  Isomorph-free model enumeration: a new method for checking relational specifications , 1998, TOPL.

[21]  David L. Dill,et al.  Better verification through symmetry , 1996, Formal Methods Syst. Des..

[22]  Somesh Jha,et al.  Symmetry and Induction in Model Checking , 1995, Computer Science Today.

[23]  Stephan Merz,et al.  Model Checking , 2000 .

[24]  Robert K. Brayton,et al.  Structural Symmetry and Model Checking , 1998, CAV.

[25]  Gerard J. Holzmann,et al.  An improved protocol reachability analysis technique , 1988, Softw. Pract. Exp..

[26]  C. Radke International Conference on Computer Design , 2022 .

[27]  Michael J. Butler,et al.  ProB: A Model Checker for B , 2003, FME.