Parametric Subtyping for Structural Parametric Polymorphism

07/25/2023
by   Henry DeYoung, et al.
0

We study the interaction of structural subtyping with parametric polymorphism and recursively defined type constructors. Although structural subtyping is undecidable in this setting, we describe a notion of parametricity for type constructors and then exploit it to define parametric subtyping, a conceptually simple, decidable, and expressive fragment of structural subtyping that strictly generalizes nominal subtyping. We present and prove correct an effective saturation-based decision procedure for parametric subtyping, demonstrating its applicability using a variety of examples. An implementation of this decision procedure is available in an online repository.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/17/2023

Structural Subtyping as Parametric Polymorphism

Structural subtyping and parametric polymorphism provide a similar kind ...
research
09/02/2022

Notions of parametricity as monoidal models for type theory

This article gives a solid theoretical grounding to the observation that...
research
07/13/2020

An Adversarial Approach to Structural Estimation

We propose a new simulation-based estimation method, adversarial estimat...
research
05/25/2018

Checking Deadlock-Freedom of Parametric Component-Based Systems

We propose an automated method for computing inductive invariants applie...
research
04/27/2020

Parametric unfolding. Method and restrictions

Parametric unfolding of a true distribution distorted due to finite reso...
research
04/17/2020

A case study for ζ(4)

Using symbolic summation tools in the setting of difference rings, we pr...
research
12/19/2020

Visuo-Locomotive Complexity as a Component of Parametric Systems for Architecture Design

A people-centred approach for designing large-scale built-up spaces nece...

Please sign up or login with your details

Forgot password? Click here to reset