Skip to main content

Verifying Pattern-Generated LTL Formulas: A Case Study

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3639))

Abstract

The Specification Pattern System (SPS) and the Property Specification (Prospec) tool assist a user in generating formal specifications in Linear Temporal Logic (LTL), as well as other languages, from property patterns and scopes. Patterns are high-level abstractions that provide descriptions of common properties, and scopes describe the extent of program execution over which the property holds. The purpose of the work presented in this paper is to verify that the generated LTL formulas match the natural language descriptions, timelines, and traces of computation that describe the pattern and scope. The LTL formulas were verified using the Spin model checker on test cases developed using boundary value analysis and equivalence class testing strategies. A test case is an LTL formula and a sequence of Boolean valuations. The LTL formulas were those generated from SPS and Prospec. The Boolean valuations of propositions in the LTL formula are generated by a deterministic, single-threaded Promela program that was run using the software model-checker Spin. For each pattern, a suite of test cases was. The experiments uncovered several errors in both the SPS-generated and the Prospec-generated formulas.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Dillon, L., Kutty, G., Moser, L.E., Melliar –Smith, P.M., Ramakrishna, Y.S.: A Graphical Interval Logic for Specifying Concurrent Systems. ACM Transactions on Software Eng. and Methodology 3, 131–165 (1994)

    Article  Google Scholar 

  2. Dwyer, M.B., Avrunin, G.S., Corbett, J.C.: Property Specification Patterns for Finite–State Verification. In: Proceedings of the 2nd Workshop on Formal Methods in Software Practice, Clearwater Beach, Florida, pp. 7–15 (1998)

    Google Scholar 

  3. Dwyer, M.B., Avrunin, G.S., Corbett, J.C.: Patterns in Property Specification for Finite–State Verification. In: Proceedings of the 21st Intl. Conference on Software Engineering, Los Angeles, CA, USA, pp. 411–420 (1999)

    Google Scholar 

  4. Gamma, E., Helm, R.: Design Patterns, Elements of Reusable Object– Oriented Software, p. 416. Addison Wesley, Reading (1995)

    Google Scholar 

  5. Kutty, G.: A Graphical Environment for Temporal Reasoning. Dissertation, Electrical and Computer Engineering Department, University of California at Santa Barbara (1994)

    Google Scholar 

  6. Laroussinie, F., Schnoebelen, P.: Specification in CTL+Past for Verification in CTL. Information and Computation, 236–263 (2000)

    Google Scholar 

  7. Manna, Z., Pnueli, A.: Completing the Temporal Picture. Theoretical Computer Science 83(1), 97–130 (1991)

    Article  MATH  Google Scholar 

  8. Merriam Webster Online (April 2005), http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=follow

  9. Mondragon, O., Gates, A., Roach, S.: Composite Propositions: Toward Support for Formal Specification of System Properties. In: Proceedings of the 27th Annual IEEE/NASA Goddard Software Engineering Workshop, Greenbelt, MD, USA (December 2002)

    Google Scholar 

  10. Mondragon, O., Gates, A.Q., Roach, S.: Prospec: Support for Elicitation and Formal Specification of Software Properties. In: Sokolsky, O., Viswanathan, M. (eds.) Proceedings of Runtime Verification Workshop. ENTCS, vol. 89(2) (2004)

    Google Scholar 

  11. Mondragon, O., Gates, A.Q.: Supporting Elicitation and Specification of Software Properties through Patterns and Composite Propositions. Intl. Journal Software Engineering and Knowledge Engineering XS 14(1) (February 2004)

    Google Scholar 

  12. Mondragon, O.: Elucidation and Specification of Software Properties through Patterns and Composite Propositions to Support Formal Verification Techniques. Dissertation, The University of Texas at El Paso (May 2004)

    Google Scholar 

  13. Salamah, S.: Supporting Documentation for the SPS-Prospec Case Study, UTEP-CS-05-14, the University of Texas at El Paso (April 2005)

    Google Scholar 

  14. Spec Patterns (April 2005), http://patterns.projects.cis.ksu.edu/

  15. Spec Patterns (April 2005), http://patterns.projects.cis.ksu.edu/documentation/patterns/scopes.shtml

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Salamah, S., Gates, A., Roach, S., Mondragon, O. (2005). Verifying Pattern-Generated LTL Formulas: A Case Study. In: Godefroid, P. (eds) Model Checking Software. SPIN 2005. Lecture Notes in Computer Science, vol 3639. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11537328_17

Download citation

  • DOI: https://doi.org/10.1007/11537328_17

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28195-5

  • Online ISBN: 978-3-540-31899-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics