[Paper Review] Integrating Loop Acceleration into Bounded Model Checking
This paper presents Accelerated Bounded Model Checking (ABMC), a technique that integrates on-the-fly acceleration into SMT-based bounded model checking to efficiently detect deep counterexamples with small bounds. By dynamically adding shortcut formulas for loop iterations and using blocking clauses to prevent redundant exploration, ABMC significantly improves BMC’s scalability for unsafety proofs while enabling safety proofs where standard BMC diverges.
Bounded Model Checking (BMC) is a powerful technique for proving unsafety. However, finding deep counterexamples that require a large bound is challenging for BMC. On the other hand, acceleration techniques compute "shortcuts" that "compress" many execution steps into a single one. In this paper, we tightly integrate acceleration techniques into SMT-based bounded model checking. By adding suitable "shortcuts" on the fly, our approach can quickly detect deep counterexamples. Moreover, using so-called blocking clauses, our approach can prove safety of examples where BMC diverges. An empirical comparison with other state-of-the-art techniques shows that our approach is highly competitive for proving unsafety, and orthogonal to existing techniques for proving safety.
Motivation & Objective
- Address the exponential growth of search space in bounded model checking (BMC) when verifying deep counterexamples.
- Overcome the limitation of standard BMC in handling programs with long-running loops that require large unrolling bounds.
- Integrate acceleration techniques into BMC to simulate multiple loop iterations as single steps, reducing the number of required BMC iterations.
- Enable proof of safety in cases where standard BMC diverges by using blocking clauses to prevent redundant exploration of accelerated paths.
- Develop a competitive, orthogonal approach to existing techniques for both unsafety and safety verification in constrained Horn clauses (CHCs).
Proposed method
- Dynamically generate and integrate acceleration formulas (e.g., τ⁺_i and τ⁺_o) that represent the transitive closure of loop transitions, compressing many steps into one.
- Use SMT solvers to check satisfiability of these acceleration formulas on-the-fly during BMC exploration.
- Apply blocking clauses to prevent the use of original transition sequences once their accelerated counterparts are used, ensuring no redundant exploration.
- Integrate the accelerated transitions into the BMC decision procedure, maintaining breadth-first search semantics for completeness.
- Leverage quantifier-free first-order formulas over non-linear integer arithmetic to represent transition systems, CHCs, and control-flow automata.
- Combine acceleration with standard BMC by preferring accelerated transitions over their base sequences, improving efficiency and scalability.
Experimental results
Research questions
- RQ1Can acceleration techniques be effectively integrated into SMT-based bounded model checking to detect deep counterexamples with small bounds?
- RQ2How can blocking clauses be used to prevent infinite unrolling in BMC while maintaining completeness for safety proofs?
- RQ3To what extent does the proposed ABMC approach outperform standard BMC and other state-of-the-art techniques in unsafety and safety verification?
- RQ4Does the integration of acceleration improve performance on both shallow and deep counterexamples compared to existing acceleration-driven approaches?
- RQ5Can the proposed method prove safety in cases where standard BMC fails due to unbounded loop unrolling?
Key findings
- ABMC solved 73 out of 104 unsafe examples within 300 seconds, outperforming LoAT BMC (60) and Z3 BMC (58), demonstrating strong competitiveness for unsafety.
- ABMC with blocking clauses (ABMC_block) proved 12 unique safety instances, showing that blocking clauses enable safety proofs where standard BMC fails.
- The longest counterexample found by ABMC_block was 200 steps, compared to 16,000 steps for standard BMC, highlighting the impact of acceleration.
- ABMC solved one instance that ADCL could solve but ABMC could not, indicating that further optimization of substitution application is needed.
- Blocking clauses had minimal impact on unsafety performance but were crucial for enabling unique safety proofs, showing orthogonal benefits.
- ABMC is highly competitive in runtime for unsafety proofs, with performance comparable to or better than state-of-the-art tools like Golem TPA and Spacer.
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.