Hyperproperty Verification as CHC Satisfiability
Shachar Itzhaky, Sharon Shoham, Yakir Vizel
TL;DR
Hyperproperty verification is extended beyond single-trace properties by reducing the joint problem of trace alignment, witness selection, and relational invariants to CHC satisfiability. The paper introduces a general FO-to-CHC transformation and the notion of doomed states to enable Horn-based encoding, providing a sound and complete reduction for $k$-safety, and extends it to $orall^*orall^*$-OHyperLTL through game semantics, including finite- and infinite-branching cases. The HyHorn tool demonstrates substantial performance gains over prior approaches by leveraging off-the-shelf CHC solvers, achieving automatic verification for many benchmarks, and enabling predicate abstraction when needed. This CHC-centric framework offers a scalable, solver-friendly pathway to relational hyperproperty verification with practical implications for security, equivalence, and robustness analyses. The work also points to future directions in automating predicate inference and extending the method to broader verification fragments.
Abstract
Hyperproperties govern the behavior of a system or systems across multiple executions, and are being recognized as an important extension of regular temporal properties. So far, such properties have resisted comprehensive treatment by modern software model-checking approaches such as IC3/PDR, due to the need to find not only an inductive invariant but also a \emph{total} alignment of different executions that facilitates simpler inductive invariants. We show how this treatment is achieved via a reduction from the verification problem of $\forall^k\exists^l$ properties to Constrained Horn Clauses. The approach is based on combining the inference of an alignment and inductive invariant in a single CHC encoding; and, for existential quantification over traces, incorporating also inference of a witness function for the existential choices, based on a game semantics with a sound-and-complete encoding to CHCs as well.
