مقاله‌ی دسترسی آزاد

Inheritance as implicit coercion

چکیده(به انگلیسی؛ چکیده‌ی فارسی در دسترس نیست)

We present a method for providing semantic interpretations for languages with a type system featuring inheritance polymorphism. Our approach is illustrated on an extension of the language Fun of Cardelli and Wegner, which we interpret via a translation into an extended polymorphic lambda calculus. Our goal is to interpret inheritances in Fun via coercion functions which are definable in the target of the translation. Existing techniques in the theory of semantic domains can be then used to interpret the extended polymorphic lambda calculus, thus providing many models for the original language. This technique makes it possible to model a rich type discipline which includes parametric polymorphism and recursive types as well as inheritance. A central difficulty in providing interpretations for explicit type disciplines featuring inheritance in the sense discussed in this paper arises from the fact that programs can type-check in more than one way. Since interpretations follow the type-checking derivations, coherence theorems are required: that is, one must prove that the meaning of a program does not depend on the way it was type-checked. Proofs of such theorems for our proposed interpretation are the basic technical results of this paper. Interestingly, proving coherence in the presence of recursive types, variants, and abstract types forced us to reexamine fundamental equational properties that arise in proof theory (in the form of commutative reductions) and domain theory (in the form of strict vs. non-strict functions).

نویسندگان و وابستگی سازمانی
  1. ValBreazu-Tannen
  2. ThierryCoquand
  3. Carl A.GunterORCID 0009-0006-6943-0684 — University of Pennsylvania
  4. AndreScedrov

اسناد مشابه

  • Inheritance as Implicit Coercion

    سند علمی۱۹۹۱Inf. Comput.Val Tannen, Thierry Coquand, Carl A. Gunter, Andre Scedrov

    We present a method for providing semantic interpretations for languages with a type system featuring inheritance polymorphism. Our approach is illustrated on an extension of the language Fun of Cardelli and Wegner, which we interpret via a translation into an extended polymorphi

  • Implicit Coercions in Type Systems

    سند علمی۱۹۹۵TYPESGilles Barthe

    We propose a notion of pure type system with implicit co-ercions. In our framework, judgements are extended with a context of coercions and the application rule is modiied so as to allow coercions to be left implicit. The setting supports multiple inheritance and can be applied t

  • Modeling Inheritance as Coercion in the Kenzo System

    سند علمی۲۰۰۶J. UCSCésar Domínguez, Julio Rubio, Francis Sergeraert

    In this paper the analysis of the data structures used in a symbolic computation system, called Kenzo, is undertaken. We deal with the specification of the inheritance relationship since Kenzo is an object-oriented system, written in CLOS, the Common Lisp Object System. We show h

  • The Strategic Role Firms’ Political Connections Play in Access to Finance: Coercion of Domestic Banks or Implicit Property Rights Protections?

    سند علمی۲۰۰۹Bhagwan Chowdry, Mihir Desai, Sebastian Edwards, Brian Kelleher Richter

    What role does political influence play in access to finance? Does this role differ across markets? Using a comprehensive cross-country dataset, I characterize how and why domestic political connections affect firms’ propensities to cross-list securities abroad. Connected firms h

  • Book Review Sexual Coercion in Primates and Humans: An Evolutionary Perspective on Male Aggression

    سند علمی۲۰۱۰Martin N. Muller

    Research on sexual coercion from an evolutionary perspective has been given considerable attention in both the human and nonhuman literatures. Sexual Coercion in Primates and Humans: An Evolutionary Perspective on Male Aggression Against Females represents the first synthesis on

  • Coercion in psychiatric care: Global and Indian perspective

    مقاله‌ی دسترسی آزاد۲۰۱۰Indian Journal of PsychiatryDebasishBasu, RuchitaShah

    INTRODUCTION AND HISTORICAL ASPECTS Coercion in health care is well known and forced treatment against the patient’s will is even more common in psychiatric care. In fact, psychiatry is the only discipline where coercion in care can be legal and state-sanctioned. Although autonom