CPO-Models for Second Order Lambda Calculus with Recursive Types and Subtyping

نویسندگان

  • Erik Poll
  • Kees Hemerik
  • Huub M. M. ten Eikelder
چکیده

In this paper we present constructions of cpo models for second order lambda calculi with recursive types and/or subtyping. The model constructions are based on a model construction by ten Eikelder and Hemerik for second order lambda calculus with recursive types ([tEH89a]). The models will be compatible with conventional denotational semantics. For each of the systems we consider, the general structure of an environment model for that system is described first. For the systems with subtyping we prove coherence, i.e. that the meaning of a term is independent of which particular type derivation we consider. The actual model constructions are then based on a standard fixed-point result for w-categories. The combination and interaction of recursive types and sUbtyping does not pose any problems. ·supported by the Dutch organization for scientific research (NWO).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Recursive Union of Some Gradual Types

We study union types and recursive types in the setting of a gradually typed lambda calculus. Our goal is to obtain a foundational account for languages that enable recursively defined data structures to be passed between static and dynamically typed regions of a program. We discuss how traditional sum types are not appropriate for this purpose and instead study a form of “true” union in the tr...

متن کامل

Coherent Coercion Abstraction with a step-indexed strong-reduction semantics

The usual notion of type coercions that witness subtyping relations between types is generalized to a more expressive notion of typing coercions that witness subsumption relations between typings, e.g. pairs composed of a typing environment and a type. This is more expressive and allows for a clearer separation of language constructs with and without computational content. This is illustrated o...

متن کامل

Fsub with Recursive Types: \types-as-propositions" Interpretation in M. Rabin's S2s

Subtyping judgments of the polymorphic second-order typed-calculus F extended by recursive types and diierent known inference rules for these types could be interpreted in S2S, M.Rabin's monadic second-order theory of two successor functions. On the one hand, this provides a comprehensible model of the parametric and inheritance polymorphisms over recursive types, on the other, proves that the ...

متن کامل

Polymorphic lambda calculus and subtyping

We present a denotational model for F<, the extension of second-order lambda calculus with subtyping defined in [Cardelli Wegner 1985]. Types are interpreted as arbitrary cpos and elements of types as natural transformations. We prove the soundness of our model with respect to the equational theory of F< [Cardelli et al. 1991] and show coherence. Our model is of independent interest, because it...

متن کامل

Decidable Higher Order Subtyping

This paper establishes the decidability of typechecking in Fω ∧ , a typed lambda calculus combining higher-order polymorphism, subtyping, and intersection types. It contains the first proof of decidability of subtyping for a higher-order system.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • ITA

دوره 27  شماره 

صفحات  -

تاریخ انتشار 1993