Skip to main content
QUICK REVIEW

[Paper Review] k-Step Relative Inductive Generalization

Aaron R. Bradley|arXiv (Cornell University)|Mar 18, 2010
Formal Methods in VerificationComputer Science18 references11 citations
TL;DR

This paper introduces k-step relative inductive generalization, a SAT-based symbolic model checking technique that generalizes violating states by inductively strengthening clauses relative to k-step over-approximations of reachable states. The method ensures all violating cubes can be generalized by recursively applying induction at the highest feasible k-level, significantly improving performance on hard benchmarks, with the implementation outperforming competition winners on HWMCC 2008.

ABSTRACT

We introduce a new form of SAT-based symbolic model checking. One common idea in SAT-based symbolic model checking is to generate new clauses from states that can lead to property violations. Our previous work suggests applying induction to generalize from such states. While effective on some benchmarks, the main problem with inductive generalization is that not all such states can be inductively generalized at a given time in the analysis, resulting in long searches for generalizable states on some benchmarks. This paper introduces the idea of inductively generalizing states relative to $k$-step over-approximations: a given state is inductively generalized relative to the latest $k$-step over-approximation relative to which the negation of the state is itself inductive. This idea motivates an algorithm that inductively generalizes a given state at the highest level $k$ so far examined, possibly by generating more than one mutually $k$-step relative inductive clause. We present experimental evidence that the algorithm is effective in practice.

Motivation & Objective

  • To address the limitation in prior inductive generalization methods where not all violating states could be generalized at once, leading to long, unproductive searches.
  • To develop a technique that guarantees inductive generalization of every violating state if the property is invariant, by leveraging k-step over-approximations of reachable states.
  • To improve the scalability and robustness of SAT-based symbolic model checking on complex benchmarks where previous methods stall.
  • To provide a method that combines incremental clause generation with forward propagation through over-approximations to enable convergence or counterexample detection.

Proposed method

  • Maintains a sequence of k-step over-approximations F₀, F₁, ..., Fₖ representing states reachable in at most 0 to k steps.
  • For a violating cube s, identifies the highest k such that ¬s is inductive relative to Fᵢ where i ≤ k, enabling k-step relative inductive generalization.
  • Recursively generalizes predecessors of s until a generalizable clause is found at the highest possible k-level.
  • Strengthens Fₖ when no Fₖ-state can transition to a violating state, then increments k and propagates clauses forward via implication checks.
  • Uses 1-step BMC queries to compute over-approximations, avoiding the need for large k-step BMC queries used in other methods.
  • Applies inductive generalization to find minimal inductive subclauses of ¬s that exclude s while preserving invariance.

Experimental results

Research questions

  • RQ1Can inductive generalization be systematically applied to all violating states even when they are not immediately generalizable at the current k-level?
  • RQ2How can k-step over-approximations be used to enable generalization at higher levels of abstraction?
  • RQ3Does relative inductive generalization based on the latest over-approximation improve convergence and reduce search time in symbolic model checking?
  • RQ4Can this method outperform existing SAT-based model checkers on hard verification benchmarks?

Key findings

  • The k-step relative inductive generalization algorithm successfully generalizes all violating cubes when the property is invariant, eliminating the need for fruitless searches.
  • The implementation outperformed both the winner of the unsat division and the overall winner of the HWMCC 2008 competition on the provided benchmarks.
  • With 3.0 processor scaling, the method solved 545 out of 545 benchmarks, achieving 317 proofs and 228 counterexamples.
  • The method scales well due to efficient clause generation and propagation, with most time spent incrementally generating clauses.
  • The approach is complementary to BMC and could be combined with it to constrain SAT search space.
  • The algorithm is naturally parallelizable, building on the parallelizability of prior inductive generalization work.

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.