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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
M. Barr, C. Wells: Category Theory for Computing Science, Prentice-Hall 1990
M. Barr, C. Wells: Toposes, Triples and Theories, Springer Grundlehren der mathematischen Wissenschaften 278, 1985
A. Boileau, A. Joyal: La Logique des Topos, Journal of Symbolic Logic, vol. 46(1), 1981, 6–16
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
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
E. W. Dijkstra, C. S. Scholten: Predicate Calculus and Program Semantics, Springer Texts and Monographs in Computer Science, 1989
H. Ehrig und B. Mahr: Fundamentals of Algebraic Specification 1, Springer EATCS Monographs, vol. 6, 1985
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
J. A. Goguen: Types as Theories, Oxford University, 1990
R. Goldblatt: Topoi — The Categorial Analysis of Logic, North-Holland, Studies in Logic, vol. 98, 1984
P. Johnstone: Topos Theory, Academic Press, 1977
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
S. Mac Lane: Categories for the Working Mathematician, Springer GTM, vol. 5, 1972
S. Mac Lane, I. Moerdijk: Sheaves in Geometry and Logic — A First Introduction to Topos Theory, Springer Universitext, 1992
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
G. Nelson: A Generalization of Dijkstra’s Calculus, ACM TOPLAS, vol. 11(4), 1989, pp. 517–561
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
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
K.-D. Schewe, B. Thalheim. Fundamental Concepts of Object Oriented Databases. Acta Cybernetica vol. 11(4):49–84, 1993.
K.-D. Schewe. Fundamentals of object oriented database modelling. ИНТеллеК-ТУалЪНЪΙ СИсТемЪΙ (Intelligent Systems). Moskau 1996.
K.-D. Schewe, B. Thalheim. Towards a Theory of Consistency Enforcement. Acta Informatica vol. 36(4): 97–141, 1999.
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
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
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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