Computing Inductive Invariants of Regular Abstraction Frameworks
Philipp Czerner, Javier Esparza, Valentin Krasotin, Christoph Welzel-Mohr
TL;DR
This work generalises the inductive-invariant verification approach for regular transition systems from Esparza et al. to arbitrary regular abstraction frameworks, defining AbstractSafety and proving its $EXPSPACE$-completeness via a complex reduction from exponentially bounded Turing machines. It shows that inductive constraints form a regular language and that potential reachability can be recognised by transducers, enabling an over-approximation of reachable configurations that preserves safety guarantees. The authors present a learning-based algorithm that lazily constructs a small yet sufficient set of inductive constraints by solving the separability problem (with SAT heuristics for the length-preserving case) and compare it experimentally against prior methods, achieving smaller automata and improved results on benchmarks. The results illuminate the trade-offs between expressiveness of the abstraction framework and computational hardness, and demonstrate a practical path to scalable verification of infinite-state systems through regular abstractions and automata learning.
Abstract
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 $\textsf{EXPSPACE}$ and $\textsf{PSPACE}$-hard. We introduce $\textit{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 $\textit{constraints}$, and a transducer, called the $\textit{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 $\textsf{EXPSPACE}$, and prove a matching (non-trivial) $\textsf{EXPSPACE}$-hardness bound. $\textsf{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.
