Lune

POPL2024Top-tier venue

Parametric Subtyping for Structural Parametric Polymorphism

Henry DeYoung, Andreia Mordido, Frank Pfenning, Ankush Das

Abstract

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 rigid subtyping . We present and prove correct an effective saturation-based decision procedure for parametric subtyping, demonstrating its applicability using a variety of examples. We also provide an implementation of this decision procedure as an artifact.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • QuickSub: Efficient Iso-Recursive Subtyping cites Recursive Subtyping for All
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. QuickSub: Efficient Iso-Recursive SubtypingLitao Zhou, Bruno C. d. S. OliveiraPOPL 2025 · 4 citations

Builds on3

  1. Bouncing Threads for Circular and Non-Wellfounded Proofs: Towards Compositionality with Circular ProofsDavid Baelde, Amina Doumane, Denis Kuperberg, Alexis SaurinLICS 2022 · 26 citations
  2. Recursive Subtyping for AllLitao Zhou, Yaoda Zhou, Bruno C. d. S. OliveiraPOPL 2023 · 8 citations
  3. Parameterized Algebraic ProtocolsAndreia Mordido, Janek Spaderna, Peter Thiemann, Vasco T. VasconcelosPLDI 2023 · 4 citations

Related papers

  1. Structural Subtyping as Parametric PolymorphismWenhao Tang, Daniel Hillerström, James McKinna, Michel Steuwer et al.OOPSLA 2023 · 3 citations
  2. Mutually Iso-Recursive SubtypingAndreas RossbergOOPSLA 2023 · 8 citations
  3. Parametricity and Semi-Cubical TypesHugo MoeneclaeyLICS 2021
  4. Study of the subtyping machine of nominal subtyping with varianceOri RothOOPSLA 2021 · 3 citations
  5. Polymorphic Type Inference for Dynamic LanguagesGiuseppe Castagna, Mickaël Laurent, Kim NguyenPOPL 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines