Hostname: page-component-848d4c4894-p2v8j Total loading time: 0.001 Render date: 2024-06-04T00:04:20.924Z Has data issue: false hasContentIssue false

Cubical methods in homotopy type theory and univalent foundations

Published online by Cambridge University Press:  10 December 2021

Anders Mörtberg*
Affiliation:
Department of Mathematics, Stockholm University, Stockholm, Sweden
*
*Corresponding author. Email: anders.mortberg@math.su.se
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the ‘Save PDF’ action button.

Cubical methods have played an important role in the development of Homotopy Type Theory and Univalent Foundations (HoTT/UF) in recent years. The original motivation behind these developments was to give constructive meaning to Voevodsky’s univalence axiom, but they have since then led to a range of new results. Among the achievements of these methods is the design of new type theories and proof assistants with native support for notions from HoTT/UF, syntactic and semantic consistency results for HoTT/UF, as well as a variety of independence results and establishing that the univalence axiom does not increase the proof theoretic strength of type theory. This paper is based on lecture notes that were written for the 2019 Homotopy Type Theory Summer School at Carnegie Mellon University. The goal of these lectures was to give an introduction to cubical methods and provide sufficient background in order to make the current research in this very active area of HoTT/UF more accessible to newcomers. The focus of these notes is hence on both the syntactic and semantic aspects of these methods, in particular on cubical type theory and the various cubical set categories that give meaning to these theories.

Type
Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2021. Published by Cambridge University Press

References

Angiuli, C. (2019). Computational Semantics of Cartesian Cubical Type Theory. Phd thesis, Carnegie Mellon University.Google Scholar
Angiuli, C., Brunerie, G., Coquand, T., Hou (Favonia), K.-B., Harper, R. and Licata, D. R. (2021a). Syntax and Models of Cartesian Cubical Type Theory. Preprint.CrossRefGoogle Scholar
Angiuli, C., Cavallo, E., Hou (Favonia), K.-B., Harper, R. and Sterling, J. (2018a). The RedPRL proof assistant (invited paper). In: Blanqui, F. and Reis, G. (eds.), 13th International Workshop on Logical Frameworks and Meta-Languages: Theory and Practice (LFMTP 2018), Electronic Proceedings in Theoretical Computer Science, vol. 274.Google Scholar
Angiuli, C., Cavallo, E., Mörtberg, A. and Zeuner, M. (2021b). Internalizing representation independence with univalence. Proceedings of the ACM on Programming Languages 5 (POPL). 1–30. https://dl.acm.org/doi/10.1145/3434293CrossRefGoogle Scholar
Angiuli, C., (Favonia), K.-B. H. and Harper, R. (2018b). Cartesian cubical computational type theory: Constructive reasoning with paths and equalities. In: 27th EACSL Annual Conference on Computer Science Logic, CSL 2018, September 4–7, 2018, Birmingham, UK, 6:1–6:17.Google Scholar
Awodey, S. (2018). A cubical model of homotopy type theory. Annals of Pure and Applied Logic 169 (12) 12701294. Logic Colloquium 2015.Google Scholar
Bezem, M., Coquand, T. and Huber, S. (2014). A model of type theory in cubical sets. In: 19th International Conference on Types for Proofs and Programs (TYPES 2013), Leibniz International Proceedings in Informatics (LIPIcs), vol. 26, 107–128.Google Scholar
Bezem, M., Coquand, T. and Huber, S. (2019). The univalence axiom in cubical sets. Journal of Automated Reasoning 63 159171. https://link.springer.com/article/10.1007/s10817-018-9472-6CrossRefGoogle Scholar
Bezem, M., Coquand, T. and Parmann, E. (2015). Non-constructivity in Kan simplicial sets. In: Altenkirch, T. (ed.) 13th International Conference on Typed Lambda Calculi and Applications (TLCA 2015), Leibniz International Proceedings in Informatics (LIPIcs), vol. 38, Dagstuhl, Germany, Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 92–106.Google Scholar
Birkedal, L., Bizjak, A., Clouston, R., Grathwohl, H. B., Spitters, B. and Vezzosi, A. (2019). Guarded cubical type theory. Journal of Automated Reasoning 63 211253. https://link.springer.com/article/10.1007/s10817-018-9471-7CrossRefGoogle Scholar
Brunerie, G. (2016). On the Homotopy Groups of Spheres in Homotopy Type Theory. Phd thesis, Université de Nice.Google Scholar
Buchholtz, U. and Morehouse, E. (2017). Varieties of cubical sets. In: Höfner, P., Pous, D. and Struth, G. (eds.) Relational and Algebraic Methods in Computer Science, Springer International Publishing, 77–92.Google Scholar
Cavallo, E. and Harper, R. (2019). Higher inductive types in cubical computational type theory. Proceedings of the ACM on Programming Languages 3 (POPL) 1:1–1:27.Google Scholar
Cavallo, E., Mörtberg, A. and Swan, A. W. (2020). Unifying cubical models of univalent type theory. In: Fernández, M. and Muscholl, A. (eds.) 28th EACSL Annual Conference on Computer Science Logic (CSL 2020), Leibniz International Proceedings in Informatics (LIPIcs), vol. 152, Dagstuhl, Germany, Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 14:1–14:17.Google Scholar
Clairambault, P. and Dybjer, P. (2011). The biequivalence of locally cartesian closed categories and martin-löf type theories. In: Ong, L. (ed.) Typed Lambda Calculi and Applications, Berlin, Heidelberg, Springer, 91106.CrossRefGoogle Scholar
Cohen, C., Coquand, T., Huber, S. and Mörtberg, A. (2018). Cubical type theory: A constructive interpretation of the univalence axiom. In: Types for Proofs and Programs (TYPES 2015), LIPIcs, vol. 69, 5:1–5:34.Google Scholar
Constable, R. L., Allen, S. F., Bromley, H. M., Cleaveland, W. R., Cremer, J. F., Harper, R. W., Howe, D. J., Knoblock, T. B., Mendler, N. P., Panangaden, P., Sasaki, J. T. and Smith, S. F. (1985). Implementing Mathematics with the Nuprl Proof Development Environment, Prentice-Hall.Google Scholar
Coquand, T. (2015). A cubical type theory. Slides of a talk in Nijmegen, Netherlands.Google Scholar
Coquand, T., Huber, S. and Mörtberg, A. (2018). On higher inductive types in cubical type theory. In: Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science, LICS’18, ACM, 255–264.CrossRefGoogle Scholar
Coquand, T., Mannaa, B. and Ruch, F. (2017). Stack semantics of type theory. In: 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), 1–11.Google Scholar
Curien, P.-L. (1993). Substitution up to isomorphism. Fundamenta Informaticae 19 (1–2) 5185.CrossRefGoogle Scholar
Curien, P.-L., Garner, R. and Hofmann, M. (2014). Revisiting the categorical interpretation of dependent type theory. Theoretical Computer Science 546 99119.CrossRefGoogle Scholar
Dijkstra, E. W. (1974). On the role of scientific thought. http://www.cs.utexas.edu/users/EWD/ewd04xx/EWD447.PDF.Google Scholar
Dybjer, P. (1996). Internal type theory. In: Lecture Notes in Computer Science, Berlin, Heidelberg, New York, Springer Verlag, 120–134.Google Scholar
Forsberg, F. N., Xu, C. and Ghani, N. (2020). Three equivalent ordinal notation systems in cubical agda. In: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2020, New York, NY, USA, Association for Computing Machinery, 172–185.Google Scholar
Gambino, N. and Sattler, C. (2017). The Frobenius condition, right properness, and uniform fibrations. Journal of Pure and Applied Algebra 221 (12) 30273068.CrossRefGoogle Scholar
Hofmann, M. (1994). On the interpretation of type theory in locally cartesian closed categories. In: Proceedings of Computer Science Logic, Lecture Notes in Computer Science, Springer, 427–441.Google Scholar
Hofmann, M. (1997). Syntax and Semantics of Dependent Types. In: Pitts, A. & Dybjer, P. (Eds.), “ Semantics and Logics of Computation” (Publications of the Newton Institute). Cambridge: Cambridge University Press, 79–130. https://www.cambridge.org/core/books/abs/semantics-and-logics-of-computation/syntax-and-semantics-of-dependent-types/119C8085C6A1A0CD7F24928EF866748F Google Scholar
Hofmann, M. and Streicher, T. (1997). Lifting Grothendieck universes. Unpublished Note. Available at https://www2.mathematik.tu-darmstadt.de/streicher/NOTES/lift.pdf.Google Scholar
Huber, S. (2019). Canonicity for cubical type theory. Journal of Automated Reasoning 63 (2) 173210.Google Scholar
Kapulkin, C. and Lumsdaine, P. L. (2012). The simplicial model of univalent foundations (after Voevodsky). Preprint arXiv:1211.2851v4 [math.LO].Google Scholar
Lambek, J. and Scott, P. J. (1986). Introduction to Higher Order Categorical Logic, Cambridge University Press, USA.Google Scholar
Licata, D. R., Orton, I., Pitts, A. M. and Spitters, B. (2018). Internal universes in models of homotopy type theory. In: FSCD, LIPIcs, vol. 108. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, 22:1–22:17.Google Scholar
Lumsdaine, P. L. and Warren, M. A. (2015). The local universes model: An overlooked coherence construction for dependent type theories. ACM Transactions on Computational Logic 16 (3) 131.CrossRefGoogle Scholar
Martin-Löf, P. (1975). An intiutionistic theory of types: Predicative part. In: Rose, H. E. and Shepherdson, J. (eds.) Logic Colloquium’73, Amsterdam, North–Holland, 73118.Google Scholar
Martin-Löf, P. (1982). Constructive mathematics and computer programming. In: Logic, Methodology and Philosophy of Science, VI, 153175.CrossRefGoogle Scholar
Martin-Löf, P. (1984). Intuitionistic Type Theory, Bibliopolis.Google Scholar
Martin-Löf, P. (1998). An intuitionistic theory of types. In: Twenty-Five Years of Constructive Type Theory (Venice, 1995), Oxford Logic Guides, vol. 36, New York, Oxford University Press, 127–172.CrossRefGoogle Scholar
McBride, C. (2002). Elimination with a motive. In: Types for Proofs and Programs, Berlin, Heidelberg, Springer, 197–216.Google Scholar
Mörtberg, A. and Pujet, L. (2020). Cubical synthetic homotopy theory. In: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2020, New York, NY, USA, Association for Computing Machinery, 158–171.CrossRefGoogle Scholar
Nordström, B., Petersson, K. and Smith, J. M. (1990). Programming in Martin-Löf’s Type Theory: An Introduction, USA, Clarendon Press.Google Scholar
Orton, I. and Pitts, A. M. (2018). Axioms for modelling cubical type theory in a topos. Logical Methods in Computer Science 14 (4) 133.Google Scholar
Parker, J. (2014). Duality between Cubes and Bipointed Sets. Master’s thesis, Carnegie Mellon University.Google Scholar
Riehl, E. (2014). Categorical Homotopy Theory, Cambridge University Press.CrossRefGoogle Scholar
Riehl, E. (2017). Category Theory in Context, Dover Publications.Google Scholar
Riehl, E. (2019). The equivariant uniform kan fibration model of cubical homotopy type theory. Talk given at The International Conference on Homotopy Type Theory (HoTT 2019) at Carnegie Mellon University.Google Scholar
Sattler, C. (2017). The Equivalence Extension Property and Model Structures. Preprint arXiv:1704.06911v1 [math.CT].Google Scholar
Seely, R. A. G. (1984). Locally cartesian closed categories and type theory. Mathematical Proceedings of the Cambridge Philosophical Society 95 (1) 3348.CrossRefGoogle Scholar
Shulman, M. (2019). All (∞, 1)-Toposes have Strict Univalent Universes. Preprint arXiv:1904.07004 [math.AT].Google Scholar
Sterling, J. and Angiuli, C. (2021). Normalization for Cubical Type Theory. Preprint arXiv:2101.11479 [cs.LO].Google Scholar
Swan, A. (2018). Separating Path and Identity Types in Presheaf Models of Univalent Type Theory. Preprint arXiv:1808.00920 [math.LO].Google Scholar
Swan, A. and Uemura, T. (2019). On church’s thesis in cubical assemblies.Google Scholar
The cubical Development Team (2013). cubical. Available at https://github.com/simhu/cubical/.Google Scholar
The cubicaltt Development Team (2015). cubicaltt. Available at https://github.com/simhu/cubical/.Google Scholar
The mlang Development Team (2019). mlang. Available at https://github.com/molikto/mlang/.Google Scholar
The RedPRL Development Team (2016). RedPRL. Available at http://www.redprl.org/.Google Scholar
The RedPRL Development Team (2018). redtt. Available at https://github.com/RedPRL/redtt.Google Scholar
The RedPRL Development Team (2020). cooltt. Available at https://github.com/RedPRL/cooltt.Google Scholar
The yacctt Development Team (2018). yacctt. Available at https://github.com/mortberg/yacctt/.Google Scholar
Uemura, T. (2019). Cubical assemblies, a univalent and impredicative universe and a failure of propositional resizing. In: Dybjer, P., Santo, J. E. and Pinto, L. (eds.) 24th International Conference on Types for Proofs and Programs (TYPES 2018), Leibniz International Proceedings in Informatics (LIPIcs), vol. 130, Dagstuhl, Germany, Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 7:1–7:20.Google Scholar
Univalent Foundations Program, T. (2013). Homotopy Type Theory: Univalent Foundations of Mathematics. http://homotopytypetheory.org/book, Institute for Advanced Study.Google Scholar
Veltri, N. and Vezzosi, A. (2020). Formalizing Pi-calculus in guarded cubical agda. In: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2020, New York, NY, USA, Association for Computing Machinery, 270283.Google Scholar
Vezzosi, A., Mörtberg, A. and Abel, A. (2019). Cubical agda: A dependently typed programming language with univalence and higher inductive types. Proceedings of the ACM on Programming Languages 3 (ICFP) 87:187:29.Google Scholar
Vezzosi, A., Mörtberg, A. and Abel, A. (2021). Cubical agda: A dependently typed programming language with univalence and higher inductive types. Journal of Functional Programming 31 e8:1–29.Google Scholar
Voevodsky, V. (2009). Notes on type systems. Unpublished note available at https://www.math.ias.edu/vladimir/sites/math.ias.edu.vladimir/files/expressions_current.pdf (retrieved May, 2021).Google Scholar
Voevodsky, V. (2010). Univalent foundations project. A modified version of an NSF grant application.Google Scholar
Voevodsky, V. (2011). Univalent foundations. Plenary lecture at WoLLIC, May 18.Google Scholar
Voevodsky, V. (2014). The equivalence axiom and univalent models of type theory. (Talk at CMU on February 4, 2010). Preprint arXiv:1402.5556 [math.LO].Google Scholar
Voevodsky, V. (2015). An experimental library of formalized mathematics based on the univalent foundations. Mathematical Structures in Computer Science 25 12781294.CrossRefGoogle Scholar