[Paper Review] Symbolic Reachability Analysis of B through ProB and LTSmin
This paper presents a symbolic reachability analysis framework for B and Event-B specifications by integrating ProB with LTSmin via the P ins interface and ØMQ-based C bridge. The approach achieves speedups of several orders of magnitude over explicit-state model checking, particularly for large industrial models like CAN_BUS and the ABZ landing gear, enabling scalable verification with symbolic state representation and high-performance algorithms.
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.
Motivation & Objective
- To address scalability limitations in explicit-state model checking of B and Event-B specifications, especially in large industrial systems.
- To enable symbolic reachability analysis for B-Method and Event-B using high-performance algorithms from LTSmin.
- To create a stable, extensible integration platform between ProB and LTSmin that supports future enhancements like invariant checking and partial order reduction.
- To evaluate the performance of symbolic analysis against explicit-state model checking and existing optimization techniques such as symmetry and partial order reduction.
- To provide a scalable, language-agnostic verification platform that leverages LTSmin’s symbolic back-end while preserving ProB’s high-level specification support.
Proposed method
- The integration uses LTSmin’s P ins interface to expose ProB’s state representation and successor functions to LTSmin’s symbolic model checking back-end.
- A lightweight C bridge, implemented using ØMQ, enables communication between ProB and LTSmin, translating ProB’s internal state and operation representations into LTSmin-compatible format.
- Symbolic reachability is performed using LTSmin’s symbolic back-end, which employs variable reordering, transition grouping, and BDD-based state space exploration.
- The approach supports symbolic analysis of B and Event-B models, including state space generation, deadlock detection, and invariant checking via encoded operations.
- ProB’s constraint solver is used to compute initial states and transition guards, which are then passed to LTSmin for symbolic exploration.
- Future extensions will include transmitting fine-grained operation-level information (e.g., guards, read/write sets) to enable advanced optimizations like guard-based partial order reduction.
Experimental results
Research questions
- RQ1Can symbolic reachability analysis via LTSmin significantly outperform explicit-state model checking in ProB for B and Event-B specifications?
- RQ2How does the integration of ProB with LTSmin’s symbolic back-end scale across diverse B and Event-B models, including industrial case studies?
- RQ3What performance gains are achievable compared to existing optimization techniques such as symmetry reduction and partial order reduction in ProB?
- RQ4To what extent can the ProB-LTSmin integration be extended to support advanced verification tasks like LTL model checking and invariant analysis?
- RQ5Can the integration serve as a reusable platform for incorporating future model checking improvements from LTSmin into ProB?
Key findings
- The ProB-LTSmin integration achieves speedups of several orders of magnitude on large industrial models, such as CAN_BUS and the ABZ landing gear, compared to explicit-state checking.
- For the CAN_BUS model, symbolic reachability via LTSmin achieved nearly two orders of magnitude speedup over ProB’s explicit-state model checker.
- In the nota model, symbolic reachability with LTSmin completed invariant checking in 0.5 seconds, compared to 134 seconds with ProB’s partial order reduction.
- The symbolic approach outperformed Tlc (explicit state) and symmetry reduction in most benchmarks, especially for models with complex constraints or high state space explosion.
- Partial order reduction in ProB showed performance degradation in some cases, particularly during invariant checking, while the symbolic approach remained efficient.
- The integration successfully supports invariant checking by encoding invariants as operations, demonstrating feasibility for safety property verification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.