Jump to content

Z notation

From Wikipedia, the free encyclopedia
(Redirected from Z specification language)

Template:Short description Template:Use dmy dates

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

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} 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

See also

References

Template:Reflist

Template:ISO standards Template:List of IEC standards Template:Authority control

  1. ↑ Template:Cite book
  2. ↑ Template:Cite journal
  3. ↑ Template:Citation
  4. ↑ Template:Cite book
  5. ↑ Template:Citation (describes early version of the language).
  6. ↑ Template:Citation
  7. ↑ Template:Cite journal
  8. ↑ Template:Cite journal
  9. ↑ Sørensen, Ib Holm (1981). Topics in program specification and design: specification and design of distributed systems Template: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. ↑ 11.0 11.1 11.2 Template:Cite news
  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" Template:Webarchive. UK: University of York.
  16. ↑ 16.0 16.1 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. ↑ 17.0 17.1 Template:Cite journal
  18. ↑ Hayes, Ian, ed. (1993). Specification Case Studies Template:Webarchive. International Series in Computer Science (2nd ed.). Prentice Hall. Template:ISBN.
  19. ↑ 19.0 19.1 Template:Cite book
  20. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  21. ↑ 21.0 21.1 21.2 Template:Cite book 196 pp.
  22. ↑ 22.0 22.1 Template:Cite book 12 pp.
  23. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  24. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}