Skip to main content

Research Repository

Advanced Search

Two-level type theory and applications

Annenkov, Danil; Capriotti, Paolo; Kraus, Nicolai; Sattler, Christian

Two-level type theory and applications Thumbnail


Authors

Danil Annenkov

Paolo Capriotti

Dr NICOLAI KRAUS NICOLAI.KRAUS@NOTTINGHAM.AC.UK
Professor of Theoretical Computerscience

Christian Sattler



Abstract

We define and develop two-level type theory (2LTT), a version of Martin-Löf type theory which combines two different type theories. We refer to them as the ‘inner’ and the ‘outer’ type theory. In our case of interest, the inner theory is homotopy type theory (HoTT) which may include univalent universes and higher inductive types. The outer theory is a traditional form of type theory validating uniqueness of identity proofs (UIP). One point of view on it is as internalised meta-theory of the inner type theory. There are two motivations for 2LTT. Firstly, there are certain results about HoTT which are of meta-theoretic nature, such as the statement that semisimplicial types up to level n can be constructed in HoTT for any externally fixed natural number n. Such results cannot be expressed in HoTT itself, but they can be formalised and proved in 2LTT, where n will be a variable in the outer theory. This point of view is inspired by observations about conservativity of presheaf models. Secondly, 2LTT is a framework which is suitable for formulating additional axioms that one might want to add to HoTT. This idea is heavily inspired by Voevodsky’s Homotopy Type System (HTS), which constitutes one specific instance of a 2LTT. HTS has an axiom ensuring that the type of natural numbers behaves like the external natural numbers, which allows the construction of a universe of semisimplicial types. In 2LTT, this axiom can be assumed by postulating that the inner and outer natural numbers types are isomorphic. After defining 2LTT, we set up a collection of tools with the goal of making 2LTT a convenient language for future developments. As a first such application, we develop the theory of Reedy fibrant diagrams in the style of Shulman. Continuing this line of thought, we suggest a definition of (∞,1) -category and give some examples.

Citation

Annenkov, D., Capriotti, P., Kraus, N., & Sattler, C. (2023). Two-level type theory and applications. Mathematical Structures in Computer Science, 33(8), 688-743. https://doi.org/10.1017/s0960129523000130

Journal Article Type Article
Acceptance Date Mar 26, 2023
Online Publication Date May 30, 2023
Publication Date May 30, 2023
Deposit Date May 30, 2023
Publicly Available Date May 31, 2023
Journal Mathematical Structures in Computer Science
Print ISSN 0960-1295
Electronic ISSN 1469-8072
Publisher Cambridge University Press
Peer Reviewed Peer Reviewed
Volume 33
Issue 8
Pages 688-743
DOI https://doi.org/10.1017/s0960129523000130
Keywords two-level type theory; 2LTT; homotopy type system; homotopy type theory; conservativity; higher category
Public URL https://nottingham-repository.worktribe.com/output/21366793
Publisher URL https://www.cambridge.org/core/journals/mathematical-structures-in-computer-science/article/twolevel-type-theory-and-applications/4914DB4F8E8305DFC68F9CDCA9D0C8D0
Additional Information Copyright: © The Author(s), 2023. Published by Cambridge University Press; License: 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.; Free to read: This content has been made available to all.

Files





You might also like



Downloadable Citations