Abstract
Many formal verification techniques are concerned with comparing system behaviours with formal specifications. Although runtime verification has followed this path (comparing observed traces against formal properties), it has traditionally been burdened with another task—that of raising a flag when a violation is detected. Different approaches can be found in the literature: identifying the earliest such instance, identifying all instances, identifying instances where (potentially future) violations are inevitable, etc. We argue that the lack of a clear distinction between the notion of system correctness and the hard-wired means of identification of points when violation is somehow detected, conflates the notions of points-of-detection and points-of-violation. Frequently, the point at which a point-of-violation may be detected is independent of the point of interest itself, and also independent of the point-of-reaction if a corrective measure is needed. We observe that this distinction becomes more salient in some cases, such as deontic specification languages, which may identify notions such as permission, and in the case of multi-agent systems, where the notion of blame is essential. Using practical and varied examples we motivate why these limitations are significant for the field of runtime verification.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
Also note that with this approach, a single trace can have any number of matches.
- 2.
Reactions which undo—literally or in some abstract sense—previous system actions due to late monitor detection have been studied in terms of compensations [5].
- 3.
We will not use any formal (syntax-specific) notation in the rest of the paper with the exception of regular expressions and Boolean logic connectors. So, we will for instance write globally and finally when referring to LTL formulae; similarly we will write obligation and forbidden instead of using the deontic logic modalities.
- 4.
In fairness, one can consider situations in which the detection computation may be deferred for later, e.g., during periods of high load on the system. However, we will only assume online and synchronous runtime verification here.
- 5.
We use \(\overline{a}\) to match any event other than a.
- 6.
The term contract has been extensively abused to mean different things in computer science, few of which share much with the legal sense of the term. In contrast, here it is being used very much in the sense used in law.
- 7.
We assume a time unit granularity of one day.
- 8.
A description of this underwater robot scenario is taken from “Monitoring Safety and Reliability of Underwater Robots: A Case Study”, appearing in AISOLA’24 proceedings (through personal communication with the authors).
- 9.
This is a simplified version of the specification, with the aim of illustrating our point.
References
Barringer, H., Goldberg, A., Havelund, K., Sen, K.: Rule-Based Runtime Verification. In: Steffen, B., Levi, G. (eds.) Verification, Model Checking, and Abstract Interpretation, pp. 44–57. Springer Berlin Heidelberg, Berlin, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24622-0_5
Bauer, A., Leucker, M., Schallhart, C.: Comparing LTL semantics for runtime verification. J. Log. Comput. 20(3), 651–674 (2010). https://doi.org/10.1093/logcom/exn075
Calafato, A., Colombo, C., Pace, G.J.: A controlled natural language for tax fraud detection. In: Davis, B., Pace, G.J., Wyner, A. (eds.) Controlled Natural Language, pp. 1–12. Springer International Publishing, Cham (2016). https://doi.org/10.1007/978-3-319-41498-0_1
Chen, F., Rosu, G.: Mop: an efficient and generic runtime verification framework. In: OOPSLA’07, pp. 569–588. ACM (2007). https://doi.org/10.1145/1297027.1297069
Colombo, C., Pace, G.J., Abela, P.: Safer asynchronous runtime monitoring using compensations. Formal Methods Syst. Des. 41(3), 269–294 (2012). https://doi.org/10.1007/s10703-012-0142-8
Colombo, C., et al.: Runtime verification for stream processing applications. In: ISoLA’16. LNCS, vol. 9953, pp. 400–406 (2016). https://doi.org/10.1007/978-3-319-47169-3_32
D’Angelo, B., et al.: LOLA: runtime monitoring of synchronous systems. In: TIME’05, pp. 166–174. IEEE Computer Society (2005). https://doi.org/10.1109/TIME.2005.26
Falcone, Y., Mounier, L., Fernandez, J., Richier, J.: Runtime enforcement monitors: composition, synthesis, and enforcement abilities. Formal Methods Syst. Des. 38(3), 223–262 (2011). https://doi.org/10.1007/s10703-011-0114-4
Havelund, K., Peled, D.: Runtime verification: from propositional to first-order temporal logic. In: Colombo, C., Leucker, M. (eds.) Runtime Verification: 18th International Conference, RV 2018, Limassol, Cyprus, November 10–13, 2018, Proceedings, pp. 90–112. Springer International Publishing, Cham (2018). https://doi.org/10.1007/978-3-030-03769-7_7
Mally, E.: Grundgesetze des Sollens. Elemente fer Logik des Willens. Graz: Leuschner & Lubensky (1926)
Misra, J., Nipkow, T., Sekerinski, E. (eds.): FM 2006: Formal Methods. Springer Berlin Heidelberg, Berlin, Heidelberg (2006)
Roşu, G., Havelund, K.: Rewriting-based techniques for runtime verification. Autom. Softw. Eng. 12(2), 151–197 (2005). https://doi.org/10.1007/s10515-005-6205-y
Sammapun, U., Easwaran, A., Lee, I., Sokolsky, O.: Simulation of simultaneous events in regular expressions for run-time verification. In: RV’04. ENTCS, vol. 113, pp. 123–143. Elsevier (2004). https://doi.org/10.1016/J.ENTCS.2004.01.030
Sen, K., Rosu, G.: Generating optimal monitors for extended regular expressions. In: RV’03. ENTCS, vol. 89, pp. 226–245. Elsevier (2003). https://doi.org/10.1016/S1571-0661(04)81051-X
ter Beek, M.H., McIver, A., Oliveira, J.N. (eds.): Formal Methods – The Next 30 Years: Third World Congress, FM 2019, Porto, Portugal, October 7–11, 2019, Proceedings. Springer International Publishing, Cham (2019)
Wright, G.H.V.: Deontic logic. Mind 60, 1–15 (1951). https://doi.org/10.1093/mind/LX.237.1
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Colombo, C., Pace, G.J., Schneider, G. (2025). Interest Beyond Violation: On Points-of-Interest in Runtime Verification. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation. Specification and Verification. ISoLA 2024. Lecture Notes in Computer Science, vol 15221. Springer, Cham. https://doi.org/10.1007/978-3-031-75380-0_5
Download citation
DOI: https://doi.org/10.1007/978-3-031-75380-0_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-75379-4
Online ISBN: 978-3-031-75380-0
eBook Packages: Computer ScienceComputer Science (R0)