Cubical Intepretations of Type Theory
Abstract
The interpretation of types in intensional Martin-Löf type theory as spaces and their equalities as paths leads to a surprising new view on the identity type: not only are higher-dimensional equalities explained as homotopies, this view also is compatible with Voevodsky's univalence axiom which explains equality for type-theoretic universes as homotopy equivalences, and formally allows to identify isomorphic structures, a principle often informally used despite its incompatibility with set theory.
While this interpretation in homotopy theory as well as the univalence axiom can be justified using a model of type theory in Kan simplicial sets, this model can, however, not be used to explain univalence computationally due to its inherent use of classical logic. To preserve computational properties of type theory it is crucial to give a computational interpretation of the added constants. This thesis is concerned with understanding these new developments from a computational point of view.
In the first part of this thesis we present a model of dependent type theory with dependent products, dependent sums, a universe, and identity types, based on cubical sets. The novelty of this model is that it is formulated in a constructive metatheory.
In the second part we give a refined version of the model based on a variation of cubical sets which also models Voevodsky's univalence axiom. Inspired by this model, we formulate a cubical type theory as an extension of Martin-Löf type theory where one can directly argue about n-dimensional cubes (points, lines, squares, cubes, etc.). This enables new ways to reason about identity types. For example, function extensionality and the univalence axiom become directly provable in the system. We prove canonicity for this cubical type theory, that is, any closed term of type the natural numbers is judgmentally equal to a numeral. This is achieved by devising an operational semantics and adapting Tait's computability method to a presheaf-like setting.
Parts of work
Marc Bezem, Thierry Coquand, and Simon Huber, A model of type theory in cubical sets, 19th International Conference on Types for Proofs and Programs (TYPES 2013) (Dagstuhl, Germany) (R. Matthes and A. Schubert, eds.), Leibniz International Proceedings in Informatics (LIPIcs), vol. 26, Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2014, pp. 107–128. Simon Huber, A model of type theory in cubical sets, Licentiate thesis, University of Gothenburg, 2015. Cyril Cohen, Thierry Coquand, Simon Huber, and Anders Mörtberg, Cubical type theory: a constructive interpretation of the univalence axiom, to appear in the post-proceedings of the 21st International Conference on Types for Proofs and Programs (TYPES 2015). Simon Huber, Canonicity for cubical type theory, Preprint arXiv:1607.04156v1 [cs.LO], 2016.
Degree
Doctor of Philosophy
University
Göteborgs universitet. IT-fakulteten
Institution
Department of Computer Science and Engineering ; Institutionen för data- och informationsteknik
Disputation
Tisdagen den 29 november 2016, kl. 10.00, Hörsal KB, Kemi, Kemigården 4
Date of defence
2016-11-29
simon.huber@cse.gu.se
Date
2016-11-08Author
Huber, Simon
Keywords
Dependent Type Theory
Univalence Axiom
Models of Type Theory
Identity Types
Cubical Sets
Publication type
Doctoral thesis
ISBN
978-91-629-0007-6 (Print)
978-91-629-0008-3 (PDF)
Series/Report no.
134D
Language
eng