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

A Temporal Logic for Asynchronous Hyperproperties

Jan Baumeister, Norine Coenen, Borzoo Bonakdarpour, Bernd Finkbeiner, César Sánchez

Introduction

In formal verification, we distinguish between trace properties and hyperproperties. While a trace property examines a single execution path (e.g., "the system never enters an error state"), a hyperproperty relates multiple execution traces. This is critical for security policies like noninterference, which ensures that high-security inputs do not influence low-security outputs.

Standard logics like HyperLTL have successfully addressed these needs but suffer from a major limitation: they are strictly synchronous. They evaluate traces in lockstep, comparing the $i$-th step of one trace with the $i$-th step of another. In real-world asynchronous systems—where thread scheduling, network latency, or compiler optimizations cause traces to progress at different rates—this lockstep requirement leads to false positives, flagging secure systems as non-compliant.

The Synchronous Trap

Consider a program $P_2$ that has been modified by a compiler optimization. While logically equivalent to the original, the optimization might introduce intermediate steps or registers that change the timing of variable updates. Under synchronous semantics, a property like observational determinism ($φ_{OD}$) might be violated simply because the traces are out of sync.

Synchronous evaluation fails to verify $P_2$ because it compares states at the same time step, regardless of logical progress.

As shown in the figure above, even if two traces eventually reach the same state, a synchronous checker sees a mismatch (indicated by the red dashed line) because it cannot account for the "stuttering" or speed differences between the two execution paths.

Asynchronous HyperLTL (A-HLTL)

To solve this, the authors propose Asynchronous HyperLTL (A-HLTL). The core innovation is the introduction of trajectory modalities ($E$ and $A$). A trajectory acts as a dynamic conductor that decides which traces advance and which "stutter" at any given moment. This allows the logic to align traces based on their logical state rather than their clock cycle.

A-HLTL uses trajectories to align traces asynchronously, allowing $P_2$ to satisfy observational determinism.

By allowing traces to move independently, A-HLTL can find an alignment (represented by the diagonal dashed lines) where the observable behavior matches, thus correctly verifying the system's security or functional properties.

Decidability and Implementation

While general A-HLTL is undecidable (reducible to the Post Correspondence Problem), the authors identified practical, decidable fragments that cover most security use cases. They developed two primary model-checking strategies to reduce A-HLTL back to synchronous HyperLTL:

  1. Stuttering Construction: Modifies the system's Kripke structure to include explicit stuttering transitions, allowing the model to "wait" for alignment.
  2. Acceleration Construction: Compresses sequences of transitions that do not change the system's "phase," effectively fast-forwarding to synchronization points.

Experimental Results

The approach was validated using the MCHyper tool on several benchmarks:

  • Compiler Optimizations: The authors verified that optimizations like Common Branch Factorization and Loop Peeling preserve program equivalence. Verification was efficient, with simple optimizations checked in under a second.
  • Hardware Protocols: An SPI bus protocol was verified for both functional correctness and noninterference. The logic successfully proved that the protocol remains secure regardless of variations in the main clock speed.

Conclusion

A-HLTL bridges the gap between theoretical hyperproperty verification and the reality of asynchronous systems. By decoupling logical alignment from execution speed, it provides a robust framework for verifying compilers, hardware, and concurrent software. Future work aims to automate the reduction process and extend these techniques to infinite-state systems.

Summary updated

BibTeX
@inproceedings{baumeister2021temporal,
  author = {Jan Baumeister and Norine Coenen and Borzoo Bonakdarpour and Bernd Finkbeiner and César Sánchez},
  title = {{A Temporal Logic for Asynchronous Hyperproperties}},
  booktitle = {CAV},
  year = {2021},
  doi = {10.1007/978-3-030-81685-8\_33},
}
Figure