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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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)
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)
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)
Gamma, E., Helm, R.: Design Patterns, Elements of Reusable Object– Oriented Software, p. 416. Addison Wesley, Reading (1995)
Kutty, G.: A Graphical Environment for Temporal Reasoning. Dissertation, Electrical and Computer Engineering Department, University of California at Santa Barbara (1994)
Laroussinie, F., Schnoebelen, P.: Specification in CTL+Past for Verification in CTL. Information and Computation, 236–263 (2000)
Manna, Z., Pnueli, A.: Completing the Temporal Picture. Theoretical Computer Science 83(1), 97–130 (1991)
Merriam Webster Online (April 2005), http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=follow
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)
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)
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)
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)
Salamah, S.: Supporting Documentation for the SPS-Prospec Case Study, UTEP-CS-05-14, the University of Texas at El Paso (April 2005)
Spec Patterns (April 2005), http://patterns.projects.cis.ksu.edu/
Spec Patterns (April 2005), http://patterns.projects.cis.ksu.edu/documentation/patterns/scopes.shtml
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)