Abstract
Hyperproperties are system properties that relate multiple execution traces, and naturally occur, e.g., in information-flow control, knowledge, robustness, mutation testing, path planning, and causality checking. HyperLTL is a temporal logic that can express complex temporal hyperproperties by extending LTL with quantification over execution traces. Thus far, complete model-checking tools for HyperLTL have been limited to alternation-free formulas, i.e., formulas that use only universal or only existential trace quantification. In this paper, we present AutoHyper, an explicit-state automata-based model checker for HyperLTL that is complete for formulas with an arbitrary quantifier prefix. On the theoretical side, we show how language inclusion checks between $\omega$-automata can be integrated into HyperLTL verification. On the practical side, this allows to leverage a range of existing inclusion-checking tools for hyperproperty verification. We further extend our model-checking algorithm to support HyperLTL modulo theories, i.e., formulas where the atomic formulas consist of first-order formulas instead of Boolean atomic propositions. We show how we can model-check such formulas effectively by tracking partially evaluated first-order formulas within an automaton. We evaluate on a broad set of benchmarks drawn from different areas in the literature and compare it with existing (incomplete) methods for HyperLTL verification.
Introduction
Standard formal verification typically focuses on properties of individual execution traces, such as "the system never crashes." However, many critical properties—particularly in security and privacy—depend on the relationship between multiple executions. These are known as hyperproperties. For example, non-interference requires that two executions with different secret inputs must produce identical public outputs.
HyperLTL is the standard logic for expressing these properties, extending Linear Temporal Logic (LTL) with trace quantification (e.g., $\forall \pi_1, \exists \pi_2 \dots$). Despite its power, verifying HyperLTL formulas is notoriously difficult. Most existing tools are either restricted to "alternation-free" formulas (only one type of quantifier) or rely on Bounded Model Checking (BMC), which can find bugs but cannot prove a property is true (completeness).
The AutoHyper Approach
AutoHyper introduces a "push-button" explicit-state model checker that is complete for HyperLTL formulas with arbitrary quantifier alternations. The core methodology relies on an automata-theoretic approach:
- Iterative Quantifier Elimination: The tool converts the LTL body of a formula into an automaton. It then "peels off" quantifiers one by one through product constructions with the system model and automata complementation.
- Language Inclusion Optimization: A key contribution of this work is the realization that the final quantifier alternation can be reduced to a language inclusion check ($L(A) \subseteq L(B)$). This allows AutoHyper to leverage highly optimized external tools like
spot,RABIT, andFORKLIFT, significantly improving performance over naive complementation. - HyperLTL Modulo Theories: To handle real-world systems with integers and complex data, AutoHyper supports first-order theories. It employs lazy unfolding, tracking partially evaluated formulas within the automaton to avoid the state-space explosion associated with checking every possible data value upfront.
Comparison and Key Insights
AutoHyper's explicit-state approach challenges the dominance of symbolic methods in LTL verification. While symbolic methods (using BDDs or SAT) are often faster for standard LTL, they struggle with hyperproperties because they rely on less mature QBF solvers.
As shown in the table above, AutoHyper (Explicit-State MC) is uniquely positioned as a fully automated, sound, and complete method that supports arbitrary quantifier alternations. While methods like BMC support alternations, they lack completeness. Conversely, self-composition is complete but fails to handle arbitrary alternations effectively.
Evaluation Results
The authors evaluated AutoHyper against several benchmark sets, including symbolic NuSMV models (HyperQB benchmarks), robot path planning problems, and randomized transition systems.
- Performance: AutoHyper verified every instance in the HyperQB benchmark set, often outperforming the bounded model checker HyperQB by orders of magnitude in complex cases like the SNARK algorithm.
- Scalability: The "lazy" approach to handling theories proved vastly superior to naive unfolding, which frequently timed out on integer-based properties.
- Robustness: Compared to Strategy-Based Verification (SBV), AutoHyper demonstrated better scaling as system size increased, proving to be a more robust general-purpose tool.
Conclusion
AutoHyper represents a significant step forward in hyperproperty verification. By reframing the model-checking problem as a language inclusion task, it bridges the gap between theoretical completeness and practical performance. Future work will focus on tighter integration with SMT solvers and further optimizing the state-space management for even larger systems.
Summary updated