Professor THORSTEN ALTENKIRCH THORSTEN.ALTENKIRCH@NOTTINGHAM.AC.UK
PROFESSOR OF COMPUTER SCIENCE
Internal Parametricity, without an Interval
Altenkirch, Thorsten; Chamoun, Yorgo; Kaposi, Ambrus; Shulman, Michael
Authors
Yorgo Chamoun
Ambrus Kaposi
Michael Shulman
Abstract
Parametricity is a property of the syntax of type theory implying, e.g., that there is only one function having the type of the polymorphic identity function. Parametricity is usually proven externally, and does not hold internally. Internalising it is difficult because once there is a term witnessing parametricity, it also has to be parametric itself and this results in the appearance of higher dimensional cubes. In previous theories with internal parametricity, either an explicit syntax for higher cubes is present or the theory is extended with a new sort for the interval. In this paper we present a type theory with internal parametricity which is a simple extension of Martin-Löf type theory: there are a few new type formers, term formers and equations. Geometry is not explicit in this syntax, but emergent: the new operations and equations only refer to objects up to dimension 3. We show that this theory is modelled by presheaves over the BCH cube category. Fibrancy conditions are not needed because we use span-based rather than relational parametricity. We define a gluing model for this theory implying that external parametricity and canonicity hold. The theory can be seen as a special case of a new kind of modal type theory, and it is the simplest setting in which the computational properties of higher observational type theory can be demonstrated.
Citation
Altenkirch, T., Chamoun, Y., Kaposi, A., & Shulman, M. (2024). Internal Parametricity, without an Interval. Proceedings of the ACM on Programming Languages, 8(POPL), 2340-2369. https://doi.org/10.1145/3632920
Journal Article Type | Article |
---|---|
Acceptance Date | Nov 8, 2023 |
Online Publication Date | Jan 5, 2024 |
Publication Date | Jan 5, 2024 |
Deposit Date | Sep 23, 2024 |
Publicly Available Date | Sep 25, 2024 |
Journal | Proceedings of the ACM on Programming Languages |
Electronic ISSN | 2475-1421 |
Publisher | Association for Computing Machinery (ACM) |
Peer Reviewed | Peer Reviewed |
Volume | 8 |
Issue | POPL |
Article Number | 78 |
Pages | 2340-2369 |
DOI | https://doi.org/10.1145/3632920 |
Public URL | https://nottingham-repository.worktribe.com/output/29272899 |
Publisher URL | https://dl.acm.org/doi/10.1145/3632920 |
Files
Internal Parametricity, without an Interval
(351 Kb)
PDF
Publisher Licence URL
https://creativecommons.org/licenses/by/4.0/
You might also like
The Münchhausen Method in Type Theory
(2023)
Journal Article
Combinatory logic and lambda calculus are equal, algebraically
(2023)
Presentation / Conference Contribution
Should Type Theory Replace Set Theory as the Foundation of Mathematics?
(2023)
Journal Article
Constructing a universe for the setoid model
(2021)
Presentation / Conference Contribution
Big Step Normalisation for Type Theory
(2020)
Presentation / Conference Contribution
Downloadable Citations
About Repository@Nottingham
Administrator e-mail: discovery-access-systems@nottingham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search