Abstract
Many Z users have found that the language Z and the conventions for its usage do not provide a powerful enough notation for structuring large specifications. They have found that they often cannot construct ‘high level’ specifications from existing ‘lower level’ ones, or can only do so by means of some tortuous usage of the language. There have been several attempts to improve this situation by extending the Z language, and the conventions for its usage, to include some high level structuring mechanism. Several groups have independently devised mechanisms for producing object oriented specifications in Z. This paper describes an approach to object oriented specification developed with the aim of providing additional structure to aid in the process of refinement. However we believe the approach to be more widely applicable, and that it can be used to aid in the structuring of general specifications. The paper will describe the basic approach adopted for specifying objects, the problems experienced in expressing them in Z, and outline the framework in which we utilise the individual object specifications.
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
A Hall, “Using Z as a Specification Calculus for Object Oriented Sytems”, in Proceedings of VDM-90, Springer-Verlag (1990).
Carrington D, Duke D, Duke R, King P, Rose G and Smith G, Object-Z: An Object-Oriented Extension to Z, FORTE. 89 (December 1989).
Schuman S A and Pitt D H, “Object Oriented Subsystem Specification”, pp. 313341 in Program Specification and Transformation, ed. Meertens L G L T, North Holland (1985).
Bartussek W and Parnas D, “Using Assertions About Traces to Write Abstract Specifications fo Software Modules”, pp. 111–130 in Software Specification Techniques, ed. Gehani N and McGettrick A D (1985).
Parnas D L and Wang Y, “The Trace Assertion Method of Module Interface Specification”, Technical Report 89–261, Queen’s University, Ontario (1989).
Luca Cardelli and Peter Wegner, “On Understanding Types, Data Abstraction, and Polymorphism”, ACM Computing Surveys 17 (4), pp. 471–523 (December 1985).
S. Danforth and C. Tomlinson, “Type Theories and Object-Oriented Programming”, ACM Computing Surveys 20 (1), pp. 29–72 (Mar 1988).
C B Jones, “Development Methods for Computer Programs including a Notion of Interference”, D.Phil. Thesis, Programming Research Group, Oxford University (1981).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Whysall, P.J., McDermid, J.A. (1991). An Approach to Object Oriented Specification using Z. In: Nicholls, J.E. (eds) Z User Workshop, Oxford 1990. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3540-1_13
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3540-1_13
Publisher Name: Springer, London
Print ISBN: 978-3-540-19672-3
Online ISBN: 978-1-4471-3540-1
eBook Packages: Springer Book Archive