The ins and outs of first-order runtime verification

Autor: Jan-Christoph Küster, Andreas Bauer, Gil Vegliach
Rok vydání: 2015
Předmět:
Zdroj: Formal Methods in System Design. 46:286-316
ISSN: 1572-8102
0925-9856
DOI: 10.1007/s10703-015-0227-2
Popis: The main purpose of this paper is to introduce a first-order temporal logic, $${{\mathrm{LTL}}}^{{{{{\mathrm{FO}}}}}} $$LTLFO, and a corresponding monitor construction based on a new type of automaton, called spawning automaton. Specifically, we show that monitoring a specification in $${{\mathrm{LTL}}}^{{{{{\mathrm{FO}}}}}} $$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 $${{\mathrm{LTL}}}^{{{{{\mathrm{FO}}}}}} $$LTLFO. Although due to the above result one cannot hope to obtain a complete monitor for $${{\mathrm{LTL}}}^{{{{{\mathrm{FO}}}}}} $$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.
Databáze: OpenAIRE