arXiv:2608.23096cs.LOAug 2026

Manuscript Offprint

arXiv:2608.23096

The Infinite, in Finite Time

Rayhana Amjad, Rob van Glabbeek, Liam O'Connor

Abstract

Linear-time temporal properties, such as those described by Linear-time Temporal Logic, are typically modelled as sets of infinite traces. Yet, in a run-time verification context, such as when testing or monitoring a system, only a finite prefix of the system's behaviour can be observed. For some properties, these finite prefixes may be definitive—a yes or no answer can be given without further observation. By enriching the semantics of LTL with these definitive prefixes, we give a proper inductive accounting of the semantics of LTL3LTL_{3}, a multi-valued variant of Linear-time Temporal Logic for run-time verification applications. The semantic descriptions of LTL3LTL_{3} in previous work are given only in terms of their relationship to conventional LTL. We show that the semantics of LTL and of LTL3LTL_{3} are isomorphic. In addition, we formalise the formula progression evaluation technique, popularly used in runtime verification contexts, and show its soundness and completeness up to finite traces with respect to our semantics. Then, we turn to linear-time properties more generally: using our theory of definitive prefixes, we re-prove the well-known safety-liveness decomposition theorem, and reconstruct the topology of infinite traces. We define monitorability for properties, providing neat topological characterisations for various monitorability classes, and arrange them into a hierarchy. All of our definitions and proofs are mechanised in Isabelle/HOL.

Keywords: Linear-time Temporal Logic, Partial Traces, Semantics, Formula Progression, Safety Properties, Liveness Properties, Guarantee Properties, Topology, Monitorability

*Supported by Royal Society Wolfson Fellowship RSWF|R1|221008

1. Introduction

In the specification, verification and modelling of reactive and concurrent systems, linear-time properties are a recurring theme. Linear-time properties are sets of behaviours: completed, infinite traces—sequences of states—describing the execution of a system over time. Logics for the specification of such properties, such as Linear-time Temporal Logic (LTL) [1] are well-studied and widely used, and a variety of algorithmic techniques for model checking and verification exist [2]. In the context of run-time verification, testing, or monitoring, however, semantics in terms of behaviours appears insufficient, as the full infinite behaviour of the system cannot be observed: we can only observe a finite sequence of states.

In light of this, we might consider switching to a semantics which includes finite traces as models of temporal properties. There are several variants of LTL which include finite traces as models, the oldest of which, called LTLf, is commonly attributed to Pnueli 1^{1}. These logics concern finite or infinite completed traces, but this is also not suitable in the context of run-time verification, as our finite observations are not completed traces, but finite prefixes of infinite behaviours. In other words, the behaviour of the system is still infinite, it is only our observation of the behaviour that is finite.

Therefore, in this paper we advocate remaining with infinite trace semantics even in a run-time verification context. If we are monitoring for the property “eventually, a good state is reached”, then our observation can stop the moment a good state is reached, as the property has been satisfied already and no further observation is needed. Similarly, if we a monitoring for the property “the bad state is never reached”, our observation can stop as soon as the bad state is reached, as the property has been irrevocably violated. Thus, there are properties for which definitive answers—satisfaction or violation—can be determined after observation of just a finite prefix. We call such prefixes definitive prefixes, and sets of infinite traces and their definitive prefixes definitive sets. We introduce our theory of definitive prefixes and sets in Section 2, including a proof that definitive sets are determined uniquely by their infinite traces, and thus that definitive sets and linear-time properties are isomorphic.

1^{1}Such logics are found in many early papers on LTL with Pnueli as a coauthor such as Lichtenstein et al. [3], but Manna & Pnueli [4], which is usually cited, does not mention finite traces at all.

Bauer et al. [5] describe a multi-valued variant of LTL for partial traces called LTL3LTL_{3} that distinguishes between those formulae that can be definitively said to be true or false from just the partial trace provided, and those formulae which are indeterminate, requiring further states to evaluate definitively. As we shall see in Section 3, the semantics of LTL3LTL_{3} in the literature are given only in terms of conventional LTL, and Bauer et al. [6] further claim that LTL3LTL_{3} cannot be given an inductive semantics, but this claim applies only to the intensional kind of semantics typically given for LTL. In Section 4 we give a compositional, inductive semantics for LTL3LTL_{3}, in terms of families of definitive sets. By virtue of our isomorphism, we further show that the semantics of conventional LTL and of LTL3LTL_{3} correspond directly. This correspondence is so direct that LTL3LTL_{3} can be viewed merely as a different presentation of conventional LTL: They share the same syntax, and their meanings are related by a simple transport.

In Section 5 we turn to formula progression, a popular technique for evaluating formulae against a finite trace where the formula is evaluated state-by-state, in a style reminiscent of operational semantics or the Brzozowski derivative. Bauer & Falcone [7] claim without proof that formula progression yields an equivalent semantics to LTL3LTL_{3}. In this paper, we make this statement formally precise, and prove soundness and completeness (modulo a sufficiently powerful simplifier) of the formula progression technique with respect to our semantics.

In Section 6, we investigate various classes of properties and formally describe their monitorability characteristics. Based on our definitive prefixes, we define the guarantee kernel of a property, which, when viewed as an interior operator gives a topology equivalent to that of Alpern & Schneider [8]. This enables us to re-prove their classic result, that every property is the intersection of a safety and liveness property, by other means. We then formally characterise various notions of monitorability, including that of Bauer et al. [6] and of Pnueli & Zaks [9], and arrange them into a hierarchy.

Finally, in Section 7, we relate our work to other characterisations of traces and properties, as well as to other multi-valued variants of LTL. All of our work has been mechanised in the Isabelle/HOL proof assistant, proofs of which are available for download [10, 11]. The mechanised proof scripts are intended as a comprehensive library, and, being included in Isabelle's Archive of Formal Proofs, are maintained to ensure they are always compatible with the current stable release of Isabelle. An extended abstract of (part of) this paper appeared as [12]. The present paper contains signifi-cant additional work expanding on monitorability for linear-time properties, providing topological characterisations for various monitorability classes and demonstrating a hierarchy between them.

References (38)