Synchronous Team Semantics for Temporal Logics

Andreas Krebs, Arne Meier, Jonni Virtema, Martin Zimmermann · DOI

Abstract

This paper explores Synchronous Team Semantics for Linear Temporal Logic (LTL) and Computation Tree Logic (CTL) as a framework for reasoning about hyperproperties. Unlike trace properties, hyperproperties describe sets of execution traces, which are essential for verifying security and privacy requirements like observational determinism. The authors demonstrate that TeamLTL and TeamCTL offer a "complexity sweet spot," maintaining PSPACE-completeness for LTL satisfiability while providing expressivity incomparable to HyperLTL.

Introduction

In traditional formal verification, logics like LTL are used to verify trace properties, such as "Does every possible execution of this program eventually terminate?" However, many modern requirements—particularly in security and privacy—cannot be verified by examining traces in isolation.

For instance, Observational Determinism requires that two different executions with identical public inputs always produce identical public outputs, regardless of secret data. Verifying such requirements necessitates comparing sets of traces, known as hyperproperties. While HyperLTL is the current standard for hyperproperties, its satisfiability problem is highly undecidable, limiting its utility in automated tools. This research investigates whether Team Semantics—a framework from dependency logic—can provide a more algorithmically efficient alternative for temporal reasoning.

Methods: TeamLTL and TeamCTL

The authors define TeamLTL and TeamCTL by reinterpreting standard temporal operators to operate over a "team" (a set of traces or worlds). Two core concepts drive this framework:

  • Synchronous Execution: All traces within a team progress through time simultaneously.
  • The Splitjunction: The disjunction operator ($\vee$) is treated as a splitjunction. To satisfy $\phi \vee \psi$, a team must be divisible into two sub-teams, where one satisfies $\phi$ and the other satisfies $\psi$.

To classify the complexity of these logics, the authors analyze three core problems: Satisfiability (TSAT), Path Checking (TPC), and Model Checking (TMC). They utilize mathematical proofs and logical reductions from Quantified Boolean Formulas (QBF) and Alternating Turing Machines to establish complexity bounds.

Overview of reduction gadgets used to establish complexity bounds for TeamLTL and TeamCTL.

Key Insights and Expressivity

A significant finding is that TeamLTL and HyperLTL are incomparable in terms of expressivity. TeamLTL can express properties like "bounded termination" (all traces terminate within some $n$ steps), which HyperLTL cannot. Conversely, HyperLTL can express certain trace-to-trace dependencies that TeamLTL cannot.

Furthermore, the "shared clock" inherent in synchronous execution allows for precise reasoning about timing and alignment across different executions. While moving to team semantics increases the complexity of CTL model checking from P-complete to PSPACE-complete due to team splitting, LTL satisfiability remains PSPACE-complete, matching classical LTL. This suggests a "sweet spot" where increased expressivity for hyperproperties does not necessarily lead to the computational intractability found in HyperLTL.

Complexity Landscape

The following table summarizes the complexity results established in the paper:

Logic Satisfiability (TSAT) Path Checking (TPC) Model Checking (TMC)
Classical LTL PSPACE-complete P PSPACE-complete
TeamLTL PSPACE-complete PSPACE-complete PSPACE-hard (General case open)
Classical CTL EXPTIME-complete — P-complete
TeamCTL EXPTIME-complete — PSPACE-complete

Conclusion and Future Work

Synchronous Team Semantics provides a promising alternative for hyperproperty verification. While the theoretical foundations are now established, several open questions remain. The exact complexity of general Model Checking for TeamLTL with splitjunctions inside global operators is still unknown. Additionally, the introduction of "contradictory negation" leads to extreme complexity, necessitating the search for "safe" negation subsets. Future work will focus on implementing these PSPACE algorithms into verification tools to evaluate their real-world performance against existing HyperLTL-based solutions.

Summary updated

BibTeX
@misc{krebs2024synchronous,
  author = {Andreas Krebs and Arne Meier and Jonni Virtema and Martin Zimmermann},
  title = {{Synchronous Team Semantics for Temporal Logics}},
  year = {2024},
  eprint = {2409.18667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.18667},
}
Figure