Verified First-Order Monitoring with Recursive Rules

Sheila Zingg, Srđan Krstić, Martin Raszyk, Joshua Schneider, Dmitriy Traytel

Abstract

First-order temporal logics and rule-based formalisms are two popular families of specification languages for monitoring. Each family has its advantages and only few monitoring tools support their combination. We extend metric first-order temporal logic (MFOTL) with a recursive let construct, which enables interleaving rules with temporal logic formulas. We also extend VeriMon, an MFOTL monitor whose correctness has been formally verified using the Isabelle proof assistant, to support the new construct. The extended correctness proof covers the interaction of the new construct with the existing verified algorithm, which is subtle due to the presence of the bounded future temporal operators. We demonstrate the recursive let's usefulness on several example specifications and evaluate our verified algorithm's performance against the DejaVu monitoring tool.

The final publication is available at link.springer.com.

Paper draft