Trustworthy Systems

Comparing LTL semantics for runtime verification


Andreas Bauer, Martin Leucker and Christian Schallhart


Australian National University

TU Munich


When monitoring a system w.r.t. a property defined in a temporal logic such as LTL, a major concern is to settle with an adequate interpretation of observable system events; that is, models of temporal logic formulae are usually infinite words of events, whereas at runtime only finite but incrementally expanding prefixes are available.

In this work, we review LTL-derived logics for finite traces from a runtime-verification perspective. In doing so, we establish four maxims to be satisfied by any LTL-derived logic aimed at runtime verification. As no pre-existing logic readily satisfies all of them, we introduce a new four-valued logic Runtime Verification Linear Temporal Logic RV-LTL in accordance to these maxims. The semantics of Runtime Verification Linear Temporal Logic (RV-LTL) indicates whether a finite word describes a system behaviour which either (i) satisfies the monitored property, (ii) violates the property, (iii) will presumably violate the property, or (iv) will presumably conform to the property in the future, once the system has stabilized. Notably, (i) and (ii) correspond to the classical semantics of LTL, whereas (iii) and (iv) are chosen whenever an observed system behaviour has not yet lead to a violation or acceptance of the monitored property.

Moreover, we present a monitor construction for RV-LTL properties in terms of Moore machines signalizing the semantics of the so far obtained execution trace w.r.t. the monitored property.

BibTeX Entry

    title            = {Comparing {LTL} semantics for runtime verification},
    month            = jun,
    keywords         = {runtime veficiation, monitoring, finite trace semantics, ltl, vta},
    journal          = {Journal of Logic and Computation},
    volume           = {20},
    number           = {3},
    author           = {Bauer, Andreas and Leucker, Martin and Schallhart, Christian},
    year             = {2010},
    pages            = {651--674},
    paperurl         = {}