We present a symbolic reachability analysis approach for B that can provide a significant speedup over traditional explicit state model checking. The symbolic analysis is implemented by linking ProB to LTSmin, a high-performance language independent model checker. The link is achieved via LTSmin's PINS interface, allowing ProB to benefit from LTSmin's analysis algorithms, while only writing a few hundred lines of glue-code, along with a bridge between ProB and C using ZeroMQ. ProB supports model checking of several formal specification languages such as B, Event-B, Z and TLA. Our experiments are based on a wide variety of B-Method and Event-B models to demonstrate the efficiency of the new link. Among the tested categories are state space generation and deadlock detection; but action detection and invariant checking are also feasible in principle. In many cases we observe speedups of several orders of magnitude. We also compare the results with other approaches for improving model checking, such as partial order reduction or symmetry reduction. We thus provide a new scalable, symbolic analysis algorithm for the B-Method and Event-B, along with a platform to integrate other model checking improvements via LTSmin in the future.
翻译:我们为B提供了一种象征性的可达性分析方法,可以大大加快传统的明确国家模型检查。象征性分析是通过将ProB与高性能语言独立模型检查器LTSmin(LTSmin)连接到高性能语言独立模型检查器LTSmin,通过LTSmin的 PINS接口实现联系,使ProB能够受益于LTSmin的分析算法,同时只编写几百行胶质编码,同时使用ZeroMQ在ProB和C之间架桥。ProB支持对诸如B、事件B、Z和TLA等几种正式规格语言进行示范性检查。我们的实验以各种B-Method和事件B模型为基础,以展示新链接的效率。在测试的类别中,有国家空间生成和僵局探测;但行动探测和变化性检查原则上也是可行的。在许多情况下,我们观测到几级速度。我们还将结果与其他改进模型检查的方法进行比较,例如部分顺序减少或对称减少。我们因此为B-Method和事件B提供了一种新的可缩略分析算法,同时将其他模型并入Lthmod-B。