Skip to main content

ORDER−SORTED ALGEBRA I: EQUATIONAL DEDUCTION FOR MULTIPLE INHERITANCE‚ OVERLOADING‚ EXCEPTIONS AND PARTIAL OPERATIONS

Joseph A. Goguen and Jose Meseguer

Abstract

This paper generalizes many-sorted algebra (hereafter, MSA) to order-sorted algebra (hereafter, OSA) by allowing a partial ordering relation on the set of sorts. This supports abstract data types with multiple inheritance (in roughly the sense of object-oriented programming), several forms of polymorphism and overloading, partial operations (as total on equationally defined subsorts), exception handling, and an operational semantics based on term rewriting. We give the basic algebraic constructions for OSA, including quotient, image, product and term algebra, and we prove their basic properties, including Quotient, Homomorphism, and Initiality Theorems.

Institution
OUCL
Month
December
Number
PRG80
Pages
54
Year
1989