M-Types and Their Coercions

        This report discusses a system of recursive terms with n-ary sums and products,
        and provides a semantic model (M-types) of these terms. It defines a language
        of recursive coercions between these terms and an interpretation of coercions
        as partial functions between M-types. In this model "axioms" such as the
        associative, commutative, and distributive laws denote natural transformations
        between polynomial functors. These laws give isomorphisms but are not
        identities of M-types. An inference system is used to assign Curry-style types
        (s-->t) to coercions, and we give conditions under which the interpretation of
        such a coercion is a total function [| s |] --> [| t |]. Assuming the natural
        transformations and leaf coercions that occur in a coercion c denote injective
        (resp. surjective/bijective) maps, we show the same for c. We also show how to
        invert formally a bijective coercion.

By: Charles M. Barton

Published in: RC21615 in 1999

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

rc21615.ps

Questions about this service can be mailed to reports@us.ibm.com .