Skip to main content

Three Approaches to Timed External Choice in UTP

  • Conference paper
  • First Online:

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

Abstract

We explore different approaches to modelling external choice as a reactive process in a UTP semantics with discrete time. The standard definition of external choice cannot be simply reused in a timed semantics, since it can introduces behaviours which are not prefix-closed and urgent events which occur instantly. We first examine unstable states and urgent events in different semantics for CSP. We present the semantics for a simple timed reactive UTP language and describe the difficulties of adding external choice. We define two new process operators; strict choice, which never engages in urgent events and lazy choice, which can delay urgent events. We briefly discuss two potential modifications to the language model; a lazy semantics, in which termination is not unstable, and a semantics in which unstable states can be observed. Finally, we give a more detailed treatment to strict choice, expressing it as a reactive design and stating its algebraic laws.

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   34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   44.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. Bryans, J., Canham, S., Cavalcanti, A., Sampiao, A., Santos, T., Woodcock, J.: CML Definition 2. Public Document. Deliverable Number: D23.3, Version: 1.0, COMPASS Project, University of York, March 2013

    Google Scholar 

  2. Butterfield, A., Gancarski, P., Woodcock, J.: State visibility and communication in unifying theories of programming. In: Theoretical Aspects of Software Engineering, pp. 47–54 (2009)

    Google Scholar 

  3. Cavalcanti, A., Woodcock, J.: A tutorial introduction to CSP in unifying theories of programming. In: Cavalcanti, A., Sampaio, A., Woodcock, J. (eds.) PSSE 2004. LNCS, vol. 3167, pp. 220–268. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  4. Hoare, C.A.R.: Communicating Sequential Processes. Intl. Series in Computer Science. Prentice Hall (1985)

    Google Scholar 

  5. Hoare, C.A.R., He, J.: Unifying Theories of Programming. Series in Computer Science. Prentice Hall (1998)

    Google Scholar 

  6. Lowe, G., Ouaknine, J.: On timed models and full abstraction. Electr. Notes Theor. Comput. Sci. 155, 497–519 (2006)

    Article  Google Scholar 

  7. Roscoe, A.W.: The Theory and Practice of Concurrency. Prentice-Hall Series in Computer Science. Prentice-Hall (1998)

    Google Scholar 

  8. Sherif, A.: A Framework for Specification and Validation of Real-Time Systems using Circus Actions. PhD thesis, Center of Informatics - Federal University of Pernambuco, Brazil (2006)

    Google Scholar 

  9. Wei, K., Woodcock, J., Cavalcanti, A.: Circus time with reactive designs. In: Wolff, B., Gaudel, M.-C., Feliachi, A. (eds.) UTP 2012. LNCS, vol. 7681, pp. 68–87. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  10. Woodcock, J., Cavalcanti, A.: A concurrent language for refinement. In: Butterfield, A., Pahl, C. (eds.) IWFM 2001: 5th Irish Workshop in Formal Methods. BCS Electronic Workshops in Computing, Dublin, Ireland, July 2001

    Google Scholar 

  11. Woodcock, J., Cavalcanti, A.: The semantics of \({circus}\). In: Bert, D., Bowen, J.P., Henson, M.C., Robinson, K. (eds.) ZB 2002. LNCS, vol. 2272, pp. 184–203. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Samuel Canham .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Canham, S., Woodcock, J. (2015). Three Approaches to Timed External Choice in UTP. In: Naumann, D. (eds) Unifying Theories of Programming. UTP 2014. Lecture Notes in Computer Science(), vol 8963. Springer, Cham. https://doi.org/10.1007/978-3-319-14806-9_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-14806-9_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-14805-2

  • Online ISBN: 978-3-319-14806-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics