Skip to main content

The ins and outs of first-order runtime verification


Andreas Bauer, Jan-Christoph Kuester and Vegliach Gil

Technische University at Munchen


Australian National University


The main purpose of this paper is to introduce a first-order temporal logic, LTLFO, and a corresponding monitor construction based on a new type of automaton, called spawning automaton. Specifically, we show that monitoring a specification in LTLFO boils down to an undecidable decision problem. The proof of this result revolves around specific ideas on what we consider a “proper” monitor. As these ideas are general, we outline them first in the setting of standard LTL, before lifting them to the setting of first-order logic and LTLFO. Although due to the above result one cannot hope to obtain a complete monitor for LTLFO, we prove the soundness of our automata- based construction and give experimental results from an implementation. These seem to substantiate our hypothesis that the automata-based construction leads to efficient runtime monitors whose size does not grow with increasing trace lengths (as is often observed in similar approaches). However, we also discuss formulae for which growth is unavoidable, irrespective of the chosen monitoring approach. Specifically, we provide a general categorisation of so called monitorable languages, which is closely related to this notion of “growth-inducing” (that is, trace-length dependent) formulae. It relates to the well-known safety-progress hierarchy, yet is orthogonal to it.

BibTeX Entry

    author           = {Bauer, Andreas and Kuester, Jan-Christoph and Gil, Vegliach},
    doi              = {10.1007/s10703-015-0227-2},
    number           = {1},
    month            = mar,
    year             = {2015},
    keywords         = {monitoring, spawning automata, temporal logic, first-order logic, monitorability, trace-length
    title            = {The ins and outs of first-order runtime verification},
    volume           = {46},
    journal          = {Formal Methods in System Design (FMSD)}


Served by Apache on Linux on seL4.