Preview

The Z Notation Manual Reference

Powerful Essays
Open Document
Open Document
38159 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
The Z Notation Manual Reference
The Z Notation:
A Reference Manual
Second Edition

J. M. Spivey
Programming Research Group University of Oxford

Based on the work of J. R. Abrial, I. J. Hayes, C. A. R. Hoare, He Jifeng, C. C. Morgan, J. W. Sanders, I. H. Sørensen, J. M. Spivey, B. A. Sufrin

This edition first published 1992 by Prentice Hall International (UK) Ltd Published 1998 by J. M. Spivey Oriel College, Oxford, OX1 4EW, England c J. M. Spivey, 1989, 1992 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form. or by any means, electronic, mechanical, photocopying, recording or otherwise, without prior permission, in writing, from the publisher. For permission in all countries contact the author.

Contents

Preface 1 Tutorial Introduction What is a formal specification? 1.1 1.2 The birthday book 1.3 Strengthening the specification 1.4 From specifications to designs Implementing the birthday book 1.5 1.6 A simple checkpointing scheme Background 2.1 Objects and types 2.1.1 Sets and set types 2.1.2 Tuples and Cartesian product types 2.1.3 Bindings and schema types 2.1.4 Relations and functions 2.2 Properties and schemas 2.2.1 Combining properties 2.2.2 Decorations and renaming 2.2.3 Combining schemas 2.3 Variables and scope 2.3.1 Nested scopes 2.3.2 Schemas with global variables 2.4 Generic constructions 2.5 Partially-defined expressions The Z Language 3.1 Syntactic conventions 3.1.1 Words, decorations and identifiers 3.1.2 Operator symbols 3.1.3 Layout 3.2 Specifications 3.2.1 Basic type definitions

vii 1 1 3 7 10 11 17 24 24 25 25 26 27 28 29 30 31 34 35 36 38 40 42 42 43 43 46 47 47

2

3

v

vi

Contents
3.2.2 Axiomatic descriptions 3.2.3 Constraints 3.2.4 Schema definitions 3.2.5 Abbreviation definitions Schema references Declarations 3.4.1 Characteristic tuples Schema texts Expressions Predicates Schema expressions Generics 3.9.1 Generic schemas 3.9.2 Generic constants Free types 3.10.1 Example:

You May Also Find These Documents Helpful

  • Powerful Essays

    Acct 3563 Summary

    • 7433 Words
    • 30 Pages

    This work is licensed under the Creative Commons Attribution Attribution-Non-CommercialNo Deriva Derivative Works 2.5 Australia Licence. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.5/au/ or send a letter to Creative http://creativecommons.org/licenses/by nd/2.5/au/ Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. Disclaimer: The author does not guarantee the accuracy of the notes available and will not be held liable for any damages (including lost marks etc.) as a result of the use of these notes. Use at your own discretion with etc.) caution. Do not rely on them; these notes are not intended to serve as a replacement for your own.…

    • 7433 Words
    • 30 Pages
    Powerful Essays
  • Powerful Essays

    Marketing and Love Wood

    • 1277 Words
    • 6 Pages

    Information The marks for questions are shown in brackets.  The maximum mark for this paper is 60.  Questions 2(b) and 2(c) should be answered in continuous prose. In these questions you will be marked on your ability to: – use good English – organise information clearly – use specialist vocabulary where appropriate.…

    • 1277 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    For the conclusion lies not in the messiah’s entrance, with the “real fire”, into Jerusalem, but rather, in the extension of ashen road further into what looks more like the seventh circle of hell. The final word is not the triumph of life over death, good over evil. The final word concerns the new agonal meanings of hope within the landscape of irretrievable loss. The meaning of redemption can be couched only in terms of a radical undecideability, akin to Derrida’s refusal of finality in the expression of crisis. Derrida’s concept of crisis borrows heavily from Maurice Blanchot’s Writing of the Disaster. For Blanchot, death is understood as the very thing that can never be experienced or overcome. It is never cheated (through murder, or suicide) or understood.55 But disaster also represents the unease caused by the unpredictability of the event, its appearance as untimely and uninvited. Through this reinterpretation of the untimely time of ends, therefore, deconstruction invites a sort of aversion to the desire for completeness and ‘ends’ in history.…

    • 6668 Words
    • 27 Pages
    Powerful Essays
  • Powerful Essays

    Liberati A, Altman DG, Tetzlaff J, Mulrow C, Gøtzsche PC, Ioannidis JPA, Clarke M, Devereaux PJ, Kleijnen J and Moher D (2009)…

    • 3844 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Chapter 6 solutions

    • 4145 Words
    • 41 Pages

    b. Modify the reverse-display program so that the user can enter up to 10 numbers…

    • 4145 Words
    • 41 Pages
    Good Essays
  • Powerful Essays

    Business Studies

    • 1470 Words
    • 8 Pages

    Information  The marks for questions are shown in brackets.  The maximum mark for this paper is 80.  Questions 1(c), 1(d), 2(c) and 2(d) should be answered in continuous prose. In these questions you will be marked on your ability to: – use good English – organise information clearly – use specialist vocabulary where appropriate.…

    • 1470 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    Authored by: L. Gounden, C. Hendrikz, R. Ligault, M. Louw, P. Mathopa, A. Omer, S. Patamadai & V. Pillay…

    • 7550 Words
    • 31 Pages
    Powerful Essays
  • Best Essays

    Demonology

    • 3738 Words
    • 15 Pages

    This article incorporates text from a publication now in the public domain: Chisholm, Hugh, ed. (1911). Encyclopædia Britannica (11th ed.). Cambridge University Press.…

    • 3738 Words
    • 15 Pages
    Best Essays
  • Good Essays

    Employment Cycle

    • 15420 Words
    • 62 Pages

    Uncorrected sample pages • Cambridge University Press • © Somers, Cain, Jeffery 2011 • 978-1-107-63549-4 • Ph 03 8671 1400…

    • 15420 Words
    • 62 Pages
    Good Essays
  • Good Essays

    Dyslexia and Open University

    • 19760 Words
    • 80 Pages

    The Open University Walton Hall Milton Keynes MK7 6AA First published 2001. Second edition 2004. Third edition 2006. Copyright © 2006 The Open University All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, transmitted or utilized in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without written permission from the publisher or a licence from the Copyright Licensing Agency Ltd. Details of such licences (for reprographic reproduction may be obtained from the Copyright Licensing Agency Ltd of 90 Tottenham Court Road, London W1P 0LP. Edited, designed and typeset by The Open University. Printed in the United Kingdom by Hobbs the Printer Limited, Brunel Road, Totton, Hampshire SO40 3WX ISBN N978 0 7492 1260 5…

    • 19760 Words
    • 80 Pages
    Good Essays
  • Powerful Essays

    Tolstoy's Hadji Murad

    • 49666 Words
    • 199 Pages

    This web edition published by eBooks@Adelaide. Rendered into HTML by Steve Thomas. Last updated Sun Aug 29 19:45:31 2010. This work is licensed under a Creative Commons Licence (available at http://creativecommons.org/licenses/by-nc-sa/2.5/au/). You are free: to copy, distribute, display, and perform the work, and to make derivative works under the following conditions: you must attribute the work in the manner specified by the licensor; you may not use this work for commercial purposes; if you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the licensor. Your fair use and other rights are in no way affected by the above. eBooks@Adelaide The University of Adelaide Library University of Adelaide South Australia 5005…

    • 49666 Words
    • 199 Pages
    Powerful Essays
  • Powerful Essays

    The Myth of the Subjective

    • 7120 Words
    • 29 Pages

    Print publication date: 2001 Print ISBN-13: 9780198237532 Published to Oxford Scholarship Online: Nov-03 DOI: 10.1093/0198237537.001.0001…

    • 7120 Words
    • 29 Pages
    Powerful Essays
  • Powerful Essays

    Syntax and Semantics

    • 1074 Words
    • 5 Pages

    Is the form in which programs are written to give the rules of syntax for a programming language to tell how statements, declarations, and other language constructs are written.…

    • 1074 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    The core of a model theory for generic schema management is developed. This theory has two distinctive features: it applies to a variety of categories of schemas, and it applies to transformations of both the schema structure and its integrity constraints. A subtle problem of schema integration is considered in its general form, not bound to any particular category of schemas. The proposed solution, as well as the overall theory, is based entirely on schema morphisms that carry both structural and semantic properties. Duality results that apply to the two levels (i.e., the schema and the data levels) are established. These results lead to the main contribution of this paper: a formal schema and data management framework for generic schema management. Implications of this theory are established that apply to integrity problems in schema integration. The theory is illustrated by a particular category of schemas with object-oriented features along with typical database integrity constraints.…

    • 5618 Words
    • 23 Pages
    Powerful Essays
  • Good Essays

    Objectives: 1. To define sets 2. To specify/ describe sets using the roster methods 3. To present the different types of sets and the relationship between and among sets 4. To perform the basic operations on sets…

    • 4986 Words
    • 20 Pages
    Good Essays

Related Topics