NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deciding Hyperproperties

Bernd Finkbeiner, Christopher Hahn

TL;DR

This paper maps the boundaries of decidability for HyperLTL, a logic used to specify "hyperproperties" like security and privacy. The authors demonstrate that while simple versions of the logic are no harder to solve than standard temporal logic (PSPACE), adding specific types of quantifier alternation makes the problem exponentially harder (EXPSPACE) or even impossible to solve (undecidable).

What Problem Does This Paper Address?

In traditional formal verification, we use Linear Temporal Logic (LTL) to describe how a single execution "trace" of a system behaves over time (e.g., "the elevator eventually reaches the ground floor"). However, many modern requirements—especially in security—are hyperproperties: they describe relationships between multiple traces.

For example, observational determinism requires that if two different runs of a program receive the same public inputs, they must produce the same public outputs, regardless of any secret data. You can't express this by looking at one trace at a time; you have to compare pairs of traces.

HyperLTL was created to handle this by adding trace variables and quantifiers ($\forall, \exists$) to LTL. While researchers knew how to model check HyperLTL (verify a specific system), they didn't know if the satisfiability problem was decidable. In other words: given a HyperLTL formula, can we algorithmically determine if there exists any system that satisfies it? This is crucial for checking if system requirements are consistent or if one security policy implies another.

Methods

The authors analyze the logic by breaking it down based on its quantifier prefix (the string of $\forall$ and $\exists$ at the start of a formula). They use several reduction techniques:

  • Reduction to LTL: For fragments without quantifier alternation (only $\forall$ or only $\exists$), they show how to transform a HyperLTL formula into a standard LTL formula.
  • Trace Zipping: For formulas starting with multiple existential quantifiers ($\exists \pi_1 \exists \pi_2 ...$), they "zip" multiple traces into a single trace over a larger alphabet. This allows them to use existing LTL tools.
  • Quantifier Elimination: For the $\exists^*\forall^*$ fragment, they eliminate universal quantifiers by explicitly enumerating all possible interactions between the existential and universal traces, though this causes an exponential blow-up in formula size.
  • PCP Reduction: To prove undecidability for the $\forall\exists$ fragment, they reduce Post’s Correspondence Problem (PCP)—a classic "unsolvable" puzzle in computer science—to a HyperLTL satisfiability check.

Datasets

As this is a theoretical paper in formal methods and logic, no empirical datasets or training benchmarks were used. The "evaluation" consists of mathematical proofs of complexity classes and decidability.

Key Insights and Ideas

  • The Power of Alternation: The core insight is that the order of quantifiers is everything. If you start with a universal quantifier followed by an existential one ($\forall \pi \exists \pi'$), the logic becomes "dramatically more powerful" because it can enforce an infinite chain of traces, effectively allowing the logic to simulate a Turing machine.
  • Alternation-Free is "Cheap": Many practical security properties (like determinism) are "alternation-free." The paper reveals that these are PSPACE-complete, meaning they are computationally no more expensive to solve than standard LTL.
  • Implication is Decidable: Because the paper identifies decidable fragments, it proves that we can automatically check if one security requirement implies another, provided they fall within the $\exists^*\forall^*$ fragment.

Key Results

The paper provides a complete "complexity map" for HyperLTL satisfiability:

Fragment Complexity
$\exists^*$ (Existential only) PSPACE-complete
$\forall^*$ (Universal only) PSPACE-complete
$\exists^*\forall^*$ (One alternation) EXPSPACE-complete
Bounded $\exists^*\forall^*$ PSPACE-complete
$\forall\exists$ (The "Borderline") Undecidable

The most significant takeaway for engineers is that satisfiability and implication are decidable for the most common practical hyperproperties.

Limitations and Future Work

The primary limitation is the undecidability of the $\forall\exists$ fragment. This means there is no general-purpose algorithm that can handle every possible HyperLTL formula.

The authors suggest several paths forward:

  1. Branching Time: Extending these results to HyperCTL*, which deals with branching paths rather than just linear traces.
  2. Synthesis: Moving from "Is this formula satisfiable?" to "Can we automatically generate a program that satisfies this formula?"
  3. Practical Tools: Developing a practical SAT solver for HyperLTL based on the "zipping" and reduction techniques introduced here.

Summary updated

BibTeX
@inproceedings{finkbeiner2016deciding,
  author = {Bernd Finkbeiner and Christopher Hahn},
  title = {{Deciding Hyperproperties}},
  booktitle = {CONCUR},
  year = {2016},
  doi = {10.4230/lipics.concur.2016.13},
}
Figure