Skip to main content
QUICK REVIEW

[Paper Review] Abstraction and Acceleration in SMT-based Model-Checking for Array Programs

Francesco Alberti, Silvio Ghilardi|arXiv (Cornell University)|Apr 16, 2013
Formal Methods in VerificationComputer Science38 references9 citations
TL;DR

This paper proposes a novel integration of acceleration and monotonic abstraction for SMT-based model checking of array programs, enabling divergence-free reachability analysis by computing first-order definable accelerations of array-update transitions and handling resulting nested quantifiers via instantiation techniques. The approach significantly improves verification convergence on complex array programs, especially those with nested loops, outperforming standalone abstraction or acceleration.

ABSTRACT

Abstraction (in its various forms) is a powerful established technique in model-checking; still, when unbounded data-structures are concerned, it cannot always cope with divergence phenomena in a satisfactory way. Acceleration is an approach which is widely used to avoid divergence, but it has been applied mostly to integer programs. This paper addresses the problem of accelerating transition relations for unbounded arrays with the ultimate goal of avoiding divergence during reachability analysis of abstract programs. For this, we first design a format to compute accelerations in this domain; then we show how to adapt the so-called 'monotonic abstraction' technique to efficiently handle complex formulas with nested quantifiers generated by the acceleration preprocessing. Notably, our technique can be easily plugged-in into abstraction/refinement loops, and strongly contributes to avoid divergence: experiments conducted with the MCMT model checker attest the effectiveness of our approach on programs with unbounded arrays, where acceleration and abstraction/refinement technologies fail if applied alone.

Motivation & Objective

  • To address divergence in reachability analysis of array programs, especially in the presence of unbounded arrays and nested loops.
  • To develop a method for computing first-order definable accelerations of array-update transitions, even with nested quantifiers.
  • To integrate acceleration with monotonic abstraction to handle complex formulæ arising from acceleration, improving convergence in abstraction/refinement loops.
  • To demonstrate the effectiveness of combining acceleration and abstraction in practical verification, particularly for programs where either technique alone fails.

Proposed method

  • Designs a formalism to compute accelerations of array-update transitions in the theory of Presburger arithmetic with free function symbols.
  • Applies the monotonic abstraction technique to manage universal quantifiers introduced by acceleration, enabling efficient instantiation in SMT solving.
  • Preprocesses transition systems to replace loops with accelerated relations, allowing one-step computation of reachable states after arbitrary iterations.
  • Integrates the acceleration module into the MCMT model checker, extending backward reachability with both acceleration and abstraction/refinement.
  • Employs a declarative instantiation strategy to handle nested quantifiers in accelerated formulas, reducing complexity for SMT solvers.
  • Combines the accelerated transition system with an abstraction/refinement loop to enhance convergence in safety verification.

Experimental results

Research questions

  • RQ1Can acceleration be effectively applied to array-update transitions in SMT-based model checking, despite the complexity introduced by unbounded arrays?
  • RQ2How can nested quantifiers arising from acceleration be handled efficiently in SMT solving without sacrificing precision?
  • RQ3To what extent does combining acceleration with monotonic abstraction improve convergence in abstraction/refinement loops for array programs?
  • RQ4Can the proposed method verify programs with nested loops and complex array properties (e.g., sortedness) where prior acceleration techniques fail?
  • RQ5Does the integration of acceleration and abstraction lead to measurable improvements in verification performance and scalability on real-world benchmarks?

Key findings

  • Acceleration alone prevents divergence in 23 out of 39 safe array programs where backward search diverges, demonstrating its effectiveness in stabilizing reachability analysis.
  • Abstraction alone fails to converge on 13 programs where acceleration succeeds, confirming their complementary nature.
  • The combined configuration (acceleration + abstraction/refinement) solves all 55 benchmarks within the 60-second time limit, achieving full convergence where neither technique alone succeeds.
  • The preprocessing overhead of acceleration is minimal and does not affect performance on unsafe programs, making it practical for real-world use.
  • The method successfully verifies complex array programs involving nested loops and quantified invariants (e.g., allDiff), which previous acceleration techniques could not handle.
  • Experiments confirm that the integration of acceleration and abstraction significantly enhances the scalability and robustness of SMT-based model checking for array programs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.