Score: 0

Monitoring Hyperproperties over Observed and Constructed Traces

Published: August 4, 2025 | arXiv ID: 2508.02301v1

By: Marek Chalupa, Thomas A. Henzinger, Ana Oliveira da Costa

Potential Business Impact:

Checks software for hidden bugs automatically.

We study the problem of monitoring at runtime whether a system fulfills a specification defined by a hyperproperty, such as linearizability or variants of non-interference. For this purpose, we introduce specifications with both passive and active quantification over traces. While passive trace quantifiers range over the traces that are observed, active trace quantifiers are instantiated with \emph{generator functions}, which are part of the specification. Generator functions enable the monitor to construct traces that may never be observed at runtime, such as the linearizations of a concurrent trace. As specification language, we extend hypernode logic with trace quantifiers over generator functions and interpret these hypernode formulas over possibly infinite domains. We present a corresponding monitoring algorithm, which we implemented and evaluated on a range of hyperproperties for concurrency and security applications. Our method enables, for the first time, the monitoring of asynchronous hyperproperties that contain alternating trace quantifiers.

Page Count
27 pages

Category
Computer Science:
Logic in Computer Science