Information and Computation · 1994 · 192 citations · 9 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesTheory Of ComputationCategory TheoryData TypesModel TheoryObject-oriented ProgrammingType CheckingType SystemsEquational LogicParametric PolymorphismParametricityPolymorphic Type SystemsPolymorphic TypesPolymorphism StudiesSubtypingType Constructors
System F is a well‑known typed λ‑calculus with polymorphic types that underlies many polymorphic programming languages. The paper investigates the equational theory of the extended system F<: that combines parametric polymorphism with subtyping, exploring its relation to PER models and parametricity. The authors analyze F<:'s equational and categorical properties, proving conservativity of typing judgments and demonstrating encoding of constructs such as records and subtyping hierarchies. The study shows that F<: conservatively extends F, enabling encoding of record operations and subtyping hierarchies akin to object‑oriented language features.
System F is a well-known typed λ-calculus with polymorphic types, which provides a basis for polymorphic programming languages. We study an extension of F, called F<: (pronounced ef-sub), that combines parametric polymorphism with subtyping. The main focus of the paper is the equational theory of F<:, which is related to PER models and the notion of parametricity. We study some categorical properties of the theory when restricted to closed terms, including interesting categorical isomorphisms. We also investigate proof-theoretical properties, such as the conservativity of typing judgments with respect to F. We demonstrate by a set of examples how a range of constructs may be encoded in F<.: These include record operations and subtyping hierarchies that are related to features of object-oriented languages.
9
Introduction to Higher Order Categorical Logic.
J. L. Bell, J. Lambek, Philip Scott · Journal of Symbolic Logic · 1989 · 1.1K citations
Humanities, Mathematics, Logic +11
Philip Wadler · 1989 · 776 citations
Types, Abstraction and Parametric Polymorphism.
John Reynolds · IFIP Congress · 1983 · 771 citations
A semantics of multiple inheritance
Luca Cardelli · Information and Computation · 1988 · 627 citations
Language Studies, World Languages, Knowledge Representation +7