A Proof and Formalization of the Initiality Conjecture of Dependent Type Theory
2020 (English)Licentiate thesis, monograph (Other academic)
Abstract [en]
In this licentiate thesis we present a proof of the initiality conjecture for Martin-Löf’s type theory with 0, 1, N, A+B, ∏AB, ∑AB, IdA(u,v), countable hierarchy of universes (Ui)iєN closed under these type constructors and with type of elements (ELi(a))iєN. We employ the categorical semantics of contextual categories. The proof is based on a formalization in the proof assistant Agda done by Guillaume Brunerie and the author. This work was part of a joint project with Peter LeFanu Lumsdaine and Anders Mörtberg, who are developing a separate formalization of this conjecture with respect to categories with attributes and using the proof assistant Coq over the UniMath library instead. Results from this project are planned to be published in the future.
We start by carefully setting up the syntax and rules for the dependent type theory in question followed by an introduction to contextual categories. We then define the partial interpretation of raw syntax into a contextual category and we prove that this interpretation is total on well-formed input. By doing so, we define a functor from the term model, which is built out of the syntax, into any contextual category and we show that any two such functors are equal. This establishes that the term model is initial among contextual categories. At the end we discuss details of the formalization and future directions for research. In particular, we discuss a memory issue that arose in type checking the formalization and how it was resolved.
Place, publisher, year, edition, pages
Stockholm: Department of Mathematics, Stockholm University , 2020. , p. 94
Keywords [en]
Dependent type theory, Category theory, Contextual categories, Initiality, Formalization
National Category
Algebra and Logic
Research subject
Mathematics; Mathematical Logic
Identifiers
URN: urn:nbn:se:su:diva-181640OAI: oai:DiVA.org:su-181640DiVA, id: diva2:1431287
Presentation
2020-06-15, Stockholm, 14:30 (English)
Opponent
Supervisors
Note
Licentiate defense over Zoom.
2020-05-202020-05-192022-02-26Bibliographically approved