Higher-order order-sorted algebras

  • Zhenyu Qian
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 463)


The aim of this paper is to present a new semantics of higher-order order-sorted types for functional programming, data type specification and program transformation. Our type discipline unifies higher-order functions, overloading and subtype polymorphism in a very simple way. The new approach can be considered as an extension of order-sorted algebra with higher-order functions. We show the existence of initial algebras and give a sound and complete equational deduction system.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Breazu-Tannen, V. [88]: "Combing algebra and higher-order types." In: Proc. LICS, Edinburgh. (1988)Google Scholar
  2. Cardelli,L. and Wegner,P. [85]: "On understanding types, data abstraction and polymorphism." In: ACM Computing Surveys, 17. (1985)Google Scholar
  3. Cardelli,L. [84]: "A Semantics of Multiple Inheritance." In: Semantics of Data Types, eds. G.Kahn, D.B.MacQueen, G.Plotkin, LNCS 173, Springer-Verlag. (1984) 51–67. Also in: Information and Computation 76. (1988) 130–164.Google Scholar
  4. Ehrig,H., Mahr,B. [85]: "Fundamentals of Algebraic Specification: Equations and Initial Semantics" Springer-Verlag 1985Google Scholar
  5. Gogolla,M. [84]: "Partially Ordered Sorts in Algebraic Specifications." Proc. 9th CAAP, Cambridge University Press, 139–153. (1984)Google Scholar
  6. Goguen,J.A. [78]: "Order-Sorted Algebra. Semantics and Theory of Computation." Report No. 14, UCLA computer Science Dept. 1978.Google Scholar
  7. Goguen, J.A. and Meseguer, J. [82]: "Completeness of Many-sorted Equational Logic." In: SIGPLAN Notices Vol.17, No.1 (1982) 9–17Google Scholar
  8. Goguen,J.A. and Meseguer,J. [89]: "Order-Sorted Algebra I: Equational Deduction for Multiple Inheritance, Polymorphism, and Partial Operations." Tech. Report SRI (1989).Google Scholar
  9. Goguen,J.A., Thatcher,J.W. and Wagner,E.G. [78]: "An Initial Algebra Approach to the Specification, Correctness, and Implementation of Abstract Data Types." In R.T.Yeh, Current Trends in Programming Methodology, Vol IV, Data Structuring; Prentice Hall (1978), 80–149.Google Scholar
  10. Hanus, M. [89]: "Horn Clause Programs with Polymorphic Types: semantics and Resolution." In: Proc. TAPSOFT'89 Barcelona, Apain. LNCS 352 (1989) 225–240.Google Scholar
  11. Hindley, J., and Seldin, J. [86]: "Introduction to Combinators and Lambda Calculus, Cambridge University Press. 1986Google Scholar
  12. Kreowski,H.-J. and Qian, Zh. [88]: "Relation-Sorted Algebraic Specifications with Built-in Coercers:Basic Notions and Results." PROSPECTRA-Report M.1.1.S3-SN-44, 1988.Google Scholar
  13. Krieg-Brückner, B. [89]: "Algebraic Specification and Functionals for Transformational Program and Meta Program Development." In: Proc. TAPSOFT, 1989, LNCS 352, 36–59.Google Scholar
  14. MacQueen, B.D. and Sannella, D.T. [82]: "Completeness of proof Systems for Equational Specifications" IEEE Transactions on Software Engineering, Vol. SE-11, No.5 (May, 1985) 454–461.Google Scholar
  15. Maibaum, T.S.E. and Lucena, C.L. [82]: "Higher-order data types" Int. Journal of Computer Science 9. (1980) 31–53.Google Scholar
  16. Meyer, A.R. [82]: "What is a model of the lambda calculus?" Information and Control 52. (1982) 87–122Google Scholar
  17. Möller,B. [87]: "Higher-Order Algebraic Specifications." Habilitationsschrift, TU München (1987). See also "Algebraic Specifications with Higher-Order Operators" In L.Meetens Proc. IFIP TC2 Working Conf. on Program Specification and Transformation, Bad Tälz. (1986) North-Holland.Google Scholar
  18. Poigne, A. [86]: "On specifications, theories, and models with higher types." Information and Control 68. (1986) 1–46.Google Scholar
  19. Poigne, A. [90]: "Parameterization for Order-Sorted Algebraic Specification." In: Journal of Computer and System Sciences Vol. 40, No. 2 (1990) 229–268.Google Scholar
  20. Qian, Zh. [89]: "Relation-Sorted Algebraic Specifications with Built-in Coercers: Parameterization and Parameter Passing." In: Proc. Categorical Methods in Computer Science with Aspects from Topology, LNCS 393.Google Scholar
  21. Qian, Zh. [90a]: "Extensions of Algebraic Specifications: Suptype Polymorphism, Higher Order Functions and Parameterisation." Dissertation, Univ. of Bremen. (To appear 1990)Google Scholar
  22. Reynolds, J. [80]: "Using category theory to design implicit conversions and generic operations." In: Semantics-Directed Compiler Generation, LNCS 94. (1980) 211–258Google Scholar
  23. Scott, D. [76]: "Data types as lattices." In: SIAM Journal of Computing, Vol 5, No 3. (1976) 523–587Google Scholar
  24. Smolka,G., Nutt,W., Goguen,J.A. and Meseguer,J. [87]: "Order-Sorted Equational Computation." In H.Ait-Kaci and M.Nivat, Resolution of Equations in Algebraic Structures, Academic Press.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1990

Authors and Affiliations

  • Zhenyu Qian
    • 1
  1. 1.FB3 Dept. of Computer ScienceUniversity of BremenBremen 33Fed. Rep. of Germany

Personalised recommendations