DocumentCode
1996103
Title
Subtyping and parametricity
Author
Plotkin, Gordon ; Abadi, Martin ; Cardelli, Luca
Author_Institution
Dept. of Comput. Sci., Edinburgh Univ., UK
fYear
1994
fDate
4-7 Jul 1994
Firstpage
310
Lastpage
319
Abstract
We study the interaction of subtyping and parametricity. We describe a logic for a programming language with parametric polymorphism and subtyping. The logic supports the formal definition and use of relational parametricity. We give two models for it, and compare it with other formal systems for the same language. In particular we examine the “Penn interpretation” of subtyping as implicit coercion. without subtyping, parametricity yields, for example, an encoding of abstract types and of initial algebras, with the corresponding proof principles of simulation and induction. With subtyping, we obtain partially abstract types and certain initial order-sorted algebras, and may derive proof principles for them
Keywords
abstract data types; algebra; formal logic; logic programming; type theory; Penn interpretation; abstract types; formal systems; induction; initial algebras; initial order-sorted algebras; parametric polymorphism; programming language; relational parametricity; subtyping; Computer languages; Computer science; Encoding; Logic programming; Object oriented modeling; Object oriented programming; Parametric statistics;
fLanguage
English
Publisher
ieee
Conference_Titel
Logic in Computer Science, 1994. LICS '94. Proceedings., Symposium on
Conference_Location
Paris
Print_ISBN
0-8186-6310-3
Type
conf
DOI
10.1109/LICS.1994.316058
Filename
316058
Link To Document