Abstract
We consider adding parametrised libraries to Z as a strict extension to the current notation. We examine a simple modularisation facility with only generic sets as parameters, similar to current Z generic schemas.
In examining parameters other than generic sets we consider both an explicit parameter section at the beginning of the library and a more general alternative allowing any variable in the library to be instantiated as a parameter. It turns out, however, that the same effect as the latter form of parametrisation can be achieved with just the simple modularisation, that is, with only generic set parameters.
Finally, we consider interactions between the modularisation facility and current Z notation. In particular, we consider the problem of allowing flexibility in using free types and schema types as parameters.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Alencar A, Goguen J. OOZE: An object-oriented Z environment. In America P (ed), Proc. ECOOP’91 European Conference on Object-Oriented Programming, vol 512 of Lecture Notes in Computer Science, pp 180–199. Springer-Verlag, 1991.
Duke D. Structuring Z specifications. In Proc. 14th Australian Computer Science Conference, 1991.
Duke D. Enhancing the structure of Z specifications. In Nicholls J (ed), Z User Workshop, York 1991, Workshops in Computing, pp 329–351. Springer-Verlag, 1992.
Duke D. Object-Oriented Formal Specification. PhD thesis, Department of Computer Science, University of Queensland, 1992.
Duke R, King P, Rose G, Smith G. The Object-Z specification language version 1. Technical Report SVRC 91–1, Department of Computer Science, University of Queensland, QLD 4072, Australia, 1991.
Fitzgerald J. Modularity in model-oriented formal specifications and its interaction with formal reasoning. PhD thesis, Department of Computer Science, University of Manchester, 1991.
Flinn B, Sorensen I. CAVIAR: A case study in specification. In Hayes I (ed), Specification Case Studies, International Series in Computer Science, pp 141–188. Prentice Hall International, Hemel Hempstead, Hertfordshire, UK, 1987.
Flinn B, Sorensen I. CAVIAR: A case study in specification. In Hayes I (ed), Specification Case Studies, International Series in Computer Science, pp 79–110. Prentice Hall International, Hemel Hempstead, Hertfordshire, UK, second edition, 1993. To appear.
Lano K. Z++: An object-orientated extension to Z. In Nicholls [11], pp 151–172.
Meira S, Cavalcanti A. Modular object-oriented Z specifications. In Nicholls [11], pp 173–192.
Nicholls J (ed). Z User Workshop, Oxford 1990, Workshops in Computing. Springer-Verlag, 1991.
Sorensen I. A specification language. In Staunstrup J (ed), Program Specification: Proceedings of a Workshop, vol 134 of Lecture Notes in Computer Science, pp 381–401. Springer-Verlag, 1981.
Spivey J. The Z Notation: A Reference Manual. International Series in Computer Science. Prentice Hall, Hemel Hempstead, Hertfordshire, UK, 2nd edition, 1992.
Stepney S. Comparative study of object orientation in Z. Technical Report ZIP/Logica/90/046, Issue 3.0, Logica Cambridge Ltd, Betjeman House, 104 Hills Road, Cambridge CB2 1LQ, UK, 1990.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hayes, I., Wildman, L. (1993). Towards Libraries for Z. In: Bowen, J.P., Nicholls, J.E. (eds) Z User Workshop, London 1992. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3556-2_3
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3556-2_3
Publisher Name: Springer, London
Print ISBN: 978-3-540-19818-5
Online ISBN: 978-1-4471-3556-2
eBook Packages: Springer Book Archive