Skip to main content

Proving the Correctness of Simpson’s 4-Slot ACM Using an Assertional Rely-Guarantee Proof Method

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2805))

Abstract

This paper describes a rely-guarantee proof to show that Simpson’s 4-slot single-reader, single-writer ACM is Lamport atomic (as described fully in the paper). First an abstract ACM specification is proved Lamport atomic using an exhaustive assertional method. A formal model of Simpson’s 4-slot is then given and this has been proved to be a refinement of the abstract specification using Nipkow’s retrieve relation rule. Simpson’s 4-slot is then shown to be Lamport atomic using an interleaved concurrency rely-guarantee proof method for shared variable concurrency.

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   84.99
Price excludes VAT (USA)
  • Available as EPUB and 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

Learn about institutional subscriptions

References

  1. Aczel, P.: On an inference rule for parallel composition. Unpublished letter to Cliff Jones (March 1983)

    Google Scholar 

  2. Angerholm, S., Bicarregui, J., Maharaj, S.: On the Verification of VDM Specifications and Refinement with PVS. In: Bicarregui, J.C. (ed.) Proof in VDM: Case Studies. FACIT. Springer, Heidelberg (1998)

    Google Scholar 

  3. Ashcroft, E.A.: Proving assertions about parallel programs. JCSS 10, 110–135 (1975)

    MathSciNet  MATH  Google Scholar 

  4. Brooke, P., Jacob, J.L., Armstrong, J.M.: Analysis of the FourSlot Mechanism. In: Proceedings of the BCS-FACS Northern Formal Methods Workshop (1996)

    Google Scholar 

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

    Google Scholar 

  6. de Roever, W.-P., et al.: Concurrency Verification: Introduction to Compositional and Noncompositional Methods. Cambridge Tracts in Theoretical Computer Science, vol. (54). Cambridge University Press, Cambridge (2001)

    MATH  Google Scholar 

  7. Formal Systems (Europe) Ltd. Failures-Divergence Refinement: The FDR 2.0 User Manual (August 1996)

    Google Scholar 

  8. Henderson, N., Paynter, S.E.: The Formal Classification and Verification of Simpson’s 4-Slot Asynchronous Communication Mechanism. In: Eriksson, L.-H., Lindsay, P.A. (eds.) FME 2002. LNCS, vol. 2391, pp. 350–369. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  9. Hoare, C.A.R.: Monitors: An Operating System Structuring Concept. Communications of the ACM 17(10), 549–557 (1974)

    Article  Google Scholar 

  10. Jones, C.B.: Development Methods for Computing Programs Including a Notion of Interference. PhD thesis, Oxford University Computing Laboratory (1981)

    Google Scholar 

  11. Jones, C.B.: Specification and Design of (Parallel) Programs. Information Processing Letters 83, 321–331 (1983)

    Google Scholar 

  12. Jones, C.B.: Tentative steps towards a development method for interfering programs. ACM Transactions an Programming Languages and Systems 5(4), 596–619 (1983)

    Article  Google Scholar 

  13. Jones, C.B.: Systematic Software Development Using VDM, 2nd edn. International Series in Computer Science (1990)

    Google Scholar 

  14. Lamport, L.: On Interprocess Communication – Part 1: Basic Formalism. Distributed Computing 1, 77–85 (1986)

    Article  Google Scholar 

  15. Lamport, L.: On Interprocess Communication – Part 2: Algorithms. Distributed Computing 1, 86–101 (1986)

    Article  Google Scholar 

  16. Nipkow, T.: Non-Deterministic Data Types: Models and Implementations. Acta Informatica 22, 629–661 (1986)

    Article  MathSciNet  Google Scholar 

  17. Nipkow, T.: Behavioural Implementation Concepts for Nondeterministic Data Types. PhD thesis, University of Manchester (May 1987)

    Google Scholar 

  18. Owre, S., Shanker, N., Rushby, J.M., Stringer-Calvert, D.W.J.: PVS Language: Version 2.3. Technical report, Computer Science Laboratory – SRI International (September 1999)

    Google Scholar 

  19. Owre, S., Shanker, N., Rushby, J.M., Stringer-Calvert, D.W.J.: PVS System Guide: Version 2.3. Technical report, Computer Science Laboratory – SRI International (September 1999)

    Google Scholar 

  20. Paynter, S.E., Henderson, N., Armstrong, J.M.: Ramifications of metastability in bit variables explored via Simpson’s 4-slot mechanism. Submitted to FACS (January 2003)

    Google Scholar 

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

    Google Scholar 

  22. Rushby, J.: Model-Checking Simpson’s Four-Slot Fully Asychronous Communication Mechanism. Technical Report Issued, Computer Science Laboratory – SRI International (July 2002)

    Google Scholar 

  23. Simpson, H.R.: Fully Asynchronous Communication. In: Proceedings of the IEE Colloquium an MASCOT in Real-Time Systems (May 1987)

    Google Scholar 

  24. Simpson, H.R.: Four-Slot Fully Asynchronous Communication Mechanism. IEE Proceedings 137 Part E(1), 17–30 (1990)

    Google Scholar 

  25. Simpson, H.R.: Correctness Analysis for Class of Asynchronous Communication Mechanism. IEE Proceedings 139 Part E(1), 35–49 (1992)

    Google Scholar 

  26. Simpson, H.R.: New Algorithms for Asynchronous Communication. IEE Proceedings of Computer Digital Technology 144(4), 227–231 (1997)

    Article  Google Scholar 

  27. Simpson, H.R.: Role Model Analysis of an Asynchronous Communication Mechanism. IEE Proceedings of Computer Digital Technology 144(4), 232–240 (1997)

    Article  Google Scholar 

  28. Xia, F.: Supporting the MASCOT method with Petri net techniques for real- time systems development. PhD thesis, London University, King’s College (January 2000)

    Google Scholar 

  29. Xia, F., Clark, I.: Complementing the role model method with petri-net techniques in studying issues of data freshness of the four slot mechanism. Technical Report CS-TR-654, Department of Computing Science, University of Newcastle (January 1999)

    Google Scholar 

  30. Xia, F., Yakovlev, A.V., Clark, I.G., Shang, D.: Data communication in systems with heterogeneous timing. IEEE Micro 22(6) (November- December 2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Henderson, N. (2003). Proving the Correctness of Simpson’s 4-Slot ACM Using an Assertional Rely-Guarantee Proof Method. In: Araki, K., Gnesi, S., Mandrioli, D. (eds) FME 2003: Formal Methods. FME 2003. Lecture Notes in Computer Science, vol 2805. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45236-2_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45236-2_15

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40828-4

  • Online ISBN: 978-3-540-45236-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics