On Algorithms verifying Initial-and-Final-State Opacity: Complexity, Special Cases, and Comparison
Tomáš Masopust, Petr Osička
TL;DR
This work examines verification of initial-and-final-state opacity (IFO) for finite automata, introducing two foundational approaches: a trellis-based semigroup method and a reduction to language inclusion. It establishes that both methods have super-exponential worst-case runtimes in the number of states $n$, and it shows that the trellis approach is a special case of the inclusion-based framework. The authors identify several meaningful special cases where complexity collapses to exponential or polynomial, and they develop enhanced language-inclusion techniques that, combined with modern tools, outperform the classic trellis method on large instances. Comprehensive benchmarks demonstrate that advanced inclusion-based verification can handle industrial-scale models, offering practical, scalable alternatives to the traditional approaches. Together, these results deepen the understanding of IFO verification complexity and provide concrete, highly scalable techniques for security analysis in discrete-event systems.
Abstract
Opacity is a general framework modeling security properties of systems interacting with a passive attacker. Initial-and-final-state opacity (IFO) generalizes the classical notions of opacity, such as current-state opacity and initial-state opacity. In IFO, the secret is whether the system evolved from a given initial state to a given final state or not. There are two algorithms for IFO verification. One arises from a trellis-based state estimator, which builds a semigroup of binary relations generated by the events of the automaton, and the other is based on the reduction to language inclusion. The time complexity of both algorithms is bounded by a super-exponential function, and it is a challenging open problem to find a faster algorithm or to show that no faster algorithm exists. We discuss the lower-bound time complexity for both general and special cases, and use extensive benchmarks to compare the existing algorithms.
