Academia.eduAcademia.edu

Outline

L2C2: Logic-based LSC Consistency Checking

2010, arXiv (Cornell University)

Abstract

Live sequence charts (LSCs) have been proposed as an interobject scenario-based specification and visual programming language for reactive systems. In this paper, we introduce a logic-based framework to check the consistency of an LSC specification. An LSC simulator has been implemented in logic programming, utilizing a memoized depth-first search strategy, to show how a reactive system in LSCs would response to a set of external event sequences. A formal notation is defined to specify external event sequences, extending the regular expression with a parallel operator and a testing control. The parallel operator allows interleaved parallel external events to be tested in LSCs simultaneously; while the testing control provides users to a new approach to specify and test certain temporal properties (e.g., CTL formula) in a form of LSC. Our framework further provides either a state transition graph or a failure trace to justify the consistency checking results.

References (32)

  1. GT : global variable to record seen IDs
  2. Bool, Σ * ) mdf t((Q, W, R, B):ID, T r:Σ * )
  3. return (True,T r); %% violation 5. if (W is λ)
  4. if ((Q, W, R, B) ∈ GT )
  5. GT ← GT ∪ {(Q, W, R, B)};
  6. Let W = AW1; %% A is the first char 11. if (A is an external event)
  7. T r ← A + T r; %% concatenation 13. for each (Q1, R1, B1) ∈ ∇((Q, R, B), A)
  8. V, T r1) ← mdf t((Q1, W1, R1, B1), T r);
  9. else %% if A is a nonterminal variable 18. for each A → D1 • • • Dn, where n ≥ 0
  10. V, T r1) ← mdf t((Q, D1 • • • DnW1, R, B), T r);
  11. References
  12. Harvey Abramson: Definite Clause Translation Grammars. International Sympo- sium on Logic Programming, pp. 233-240., 1984.
  13. A. Bunker, G. Gopalakrishnan, and K. Slind: Live Sequence Charts Applied to Hardware Requirements Specification and Verification: A VCI Bus Interface Model. Software Tools for Technology Transfer, 7(4):341-350, 2005.
  14. Y. Bontemps, P. Heymans: Turning high-level live sequence charts into automata. Proceedings of Scenarios and State-Machines: Models, Algorithms, and Tools, 2002.
  15. Y. Bontemps, P. Heymans, H. Kugler: Applying LSCs to the specification of an air traffic control system. Workshop on Scenarios and State Machines: Models, Algorithms and Tools, 2003.
  16. J. Bohn, W. Damm, J. Klose, A. Moik, and H. Wittke: Modeling and validat- ing train system applications using statemate and live sequence charts. The 6th Biennial World Conference on Integrated Design and Process Technology, 2002.
  17. E.M. Clarke, O. Grumberg, and D.A. Peled: Model Checking. The MIT Press, 2001.
  18. P. Combes, D. Harel, and H. Kugler: Modeling and Verification of a Telecommu- nication Application using Live Sequence Charts and the Play-Engine Tool. The 3rd Int. Symp. on Automated Technology for Verification and Analysis, 2008.
  19. Werner Damm and David Harel: LSCs: Breathing Life into Message Sequence Charts. Proc. 3rd IFIP Int. Conf. on Formal Methods for Open Object-based Dis- tributed Systems, pp. 293-312, 1999.
  20. David Harel: From Play-In Scenarios to Code: An Achievable Dream. Proc. Fun- damental Approaches to Software Engineering (FASE), pp. 22-34, 2000.
  21. David Harel and Hillel Kugler: Synthesizing State-based object systems from LSC specifications. Int. Journal of Foundations of Computer Science, 13(1): 5-51, 2002.
  22. David Harel and Rami Marelly: Come, Let's Play: Scenario-Based Programming Using LSCs and the Play-Engine. Springer-Verlag, 2003.
  23. D. Harel, S. Maoz, and I Segall: Some results on the expressive power and com- plexity of LSCs. LNCS 4800, pp. 351-366, 2008.
  24. H. Kugler, D. Harel, A. Pnueli, Y. Lu, and Y. Bontemps: Temporal logic for scenario-based specifications. In TACAS 2005, pp. 445-460.
  25. R. Kumar and E. Mercer: Improving translation of live sequence charts to temporal logic. Int. conf. on automated verification of critical systems, pp. 183-197, 2007.
  26. R. Kumar and E. Mercer: Improving live sequence chart to automata translation for verification. Electronic Communications of the EASST, 2008.
  27. J. Klose, T. Toben, B. Westphal, and H. Wittke: Check It Out: On the Efficient Formal Verification of Live Sequence Charts. 18th International Conference on Computer Aided Verification (CAV), pp. 219-233, 2006.
  28. Jun Sun and Jin Song Dong: Model checking live sequence charts. The 10th IEEE int. conf. on Engineering of complex computer systems, 2005.
  29. T. Toben and B. Westphal: On the expressive power of LSCs. The 32nd Conf. on Current Trends in Theory and Practice of Computer Science, pp. 33-43, 2006.
  30. The Object Management Group (OMG): Documentation of the Unified Modeling Language. http://www.omg.org.
  31. UML: Unified Modeling Languages Superstructure Specification, v2.0. http://www.uml.org/, OMG specification, 2005.
  32. Z.120 ITU-T Recommendation: Message Sequence Chart (MSC). ITU-T, 1996.