Skip Navigation



Journal of Logic and Computation Advance Access published online on February 26, 2009

Journal of Logic and Computation, doi:10.1093/logcom/exn075
This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Bauer, A.
Right arrow Articles by Schallhart, C.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

© The Author, 2009. Published by Oxford University Press. All rights reserved. For Permissions, please email: journals.permissions@oxfordjournals.org

Original Papers

Comparing LTL Semantics for Runtime Verification

Andreas Bauer

Computer Sciences Laboratory, Australian National University, Canberra, Australia.
E-mail: baueran{at}rsise.anu.edu.au

Martin Leucker

Institut für Informatik, Technische Universität München, München, Germany.
E-mail: leucker{at}in.tum.de

Christian Schallhart

Fachbereich Informatik, Technische Universität Darmstadt, Darmstadt, Germany.
E-mail: schallhart{at}forsyte.de

Received 7 June 2008.

When monitoring a system w.r.t. a property defined in a temporal logic such as LTL, a major concern is to settle with an adequate interpretation of observable system events; that is, models of temporal logic formulae are usually infinite words of events, whereas at runtime only finite but incrementally expanding prefixes are available.

In this work, we review LTL-derived logics for finite traces from a runtime-verification perspective. In doing so, we establish four maxims to be satisfied by any LTL-derived logic aimed at runtime verification. As no pre-existing logic readily satisfies all of them, we introduce a new four-valued logic Runtime Verification Linear Temporal Logic RV-LTL in accordance to these maxims. The semantics of Runtime Verification Linear Temporal Logic (RV-LTL) indicates whether a finite word describes a system behaviour which either (i) satisfies the monitored property, (ii) violates the property, (iii) will presumably violate the property, or (iv) will presumably conform to the property in the future, once the system has stabilized. Notably, (i) and (ii) correspond to the classical semantics of LTL, whereas (iii) and (iv) are chosen whenever an observed system behaviour has not yet lead to a violation or acceptance of the monitored property.

Moreover, we present a monitor construction for RV-LTL properties in terms of Moore machines signalizing the semantics of the so far obtained execution trace w.r.t. the monitored property.

Keywords: Runtime verification; temporal logic; monitoring



References

  1. Arafat O, Bauer A, Leucker M, Schallhart C. Runtime verification revisited. In: Technical Report TUM-I0518 (2005) München: Technische Universität München.
  2. Bauer A, Leucker M, Schallhart C. Monitoring of real-time properties. Arun-Kumar S, Garg Naveen, eds. (December 2006) In Foundations of Software Technology and Theoretical Computer Science. Vol. 4337 of Lecture Notes in Computer Science.
  3. Bauer A, Leucker M, Schallhart C. Runtime verification for LTL and TLTL. In: Transactions on Software Engineering (TSE) (2007) Submitted toACMTransactions on Software Engineering and Methodology, preliminary version available as Technical Report TUM-I0724.
  4. Bauer A, Leucker M, Schallhart C. The good, the bad, and the ugly—but how ugly is ugly? (December 2007) Vancouver, Canada: Springer-Verlag. 126–138. In Proceedings of the 7th International Workshop on Runtime Verification (RV’07), Vol. 4839 of Lecture Notes in Computer Science.
  5. Belnap ND. A useful four-valued logic. In: Modern Uses of Multiple-valued Logic—Epstein G, Dunn JM, eds. (1977) Dordrecht, NL: Reidel. 8–37.
  6. d’Amorim M, Rosu G. Efficient monitoring of omega-languages. Etessami K, Rajamani SK, eds. (2005) 364–378. In Proceedings of Computer Aided Verification, Vol. 3576 of Lecture Notes in Computer Science.
  7. Drusinsky D. The temporal rover and the ATG rover. Havelund K, Penix J, Visser W, eds. (2000) Springer. 323–330. In Proceedings of SPIN Model Checking and Software Verification, Vol. 1885 of Lecture Notes in Computer Science.
  8. Eisner C, Fisman D, Havlicek J, Lustig Y, McIsaac A, Van Campenhout D. Reasoning with temporal logic on truncated paths. Hunt Warren A Jr., Somenzi Fabio, eds. (2003) 27–39. In Conference on Computer Aided Verification. Vol. 2725 of Lecture Notes in Computer Science.
  9. Giannakopoulou D, Havelund K. Automata-based verification of temporal properties on running programs. In: ASE—Feather M, Goedicke M, eds. (2001) IEEE Computer Society. 412–416.
  10. Giannakopoulou D, Havelund K. Runtime analysis of linear temporal logic specifications. In: Technical Report 01.21 (2001) Mountain View: RIACS/USRA.
  11. Hopcroft JE. An n log n algorithm for minimizing states in a finite automaton. In: Theory of Machines and Computation—Kohavi Z, Paz A, eds. (1971) Academic: New York. 189–196.
  12. Havelund K, Rosu G. Monitoring Java Programs with Java PathExplorer. Electronic Notes in Theoretical Computer Science (2001) 55:200–217.[CrossRef]
  13. Havelund K, Rosu G. Monitoring programs using rewriting. In: ASE—Feather M, Goedicke M, eds. (2001) IEEE Computer Society. 135.
  14. Havelund K, Rosu G. Synthesizing monitors for safety properties. Katoen J-P, Stevens P, eds. (2002) 342–356. In TACAS. Vol. 2280 of Lecture Notes in Computer Science.
  15. Kamp HW. Tense Logic and the Theory of Linear Order (1968) Los Angeles: University of California. PhD thesis.
  16. Kupferman O, Vardi MY. Model checking of safety properties. Formal Methods in System Design (2001) 19:291–314.[CrossRef][Web of Science]
  17. Manna Z, Pnueli A. Temporal Verification of Reactive Systems: Safety (1995) NewYork: Springer.
  18. Pnueli A. The temporal logic of programs. In: Foundations of Computer Science (1977) IEEE Computer Society Press. 46–57. 31 October to 2 November.
  19. Rosu G, Bensalem S. Allen linear (interval) temporal logic - translation to LTL and monitor synthesis. Ball T, Jones RB, eds. (2006) 263–277. In Conference on Computer Aided Verification. Vol. 4144 of Lecture Notes in Computer Science.
  20. Stolz V, Bodden E. Temporal assertions using AspectJ. Barringer H, et al, eds. (2005) In RV. Vol. 144/4 of Electronic Notes in Theoretical Computer Science.
  21. Vardi MY. An automata-theoretic approach to linear temporal logic. Moller F, Birtwistle GM, eds. (1996) Springer. In Proceedings of Logics for Concurrency - Structure versus Automata (8th Banff Higher Order Workshop, August 27–September 3, 1995, Vol.1043 of Lecture Notes in Computer Science.
  22. Vardi MY, Wolper P. An automata-theoretic approach to automatic program verification. In: Logic in Computer Science—Meyer A, ed. (1986) 332–345.

Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?



This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF)
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Bauer, A.
Right arrow Articles by Schallhart, C.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?