Abstract
Reactive synthesis is the process of automatically constructing a system that satisfies a given formal specification. While HyperLTL has emerged as a standard for expressing hyperproperties—requirements that relate multiple execution traces—it lacks the expressive power for ω-regular properties and "promptness." This paper addresses this gap by investigating HyperQPTL, which extends HyperLTL with propositional quantification. We map the decidability boundary for HyperQPTL realizability and present a synthesis framework that leverages existing bounded synthesis tools.
Introduction
In traditional formal verification, properties are typically defined over individual execution traces. However, many critical system requirements, particularly in security and performance, are hyperproperties. For instance, non-interference requires that variations in secret inputs do not lead to observable differences in system outputs across different traces.
While HyperLTL is widely used for such specifications, it is limited to LTL-expressible properties on each trace. It cannot specify ω-regular properties (like those requiring parity conditions) or promptness—the requirement that an event occurs within some bound that is uniform across all traces. This paper explores HyperQPTL, a logic that combines trace quantification with propositional quantification to overcome these limitations.
The HyperQPTL Logic
HyperQPTL enhances the expressivity of HyperLTL by allowing quantification over atomic propositions. This allows the logic to "color" traces, which is essential for expressing properties like promptness without hard-coding specific time bounds.
The logic supports two primary types of quantification:
- Trace Quantification ($∀ π, ∃ π$): Enables comparisons across different execution paths.
- Propositional Quantification ($∀ q, ∃ q$): Allows for the introduction of auxiliary variables that can represent state information or timing markers.
Mapping the Decidability Boundary
A central contribution of this work is identifying which fragments of HyperQPTL are decidable for the realizability problem. Realizability asks whether there exists a strategy for the system to satisfy the specification regardless of the environment's actions.
The authors demonstrate that the interaction between trace and propositional quantifiers is delicate. While satisfiability for HyperQPTL is relatively well-behaved, realizability quickly becomes undecidable when universal trace quantifiers are interleaved with certain propositional quantifiers.
As shown in the figure above, fragments with no universal trace quantifiers or those restricted to "linear" trace quantification remain decidable. However, adding non-linear universal quantification or complex quantifier prefixes (like $∀ π ∃ π$) leads to undecidability.
Synthesis via Bounded Synthesis
To make HyperQPTL synthesis practical, the authors propose a reduction to HyperLTL. By transforming a HyperQPTL specification into an equivalent HyperLTL formula (where possible), they can utilize BoSy, a state-of-the-art bounded synthesis tool. BoSy uses SMT solvers to search for the smallest possible transition system that satisfies the specification.
This approach is particularly effective for synthesizing systems with "promptness" requirements. By using propositional quantification to mark intervals, the tool can find implementations that guarantee a response within a bounded time without the user needing to specify the exact bound upfront.
Experimental Evaluation
The authors evaluated their approach using a parametric benchmark of resource arbiters (arbiter-k-prompt). These benchmarks require that $k$ clients requesting a resource are eventually served within a common bound.
Key results include:
- Successful Synthesis: The tool successfully synthesized prompt arbiters for small numbers of clients (up to 3).
- Efficiency: For 2-3 clients, synthesis was completed in under 10 seconds.
- Complexity Challenges: A 4-client arbiter timed out, illustrating the non-elementary complexity inherent in the logic.
Conclusion and Future Work
This research establishes a theoretical and practical foundation for synthesizing systems with ω-regular hyperproperties. By identifying the decidability limits of HyperQPTL and providing a reduction-based synthesis path, the authors have expanded the reach of reactive synthesis. Future work includes exploring more efficient encoding techniques to handle larger state spaces and investigating the synthesis problem for branching-time hyperlogics like HyperCTL*.
Summary updated