Papers
Topics
Authors
Recent
Search
2000 character limit reached

Parametricity via Cohesion

Published 4 Apr 2024 in cs.LO, cs.PL, and math.CT | (2404.03825v3)

Abstract: Parametricity is a key metatheoretic property of type systems, which implies strong uniformity & modularity properties of the structure of types within systems possessing it. In recent years, various systems of dependent type theory have emerged with the aim of expressing such parametric reasoning in their internal logic, toward the end of solving various problems arising from the complexity of higher-dimensional coherence conditions in type theory. This paper presents a first step toward the unification, simplification, and extension of these various methods for internalizing parametricity. Specifically, I argue that there is an essentially modal aspect of parametricity, which is intimately connected with the category-theoretic concept of cohesion. On this basis, I describe a general categorical semantics for modal parametricity, develop a corresponding framework of axioms (with computational interpretations) in dependent type theory that can be used to internally represent and reason about such parametricity, and show this in practice by implementing these axioms in Agda and using them to verify parametricity theorems therein. I then demonstrate the utility of these axioms in managing the complexity of higher-dimensional coherence by deriving induction principles for higher inductive types, and in closing, I sketch the outlines of a more general synthetic theory of parametricity, with applications in domains ranging from homotopy type theory to the analysis of program modules.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (17)
  1. Syntax and models of cartesian cubical type theory. Mathematical Structures in Computer Science, 31(4):424–468, 2021.
  2. Impredicative encodings of (higher) inductive types. In Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’18. ACM, July 2018.
  3. Robert Atkey. Relational parametricity for higher kinds. In Patrick Cégielski and Arnaud Durand, editors, Computer Science Logic (CSL’12) - 26th International Workshop/21st Annual Conference of the EACSL, volume 16 of Leibniz International Proceedings in Informatics (LIPIcs), pages 46–61, 2012.
  4. Cubical type theory: A constructive interpretation of the univalence axiom. FLAP, 4:3127–3170, 2015.
  5. Internal parametricity for cubical type theory. In Annual Conference for Computer Science Logic, 2020.
  6. Canonicity and homotopy canonicity for cubical type theory. Logical Methods in Computer Science, Volume 18, Issue 1, February 2022.
  7. Herman Geuvers. Induction is not derivable in second order dependent type theory. In Samson Abramsky, editor, Typed Lambda Calculi and Applications, pages 166–181, Berlin, Heidelberg, 2001. Springer Berlin Heidelberg.
  8. Displayed type theory and semi-simplicial types, 2024.
  9. F. William Lawvere. Categories of spaces may not be generalized spaces as exemplified by directed graphs. Reprints in Theory and Applications of Categories, (9):1–7, 2005.
  10. F. William Lawvere. Axiomatic cohesion. Theory and Applications of Categories, 19(3):41–49, 2007.
  11. Parametric quantifiers for dependent type theory. Proc. ACM Program. Lang., 1(ICFP), aug 2017.
  12. John C. Reynolds. Types, abstraction and parametric polymorphism. In IFIP Congress, 1983.
  13. A type theory for synthetic ∞\infty∞-categories. Higher Structures, 1(1):116–193, 2017.
  14. Logical relations as types: Proof-relevant parametricity for program modules. Journal of the ACM, 68(6):1–47, October 2021.
  15. Michael Shulman. Brouwer’s fixed-point theorem in real-cohesive homotopy type theory. Mathematical Structures in Computer Science, 28(6):856–941, 2018.
  16. Jonathan Sterling. First Steps in Synthetic Tait Computability: The Objective Metatheory of Cubical Type Theory. PhD thesis, Carnegie Mellon University, 2022.
  17. The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. https://homotopytypetheory.org/book, Institute for Advanced Study, 2013.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (1)

Collections

Sign up for free to add this paper to one or more collections.