Abstract
This chapter defines refinement in Z, and shows how it derives from the relational model in Chap. 4. It discusses the similarities and differences with refinement in B. The approach taken in a state-based specification language is very different in emphasis from that in a process algebra. Process algebras stress the interaction between independent components (processes), so that communication and concurrency are key. State is implicit in such a description. A different approach is taken by a state-based language which, as the name suggests, considers the specification of state as the primary focus in a description. In this chapter we illustrate the approach to state-based specification by briefly introducing the Z and B notations, and showing how we can apply our theory of refinement to them.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Smith G (2000) The Object-Z specification language. Kluwer Academic Publishers, Boston
Potter B, Sinclair J, Till D (1996) An introduction to formal specification and Z. International series in computer science, 2nd edn. Prentice Hall, New York (1991)
Ratcliff B (1994) Introducing specification using Z: a practical case study approach. McGraw-Hill, London
Bottaci L, Jones J (1995) Formal specification using Z: a modelling approach. International Thomson Publishing, London
Bowen JP (1996) Formal specification and documentation using Z: a case study approach. International Thomson Computer Press, London
Jacky J (1997) The way of Z: practical programming with formal methods. Cambridge University Press, Cambridge
Hayes IJ (ed) (1987) Specification case studies. International series in computer science, 2nd edn. Prentice Hall, New York (1993)
Spivey JM (1992) The Z notation: a reference manual. International series in computer science, 2nd edn. Prentice Hall, New York
ISO/IEC (2002) International standard 13568:2002 Information technology – Z formal specification notation – Syntax, type system and semantics
Spivey JM (1988) Understanding Z: a specification language and its formal semantics. Cambridge University Press, Cambridge
Barden R, Stepney S, Cooper D (1994) Z in practice. BCS practitioner series, Prentice Hall, New York
Woodcock JCP, Davies J (1996) Using Z: specification, refinement, and proof. Prentice Hall, New York
Derrick J, Smith G (2004) Linear temporal logic and Z refinement. In: Rattray C, Maharaj S, Shankland C (eds) AMAST. Lecture notes in computer science, vol 3116. Springer, Berlin, pp 117–131
Derrick J, Smith G (2012) Temporal-logic property preservation under Z refinement. Form Asp Comput 24(3):393–416
Derrick J, Boiten EA (2014) Refinement in Z and Object-Z, 2nd edn. Springer, Berlin
Derrick J, Wehrheim H Using coupled simulations in non-atomic refinement. In: Bert et al [39], pp 127–147
Derrick J, Wehrheim H Non-atomic refinement in Z and CSP. In: Treharne et al [40], pp 24–44
Boiten EA (2014) Introducing extra operations in refinement. Form Asp Comput 26(2):305–317
Derrick J, Boiten EA, Bowman H, Steen MWA Weak refinement in Z. In: Bert et al [39], pp 369–388
Derrick J, Boiten EA, Bowman H, Steen MWA (1998) Specifying and refining internal operations in Z. Form Asp Comput 10:125–159
Derrick J, Wehrheim H (2007) On using data abstractions for model checking refinements. Acta Inf 44(1):41–71
Derrick J, North S, Simons T (2006) Issues in implementing a model checker for Z. In: Liu Z, He J (eds) ICFEM. Lecture notes in computer science, Springer, Berlin, pp 678–696
Smith G, Derrick J (2006) Verifying data refinements using a model checker. Form Asp Comput 18(3):264–287
Smith G, Derrick J (2005) Model checking downward simulations. Electron Notes Theor Comput Sci 137(2):205–224
Abrial J-R (1996) The B-book: assigning programs to meanings. Cambridge University Press, New York
Schneider S (2001) The B-method: an introduction. Palgrave Macmillan, London
Wordsworth JB (1996) Software engineering with B. Addison-Wesley, Longman Publishing Co., Inc., Boston
Lano K (1996) The B language and method: a guide to practical formal development. FACIT series, Springer, Berlin
Sekerinski E, Sere K (eds) (1999) Program development by refinement - case studies using the B method. FACIT, Springer, Berlin
Abrial J-R, Mussat L (1997) Specification and design of a transmission protocol by successive refinements using B. In: Broy M, Schieder B (eds) Mathematical methods in program development. NATO ASI series F: computer and systems sciences, vol 158. Springer, Berlin, pp 129–200
Nicholls JE (ed) (1990) Z user workshop, Oxford 1990. Workshops in computing, Springer, Berlin
Bowen JP, Nicholls JE (eds) (1992) Seventh annual Z user workshop. Springer, London
Bowen JP, Hall JA (eds) (1994) ZUM’94. Z user workshop. Workshops in computing, Springer, Cambridge
Bowen JP, Hinchey MG (eds) (1995) ZUM’95: The Z formal specification notation. Lecture notes in computer science, vol 967. Springer, Limerick
Bowen JP, Hinchey MG, Till D (eds) (1997) ZUM’97: The Z formal specification notation. Lecture notes in computer science, vol 1212. Springer, Berlin
Bowen JP, Fett A, Hinchey MG (eds) (1998) ZUM’98: The Z formal specification notation. Lecture notes in computer science, vol 1493. Springer, Berlin
Bowen JP, Dunne S, Galloway A, King S (eds) (2000) ZB2000: Formal specification and development in Z and B. Lecture notes in computer science, vol 1878. Springer, Berlin
Bert D, Bowen JP, Henson MC, Robinson K (eds) (2002) ZB 2002: formal specification and development in Z and B, 2nd international conference of B and Z users. Lecture notes in computer science, vol 2272. Springer, Berlin
Bert D, Bowen JP, King S, Waldén MA (eds) (2003) ZB 2003: formal specification and development in Z and B, third international conference of B and Z users. Lecture notes in computer science, vol 2651. Springer, Berlin
Treharne H, King S, Henson MC, Schneider SA (eds) (2005) ZB 2005: formal specification and development in Z and B, 4th international conference of B and Z users, Guildford, UK, 13–15 April 2005, proceedings. Lecture notes in computer science, vol 3455. Springer, Berlin
Börger E, Butler MJ, Bowen JP, Boca P (eds) (2008) ABZ 2008. Lecture notes in computer science, vol 5238. Springer, Berlin
Frappier M, Glässer U, Khurshid S, Laleau R, Reeves S (eds) (2010) ABZ 2010. Lecture notes in computer science, vol 5977. Springer, Berlin
Derrick J, Fitzgerald JA, Gnesi S, Khurshid S, Leuschel M, Reeves S, Riccobene E (eds) (2012) Abstract state machines, Alloy, B, VDM, and Z - third international conference, ABZ 2012. Lecture notes in computer science, vol 7316. Springer, Berlin
Smith G (1997) A semantic integration of Object-Z and CSP for the specification of concurrent systems. In: Fitzgerald J, Jones CB, Lucas P (eds) FME’97: industrial application and strengthened foundations of formal methods. Lecture notes in computer science, vol 1313. Springer, Berlin, pp 62–81
Smith G, Derrick J Refinement and verification of concurrent systems specified in Object-Z and CSP. In: Hinchey and Liu [50], pp 293–302
Smith G, Derrick J (2001) Specification, refinement and verification of concurrent systems - an integration of Object-Z and CSP. Form Methods Syst Des 18:249–284
Smith G, Derrick J, George C, Miao H (eds) (2002) Abstract specification in Object-Z and CSP. Formal methods and software engineering. Lecture notes in computer science, vol 2495. Springer, Berlin, pp 108–119
Derrick J, Smith G (2003) Structural refinement of systems specified in Object-Z and CSP. Form Asp Comput 15(1):1–27
Butler M An approach to the design of distributed systems with B AMN. In: Bowen et al [35], pp 223–241
Hinchey MG, Liu S (eds) (1997) First international conference on formal engineering methods (ICFEM’97). IEEE Computer Society Press, Hiroshima, Japan
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this chapter
Cite this chapter
Derrick, J., Boiten, E. (2018). State-Based Languages: Z and B. In: Refinement. Springer, Cham. https://doi.org/10.1007/978-3-319-92711-4_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-92711-4_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-92709-1
Online ISBN: 978-3-319-92711-4
eBook Packages: Computer ScienceComputer Science (R0)