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

Symbolic execution for refuting ∀∃ hyperproperties

Arthur Correnson, Tobias Nießen, Bernd Finkbeiner, Georg WeissenbacherActa Informatica 2025 · DOI

Introduction

In modern software verification, standard "trace properties"—which examine individual execution paths to find bugs like crashes or null pointer dereferences—are often insufficient. Security policies and system refinements frequently require hyperproperties, which define relationships between multiple execution traces. For example, non-interference requires that a change in a secret input does not lead to a change in public output across different executions.

The most challenging class of these are $\forall\exists$ (universal-existential) hyperproperties. These state that for every possible execution trace $A$, there must exist a corresponding execution trace $B$ that satisfies a specific relational condition. Refuting such a property is mathematically intensive: one must find a specific trace $A$ and prove that no possible trace $B$ exists in the entire (often infinite) state space of the program.

The Methodology: Bounded Semantics and Symbolic Execution

This paper introduces a fully automated method to refute $\forall\exists$ hyperproperties in infinite-state systems. The approach relies on three core pillars:

  1. Bounded Semantics ($\text{OHyperLTL}_{\text{safe}}$): The authors utilize a logic fragment based on "observation points"—specific locations in code where traces are synchronized for comparison. By introducing bounded semantics, the logic can be evaluated on finite execution prefixes, preventing the analysis from diverging on non-terminating programs.
  2. Symbolic Execution: Rather than testing concrete inputs, the tool uses symbolic execution to partition the infinite set of concrete traces into a finite set of symbolic paths. This is supported by formal operational semantics for program state transitions.
Operational semantics for basic program commands including assignment, havoc (non-deterministic choice), and skip.
  1. The "Lazy" Bug-Finding Algorithm: To avoid the state-space explosion typical of monolithic SMT queries, the algorithm iterates through symbolic traces of the universal ($\forall$) program one by one. For each path, it queries an SMT solver to determine if a matching existential ($\exists$) path is impossible. If the solver confirms no such path exists, a bug is identified.
A reactive program model represented as an automaton, illustrating transitions between states and observation points.

Experimental Evaluation

The prototype was evaluated against two primary benchmarks:

  • ORHLE Benchmarks: 30 sequential programs testing refinement and delimited release. The tool found counterexamples in 14 of 15 buggy instances, typically in under 0.05 seconds. Remarkably, it also verified 14 of 15 correct instances faster than the specialized ORHLE deductive verifier.
  • Custom Stress Tests: On reactive programs like the escalating benchmark, which requires checking relational invariants across multiple observation points, the tool significantly outperformed competitors like HyperQB and AutoHyper. While other tools timed out or crashed due to memory exhaustion (exceeding 1024 GiB), this symbolic approach found bugs in under 30 seconds.

Key Insights and Future Work

The research demonstrates that for "finitely observable" programs, finite prefixes are sufficient to guarantee hyperproperty violations in infinite executions. By breaking the $\forall\exists$ problem into independent SMT queries, the tool avoids the complexity that usually hinders automated verifiers.

Future work aims to address current limitations, such as the tool's inability to handle "infinite silent loops" (loops without observation points) and the lack of human-readable proofs for why a matching trace $B$ does not exist. Additionally, the independent nature of the "lazy" algorithm makes it a prime candidate for parallelization, which promises even greater performance gains in future iterations.

Summary updated

BibTeX
@article{correnson2025symbolic,
  author = {Arthur Correnson and Tobias Nießen and Bernd Finkbeiner and Georg Weissenbacher},
  title = {{Symbolic execution for refuting ∀∃ hyperproperties}},
  journal = {Acta Informatica},
  year = {2025},
  doi = {10.1007/s00236-025-00504-z},
}
Figure