Skip to main content

A Reasoning Method for Timed CSP Based on Constraint Solving

  • Conference paper
Formal Methods and Software Engineering (ICFEM 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4260))

Included in the following conference series:

Abstract

Timed CSP extends CSP by introducing a capability to quantify temporal aspects of sequencing and synchronization. It is a powerful language to model real time reactive systems. However, there is no verification tool support for proving critical properties over systems modelled using Timed CSP. In this work, we construct a reasoning method using Constraint Logic Programming (CLP) as an underlying reasoning mechanism for Timed CSP. We start with encoding the semantics of Timed CSP in CLP, which allows a systematic translation of Timed CSP to CLP. Powerful constraint solver like CLP(\(\mathcal{R}\)) is then used to prove traditional safety properties and beyond, e.g., reachability, deadlock-freeness, timewise refinement relationship, lower or upper bound of a time interval, etc. Counter-examples are generated when properties are not satisfied. Moreover, our method also handles useful extensions to Timed CSP. Finally, we demonstrate the effectiveness of our approach through case study of standard real time systems.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abhik, R., Ramakrishnan, I.V.: Automated Inductive Verification of Parameterized Protocols. In: Berry, G., Comon, H., Finkel, A. (eds.) CAV 2001. LNCS, vol. 2102, p. 25. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  2. Brooke, P.J.: A Timed Semantics for a Hierarchical Design Notation. PhD thesis, University of York (April 1999)

    Google Scholar 

  3. Chaki, S., Clarke, E.M., Ouaknine, J., Sharygina, N., Sinha, N.: State/Event-based Software Model Checking. In: Proceeding of Integrate Formal Methods 2004, pp. 128–147 (2004)

    Google Scholar 

  4. Davies, J.: Specification and Proof in Real-Time CSP. Cambridge University Press, Cambridge (1993)

    Book  MATH  Google Scholar 

  5. Formal Systems (Europe) Ltd. Failure Divergence Refinement: FDR2 User Manual (1997)

    Google Scholar 

  6. Gupta, G.l., Pontelli, E.: A Constraint-based Approach for Specification and Verification of Real-time Systems. In: IEEE Real-Time Systems Symposium, pp. 230–239 (1997)

    Google Scholar 

  7. Hoare, C.A.R.: Communicating Sequential Processes. International Series in Computer Science. Prentice-Hall, Englewood Cliffs (1985)

    MATH  Google Scholar 

  8. Santosa, A., Jaffar, J., Voicu, R.: Modeling Systems in CLP with Coinductive Tabling. In: International Conference on Logic Programming (2005)

    Google Scholar 

  9. Jaffar, J., Maher, M.J.: Constraint Logic Programming: A Survey. Journal of Logic Programming 19, 20, 503–581 (1994)

    Article  MathSciNet  Google Scholar 

  10. Jaffar, J., Michaylov, S., Stuckey, P.J., Yap, R.H.C.: The CLP(R) Language and System. ACM Trans. Program. Lang. Syst. 14(3), 339–395 (1992)

    Article  Google Scholar 

  11. Jaffar, J., Santosa, A.E., Voicu, R.: A CLP Proof Method for Timed Automata. In: Real-Time Systems Symposium, pp. 175–186 (2004)

    Google Scholar 

  12. Mahony, B.P., Dong, J.S.: Timed Communicating Object Z. IEEE Trans. Software Eng. 26(2), 150–177 (2000)

    Article  Google Scholar 

  13. Milner, R.: A Calculus of Communicating Systems, vol. 92. Springer, Heidelberg (1980)

    MATH  Google Scholar 

  14. Reed, G.M., Roscoe, A.W.: A Timed Model for Communicating Sequential Processes. In: Kott, L. (ed.) ICALP 1986. LNCS, vol. 226, pp. 314–323. Springer, Heidelberg (1986)

    Google Scholar 

  15. Roscoe, A.W.: The Theory and Practice of Concurrency. Prentice-Hall, Englewood Cliffs (1997)

    Google Scholar 

  16. Schneider, S.: Concurrent and Real-time System: The CSP Approach. John Wiley & Sons, Ltd, Chichester (2000)

    Google Scholar 

  17. Schneider, S.A.: An Operational Semantics for Timed CSP. In: Proceedings Chalmers Workshop on Concurrency, pp. 428–456 (1991); Report PMG-R63, Chalmers University of Technology and University of Göteborg (1992)

    Google Scholar 

  18. Smith, G., Derrick, J.: Specification, Refinement and Verification of Concurrent Systems-An Integration of Object-Z and CSP. Formal Methods in System Design 18(3), 249–284 (2001)

    Article  MATH  Google Scholar 

  19. Warren, D.S.: Programming with Tabling in XSB. In: PROCOMET 1998: Proceedings of the IFIP TC2/WG2.2,2.3 International Conference on Programming Concepts and Methods, pp. 5–6, London, UK (1998)

    Google Scholar 

  20. Woodcock, J., Davies, J.: Using Z: Specification, Refinement, and Proof. Prentice-Hall International, Englewood Cliffs (1996)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dong, J.S., Hao, P., Sun, J., Zhang, X. (2006). A Reasoning Method for Timed CSP Based on Constraint Solving. In: Liu, Z., He, J. (eds) Formal Methods and Software Engineering. ICFEM 2006. Lecture Notes in Computer Science, vol 4260. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11901433_19

Download citation

  • DOI: https://doi.org/10.1007/11901433_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-47460-9

  • Online ISBN: 978-3-540-47462-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics