Skip to main content

A generalization of Dijkstra’s calculus to typed program specifications

  • Conference paper
  • First Online:

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

Abstract

Dijkstra’s predicate transformer calculus in its extended form gives an axiomatic semantics to program specifications including partiality and recursion. However, even the classical theory is based on infinitary first order logic which is needed to guarantee the existence of predicate transformers for weakest (liberal) preconditions. This theory can be generalized to higher-order intuitionistic logic.

Such logics can be interpreted in topoi. Then each topos E canonically corresponds to a definitionally complete theory T such that E is equivalent to the topos \( \mathbb{E}(T) \) (T) of definable types over T. Furthermore, each model of T in an arbitrary topos F canonically corresponds to a logical morphism \( \mathbb{E}(T) \to F \) (T) → F.

This correspondence enables the definition of a type specification discipline with a semantics based on topoi such that the predicate transformers in the associated logic give an axiomatic semantics for typed program specifications.

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   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.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. M. Barr, C. Wells: Category Theory for Computing Science, Prentice-Hall 1990

    Google Scholar 

  2. M. Barr, C. Wells: Toposes, Triples and Theories, Springer Grundlehren der mathematischen Wissenschaften 278, 1985

    Google Scholar 

  3. A. Boileau, A. Joyal: La Logique des Topos, Journal of Symbolic Logic, vol. 46(1), 1981, 6–16

    Article  MATH  MathSciNet  Google Scholar 

  4. K. B. Bruce, A. R. Meyer: The Semantics of Second Order Polymorphic Lambda Calculus, in G. Kahn, D. B. MacQueen, G. Plotkin (Eds.): Semantics of Data Types, Springer LNCS 173, 1984, pp. 131–144

    Google Scholar 

  5. P. Cousot: Methods and Logics for Proving Programs, in J. van Leeuwen (Ed.): The Handbookof Theoretical Computer Science, vol B: “Formal Models and Semantics”, Elsevier, 1990, pp. 841–993

    Google Scholar 

  6. E. W. Dijkstra, C. S. Scholten: Predicate Calculus and Program Semantics, Springer Texts and Monographs in Computer Science, 1989

    Google Scholar 

  7. H. Ehrig und B. Mahr: Fundamentals of Algebraic Specification 1, Springer EATCS Monographs, vol. 6, 1985

    Google Scholar 

  8. M. P. Fourman: The Logic of Topoi, in J. Barwise (Ed.): Handbookof Mathematical Logic, North-Holland Studies in Logic, vol. 90, 1977, pp. 1053–1090

    Google Scholar 

  9. J. A. Goguen: Types as Theories, Oxford University, 1990

    Google Scholar 

  10. R. Goldblatt: Topoi — The Categorial Analysis of Logic, North-Holland, Studies in Logic, vol. 98, 1984

    Google Scholar 

  11. P. Johnstone: Topos Theory, Academic Press, 1977

    Google Scholar 

  12. A. Kock, G. Reyes: Doctrines in Categorial Logic, in J. Barwise (Ed.): Handbook of Mathematical Logic, North-Holland Studies in Logic, vol. 90, 1977, pp. 283–313

    Google Scholar 

  13. S. Mac Lane: Categories for the Working Mathematician, Springer GTM, vol. 5, 1972

    Google Scholar 

  14. S. Mac Lane, I. Moerdijk: Sheaves in Geometry and Logic — A First Introduction to Topos Theory, Springer Universitext, 1992

    Google Scholar 

  15. J. C. Mitchell: Type Systems for Programming Languages, in J. van Leeuwen (Ed.): The Handbookof Theoretical Computer Science, vol B: “Formal Models and Semantics”, Elsevier, 1990, pp. 365–458

    Google Scholar 

  16. G. Nelson: A Generalization of Dijkstra’s Calculus, ACM TOPLAS, vol. 11(4), 1989, pp. 517–561

    Article  Google Scholar 

  17. J. C. Reynolds: Polymorphism is not Set-Theoretic, in G. Kahn, D. B. MacQueen, G. Plotkin (Eds.): Semantics of Data Types, Springer LNCS 173, 1984, pp. 145–156

    Google Scholar 

  18. K.-D. Schewe. Specification of Data-Intensive Application Systems. Habilitation Thesis. BTU Cottbus 1995. available from http://www.in.tu-clausthal.de/~schewe/public/habil.ps.gz

  19. K.-D. Schewe, B. Thalheim. Fundamental Concepts of Object Oriented Databases. Acta Cybernetica vol. 11(4):49–84, 1993.

    MATH  MathSciNet  Google Scholar 

  20. K.-D. Schewe. Fundamentals of object oriented database modelling. ИНТеллеК-ТУалЪНЪΙ СИсТемЪΙ (Intelligent Systems). Moskau 1996.

    Google Scholar 

  21. K.-D. Schewe, B. Thalheim. Towards a Theory of Consistency Enforcement. Acta Informatica vol. 36(4): 97–141, 1999.

    Article  MATH  MathSciNet  Google Scholar 

  22. D. S. Scott: Identity and Existence in Intuitionistic Logic, in M. P. Fourman, C. J. Mulvey, D. S. Scott: Applications of Sheaves, Springer LNM, vol. 753, 1979, pp. 660–698

    Google Scholar 

  23. M. Wirsing: Algebraic Specification, in J. van Leeuwen (Ed.): The Handbookof Theoretical Computer Science, vol B: “Formal Models and Semantics”, Elsevier, 1990, pp. 675–788

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schewe, KD., Thalheim, B. (1999). A generalization of Dijkstra’s calculus to typed program specifications. In: Ciobanu, G., Păun, G. (eds) Fundamentals of Computation Theory. FCT 1999. Lecture Notes in Computer Science, vol 1684. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48321-7_39

Download citation

  • DOI: https://doi.org/10.1007/3-540-48321-7_39

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-48321-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics