Skip to main content

Minimisation in Formal Specification and Design

  • Conference paper

Part of the book series: Workshops in Computing ((WORKSHOPS COMP.))

Abstract

Minimisation is a useful technique both in specification and in design. In specification it can lead to shorter and more elegant definitions. These will communicate more clearly the intent of the specifier. In design, minimisation can be used to eliminate non-determinism, for instance after a data refinement step. Minimisation is a general technique for removing non-determinism, and can be applied during a constructive refinement. It records the quantity the designer is optimising, which will help later developers to understand the decisions which were taken during design. These points are supported by some simple examples. The Z notation is used in the examples, and it is suggested that the notation would be improved if minimisation could be expressed more concisely. Following the principle of separation of concerns, a suitable notation for minimisation is one which encourages separate definitions of the set of possible solutions and the function (or relation) which will be used to select the minimal solution or solutions.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. R. Bellman. Dynamic Programming. Princeton University Press. 1957.

    Google Scholar 

  2. R. S. Bird. Transformational Programming and the Paragraph Problem. Science of Computer Programming no 6. Pages 159–189. 1986.

    Article  MATH  Google Scholar 

  3. E. W. Dijkstra. A Computing Scientist’s Approach to a OnceDeep Theorem of Sylvester’s. In Constructive Methods in Computing Science. Ed. Manfred Broy. Springer Verlag Series F vol 55. 1989.

    Google Scholar 

  4. A. J. M. van Gasteren. On the Shape of Mathematical Arguments. PhD Thesis. Eindhoven University. 1988.

    Google Scholar 

  5. I. J. Hayes and C. B. Jones. Specifications are not (necessarily) executable. Private communication. 1989.

    Google Scholar 

  6. C. A. R. Hoare, J. He, and J. Sanders. Prespecification in Data Refinement. Information Processing Letters vol 25 no 2 pages 71–76. 1987.

    Article  MathSciNet  MATH  Google Scholar 

  7. M. B. Josephs. The Data Refinement Calculator for Z Specifications. Information Processing Letters vol 27 no 1 pages 29–33. Feb 1988.

    Article  MathSciNet  Google Scholar 

  8. S. C. Kleene. General Recursive Functions of Natural Numbers. Mathematische Annalen Band 112, Heft 5. 1936 pp 727–742. Reprinted in The Undecidable. Ed. Martin Davis. Pages 236–253. Raven Press. 1965.

    Google Scholar 

  9. D. E. Knuth. Breaking Paragraphs into Lines. Software Practice and Experience vol 11 pages 1119–1184. 1981.

    Article  MATH  Google Scholar 

  10. B. Meyer. On Formalism in Specifications. IEEE Software vol 2 no 1 pages 159–176. 1985.

    Article  Google Scholar 

  11. B. Móller. Illustrations in Constructive Methods in Computing Science. Ed. Manfred Broy. Springer Verlag Series F vol 55. 1989.

    Google Scholar 

  12. C. Morgan. Telephone Network. In Specification Case Studies. Ed. I. J. Hayes. Pages 73–87. Prentice Hall. 1986.

    Google Scholar 

  13. C. Morgan. On the Refinement Calculus. Programming Research Group Monograph 70. 1988.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag London

About this paper

Cite this paper

Gravell, A.M. (1990). Minimisation in Formal Specification and Design. In: Nicholls, J.E. (eds) Z User Workshop. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3877-8_3

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3877-8_3

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-19627-3

  • Online ISBN: 978-1-4471-3877-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics