Abstract
Model checking infinite-state systems is a fundamental challenge in formal methods. This paper introduces a novel algorithm that automatically learns abstractions for non-deterministic systems by combining decision tree learning with SMT-based verification within a Counterexample-Guided Inductive Synthesis (CEGIS) loop. By adapting proof rules for well-founded bisimulations and assuming bounded branching, the framework enables efficient verification of branching-time properties ($CTL^*$) that were previously computationally prohibitive. The resulting abstractions are succinct, human-readable, and demonstrate superior performance over existing state-of-the-art verifiers.
Introduction: The Challenge of Infinite State Spaces
Model checking—the mathematical proof that a system satisfies a specific property—is notoriously difficult when dealing with infinite or extremely large state spaces, such as those found in software programs or complex robotic controllers. To manage this complexity, researchers use abstraction: reducing a "concrete" system to a simpler "abstract" model that preserves essential behaviors.
Bisimulation is considered the gold standard for such abstractions. It ensures that the abstract model behaves identically to the concrete one, even regarding non-deterministic "branching" choices. While traditional partition refinement algorithms work for finite systems, they often struggle with infinite state spaces or complex arithmetic.
Methodology: Branching Bisimulation Learning
The authors propose a Branching Bisimulation Learning framework based on a Counterexample-Guided Inductive Synthesis (CEGIS) loop. This loop iteratively refines an abstraction until it is proven correct.
The Learner and the Verifier
- The Learner: This component uses an SMT solver to find parameters for a Binary Decision Tree (BDT). The BDT acts as a classifier, grouping concrete states into abstract classes based on affine predicates (e.g., $2x - y \leq 0$). Simultaneously, it learns a ranking function to prove that "stuttering"—internal steps that do not change the observable state—eventually terminates.
- The Verifier: The verifier checks the candidate abstraction against the entire state space. If a violation of bisimulation conditions is found, it generates a counterexample (a pair of states) for the Learner to refine the BDT.
Handling Stuttering and Branching
A key innovation is the adaptation of proof rules for "well-founded bisimulations." By assuming bounded branching—where each state has a maximum of $k$ successors—the authors transform complex logical formulas with nested quantifiers into simpler, quantifier-free versions that SMT solvers can handle efficiently.
This approach is "stutter-insensitive," meaning it ignores the specific number of internal steps taken to reach a state, focusing instead on the eventual outcome. This allows for significantly smaller abstract models.
Key Insights
- Bounded Branching: This "mild" restriction is the key to unlocking SMT-based learning for branching-time logic. Most real-world systems, including concurrent processes and guarded commands, naturally fit this model.
- Interpretability: Unlike "black-box" models, the BDTs provide human-readable conditions that characterize system behavior, making the verification process more transparent.
Results and Performance
The framework was evaluated against a diverse set of benchmarks, including clock synchronization protocols, robotic grid worlds, and concurrent software.
- Branching-Time Superiority: For $CTL$ and $CTL^*$ properties, the method outperformed T2, the previous state-of-the-art tool for infinite-state systems.
- Competitive in Linear-Time: In LTL and termination analysis, the tool performed comparably to highly-optimized verifiers like Ultimate Automizer.
- Succinctness: The algorithm consistently produced very small abstract models, often reducing infinite state spaces to just a few representative states.
Conclusion
Branching Bisimulation Learning represents a significant step forward in automated verification. By bridging the gap between inductive learning and formal proof rules, it provides a scalable way to verify complex branching-time properties in infinite-state systems. Future work includes expanding the template library beyond affine predicates to handle non-linear system dynamics.
Summary updated