• DocumentCode
    2597202
  • Title

    Inheritance and explicit coercion

  • Author

    Breazu-Tannen, V. ; Coquand, T. ; Gunter, C.A. ; Scedrov, A.

  • Author_Institution
    Dept. of comput. & Inf. Sci., Pennsylvania Univ., Philadelphia, PA, USA
  • fYear
    1989
  • fDate
    5-8 Jun 1989
  • Firstpage
    112
  • Lastpage
    129
  • Abstract
    A method is presented for providing semantic interpretations for languages which feature inheritance in the framework of statically checked, rich type disciplines. The approach is illustrated by an extension of the language Fun of L. Cardelli and P. Wegner (1985), which is interpreted via a translation into an extended polymorphic lambda calculus. The approach interprets inheritances in Fun as coercion functions already definable in the target of the translation. Existing techniques in the theory of semantic domains can then be used to interpret the extended polymorphic lambda calculus, thus providing many models for the original language. The method allows the simultaneous modeling of parametric polymorphism, recursive types, and inheritance, which has been regarded as problematic because of the seemingly contradictory characteristics of inheritance and type recursion on higher types. The main difficulty in providing interpretations for explicit type disciplines featuring inheritance is identified. Since interpretations follow the type-checking derivations, coherence theorems are required, and the authors prove them for their semantic method
  • Keywords
    data structures; formal languages; formal logic; Cardelli; Fun; Wegner; coercion functions; coherence theorems; explicit coercion; extended polymorphic lambda calculus; inheritance; interpreted; languages; parametric polymorphism; recursive types; rich type disciplines; semantic domains; semantic interpretations; simultaneous modeling; statically checked; translation; translation target; type recursion; Calculus; Equations; Inference mechanisms; Maintenance; Mathematics; Object oriented modeling; Object oriented programming; Proposals;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science, 1989. LICS '89, Proceedings., Fourth Annual Symposium on
  • Conference_Location
    Pacific Grove, CA
  • Print_ISBN
    0-8186-1954-6
  • Type

    conf

  • DOI
    10.1109/LICS.1989.39166
  • Filename
    39166