Skip to main content

Reasoning about Multi-process Systems with the Box Calculus

  • Chapter
Central European Functional Programming School (CEFP 2011)

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

Included in the following conference series:

Abstract

The box calculus is a formalism for reasoning about the properties of multi-process systems which enables account to be taken of pragmatic as well as computational concerns. It was developed for the programming language Hume which explicitly distinguishes between coordination, based on concurrent boxes linked by wires, and expressions, based on polymorphic recursive functions. This chapter introduces Hume expressions and surveys classic techniques for reasoning about functional programs. It then explores Hume coordination and the box calculus, and examines how Hume programs may be systematically transformed while maintaining computational and pragmatic correctness.

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 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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • Burstall, R.M., Darlington, J.: A transformation system for developing recursive programs. Journal of the Association for Computing Machinery 24(1), 44–67 (1977)

    Article  MathSciNet  MATH  Google Scholar 

  • Bird, R., de Moor, O.: Algebra of Programming. Prentice-Hall (1997)

    Google Scholar 

  • Bird, R.S.: An introduction to the theory of lists. In: Broy, M. (ed.) Logic of Programming and Calculi of Discrete Design, pp. 3–42. Springer, Heidelberg (1987)

    Google Scholar 

  • Breitinger, S., Loogen, R., Ortega Mallen, Y., Pena, R.: The Eden Coordination Model for Distributed Memory Systems. In: Proceedings of the 1997 Workshop on High-Level Programming Models and Supportive Environments (HIPS 1997), pp. 120–124. IEEE Computer Society, Washington, DC (1997)

    Google Scholar 

  • Burstall, R.: Proving properties of programs by structural induction. Computer Journal 12(1), 41–48 (1969)

    Article  MATH  Google Scholar 

  • Church, A.: An unsolvable problem of elementary number theory. American Journal of Mathematics 58, 345–363 (1936)

    Article  MathSciNet  MATH  Google Scholar 

  • Chapman, B., Jost, G., van der Pas, R.: Using OpenMP: Portable Shared Memory Parallel Programming (Scientific and Engineering Computation). MIT (2007)

    Google Scholar 

  • Dijkstra, E.W.: Guarded commands, non-determinacy and derivation of programs. Commuications of the ACM 18(8), 453–457 (1975)

    Article  MATH  Google Scholar 

  • Peyton Jones, S.L. (ed.), Augustsson, L., Boutel, B., Burton, F.W., Fasel, J.H., Gordon, A.D., Hammond, K., Hughes, R.J.M., Hudak, P., Johnsson, T., Jones, M.P., Peterson, J.C., Reid, A., Wadler, P.L.: Report on the Non-Strict Functional Language, Haskell (Haskell98). Technical report, Yale University (1999)

    Google Scholar 

  • Grov, G., Michaelson, G.: Towards a Box Calculus for Hierarchical Hume. In: Morazan, M. (ed.) Trends in Functional Programming, vol. 8, pp. 71–88. Intellect (2008)

    Google Scholar 

  • Grov, G., Michaelson, G.: Hume box calculus: robust system development through software transformation. In: Higher Order Symbolic Computing (July 2011), doi:10.1007/s10990-011-9067-y

    Google Scholar 

  • Grov, G.: Reasoning about correctness properties of a coordination language. PhD thesis, Heriot-Watt University (2009)

    Google Scholar 

  • Halmos, P.R.: Naive Set theory. Van Nostrand (1960)

    Google Scholar 

  • Hammond, K., Michaelson, G.: Hume: A Domain-Specific Language for Real-Time Embedded Systems. In: Pfenning, F., Macko, M. (eds.) GPCE 2003. LNCS, vol. 2830, pp. 37–56. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  • Hoare, C.A.R.: An axiomatic basis for computer programming. Communications of the ACM 12, 576–583 (1969)

    Article  MATH  Google Scholar 

  • Hoare, C.A.R.: Communicating Sequential Processes. Communications of the ACM 21(8), 666–677 (1978)

    Article  MATH  Google Scholar 

  • Hodges, W.: Logic. Pelican (1977)

    Google Scholar 

  • Inmos: Occam Reference Manual. Prentice-Hall (1988)

    Google Scholar 

  • Kneebone, G.: Mathematical Logic and the Foundations of Mathematics. Van Nostrand (1963)

    Google Scholar 

  • McCarthy, J.: A basis for a mathematical theory of computation. Technical Report Memo 31. MIT (1962)

    Google Scholar 

  • MPI-Forum: MPI: A message passing intrface standard. International Journal of Supercomputer Application 8(3-4), 165–414 (1994)

    Google Scholar 

  • Milner, R.: A Calculus of Communicating Systems. Springer (1982)

    Google Scholar 

  • Milner, R.: Communicating and mobile systems - the Pi-calculus. Cambridge University Press (1999)

    Google Scholar 

  • Milner, R., Tofte, M., Harper, R., MacQueen, D.: The Definition of Standard ML (Revised). MIT Press (1997)

    Google Scholar 

  • Nidditch, P.H.: Propositional Calculus. Routledge and Kegan Paul (1962)

    Google Scholar 

  • Peter, R.: Recursive Functions. Academic Press (1967)

    Google Scholar 

  • Quine, W.V.: Word and Object. MIT (1964)

    Google Scholar 

  • Wegner, P.: Programming Languages, Information Structures, and Machine Organization. McGraw-Hill (1968)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Michaelson, G., Grov, G. (2012). Reasoning about Multi-process Systems with the Box Calculus. In: Zsók, V., Horváth, Z., Plasmeijer, R. (eds) Central European Functional Programming School. CEFP 2011. Lecture Notes in Computer Science, vol 7241. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-32096-5_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-32096-5_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-32095-8

  • Online ISBN: 978-3-642-32096-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics