We define and develop two-level type theory (2LTT), a version of Martin-L\"of 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 stated simply be asking the inner and outer natural numbers to be 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 (infinity,1)-category and give some examples.
翻译:我们定义并开发了双级类型理论(2LTT), 这是一种将两种不同类型理论结合起来的 Martin- L\” 类型理论的版本。 我们把它们称为内型和外型理论。 在我们感兴趣的情况下, 内部理论是单型理论(HotT), 可能包括非象形宇宙和较高的感应类型。 外部理论是一种传统形式的类型理论, 验证身份证明的独特性( UIP) 。 一种观点是, 它与内型理论内部化的元变体。 2LT 有两种动机。 首先, 有关HotT的某些结果, 是内型理论的内型理论。 例如, 内型理论的半Limplicial 类型(HTTT) 可以在 HoTT 中构建一个外部固定的自然数值。 这种结果不能在 HoTF 的自然定义中表达, 但是可以在 2LTT 中进行正式化和验证。 美元在外型理论中是一个变量的变量。 这个观点来自对前型结构模型的观察, 直观, 直观为HTTTF 的自然数字 。</s>