Linear Abadi & Plotkin Logic

نویسنده

  • L. Birkedal
چکیده

We present a formalization of a version of Abadi and Plotkin’s logic for parametricity for a polymorphic dual intuitionistic / linear type theory with fixed points, and show, following Plotkin’s suggestions, that it can be used to define a wide collection of types, including existential types, inductive types, coinductive types and general recursive types. We show that the recursive types satisfy a universal property called dinaturality, and we develop reasoning principles for the constructed types. In the case of recursive types, the reasoning principle is a mixed induction / coinduction principle, with the curious property that coinduction holds for general relations, but induction only for a limited collection of “admissible” relations. A similar property was observed in Pitts analysis of recursive types in domain theory [18]. In a future paper we will develop a category theoretic notion of models of the logic presented here, and show how the results developed in the logic can be transfered to the models. ∗Corresponding author. Address: L. Birkedal, IT University of Copenhagen, Rued Langgaardsvej 7, DK–2300 Copenhagen S, DENMARK, [email protected]

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

ثبت نام

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

منابع مشابه

Operational Semantics and Models of Linear Abadi-Plotkin Logic

We present a model of Linear Abadi and Plotkin Logic for parametricity [8] based on the operational semantics of LILY, a polymorphic linear lambda calculus endowed with an operational semantics [3]. We use it to formally prove definability of general recursive types in LILY and to derive reasoning principles for the recursive types.

متن کامل

Categorical Models for Abadi - Plotkin ’ s Logic for Parametricity LARS BIRKEDAL

We propose a new category-theoretic formulation of relational parametricity based on a logic for reasoning about parametricity given by Abadi and Plotkin (Plotkin and Abadi, 1993). The logic can be used to reason about parametric models, such that we may prove consequences of parametricity that to our knowledge have not been proved before for existing category-theoretic notions of relational pa...

متن کامل

Category-theoretic Models of Linear Abadi & Plotkin Logic

This paper presents a sound and complete category-theoretic notion of models for Linear Abadi & Plotkin Logic [Birkedal et al., 2006], a logic suitable for reasoning about parametricity in combination with recursion. A subclass of these called parametric LAPL structures can be seen as an axiomatization of domain theoretic models of parametric polymorphism, and we show how to solve general (nest...

متن کامل

On Plotkin-Abadi Logic for Parametric Polymorphism Towards a Categorical Understanding

The idea of parametric polymorphism is that of a single operator that can be used for di erent data types and whose behaviour is somehow uniform for each type. Reynolds [Reynolds, 1983] uses binary relations to de ne a uniformity condition for parametric polymorphism. In [Plotkin & Abadi, 1993] the authors proposed a second order logic for second order lambda-calculus; this logic is able to han...

متن کامل

Towards a Categorical Understanding of Plotkin-Abadi Logic for Parametric Polymorphism

The idea of parametric polymorphism is that of a single operator that can be used for di erent data types and whose behaviour is somehow uniform for each type. This concept was rst proposed by Strachey [13]. Reynolds [9] uses binary relations to de ne a uniformity condition for parametric polymorphism. In [1] Plotkin and Abadi proposed a second order logic for second order lambdacalculus; this ...

متن کامل

Linear Abadi and Plotkin Logic

We present a formalization of a version of Abadi and Plotkin’s logic for parametricity for a polymorphic dual intuitionistic/linear type theory with fixed points, and show, following Plotkin’s suggestions, that it can be used to define a wide collection of types, including existential types, inductive types, coinductive types and general recursive types. We show that the recursive types satisfy...

متن کامل

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


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

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

ثبت نام

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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 2006