The Groupoid-Syntax of Type Theory is a Set
Thorsten Altenkirch, Ambrus Kaposi, Szumi Xie
TL;DR
Facing limitations of set-truncated intrinsic syntax in HoTT, the paper introduces GCwF, lifting truncation to groupoids with minimal coherence to permit interpretations in univalent models. It proves that the initial GCwF with $\Pi$-types and a base family is set-truncated, enabling the use of standard intrinsic syntax while connecting to univalent semantics via a set interpretation. A key methodological advance is α-normalisation, showing Ty_G forms a set by constructing $\mathsf{NTy}$ and a retraction, then relating groupoid-syntax to the set-based syntax. Together, these results provide a principled, implementable pathway for interpreting type-theoretic syntax in richer, univalent models and point toward future work on universes and higher coherence.
Abstract
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.
