Skip to main content

Typed homomorphic relations extended with subtypes

  • Conference paper
  • First Online:
Mathematical Foundations of Programming Semantics (MFPS 1991)

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

Abstract

Typed homomorphic relations on heterogeneous algebras are generalized to allow relationships between elements in the carrier sets of different types. Such relations are needed for the model theory of incomplete, hierarchical specifications with subtypes. Typed logical relations are generalized similarly. These tools help give a simple model-theoretic account of subtyping among abstract data types as observed by terms of a simply-typed lambda-calculus with subtypes.

Leavens's work was supported in part by the ISU Achievement Foundation, the National Science Foundation under Grants DCR-8510014 and CCR-8716884, the Defense Advanced Research Projects Agency under Contract N00014-83-K-0125, and by a GenRad/AEA Faculty Development Fellowship.

Pigozzi's work was supported in part by the National Science Foundation under Grant DMS-8805870.

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.

Similar content being viewed by others

References

  1. Pierre America. Inheritance and Subtyping in a Parallel Object-Oriented Language. In Jean Bezivin et al., editors, ECOOP '87, European Conference on Object-Oriented Programming, Paris, France, pages 234–242, New York, N.Y., June 1987. Springer-Verlag. Lecture Notes in Computer Science, Volume 276.

    Google Scholar 

  2. Pierre America. A Behavioural Approach to Subtyping in Object-Oriented Programming Languages. Technical Report 443, Philips Research Laboratories, Nederlandse Philips Bedrijven B. V., April 1989. Revised from the January 1989 version.

    Google Scholar 

  3. V. Breazu-Tannen, T. Coquand, C. A. Gunter, and A. Scedrov. Inheritance and Explicit Coercion (Preliminary Report). In Fourth Annual Symposium on Logic in Computer Science, Pacific Grove, California, pages 112–129. IEEE, June 1989. Revised version to appear in Information and Computation. Also appears as University of Pennsylvania, Department of Computer and Information Science, Logic and Computation 1, MS-CIS-89-01.

    Google Scholar 

  4. Kim B. Bruce and Peter Wegner. An Algebraic Model of Subtype and Inheritance. In Francois BanÇilhon and Peter Buneman, editors, Advances in Database Programming Languages, pages 75–96. Addison-Wesley, Reading, Mass., 1990.

    Google Scholar 

  5. Luca Cardelli. A Semantics of Multiple Inheritance. In D. B. MacQueen G. Kahn and G. Plotkin, editors, Semantics of Data Types: International Symposium, Sophia-Antipolis, France, volume 173 of Lecture Notes in Computer Science, pages 51–66. Springer-Verlag, New York, N.Y., June 1984. A revised version of this paper appears in Information and Computation, volume 76, numbers 2/3, pages 138–164, February/March 1988.

    Google Scholar 

  6. H. Friedman. Equality between Functional. In R. Parikh, editor, Logic Colloquium, Symposium on Logic Held at Boston, 1972–73, volume 453 of Lecture Notes in Mathematics, pages 22–37. Springer-Verlag, New York, N.Y., 1975.

    Google Scholar 

  7. Joseph A. Goguen and Jose Meseguer. Order-Sorted Algebra Solves the Constructor-Selector, Multiple Representation and Coercion Problems. Technical Report CSLI-87-92, Center for the Study of Language and Information, March 1987. Appears in Second Annual Symposium on Logic in Computer Science, Ithaca, NY, June, 1987, pages 18–29.

    Google Scholar 

  8. Carl A. Gunter. Structures and Techniques for the Semantics of Programming Languages. Technical report, Department of Computer and Information Science, University of Pennsylvania, September 1990.

    Google Scholar 

  9. Wim H. Heselink. A Mathematical Approach to Nondeterminism in Data Types. TOPLAS, 10(1):87–117, January 1988.

    Google Scholar 

  10. Gary T. Leavens. Modular Verification of Object-Oriented Programs with Subtypes. Technical Report 90-09, Department of Computer Science, Iowa State University, Ames, Iowa, 50011, July 1990.

    Google Scholar 

  11. Gary T. Leavens. Modular Specification and Verification of Object-Oriented Programs. IEEE Software, 8(4):72–80, July 1991.

    Google Scholar 

  12. Gary T. Leavens and William E. Weihl. Reasoning about Object-oriented Programs that use Subtypes (extended abstract). ACM SIGPLAN Notices, 25(10):212–223, October 1990. OOPSLA ECOOP '90 Proceedings, N. Meyrowitz (editor).

    Google Scholar 

  13. Bertrand Meyer. Object-oriented Software Construction. Prentice Hall, New York, N.Y., 1988.

    Google Scholar 

  14. Tobias Nipkow. Non-deterministic Data Types: Models and Implementations. Acta Informatica, 22(16):629–661, March 1986.

    Article  Google Scholar 

  15. John C. Reynolds. Using Category Theory to Design Implicit Conversions and Generic Operators. In Neil D. Jones, editor, Semantics-Directed Compiler Generation, Proceedings of a Workshop, Aarhus, Denmark, volume 94 of Lecture Notes in Computer Science, pages 211–258. Springer-Verlag, January 1980.

    Google Scholar 

  16. R. Statman. Logical Relations and the Typed λ-Calculus. Information and Control, 65(2/3):85–97, May/June 1985.

    Google Scholar 

  17. Martin Wirsing, Peter Pepper, Helmut Partsch, Walter Dosch, and Manfred Broy. On Hierarchies of Abstract Data Types. Acta Informatica, 20(1):1–33, October 1983.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Stephen Brookes Michael Main Austin Melton Michael Mislove David Schmidt

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Leavens, G.T., Pigozzi, D. (1992). Typed homomorphic relations extended with subtypes. In: Brookes, S., Main, M., Melton, A., Mislove, M., Schmidt, D. (eds) Mathematical Foundations of Programming Semantics. MFPS 1991. Lecture Notes in Computer Science, vol 598. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-55511-0_7

Download citation

  • DOI: https://doi.org/10.1007/3-540-55511-0_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-47194-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics