Incremental, Inductive Coverability

Johannes Kloos, Rupak Majumdar, Filip Niksic, Ruzica Piskac

Abstract

This paper presents a generalization of the IC3 algorithm—originally developed for finite-state hardware verification—to the domain of infinite-state Well-Structured Transition Systems (WSTS). The authors introduce a framework for safety verification based on relative inductivity and prove that this approach constitutes a decision procedure for "downward-finite" WSTS, such as Petri nets and lossy channel systems. Experimental results demonstrate that the resulting tool, IIC, is highly competitive with state-of-the-art symbolic backward analysis tools, often providing significant improvements in memory efficiency and execution time when proving safety properties.

Introduction

In formal verification, safety analysis determines whether a system can reach a "bad" state from its initial configuration. For finite-state systems, such as hardware circuits, the IC3 algorithm (also known as Property Directed Reachability) has become the gold standard. IC3 is prized for its ability to efficiently find inductive invariants without the need for explicit state-space traversal.

However, many critical systems—including network protocols, multithreaded software, and chemical reaction networks—are inherently infinite-state. These are often modeled as Well-Structured Transition Systems (WSTS). The standard verification task for WSTS is "coverability": determining if a system can reach a state that is "at least as bad" as a known error state. While symbolic backward reachability is a known decision procedure for coverability, it frequently suffers from state-space explosion. This research explores whether the efficiency of IC3 can be successfully ported to the infinite-state world of WSTS.

The IIC Framework

The authors propose a generalized IC3-style algorithm tailored for the ordering and structure of WSTS. The approach is built on several core technical pillars:

1. Relative Inductivity

Rather than attempting to prove a property is globally inductive in one step, the algorithm maintains a sequence of over-approximations $(R_0, R_1, \dots, R_N)$ of states reachable within $i$ steps. The algorithm iteratively refines these sets by proving that a given set of states is inductive relative to the previous step’s approximation. This incremental refinement allows the tool to build a proof of safety (an inductive invariant) piece by piece.

2. Rule-Based Architecture

The algorithm is defined as a set of non-deterministic transition rules, such as Conflict, Induction, and Unfold. This formalization provides a flexible framework that allows for different implementation strategies—such as varying the order in which rules are applied—while guaranteeing the correctness of the underlying logic.

3. Termination and Downward-Finiteness

A significant contribution of the paper is identifying the boundary of decidability for this approach. The authors prove that the algorithm terminates for "downward-finite" WSTS. In these systems, any given state has only a finite number of "smaller" states below it in the partial ordering. They also provide a counter-example demonstrating that without this property, an IC3-style algorithm could loop indefinitely, highlighting the theoretical necessity of downward-finiteness for termination.

4. SMT-Free Petri Net Analysis

While hardware-based IC3 relies heavily on SMT solvers to find counterexamples and generalize clauses, the authors show that for Petri nets, these operations can be performed analytically. By using combinatorial properties of Petri nets, the IIC tool avoids the significant computational overhead of external solvers, leading to faster execution on standard benchmarks.

Experimental Evaluation

The authors evaluated their tool, IIC, against several benchmark suites, primarily focusing on Petri net models of protocols and multithreaded programs.

  • MedXXX Benchmarks: On these complex protocol models, IIC significantly outperformed the state-of-the-art EEC algorithm, which timed out on all instances. IIC was frequently faster and more memory-efficient than traditional backward reachability.
  • Safety Proofs: IIC excels at proving "uncoverability" (safety). For the Bingham (h=250) benchmark, IIC completed the proof in just 0.2 seconds, whereas standard backward search failed to terminate within the time limit.
  • Memory Footprint: The tool demonstrated superior memory management, often using a fraction of the RAM required by competing methods. For example, on several Med benchmarks, IIC required only 173 MB compared to the ~600 MB consumed by backward search.

Limitations and Future Directions

Despite its strengths, IIC faced challenges with benchmarks derived from multithreaded programs, where it was outperformed by the tool MCOV. This discrepancy is largely due to encoding: MCOV utilizes specialized knowledge of thread systems, whereas IIC treats them as general Petri nets. This causes IIC to lose structural information, such as the invariant that exactly one token exists in a set of "global state" places.

Future work aims to bridge this gap by incorporating structural invariants (like P-invariants) directly into the IIC framework. Additionally, while the current search for counterexamples is purely backward-focused, the authors suggest that a hybrid forward-backward search could further improve performance on software-derived models.

Conclusion

By generalizing IC3 to WSTS, this work provides a powerful new tool for the verification of infinite-state systems. The IIC algorithm demonstrates that the principles of incremental, inductive reasoning are not limited to finite hardware, offering a scalable and theoretically sound alternative to traditional reachability analysis.

Summary updated

BibTeX
@inproceedings{kloos2013incremental,
  author = {Johannes Kloos and Rupak Majumdar and Filip Niksic and Ruzica Piskac},
  title = {{Incremental, Inductive Coverability}},
  booktitle = {CAV},
  year = {2013},
  doi = {10.1007/978-3-642-39799-8\_10},
}
Figure