arXiv:2610.21379cs.LOOct 2026

Manuscript Offprint

arXiv:2610.21379

Model Checking HyperRecHML is Decidable

Elli Anastasiadi, Kim Guldstrand Larsen, Martin Zimmermann

Abstract

Temporal hyperlogics combine explicit quantification over traces with temporal requirements evaluated over the quantified traces. HyperRecHML is a temporal hyperlogic which allows for arbitrary mixing of trace quantification and the use of fixed points for expressing temporal requirements, which makes it very expressive in comparison to other first-order hyperlogics. HyperRecHML has already been successfully applied in runtime verification, but the decidability of its model checking problem remains open.

We answer this question positively by providing two main contributions. Firstly, a normalization procedure that allows to reduce arbitrary HyperRecHML formulas to a normal form with restricted nesting of trace quantification and fixed points. Secondly, we provide an automata-based model checking algorithm for formulas of this normal form. The complexity of our algorithm is comparable to similar ones for other hyperlogics, despite the extra expressive power.

1 Introduction

Temporal hyperlogics are a type of logic that at its core combines temporal constraints and quantification over traces of systems. Hyperlogics emerged a decade ago and have been receiving considerable attention due to their relevance for specifying and verifying hyperproperties [11] i.e., properties of sets of system traces. Such properties particularly relate to security, privacy, information flow, and service-level system requirements [11, 7]. For example, the property “all executions can be reproduced by the system with dummy high level inputs and these two versions of the execution are indistinguishable from the respective of low level users” is a security requirement. “All executions terminate within 5 time points of each other” is a service level guarantee, and “after a finite amount of time all users share the same value on a decision variable” is a consensus property.

To express such specifications hyperlogics utilise trace variables, which are bound via trace quantification, and temporal operators, that allow time to pass on the bound traces, to eventually apply restrictions on what behaviour the bound traces are allowed to exhibit. Just like in standard temporal logics, hyperlogics utilise two basic mechanisms to define temporal behaviour. The first is the LTL-style until operator (e.g., as done by extending the temporal logics LTL, CTL*, and QPTL with quantification over traces, obtaining HyperLTL [10], HyperCTL* [10], HyperQPTL [26, 14], and Hyper²LTL [4]), and one based on the use of recursion in the form of fixed points (e.g., as done in HyperPDL-Δ [19], HyperRecHML [2, 1], and Hμ [20], which extend PDL, RecHML, and the modal μ-calculus, respectively). Note that HyperCTL* and HyperPDL-Δ have branching-time semantics, while the others have linear-time ones, which has consequences for their expressive power.

Research on hyperlogics has especially focused on the automated verification of hyperproperties. The most well-researched questions in this context are the model checking problem, satisfiability, and runtime verification. In model checking one is concerned with whether a given system model satisfies a given property in a hyperlogic [10, 16, 20, 8]. In the satisfiability problem one is concerned with determining whether there exists any model satisfying a given hyperproperty [17, 27, 18]. Finally, in runtime verification one is given access to the current execution of a system in the form of several traces, and one is concerned with determining whether the observed execution violates or satisfies a given hyperproperty [1, 5, 6].

Unfortunately, adding trace quantification significantly increases the complexity of the standard model checking problem to TOWER-completeness for HyperLTL and HyperCTL* [10, 16], and leads to undecidability for the satisfiability problem [13, 18]. For the branching-time logic HyperPDL- Δ\Delta [19], which uses recursion in the form of regular expressions to specify temporal behaviour, and allows for quantification in a temporal context (thus is not in prenex normal form, and is more expressive than HyperCTL*) the model checking problem is still TOWER-complete. On the other hand, the linear-time logic HμH_{\mu} uses fixed point formulas for expressing temporal behavior and only allows formulas in prenex normal form (and therefore does not allow quantifiers in a temporal context). It also has a TOWER-complete model checking problem for its synchronous fragment (and an undecidable one for the asynchronous case). However, it is open whether arbitrary nesting of trace quantification and fixed point formulas yields a logic with a decidable model checking problem in the linear time setting. Such a logic would be more expressive than classical logics like HyperLTL as well as HμH_{\mu}, and incomparable with HyperPDL- Δ\Delta.

Generally speaking, the current landscape is characterized by a variety of hyperlogics obtained by extending temporal logics with trace quantification. The complexity of the most important verification problems is generally well understood (see Table 1), but the same is not true for the relative expressiveness of the various logics. In the classical (i.e., non-hyper) setting, the modal μ\mu-calculus plays a central role, as most standard logics like LTL, CTL, CTL*, and PDL can be reduced to it. Furthermore, there are tight connections between the modal μ\mu-calculus and automata [9] and it is the bisimulation-invariant fragment of monadic second-order logic [21]. Hence, it serves as a yardstick for measuring complexity and expressiveness. It is natural to ask whether there is a hyperlogic that has the same desirable properties?

HyperRecHML is a natural candidate for such a logic. It is based on the linear-time recursive Hennessy-Milner logic (RecHML), which itself is a variant of the linear-time μ\mu-calculus, and fully mixes fixed point formulas and trace quantification. In particular, it allows for quantification to take place under the scope of recursion, thus “spawning” quantifiers while unfolding a fixed point formula on, for example, even positions of traces. An example of such a property (informally) is “at every even position there is a trace that starts with a” which is expressed by the formula

∃π.max⁡X.[(∃π′⟨a⟩π′tt)∧⟨−⟩π⟨−⟩πX],\exists\pi.\max X.\Big[(\exists\pi^{\prime}\langle a\rangle_{\pi^{\prime}}\mathbf{t}\mathbf{t})\wedge\langle-\rangle_{\pi}\langle-\rangle_{\pi}X\Big],

where ⟨−⟩\langle-\rangle matches every action. Intuitively, every time the formula is recursively evaluated, a trace starting with aa must exist and time is advanced by two steps, before we recurse. This formula is satisfied by the set {b2nabω∣n∈N}\{b^{2n}ab^\omega \mid n \in \mathbb{N}\}, i.e., after 2n2n steps the trace b2nabωb^{2n}ab^\omega can to be bound to π′\pi', i.e., in every temporal context π′\pi' needs to be bound to a different trace. This is in contrast to linear-time logics that require all quantifiers to occur outside the scope of temporal operators (such as HμH_\mu, HyperLTL, and HyperQPTL).

So far, HyperRecHML has only been formally studied in the context of (parallel) runtime verification [15, 2], where one is given a fixed set of traces that quantifiers can range over. This requires a semantics that is tailored to this application, but is not generally applicable to arbitrary sets of traces.

Here, we take the first step towards establishing whether HyperRecHML has the desired properties described above. To this end, we introduce the first general purpose (linear-time) semantics of HyperRecHML that is applicable to arbitrary sets of traces and show that the resulting logic is more expressive than HyperLTL, and syntactically subsumes the synchronous HμH_{\mu}. Regarding the satisfiability and model checking problems, as HyperRecHML subsumes HyperLTL, we know its satisfiability problem is (highly) undecidable, and its model checking complexity is at least TOWER-hard.

Our main contribution is showing that one can indeed combine trace quantification and fixed point formulas and obtain a hyperlogic with decidable model checking problem: We present an automata-based construction which achieves a TOWER upper bound, i.e., it is not harder than for classical hyperlogics. Table 1 shows an overview of complexity results for HyperRecHML and related logics. The results for HyperRecHML finite-state satisfiability follows immediately from model checking being decidable (which allows to enumerate and model checking all systems) and HyperLTL finite-state satisfiability being undecidable [13].

To prove this result, we first show that even for arbitrary formulas one can disentangle the quantifiers from fixed point operators in the sense that subformulas starting with trace quantifiers do not have any free

LogicSatisfiabilityFinite-state Sat.Model checkingType
HyperLTLΣ11\Sigma_1^1-completeΣ10\Sigma_1^0-completeTOWER-completeLPT
HyperPDL-ΔΣ11\Sigma_1^1-completeΣ10\Sigma_1^0-completeTOWER-completeBAR
HyperQPTLΣ12\Sigma_1^2-complete.Σ10\Sigma_1^0-completeTOWER-completeLPT
Hyper2^2LTLT3A-equiv.T3A-equiv.T3A-equiv.LPT
HyperCTL*Σ12\Sigma_1^2-completeΣ10\Sigma_1^0-completeTOWER-completeBAT
synchr. HμH_\muΣ11\Sigma_1^1-hardΣ10\Sigma_1^0-completeTOWER-completeLPR
HyperRecHMLΣ11\Sigma_1^1-hardΣ10\Sigma_1^0-completeTOWER-completeLAR

Table 1: Overview of complexity results for hyperlogics. “T3A-equiv.” stands for “equivalent to third-order arithmetic”. The type of a logic considers three dimensions: linear-time (L) or branching-time (B), prenex normal form (P) or arbitrary (A) nesting of temporal operators and trace quantification, and LTL style temporal (T) operators or recursion (R). Note that while HμH_{\mu} is formally evaluated over paths of Kripke structures, the fact that it only allows formulas in prenex normal form, implies that its semantics are actually linear-time.

recursion variables. For these, we can build automata over infinite words that capture the model checking problem.

All proofs omitted in the main part can be found in the appendix.