English

Runtime Consultants

Formal Languages and Automata Theory 2025-08-05 v1

Abstract

In this paper we introduce the notion of a runtime consultant. A runtime consultant is defined with respect to some value function on infinite words. Similar to a runtime monitor, it runs in parallel to an execution of the system and provides inputs at every step of the run. While a runtime monitor alerts when a violation occurs, the idea behind a consultant is to be pro-active and provide recommendations for which action to take next in order to avoid violation (or obtain a maximal value for quantitative objectives). It is assumed that a runtime-controller can take these recommendations into consideration. The runtime consultant does not assume that its recommendations are always followed. Instead, it adjusts to the actions actually taken (similar to a vehicle navigation system). We show how to compute a runtime consultant for common value functions used in verification, and that almost all have a runtime consultant that works in constant time. We also develop consultants for ω\omega-regular properties, under both their classical Boolean semantics and their recently proposed quantitative interpretation.

Keywords

Cite

@article{arxiv.2508.01821,
  title  = {Runtime Consultants},
  author = {Dana Fisman and Elina Sudit},
  journal= {arXiv preprint arXiv:2508.01821},
  year   = {2025}
}
R2 v1 2026-07-01T04:31:58.193Z