Categories with families (CwFs) have been used to define the semantics of type theory in type theory. In the setting of Homotopy Type Theory (HoTT), one of the limitations of the traditional notion of CwFs is the requirement to set-truncate types, which excludes models based on univalent categories, such as the standard set model. To address this limitation, we introduce the concept of a Groupoid Category with Families (GCwF). This framework truncates types at the groupoid level and incorporates coherence equations, providing a natural extension of the CwF framework when starting from a 1-category. We demonstrate that the initial GCwF for a type theory with a base family of sets and Pi-types (groupoid-syntax) is set-truncated. Consequently, this allows us to utilize the conventional intrinsic syntax of type theory while enabling interpretations in semantically richer and more natural models. All constructions in this paper were formalised in Cubical Agda.
翻译:带族范畴(CwFs)已被用于在类型论中定义类型论的语义。在同伦类型论(HoTT)的背景下,传统CwF概念的一个局限是需要对类型进行集合截断,这排除了基于单值范畴的模型,例如标准集合模型。为应对这一局限,我们引入了广群带族范畴(GCwF)的概念。该框架在广群层级对类型进行截断,并纳入相干方程,为从1-范畴出发的CwF框架提供了自然扩展。我们证明:对于具有集合基族和Π类型(广群语法)的类型论,其初始GCwF是集合截断的。因此,这使我们能够在利用传统类型论内蕴语法的同时,实现语义更丰富、更自然模型的解释。本文所有构造均在Cubical Agda中形式化验证。