Z notation

From Wikipedia, the free encyclopedia
(Redirected from Z specification language)
Jump to navigation Jump to search

Template:Short description Script error: No such module "Unsubst".

File:Agendacumple en Z.svg
An example of a formal specification (in Spanish) using the Z notation, with named schema boxes, including declarations and predicates

The Z notation Script error: No such module "IPAc-en". is a formal specification language used for describing and modelling computing systems.[1] It is targeted at the clear specification of computer programs and computer-based systems in general.

History

File:JRA Jean-Raymond Abrial.jpg
Jean-Raymond Abrial, the main originator of the Z notation

In 1974, Jean-Raymond Abrial[2] published "Data Semantics".[3] He used a notation that would later be taught in the University of Grenoble until the end of the 1980s.

While at EDF (Électricité de France), working with Bertrand Meyer, Abrial also worked on developing Z.[4] Z was originally proposed by Abrial in 1977 with the help of Steve Schuman and Bertrand Meyer.[5] The Z notation is used in the 1980 book Méthodes de programmation.[6]

Z was developed further at the Programming Research Group at Oxford University, where Abrial worked in the early 1980s with researchers including Bernard Sufrin and Template:Interlanguage link multi (1949–2012),[7] having arrived at Oxford in September 1979.[8] Sørensen received a DPhil degree from Oxford University in 1981 on early Z-based research.[9] He taught early courses in Z notation at Oxford[10] and established the Z User Meeting series, initially in Oxford.[11]


Template:Interlanguage link multi led the Transaction Processing Project at Oxford University from its inception in 1982 (later renamed the "CICS Project",[12]), in collaboration with IBM Hursley.[13] The project formally specified parts of IBM's CICS transaction processing software using Z notation. This won a Queen's Award for Technological Achievement in 1992.[14][15] As part of the CICS project, Sørensen extended Edsger Dijkstra's Guarded Command Language by allowing the use of Z-schema notation as abstract commands.[16] These ideas were later formalized by Carroll Morgan in his refinement calculus.[16]

Z schema boxes were added by Carroll Morgan for the structuring of larger specifications.[17] Ian Hayes edited the 1987 book Specification Case Study on the use of Z (2nd edition published in 1993),[18] with contributions from Morgan, Sørensen, Sufrin, and others. A de facto standard for Z was produced as a book by Mike Spivey in 1989 (2nd edition, 1992).[19]

Abrial has said that Z is so named "Because it is the ultimate language!"[20] although the name "Zermelo" is also associated with the Z notation through its use of Zermelo–Fraenkel set theory.

Usage and notation

Z is based on the standard mathematical notation used in axiomatic set theory, lambda calculus, and first-order predicate logic.[19] All expressions in Z notation are typed, thereby avoiding some of the paradoxes of naive set theory. Z contains a standardized catalogue (called the mathematical toolkit) of commonly used mathematical functions and predicates, defined using Z itself. It is augmented with Z schema boxes, which can be combined using their own operators, based on standard logical operators, and also by including schemas within other schemas.[17] This allows Z specifications to be built up into large specifications in a convenient manner.

Z User Group

Script error: No such module "Labelled list hatnote". In 1985, a series of Z Users Meetings was instigated by Ib Sørensen, initially at Rewley House in Oxford.[11] In 1992, the Z User Group (ZUG) was established at one of these meetings to oversee activities concerning the Z notation, especially meetings and conferences.[11] ZUG continued to organize regular Z User Workshops/Meetings (ZUM). Later, when they began to be held outside the United Kingdom, these became known as the International Conference of Z Users. Later still, these conferences were combined to cover the B-Method as well, becoming known as the International Conference of B and Z Users (ZB).

Standards

ISO completed a Z standardization effort in 2002. This standard[21] and a technical corrigendum[22] are available from ISO free:

  • the standard is publicly available[21] freely from ISO ITTF and, separately, available for purchase[21] from the ISO site;
  • the technical corrigendum is available[22] freely from ISO.

Because Z notation uses many non-ASCII symbols, the specification includes suggestions for rendering the Z notation symbols in ASCII and in LaTeX. There are also Unicode encodings for all standard Z symbols.[23]

Award

In 1992, Oxford University Computing Laboratory and IBM were jointly awarded The Queen's Award for Technological Achievement "for the development of ... the Z notation, and its application in the IBM Customer Information Control System (CICS) product."[24]

Further reading

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "Citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1". (describes early version of the language).
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "Citation/CS1".
  8. Script error: No such module "Citation/CS1".
  9. Sørensen, Ib Holm (1981). Topics in program specification and design: specification and design of distributed systems Script error: No such module "webarchive". (DPhil). UK: Wolfson College, University of Oxford.
  10. Woodcock, Jim; Davies, Jim (1996). "Acknowledgments". Using Z: Specification, Refinement, and Proof. International Series in Computer Science. Prentice Hall. Template:ISBN.
  11. a b c Script error: No such module "citation/CS1".
  12. Fitzgerald, J. S. (October 2006). Perspectives on Formal Methods in the Last 25 years. Technical Report Series. Vol. CS-TR-983. UK: Newcastle University.
  13. Hayes, Ian (1993). "Preface to the first edition". Specification Case Studies. International Series in Computer Science (2nd ed.). Prentice Hall. Template:ISBN.
  14. King, Steve (1993). "The Use of Z in the Restructure of IBM CICS". In Hayes, Ian (ed.). Specification Case Studies. International Series in Computer Science (2nd ed.). Prentice Hall. pp. 202–213. Template:ISBN.
  15. "Prof Jim Woodcock, FREng" Script error: No such module "webarchive".. UK: University of York.
  16. a b Hayes, Ian J.; King, Steve (2021). "11.9 Industry Influence on Research". In Jones, Cliff B.; Misra, Jayadev (eds.). Theories of Programming: The Life and Works of Tony Hoare. Association for Computing Machinery. pp. 266–267. Template:ISBN.
  17. a b Script error: No such module "Citation/CS1".
  18. Hayes, Ian, ed. (1993). Specification Case Studies Script error: No such module "webarchive".. International Series in Computer Science (2nd ed.). Prentice Hall. Template:ISBN.
  19. a b Script error: No such module "citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. a b c Script error: No such module "citation/CS1". 196 pp.
  22. a b Script error: No such module "citation/CS1". 12 pp.
  23. Script error: No such module "citation/CS1".
  24. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

Script error: No such module "Navbox". Template:List of IEC standards Script error: No such module "Authority control".