Skip to main content

For statements with restricted enumerations

  • Conference paper
  • First Online:
International Symposium on Programming (Programming 1984)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 167))

Included in the following conference series:

  • 136 Accesses

Abstract

We describe a notation for specifying for-loops which enumerate the elements of a set according to a partial ordering. This serves to separate implementation and efficiency issues from correctness issues. In order to demonstrate its usefulness we apply our notation to three completely different problems and give correctness proofs. Also, we show that our for-loops nicely combine with a formalism for specifying concurrency.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. K.-H. Chu, K.-S. Fu: VLSI architectures for high speed recognition of context-free languages and finite-state languages, SIGARCH Newsletter 10,3(1982) 43–49.

    Google Scholar 

  2. E.W. Dijkstra, A.J.M. van Gasteren: An introduction to three algorithms for sorting in situ, Inf. Process. Lett. 15,3(1982) 129–133.

    Google Scholar 

  3. E.W. Dijkstra: A discipline of programming, Prentice-Hall, Englewood Cliffs (1976).

    Google Scholar 

  4. U. Furbach, L. Schmitz: Rigorous derivation of a sophisticated algorithm: smoothsort, Techn. Report Nr. 8302, FB Informatik, Hochschule der Bundeswehr München (1983).

    Google Scholar 

  5. D. Gries, N. Gehani: Some ideas on data types in high-level languages, CACM 20,6(1977) 414–420.

    Google Scholar 

  6. M. Harrison: Introduction to formal language theory, Addison-Wesley, Reading, Mass. (1978).

    Google Scholar 

  7. C.A.R. Hoare: A note on the for statement, BIT 12(1972) 334–341.

    Google Scholar 

  8. C. Lengauer, E.C.R. Hehner: A methodology for programming with concurrency: an informal presentation, Sci. Comput. Programming 2,1(1982) 1–18.

    Google Scholar 

  9. C. Lengauer: A methodology for programming with concurrency: the formalism, Sci. Comput. Programming 2,1(1982) 19–52.

    Google Scholar 

  10. B. Liskov, A. Snyder, R. Atkinson, C. Schaffert: Abstraction mechanisms in CLU, CACM 20,8(1977) 564–576.

    Google Scholar 

  11. L. Schmitz: An improved transitive closure algorithm, Computing 30,4(1983) 359–371.

    Google Scholar 

  12. M. Shaw, W. Wulf, R.L. London: Abstraction and verification in Alphard: defining and specifying iteraction and generators, CACM 20,8(1977) 553.

    Google Scholar 

  13. R. Tarjan: Depth-first search and linear graph algorithms, SIAM J. Comput. 1(1972) 146–160.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

M. Paul B. Robinet

Rights and permissions

Reprints and permissions

Copyright information

© 1984 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Heilbrunner, S., Schmitz, L. (1984). For statements with restricted enumerations. In: Paul, M., Robinet, B. (eds) International Symposium on Programming. Programming 1984. Lecture Notes in Computer Science, vol 167. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-12925-1_35

Download citation

  • DOI: https://doi.org/10.1007/3-540-12925-1_35

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-12925-7

  • Online ISBN: 978-3-540-38809-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics