SPLASH 2023
Sun 22 - Fri 27 October 2023 Cascais, Portugal
Thu 26 Oct 2023 14:18 - 14:36 at Room I - type systems 2 Chair(s): Max S. New

Structural subtyping and parametric polymorphism provide similar
flexibility and reusability to programmers. For example, both features
enable the programmer to provide a wider record as an argument to a
function that expects a narrower one. However, the means by which they
do so differs substantially, and the precise details of the
relationship between them exists, at best, as folklore in literature.

In this paper, we systematically study the relative expressive power
of structural subtyping and parametric polymorphism. We focus our
investigation on establishing the extent to which parametric
polymorphism, in the form of row and presence polymorphism, can encode
structural subtyping for variant and record types. We base our study
on various Church-style $\lambda$-calculi extended with records and
variants, different forms of structural subtyping, and row and
presence polymorphism.

We characterise expressiveness by exhibiting compositional
translations between calculi. For each translation we prove a type
preservation and operational correspondence result. We also prove a
number of non-existence results. By imposing restrictions on both
source and target types, we reveal further subtleties in the
expressiveness landscape, the restrictions enabling otherwise
impossible translations to be defined. More specifically, we prove
that full subtyping cannot be encoded via polymorphism, but we show
that several restricted forms of subtyping can be encoded via
particular forms of polymorphism.

Thu 26 Oct

Displayed time zone: Lisbon change

14:00 - 15:30
type systems 2OOPSLA at Room I
Chair(s): Max S. New University of Michigan
14:00
18m
Talk
Greedy Implicit Bounded Quantification
OOPSLA
Chen Cui University of Hong Kong, Shengyi Jiang University of Hong Kong, Bruno C. d. S. Oliveira University of Hong Kong
DOI
14:18
18m
Talk
Structural Subtyping as Parametric Polymorphism
OOPSLA
Wenhao Tang University of Edinburgh, Daniel Hillerström Huawei Zurich Research Center, James McKinna Heriot-Watt University, Michel Steuwer TU Berlin; University of Edinburgh, Ornela Dardha University of Glasgow, Rongxiao Fu University of Edinburgh, Sam Lindley University of Edinburgh
DOI Pre-print
14:36
18m
Talk
Simple Reference Immutability for System F<:
OOPSLA
Edward Lee University of Waterloo, Ondřej Lhoták University of Waterloo
DOI
14:54
18m
Talk
Mutually Iso-Recursive Subtyping
OOPSLA
Andreas Rossberg Independent
DOI
15:12
18m
Talk
Getting into the Flow: Towards Better Type Error Messages for Constraint-Based Type Inference
OOPSLA
Ishan Bhanuka Hong Kong University of Science and Technology, Lionel Parreaux Hong Kong University of Science and Technology, David Binder University of Tübingen, Jonathan Immanuel Brachthäuser University of Tübingen
DOI Pre-print