[Paper Review] Computing Inductive Invariants of Regular Abstraction Frameworks
This paper generalizes the inductive invariant approach for verifying regular transition systems (RTS) to arbitrary regular abstraction frameworks, proving the safety verification problem remains EXPSPACE-complete. It introduces a lazy automata learning algorithm that stops early when safety is proven, significantly reducing automaton sizes compared to prior work, with experimental results showing up to 90% smaller automata in key benchmarks while maintaining correctness.
Regular transition systems (RTS) are a popular formalism for modeling infinite-state systems in general, and parameterised systems in particular. In a CONCUR 22 paper, Esparza et al. introduce a novel approach to the verification of RTS, based on inductive invariants. The approach computes the intersection of all inductive invariants of a given RTS that can be expressed as CNF formulas with a bounded number of clauses, and uses it to construct an automaton recognising an overapproximation of the reachable configurations. The paper shows that the problem of deciding if the language of this automaton intersects a given regular set of unsafe configurations is in EXPSPACE and PSPACE-hard. We introduce regular abstraction frameworks, a generalisation of the approach of Esparza et al., very similar to the regular abstractions of Hong and Lin. A framework consists of a regular language of constraints, and a transducer, called the interpretation, that assigns to each constraint the set of configurations of the RTS satisfying it. Examples of regular abstraction frameworks include the formulas of Esparza et al., octagons, bounded difference matrices, and views. We show that the generalisation of the decision problem above to regular abstraction frameworks remains in EXPSPACE, and prove a matching (non-trivial) EXPSPACE-hardness bound. EXPSPACE-hardness implies that, in the worst case, the automaton recognising the overapproximation of the reachable configurations has a double-exponential number of states. We introduce a learning algorithm that computes this automaton in a lazy manner, stopping whenever the current hypothesis is already strong enough to prove safety. We report on an implementation and show that our experimental results improve on those of Esparza et al.
Motivation & Objective
- To generalize the inductive invariant approach of Esparza et al. to arbitrary regular abstraction frameworks, extending beyond bounded CNF formulas.
- To prove that the safety verification problem remains in EXPSPACE for all such frameworks, resolving an open problem from prior work.
- To establish a matching EXPSPACE-hardness bound, showing the complexity is tight in the worst case.
- To design and implement a lazy learning algorithm that constructs inductive invariants incrementally, stopping as soon as safety is provable.
- To empirically demonstrate that the new approach produces significantly smaller automata than the direct method, improving scalability.
Proposed method
- Introduces regular abstraction frameworks consisting of a regular language of constraints and a transducer-based interpretation mapping each constraint to a set of configurations.
- Reduces the safety verification problem to checking language intersection between the overapproximation of reachable states and a set of unsafe configurations.
- Proves EXPSPACE completeness via a complex reduction from the acceptance problem of exponentially bounded Turing machines, establishing tight complexity bounds.
- Proposes a lazy learning algorithm that incrementally builds automata for inductive invariants, using SAT solving to check separability of configurations.
- Employs a separability check to determine whether a constraint can distinguish a safe from an unsafe configuration, with NP-completeness proven for length-preserving interpretations.
- Implements the approach using LearnLib and automatalib, integrating SAT solvers (sat4j) for efficient separability queries.
Experimental results
Research questions
- RQ1Is the safety verification problem for regular abstraction frameworks still in EXPSPACE when generalizing beyond bounded CNF formulas?
- RQ2Can the EXPSPACE-hardness result be established for general regular abstraction frameworks, and is it tight?
- RQ3Can a lazy learning-based algorithm be designed that stops early when safety is provable, avoiding full construction of the overapproximation?
- RQ4How does the size of the resulting automaton compare to the direct construction method in practice?
- RQ5Can the learning-based approach significantly reduce automaton size while maintaining correctness and completeness?
Key findings
- The safety verification problem for regular abstraction frameworks is EXPSPACE-complete, with a matching lower bound established via a non-trivial reduction from exponentially bounded Turing machines.
- The worst-case size of the automaton recognizing the overapproximation of reachable configurations is double-exponential, confirming the necessity of efficient construction techniques.
- The proposed lazy learning algorithm produces automata that are significantly smaller than those from the direct method, with reductions of up to 90% in some benchmarks.
- In 54 out of 59 case studies, the implementation runs in under three seconds, demonstrating practical efficiency for many common parameterized systems.
- The algorithm successfully proves safety in cases where the original method failed, by refining the abstraction through union of multiple constraint types.
- The SAT-based separability check is NP-complete for length-preserving interpretations, enabling efficient integration into the learning pipeline.
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.