The Logic of Intersection Subtyping
Olivier Laurent
Abstract
The subtyping relation of programming languages can be analysed as an entailment relation by means of proof theory. We are interested in two main families of systems: intersection types and polymorphic subtyping. They share the fact that implication has some distributivity property: over intersection in the first case and over universal quantification in the second one.
We introduce a restriction of the second-order (full) Lambek calculus which is stable under cut-elimination and conservatively extends these two subtyping relations. This new system IS is an intuitionistic non-commutative linear sequent calculus which provides a natural logical setting for the study of subtyping relations.
We recover sequent calculi from the literature (as well as new variants) as restrictions of IS (thanks to the proof-theoretical analysis of the system: admissible rules, invertibility, focusing, etc.), so that IS appears as a unifying logic for subtyping. We also develop translations relating IS with relevant logic, the (unconstrained) Lambek calculus or cyclic linear logic.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d62a2097-1d1b-4cac-8975-2b38c2699eadRelated papers
- Resolution as intersection subtyping via Modus PonensKoar Marntirosian, Tom Schrijvers, Bruno C. d. S. Oliveira, Georgios KarachaliasOOPSLA 2020 · 5 citations
- Recursive Subtyping for AllLitao Zhou, Yaoda Zhou, Bruno C. d. S. OliveiraPOPL 2023 · 8 citations
- Polymorphic Type Inference for Dynamic LanguagesGiuseppe Castagna, Mickaël Laurent, Kim NguyenPOPL 2024 · 12 citations
- Intersection Type DistributorsFederico OlimpieriLICS 2021 · 13 citations
- Polymorphic Records for Dynamic LanguagesGiuseppe Castagna, Loïc PeyrotOOPSLA 2025 · 2 citations
