Using dependent type theory to formalise the syntax of dependent type theory is a very active topic of study and goes under the name of "type theory eating itself" or "type theory in type theory." Most approaches are at least loosely based on Dybjer's categories with families (CwF's) and come with a type CON of contexts, a type family TY indexed over it modelling types, and so on. This works well in versions of type theory where the principle of unique identity proofs (UIP) holds. In homotopy type theory (HoTT) however, it is a long-standing and frequently discussed open problem whether the type theory "eats itself" and can serve as its own interpreter. The fundamental underlying difficulty seems to be that categories are not suitable to capture a type theory in the absence of UIP. In this paper, we develop a notion of $\infty$-categories with families ($\infty$-CwF's). The approach to higher categories used relies on the previously suggested semi-Segal types, with a new construction of identity substitutions that allow for both univalent and non-univalent variations. The type-theoretic universe as well as the internalised syntax are models, although it remains a conjecture that the latter is initial. To circumvent the known unsolved problem of constructing semisimplicial types, the definition is presented in two-level type theory (2LTT). Apart from introducing $\infty$-CwF's, the paper explains the shortcomings of 1-categories in type theory without UIP as well as the difficulties of and approaches to internal higher-dimensional categories.
翻译:使用依赖性类型的理论来正规化依赖性类型理论的语法是一个非常活跃的研究课题, 以“ 类型理论自食其果” 或“ 类型理论自有” 的名称命名。 大多数方法至少基于Dybjer与家庭( CwFs) 的分类, 并带有一种类型的 CON 环境, 一种类型家庭TY 与其建模类型相索引, 等。 这在类型理论的版本中非常有效, 其中独一身份证明原则( UIP) 是一个非常活跃的研究课题。 然而, 在同质类型理论( HotT) 中, 它是一个长期且经常讨论的开放问题, 类型理论是否“ 本身食用” 或“ 类型理论理论” 可以作为自己的解释者。 基本困难似乎是, 类别不适于在缺少 UIP 的情况下捕捉到某类理论的理论。 $( Inftyty) 和 CwFs 的配置概念, 所使用的更高类别方法取决于先前建议的半数值类型方法, 新的身份替代方法, 将理论类型解释为不易变的类别。