Abstract 1 Introduction and motivation 2 Syntax 3 Display map categories 4 Path categories 5 From path categories to weak models and back 6 Display map path categories 7 Strictification and coherence 8 Conclusion References Appendix A Full syntax and semantics of axiomatic type theory Appendix B Additional details on the 2-isomorphism

The Biequivalence of Path Categories and Axiomatic Martin-Löf Type Theories

Daniël Otten ORCID ILLC, University of Amsterdam, The Netherlands Matteo Spadetto ORCID DMIF, University of Udine, Italy
LS2N, University of Nantes, France
Abstract

The semantics of extensional type theory has an elegant categorical description: models of extensional =-types, 𝟙-types, and Σ-types are biequivalent to finitely complete categories, while adding Π-types yields locally Cartesian closed categories. We establish parallel results for axiomatic type theory, which includes systems like cubical type theory, where the computation rule of the =-types only holds as a propositional axiom instead of a definitional reduction. In particular, we prove that models of axiomatic =-types, and standard 𝟙- and Σ-types are biequivalent to certain path categories, while adding axiomatic Π-types yields dependent homotopy exponents.

This biequivalence simplifies axiomatic =-types, which are more intricate than extensional ones since they permit higher dimensional structure. Specifically, path categories use a primitive notion of equivalence instead of a direct reproduction of the syntactic elimination rules and computation axioms. We apply our correspondence to prove a coherence theorem: we show that these weak homotopical models can be turned into equivalent strict models of axiomatic type theory. In addition, we introduce a more modular notion, that of a display map path category, which only models axiomatic =-types by default, while leaving room to add other axiomatic type formers such as 𝟙-, Σ-, and Π-types.

Keywords and phrases:
Axiomatic type theory, cubical type theory, propositional equality, biequivalence, display map categories, path categories, homotopy theory, coherence
Funding:
Daniël Otten: This publication is part of the project “The Power of Equality” (with project number OCENW.M20.380) of the research programme Open Competition Science M 2 which is (partly) financed by the Dutch Research Council (NWO).
Matteo Spadetto: The author was supported by an E-COST-CA20111 Short-Term Scientific Mission Grant – that funded his research visit to Amsterdam in Spring 2023, where and when this research started – a School of Mathematics full-time EPSRC Doctoral Training Partnership Studentship 2019/2020, the Italian MUR PRIN 2022 “STENDHAL”, and eOTP RECIPROG.
Copyright and License:
[Uncaptioned image] © Daniël Otten and Matteo Spadetto; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Type theory
; Theory of computation Categorical semantics ; Mathematics of computing Topology
Related Version:
Full Version: https://arxiv.org/abs/2503.15431 [39]
Acknowledgements:
We are thankful to Benno van den Berg, Rafaël Bocquet, Jacopo Emmenegger, Ambrus Kaposi, Marino Miculan, and Niels van der Weide for many helpful discussions and ideas.
Editors:
Stefano Guerrini and Barbara König

1 Introduction and motivation

Dependent type theory, and most notably intensional type theory (ITT), has become a cornerstone of logic, with applications in proof assistants, programming languages, and the foundations of mathematics. Models of type theory form categories, and categorical formulations [15, 38, 29] provide a powerful tool to understand the behaviour of these systems. However, giving a satisfactory categorical formulation of dependent type theory is challenging. First of all, we want our requirements to be simple categorical properties instead of direct reproductions of the syntax; and secondly, categorical structure usually only satisfies stability conditions up to isomorphism instead of the strict equality imposed in the syntax. This means that it is significantly easier to produce weak models, which only satisfy stability up to equivalence. To deal with the second issue, strictification techniques [26, 5, 33, 12, 22, 31] have been developed to turn weakly stable structure into strictly stable structure. This paper focuses on the first issue: providing a categorical and homotopy theoretic presentation of the weak models of dependent type theory. We combine our results with existing techniques for the second issue to turn our weak models into (strict) models.

One difficulty in studying ITT is the fact that it has two notions of equality: propositional equality (=), which is an internal equality type, and definitional equality (), which is an external judgment. Distinguishing these notions provides ITT with its good computational properties: definitional equality is a decidable fragment of propositional equality and allows type checking to be algorithmically decidable. This fragment can be changed, such as by allowing the addition of rewrite rules [17]. The two extremes are: extensional type theory (ETT) [36], where every equality is definitional, and axiomatic type theory (ATT) [8, 44], where no equality is definitional.

For ETT the external and internal notions of equality match. This prevents it from being compatible with homotopy type theory: it proves uniqueness of identity proofs (UIP) which contradicts univalence [27, 47]. In addition, definitional equality is undecidable in ETT, which means that type checking is undecidable as well. By contrast, the semantics of ETT is easier to explore and allows for a simple categorical description of its type formers. Models can be formulated using locally Cartesian closed categories as seen by Seely [43]. However, Seely interprets substitutions using pullbacks, which are only specified up to isomorphism, leading to coherence problems. The precise statement is a biequivalence of 2-categories as shown by Clairambault and Dybjer [16] building on work of Curien, Hofmann and Garner [19, 26, 20], which has been extended by Maietti [35] and Van der Weide [48]:

SyntaxSemanticsextensional =𝟙Σfinitely complete categoriesextensional =𝟙ΣΠlocally Cartesian closed categories

In this paper we generalise this to ATT. The main reason to study axiomatic type theory is that – while it only has one notion of equality like ETT, and is therefore easier to study – it is minimal and therefore compatible with ITT and its extensions, and provides a larger class of models. In addition, there are conservativity results for ATT which means that we can use it to study ITT and ETT: for example, ETT is conservative over ATT extended with function extensionality and UIP [49, 13, 45]. Moreover, from a mathematical perspective, axiomatic type formers enjoy the advantage of being homotopy invariant, as explained in [3, 4]: any type that is homotopy equivalent to the one given by the formation rule of a type former satisfies the same rules.

We generalise the known correspondence by considering the notion of a path category introduced by Van den Berg and Moerdijk [9, 6]. Path categories have equivalences as a primitive notion, which allows the omission of explicit interpretations of the elimination and computation rules. This is a considerable simplification, since it is exactly these rules that become unwieldy in ATT, especially in a setting without Π-types. We show a correspondence:

SyntaxSemanticsextensional 𝟙Σ and axiomatic =path categoriesextensional 𝟙Σ and axiomatic =Π  path cats with dependent homotopy exponents

This extends the existing results since finitely complete categories can be seen as degenerate path categories where dependent homotopy exponentials simplify to dependent exponentials. We do this by proving an isomorphism of 2-categories between path categories and an existing notion of weak semantics: display map categories. Then we apply the results of Lumsdaine and Warren [33] and Bocquet [12] to strictify those path categories that satisfy the additional logical framework (21) condition, giving a biequivalence with models satisfying this condition. We also introduce a new and more fine-grained notion – that of a display map path category, which distinguishes types and telescopes – and prove similar correspondences:

SyntaxSemanticsaxiomatic =(𝟙)(Σ)(Π)suitable display map path categories

This result is more modular without introducing significant additional complexity: display map path categories only have axiomatic =-types by default and can be extended with any combination of 𝟙, Σ, and Π in a relatively simple way.

Our contribution.

Our main contribution is twofold: (a) providing a categorical formulation of the weak models of axiomatic =-types, and exploiting it to obtain a coherence result for the class of path categories, and (b) a characterisation of the strict models of axiomatic type theory in terms of path categories. In detail, we show that the 2-category of path categories is isomorphic to a 2-category of suitable display map categories. We consider display map categories to phrase the semantics of type theory because they form a good middle ground: they allow for a formulation of type formers that closely follows the syntax, while being expressive enough to consider both weak and strict models. Additionally, they are relatively simple and close to the homotopical notions.

The idea of formulating the semantics of axiomatic =-types using path categories originates from the work of Van den Berg and Moerdijk [9, 6]. Our contribution lies in clarifying precisely in what sense path categories serve as models for these axiomatic =-types: every path category is rooted – that is, every context is essentially build by extending the empty context with finitely many types – and models axiomatic =-types, and extensional 𝟙- and Σ-types. We show that, when they are structured (come equipped with choices of substitutions), and satisfy the 21 condition, they can be strictified into actual models.

Additionally, we introduce a more fine-grained notion, that of a display map path category, which distinguishes between types and telescopes. Because of this distinction, they do not model extensional 𝟙- and Σ-types, but still model axiomatic =-types. This makes them a suitable semantics for a minimal ATT – only axiomatic =-types – which can be extended with axiomatic 𝟙-types, Σ-types, and Π-types.

Related work.

This paper is positioned at the intersection of two goals: (a) finding a well-structured categorical description of models for ATT, in such a way that there is a modular correspondence [34, 24] between certain categories, where syntax is not explicitly articulated, and specific type theories, and (b) proving coherence theorems. From this perspective, our work is in line with that of Maietti [34] and that of Clairambault and Dybjer [16]. Maietti’s work is based on characterising models of certain theories via universal properties. This is largely due to the fact that her work focuses on extensional theories. To extend this to axiomatic theories, we need to use a weaker notion of universal properties in the form of homotopy (co)limits. Such an approach seems necessary for inductive types such as the natural numbers type and W-types. For =-types, 𝟙-types, and Σ-types, we show that it suffices to ask the constructor to be an equivalence: a homotopy universal property already follows from this requirement. Another approach consists in describing axiomatic type formers by means of higher dimensional universal properties in higher dimensional structures, as done in [44]. We also reference Van der Weide’s work [48], which generalizes both Maietti’s and Clairambault and Dybjer’s results to univalent categories.

The correspondence that we establish is similar to the one by Clairambault and Dybjer [16], since finitely complete categories are precisely the path categories in which the only equivalences are the isomorphisms and every morphism is a fibration. However, a formulation of our result as a generalization of the former is hard to find. On the one hand, finitely complete categories induce pseudo-stable type formers in the corresponding display map category, which is enough to obtain a split display map category with stable type formers, hence a genuine model, by right-adjoint splitting. On the other hand, a general path category only provides the corresponding display map category with weakly stable type formers, which forces us to base our splitting strategy on the left-adjoint splitting functor, as described by Lumsdaine and Warren [33] and Bocquet [12]. However, the latter requires the input display map category to be structured, which in general does not follow from our hypotheses. Hence, we cannot hope to link general path categories to models of ATT, but only to weak models with weakly stable structure, whereas Clairambault and Dybjer’s biequivalence automatically involves pseudo-stable structure – and hence falls within the domain of the right-adjoint splitting. Our solution consists in restricting our biequivalence between path categories and weak models to the structured, or cloven, case in both sides, so that the latter fall within the domain of the left-adjoint splitting: in this way we deduce a biequivalence between cloven path categories and strict models of our type theory.

Structure of the paper.

In Section 2 we describe axiomatic =-types syntactically, and explain why the based version is preferred in a setting without Π-types. In Section 3, we review the notion of a display map category as well as the semantic notion of axiomatic =-types, and explain strict and weak stability in both the general and the structured case. Analogously, Section 4 recalls the notion of a path category together with its basic properties.

In Section 5 we describe how path categories extend the notion of a clan with based axiomatic =-types. We use this fact to show that path categories are rooted display map categories with weakly stable based axiomatic =-types and extensional 𝟙- and Σ-types. Secondly, we prove that these conditions on a display map category are themselves enough to recover the structure of a path category, and that this correspondence extends to an isomorphism between the corresponding 2-categories. In Section 6, we introduce the notion of a display map path category adding a distinction between display maps and fibrations, and prove a similar 2-isomorphism. Consequence of our correspondence are explored in Section 7, where we strictify to obtain genuine models.

2 Syntax

We will assume some familiarity with the syntax of Martin-Löf type theory; for an overview, see [37, 47]. Our main focus will be a minimal type theory with only propositional equality (the =-types) and no definitional equality (the -judgement). For the structural rules, the unit type (𝟙), dependent product types (Σ) and dependent function types (Π), see Appendix A. Type formers in intensional Martin-Löf type theory are given by formation, introduction, elimination, and computation (β) rules. For the =-types, these are:

In extensional type theory, we also add a uniqueness (η) rule:

The η-rule implies that propositional equality and definitional equality coincide, making type checking undecidable. We are mainly interested in the other direction – a minimal type theory without definitional equality – so we modify intensional =-types in two ways: we weaken the β-rule (definitional equality) to a β-axiom (propositional equality), and fix the variable x in place as a constant term a in the eliminator:

These two modifications are orthogonal. The main focus of this paper is on the first one: weakening the β-rule to a β-axiom, that is, only requiring the =-type to be inhabited instead of requiring a judgemental equality. This weaker notion of =-type is called an axiomatic =-type, and is the version that appears in cubical type theory [18] as well as in axiomatic type theory (type theory without reductions) [8]. The other modification, fixing one of the two endpoints, is a technical variation known as based path induction or the Paulin-Mohring eliminator [41]. With Π-types, based and unbased path induction are equivalent. However, without Π-types, the based version is stronger and better behaved. For example, the transport αb:B[a/x] of a term b:B[a/x] along an equality α:a=Aa can be defined as 𝗂𝗇𝖽b=(α) using based path induction, while it is not definable using unbased path induction.

Alternatively, to give the unbased version the same strength as the based version, we can extend it with a telescope Ω. This is called the parametrized or Frobenius version of path induction. For example, axiomatic parametrized unbased path induction is given by:

We have equivalences between axiomatic/intensional/extensional versions of path induction:

unparametrized based  parametrized based  parametrized unbased,

while the original unparametrized unbased version is weaker without Π-types. We prove a semantic version of this in Proposition 14.

In general we use the following terminology: a type former is axiomatic if we only have a β-axiom, intensional if it has a β-rule, and extensional if it also has an η-rule. Note that the β-axiom generally implies the existence of an η-axiom [3, 4]. The type theory is axiomatic/intensional/extensional if every type former is. Note that having extensional =-types implies that every other type former is extensional.

3 Display map categories

There is a big zoo of semantic frameworks for the structural part of dependent type theory; see [1] for an overview of the equivalences. These range from frameworks that closely follow the syntax (such as categories with families, which have primitive notions for contexts, types, and terms) to frameworks that simplify the structure (such as display map categories, where a type A in context Γ is identified with the display map or context projection Γ.AΓ, and a term a of A is identified with the induced context map ΓΓ.A). We will be working in the later setting for two reasons: it allows us to talk about both strict and weak models, and can easily be extended using ideas of homotopy theory as we will see in Section 4.

Definition 1 (Display map category [28, 46]).

A display map category is a category 𝒞 with a subclass of maps 𝒞𝖽𝗂𝗌𝗉𝒞 called the display maps () that is replete (closed under isomorphism in the arrow category 𝒞), and closed under pullback along any map.

The objects of a display map category are called contexts. A type A in context Γ consists of a context suggestively written Γ.A together with a display map pA:Γ.AΓ. A term a of A is a section of pA:Γ.AΓ, that is, a map a:ΓΓ.A such that pAa=1Γ. More generally, a term a of A for a context map σ:ΔΓ is a map a:ΔΓ.A such that pa=σ. Such a term of A for σ is equivalent to having a term of the pullback A[σ] of A along σ:

We call A[σ] the re-indexing or substitution of A along σ, and σ the weakening of σ for A. We extend both of these notions further. If a is a term of type A, then, for any choice of A[σ], we write a[σ] for the unique term of type A[σ] such that (σ)(a[σ])=aσ:

For a type B in context Γ we write BB[pA] for the induced type in an extended context Γ.A; and for a term b of B we write bb[pA] for the induced term of B. Finally, for any choice of B, we use the categorical notation (a,b):ΓΓ.A.B for the term of the pullback induced by terms a:ΓΓ.A and b:ΓΓ.B. We extend this to the dependent case by writing (a,b):ΓΓ.A.B for the term ab induced by terms a:ΓΓ.A and b:ΓΓ.B[a]. For a type A we have always the variable term or diagonal δa(1Γ.A,1Γ.A):Γ.AΓ.A.A.

Definition 2 (Root).

We call a sequence of types A0..An1, such that Ai is a type in context Γ.A0..Ai1, a telescope of Γ, and a composition of display maps Γ.A0..An1Γ a fibration (). A display map category is called rooted if it has a terminal object 1 (the empty context or root), and any map Γ1 is a fibration111Note that having a root is the correct way to state democracy in the absence of extensional 𝟙- and Σ-types. Democracy means that every context has a representation, and is usually stated as every context being isomorphic to 1.A for a type A in the empty context [16, Definition 2.6]. .

Type formers follow the syntactic specification. For example, an =-type is given by:

Definition 3 (=-type).

We say that a display map category has axiomatic (based) =-types if, for every type A in context Γ, there exists the data of a =-type for A:

F.

a type 𝖨𝖽A in context Γ.A.A (for some choice of re-indexing),

I.

a term 𝗋𝖾𝖿𝗅A of type 𝖨𝖽A[δA] in context Γ.A, where δA(1Γ.A,1Γ.A):Γ.AΓ.A.A:

E.

for every term a of type A, every type C in context Γ.A.𝖨𝖽A[a], and every term d of type C[a,𝗋𝖾𝖿𝗅[a]]222Note that 𝗋𝖾𝖿𝗅[a] is a morphism of the form ΓΓ.𝖨𝖽[δA][a] and because δAa=(1,1)a=(a,a)=aa we can also write the codomain as Γ.𝖨𝖽[a][a] so that (a,𝗋𝖾𝖿𝗅[a]):ΓΓ.A.𝖨𝖽A[a]. However, a structured display map category (see below) does not have to choose the same object for Γ.𝖨𝖽[δA][a] and Γ.𝖨𝖽[a][a]. So, there we should understand the statement as leaving a canonical isomorphism between the chosen objects implicit. A strict display map category is guaranteed to choose the same re-indexing. , a term 𝗂𝗇𝖽d= of C:

β.

for every a,C,d as before, 𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]] is propositionally equal to d, that is, we have a term βd= of type 𝖨𝖽C[a,𝗋𝖾𝖿𝗅[a]][𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]],d].

We are interested in the axiomatic notion, but for clarity we also explain stronger notions. We call an =-type for a type A intensional if it satisfies the β-rule: for every C,d as before we have that βd==𝗋𝖾𝖿𝗅[d], and therefore 𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]]=d. We call the =-type extensional if it also satisfies the η-rule: for every C and term c of C we have that 𝗂𝗇𝖽c[a,𝗋𝖾𝖿𝗅[a]]==c.

We say that a display map category with =-types has weakly stable =-types if for every type A in context Γ there exist an =-type 𝖨𝖽A and for every σ:ΔΓ we can equip 𝖨𝖽A[σ] and

with the additional data required to form an =-type. To explain the intuition for this notion, we first need to explain the idea of an equivalence. A (homotopy) equivalence between types A and B fibered over a context Γ is a term b:Γ.AΓ.B of B for pA such that there exists a term a:Γ.BΓ.A of A for pB so that the two compositions are pointwise propositionally equal to the identity, that is, we have terms of 𝖨𝖽A[ab,1Γ.A] and 𝖨𝖽B[ba,1Γ.B]. One can observe that between any two =-types 𝖨𝖽A,𝖨𝖽A for A there exists an equivalence that respects the data of an =-type, and that any type that is equivalent to an =-type for A can be given the additional data to form an =-type. Hence, weak stability is equivalent to the statement that =-types are preserved by re-indexing up to equivalence. This certainly holds in the syntax because the substitution of an =-type is still an =-type.

As explained in [1], there exists a 2-category 𝖣𝗂𝗌𝗉𝖢𝖺𝗍 of display map categories, functors preserving display maps and pullbacks of display maps, and natural transformations. We can specialize this to 0-cells that are rooted and 1-cells that preserve the terminal object. Another specialization is to 0-cells with additional weakly stable type formers and 1-cells that weakly preserve them; see Appendix B. In Section 5, we show that the 2-category of path categories is isomorphic to the 2-category 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗋𝗈𝗈𝗍 of rooted display map categories with weakly stable axiomatic =-types, extensional 𝟙-types, and extensional Σ-types.

Strict display map categories

In the syntax, substitution is defined recursively and therefore satisfies definitional equalities. These equalities are not even expressible in a display map category because substitution is only specified up to isomorphism, and =-types are only specified up to equivalence. So, to model type theory strictly, we need specified choices: a structured or cloven display map category is equipped with a subclass of the display maps that generates the display maps by repletion (the strict display maps), and choices for re-indexing strict display maps to strict display maps. We call it a strict or split display map category if these choices respect identity and composition: A[1Γ]=A and A[τσ]=A[τ][σ]. A strict rooted display map category also has choices to write every Γ1 as a composition of strict display maps and isomorphisms. Given specified choices for a type former, we can consider a range of conditions [33]:

  • strictlyweaklystable: preserved by re-indexing up to isomorphism equivalence  over the context.

  • strictlypseudo-stable: preserved by re-indexing up to isomorphism over the context.

  • strictlystrictly stable: preserved by re-indexing.

For example, specified choices for =-types consist of: for every strict type A a strict type 𝖨𝖽A and a term 𝗋𝖾𝖿𝗅A, together with for every strict type C and term d, terms 𝗂𝗇𝖽d= and βd=. These choices are strictly stable if for any σ we have the following equalities:

𝖨𝖽A[σ] =𝖨𝖽A[σ], 𝗂𝗇𝖽d=[σ] =𝗂𝗇𝖽d[σ]=, 𝗋𝖾𝖿𝗅A[σ] =𝗋𝖾𝖿𝗅A[σ], βd=[σ] =βd[σ]=.

A weak model of a type theory is a display map category with weakly stable type formers, and a strict model is a strict display map category with strictly stable type formers.

4 Path categories

We start with the following notion from abstract homotopy theory:

Definition 4 (Clan [30]).

A clan is a category 𝒞 with a subclass of maps 𝒞𝖿𝗂𝖻𝒞 called the fibrations () that is replete, closed under identity, composition, and pullback along any map. In addition, there exists a terminal object 1 and every map A1 is a fibration.

We have a forgetful functor from rooted display map categories to clans (only remembering the fibrations, that is, the compositions of display maps), and conversely every clan gives a rooted display map category in a cofree way: the entire class of fibrations can be taken as the display maps. To emphasize the topological view, we start writing the pullback of ΩΓ and σ:ΔΓ as Δ×ΓΩ instead of Δ.Ω[σ]. We extend clans with equivalences:

Definition 5 (Path category [9]).

A path category is a clan with an additional subclass 𝒞𝖾𝗊𝒞 of (weak) equivalences (). If a map is both a fibration and an equivalence, we call it a trivial fibration (). In addition, we require:

  1. 1.

    isomorphisms are weak equivalences,

  2. 2.

    equivalences satisfy 2-out-of-6: if for AfBgChD we have that both gf and hg are equivalences, then so are f, g, h, and hgf,

  3. 3.

    the pullback of a trivial fibration along any map is also a trivial fibration,

  4. 4.

    every trivial fibration has a section,

  5. 5.

    every object A has a path object: an object PA together with a fibration (s,t):PAA×A and an equivalence r:APA with (s,t)r=(1,1).

This is a strengthening of Brown’s notion of a category of fibrant objects [14] in two ways: (a) we have 2-out-of-6 instead of the weaker 2-out-of-3 (if for ABC two of the three maps are equivalences, then so is the third), which is equivalent to saturation [42], and (b) every trivial fibration has a section, which is equivalent to every object being cofibrant.

A trivial example of a path category is a category with finite limits where every morphism is a fibration, and only isomorphisms are equivalences. More interesting examples arise by taking the fibrant-cofibrant objects of a model category where every object is cofibrant. In addition, the effective topos can be seen as the homotopy category of a path category [7].

Four main results for path categories are: factorization, slicing, lifting, and saturation, which we will show here; for proofs, see [9]. First, notice that finite products exist and that the projections are pullbacks of fibrations and therefore fibrations. In addition, we see that the source and target maps s,t:PAA are always trivial fibrations: equivalences by 2-out-of-3 on sr=1 and tr=1, and fibrations as compositions of fibrations because s=π0(s,t) and t=π1(s,t). Now we can state:

Proposition 6 (Factorization).

We can factor any map f:BA as an equivalence wf:BLf (a section of a trivial fibration) followed by a fibration pf:LfA.

Using generalized elements, we think of the mapping path space LfB×sfPA as the space of pairs (b,α) with b in B and α a path in A with source fb:

Then wf(1B,rf) maps b in B to the pair consisting of b and the trivial path on fb, and pftπ1 maps (b,α) to the target of α.

Proof.

The projection π0:B×sfPAB is the pullback of s and therefore a trivial fibration. So, with 2-out-of-3 on π0(1B,rf)=1B we see that wf(1B,rf) is an equivalence. In addition, we see that the following square is pullback:

So, (π0,tπ1) is a fibration, and therefore pftπ1=π1(π0,tπ1) is as well.

Definition 7 (Slice category of fibrations).

If 𝒞 is a path category then for any object Γ in 𝒞 we define 𝒞/𝖿𝗂𝖻Γ as the full subcategory of 𝒞/Γ whose objects are fibrations to Γ. This is a path category when notions of fibration and equivalence are copied from 𝒞. The path object APΓAA×Γ×A of a fibration AΓ is a factorisation of δA:AA×ΓA in 𝒞.

Definition 8 (Homotopy).

We write fg for f,g:AB if there exists an homotopy: an h:APB such that (s,t)h=(f,g). A homotopy equivalence is a map f:AB such that there exists a g:BA with gf1 and fg1. More generally, if BΓ then we write fΓg if there exists a fibrewise homotopy: an h:APΓB such that (s,t)h=(f,g).

Theorem 9 (Saturation).

The homotopy equivalences are precisely the weak equivalences.

Theorem 10 (Lifting).

Suppose that we have the commutative outer square:

Then there exists a map l:ΔA such that the lower triangle commutes and the upper triangle commutes up to fibrewise homotopy: we have pl=σ and lwΓf. Moreover, such a lifting l is unique up to fibrewise homotopy.

Corollary 11.

Let f:BA be any morphism in a path category and let PB and PA be path objects. Then there is a morphism Pf:PBPA commuting with the morphisms (sB,tB) and (sA,tA) and such that (Pf)rBA×ArAf. In particular, homotopy is independent of the choice of path objects (consider f=1A).

Although they are 1-categories, path categories already contain higher structure. In particular, they are enriched in -groupoids [40]: a map between morphisms f,f:AB is an homotopy, that is, a morphism h:APB, and so on.

We have a 2-category 𝖯𝖺𝗍𝗁𝖢𝖺𝗍 of path categories, functors preserving the structure (fibrations, trivial fibrations, pullbacks, and the terminal object), and natural transformations. Such functors also preserve equivalences and therefore path objects by Brown’s lemma [14].

We call path categories structured if there is a choice of fibrations (the strict fibrations) that generates the fibrations by repletion, and choices of path fibrations, pullbacks of strict fibrations to strict fibrations, and terminal object. We call it strict if these choices strictly respect identity, composition, and path objects.

5 From path categories to weak models and back

We anticipated that path categories would provide a natural semantics for axiomatic =-types. In this section, we establish the rigorous correspondence by rephrasing a path category as a display map category with weakly-stable axiomatic =-types and three other properties: a root, (pseudo-stable) extensional 𝟙-types, and (pseudo-stable) extensional Σ-types. In Section 6, we introduce a version of path categories that does not necessarily model extensional 𝟙-types and Σ-types, and hence provides semantics for a minimal axiomatic type theory with only axiomatic =-types. We will also see how we can extend this with other axiomatic type formers. Let us start from these last properties:

Proposition 12.

A display map category has:

  • extensional Σ  𝟙-types iff all identity maps are display maps;

  • extensional Σ-types iff display maps are closed under composition.

So, a display map category is equal to a clan (as categories with a specified subclass of maps) iff it is rooted and has extensional 𝟙- and Σ-types. In addition, extensional 𝟙- and Σ-types are always pseudo-stable.

Proof.

If we have extensional 𝟙-types, then for any Γ, the display map Γ.1Γ is an isomorphism by the introduction and β,η-rules. As any isomorphism of 𝒞 is isomorphic to the identity in 𝒞, the latter is a display map as well. Similarly, if we have extensional Σ-types then for any composable display maps Γ.A.BΓ.AΓ, we have a display map Γ.ΣABΓ that is isomorphic in 𝒞 to the composition, hence the latter is a display map as well. Vice versa, define 𝟙Γ as 1Γ:ΓΓ and ΣAB as Γ.A.BΓ.AΓ.

Pseudo-stability follow from the fact that isomorphisms are preserved by re-indexing. To show that path categories also have axiomatic =-types, we adapt [6, Proposition 4.5]:

Proposition 13.

A path category has weakly stable based axiomatic =-types. Therefore – by considering every fibration to be a display map – a path category is a rooted display map category with weakly stable axiomatic =-types, and extensional 𝟙- and Σ-types.

Proof Sketch..

Formation and introduction for a type A in context Γ are provided by a path object for the fibration AΓ. Elimination and the β-axiom follow by the lifting theorem (Theorem 10). Weak stability follows from the fact that the re-indexing of a path object is a path object itself. See [39, Appendix C] for a complete proof. For the converse, we first translate different notions of axiomatic =-types:

Proposition 14.

For a display map category, the existence of the following weakly stable axiomatic identity types is equivalent:

unparametrized based  parametrized based  parametrized unbased,

whereas the existence of weakly stable unparametrized unbased axiomatic =-types is weaker: transport is not definable with unbased path induction (and no Π-types).

Proof.

The proof of the first equivalence is obtained by adapting Bocquet’s argument [11, Section 3] to non-strict models. Regarding the second equivalence, a parametrized unbased axiomatic =-type for a type A in a given context Γ can be defined as a specific re-indexing of a parametrized based axiomatic =-type for some A over Γ.A – namely, along the corresponding morphism δA.

The strategy to prove that transport is not admissible in a theory with only the Martin-Löf elimination and computation rules and no Π-types – and hence that weakly stable unparametrized unbased axiomatic =-types are weaker than the other notions – adapts an argument by Bocquet [11, page 15]. We also refer the reader to [21].

We refer the reader to [39, Appendix C] for a complete proof.

Proposition 15.

A rooted display map with weakly stable based axiomatic =-types and extensional 𝟙- and Σ-types can be given the structure of a path category where the weak equivalences are defined as the homotopy equivalences.

Proof Sketch..

By Proposition 14 and Propositional 12 – by looking at its display map class as a class of fibrations – we infer that 𝒞 is a clan and is endowed with weakly stable parametrized unbased axiomatic =-types. Now, one can observe that weak stability implies the existence of arrows:

𝖨𝖽Ω[σ]𝖨𝖽Ω[σ]and𝖨𝖽Ω[σ]𝖨𝖽Ω[σ] (logical equivalence)

over the canonical isomorphism Ω[σ]×ΔΩ[σ][1](Ω×ΓΩ)[σ], for every fibration ΩΓ and every substitution Δ𝜎Γ. In other words, the equivalence relations represented by 𝖨𝖽Ω[σ] and 𝖨𝖽Ω[σ] coincide. We provide full verification of this fact in [39, Appendix C]. Van den Berg [6, Theorem 5.16] proves that these data on 𝒞 are in fact equivalent to the existence and the choice of a class of weak equivalences on 𝒞 – in fact provided by its homotopy equivalences – making the clan 𝒞 into a path category, concluding our argument. The correspondence delineated by Proposition 13 and Proposition 15 extends to an equality of the 2-categories; for which we provide details in [39, Appendix C]:

Theorem 16.

There exists an isomorphism of 2-categories: 𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗋𝗈𝗈𝗍.

6 Display map path categories

To define a more fine-grained semantics that does not necessarily model extensional 𝟙-types and extensional Σ-types, we will add some additional structure to path categories: we exchange the clan for a display map category to distinguish display maps and fibrations.

Definition 17 (Display map path category).

A display map path category is a display map category 𝒞 together with a class 𝒞𝖾𝗊𝒞 of (weak) equivalences () such that:

1.

isomorphisms are equivalences,

2.

equivalences satisfy 2-out-of-6: if for A𝑓B𝑔CD we have that both gf and hg are equivalences, then so are f, g, h, and hgf,

3.

the pullback of a trivial fibration along any map is also a trivial fibration,

4.

every trivial fibration has a section,

5.

every display map AΓ has a path display map:
a display map (s,t):PΓAA×ΓA and equivalence r:APΓA with (s,t)r=(1,1).

PF.

every fibration ΔΓ has a path fibration:
a fibration (s,t):PΓΔΔ×ΓΔ and equivalence r:ΔPΓΔ with (s,t)r=(1,1).

We call a display map path category rooted if the underlying display map category is. Every rooted display map path category is in particular a path category, and every path category gives a cofree rooted display map path category by considering every fibrations to be a display map. Now a natural question is: are path display maps PΓAA×ΓA already enough to define path fibrations PΓΔΔ×ΓΔ? This is the case in the syntax: with =-types (and transport) we can define =-telescopes. For a telescope x:A of Γ we define the =-telescope χ:χx=Ax of Γ,x:A,x:A where:

χi :(χi1)(χ0)xi=Ai[x0,,xi1/x0,,xi1]xi.

The same is true in general. However, we do need to assume a notion of transport:

Theorem 18.

In the presence of axioms 1–5 and a root, the following are equivalent:

PO.

(path objects) every object Γ has a path object PΓ.

PF.

(path fibrations) every fibration ΔΓ has a path fibration PΓΔ.

F.

(factorisation) every map f:BA has a factorisation BLfA.

T.

(transport) for any p:AΓ and path object PΓ of Γ there exists a map τ:LpA for LpA×spPΓ such that pτ=tπ1 and τ(1,rp)Γ1.

L.

(lifting) if we have a commutative outer square

then there exists a map l:ΔA such that the lower triangle commutes and the upper triangle commutes up to fibrewise homotopy, that is, we have pl=σ and lwΓf. Moreover, such a lifting is unique up to fibrewise homotopy.

Proof.

We have the following implications:

  • (POPFFPO) follows by Proposition 6 and the fact that the path object PΓ is a factorisation of the diagonal δΓ:ΓΓ×Γ.

  • (POL) by the lifting theorem for path categories (Theorem 10).

  • (LT) because a transport map is a lift for the following square:

  • (TPO) follows with induction on the number of display maps in the fibration Γ1. In the base case we take the path object to be 1. In the successor case we will combine a path object PAnA×A for An1 with a path object PABB×AB for p:BA into a path object PBn+1B×B for Bn+11. Take LpB×spPA and let τ:LpA be a transport map. The intuition for PB will be that it consists of quadruples (b,b,α,β) as in the following picture:

    More precisely, we define PB using the two pullbacks:

    and we take rB(((1,1),rp),r) and (sB,tB)π0π0. To see that rB is an equivalence, we note that there is a more concise isomorphic definition of PB as the mapping path space LAτ of τ:LdB in 𝒞A:

    LAτLd×sτPAB=(B×spPA)×sτPAB.

    We see that the following diagram commutes:

    so, with 2-out-of-3, we see that rB is an equivalence.

So, the main results for path categories turn out to be equivalent to the existence of path fibrations. Another observation is that the slice 𝒞/Γ of a (rooted) display path category is generally only a display map path category, whereas 𝒞/𝖿𝗂𝖻Γ is a rooted display map path category. So, both the rooted and the unrooted version are important regardless of the starting category, which we exploit in the following:

Theorem 19.

A display map path category has weakly stable =-types, and every display map category with weakly stable =-types can be given a class of weak equivalences that turns it into a display map path category: the fibrewise homotopy equivalences. This extends to an isomorphism of the 2-categories: 𝖣𝗂𝗌𝗉𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝗋𝗈𝗈𝗍𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂𝗋𝗈𝗈𝗍.

Proof.

If we have a display map path category, then for every AΓ we have a path object PΓAA×ΓA in the rooted display path category 𝒞/𝖿𝗂𝖻Γ. This is in particular a path category, so by Proposition 13 it is a =-type in 𝒞/𝖿𝗂𝖻Γ, which implies that it is a =-type in 𝒞. The =-types are weakly stable because we see that display path objects are preserved by pullback using (the proof of) Brown’s lemma [14, page 428].

Conversely, if we have a display map category with weakly stable axiomatic =-types, then we say that a map f:AB is an equivalence if there exists a Γ such that AΓ and BΓ and f is a homotopy equivalence over Γ. We see that this satisfies axioms 1–4 so the main difficulty is showing that every trivial fibration has a section and that every fibration has a path fibration. For a (trivial) fibration f:ΔΩ there exists a Γ such that f is an equivalence over Γ. So, we consider 𝒞/𝖿𝗂𝖻Γ, which has a root, and Van den Berg [6, Section 6] shows that parametrized unbased axiomatic =-types are make it a path category whose equivalences are again the homotopy equivalences. So, the remaining properties follow.

If there is a root, then we know that saturation holds (Theorem 9), and the fibrewise homotopy equivalences become the homotopy equivalences, so this is the only option for the weak equivalences. In a similar way as for Theorem 16 we see that the 1-cells agree.

Proposition 20.

A (display map) path category:

  • has weakly stable axiomatic 𝟙-types iff the identity maps are homotopic to display maps;

  • has weakly stable axiomatic Σ-types iff the display maps are closed under composition up to homotopy;

  • has weakly stable axiomatic Π-types iff for every BAΓ there exist ΠABΓ and 𝖺𝗉𝗉A,B:(ΠAB)×ΓAB over Γ such that for every σ:ΔΓ the map

    (𝒞/Γ)(Δ,ΠAB)×ΓA(𝒞/A)(Δ×ΓA,(ΠAB)×ΓA)𝖺𝗉𝗉(𝒞/A)(Δ×ΓA,B),

    is essentially surjective. Here we view the domain and codomain as groupoids, where the maps are given by pointwise homotopies up to higher homotopy. ΠAB satisfies the function extensionality axiom iff the map is full, which implies that it is an equivalence.

Proof.

For the 𝟙- and Σ-types, the introduction and β-axiom give equivalences Γ.1Γ and Γ.ΣA.BΓ.A.B over Γ. So, the identity and composition are homotopic to display maps. Conversely, we can define 𝟙Γ as the display map homotopic to 1Γ:ΓΓ and ΣAB as the display map homotopic to BAΓ. They are always weakly stable because display maps and equivalences are preserved by re-indexing.

For the Π-types, these correspond to the weak/strong homotopy exponentials of Den Besten [10]. Essentially surjective gives a form of the introduction and β-axiom with weak stability build in: if we have a substitution σ:ΔΓ and a term b:Δ.A[σ]Γ.B over σpA[σ] then we get a term λb:ΔΓ.ΠAB over σ such that 𝖺𝗉𝗉(λb,1Γ.A) is homotopic to b. That the map being full implies that it is an equivalence, and that this is equivalent the axiom of function extensionality is shown by Den Besten [10, Proposition 5.4].

7 Strictification and coherence

In this last section, we use our isomorphisms to prove a coherence result: a biequivalence between a certain class of path categories and the class of (strict) models of a specific theory. First, we recall the LF condition that Lumsdaine and Warren [33] use to strictify:

Definition 21 (Logical framework (LF)).

A display map category satisfies LF if it has finite products and if, whenever AΓ is a display map and BA is either a display map or a product projection, the categorical dependent exponent ΠAB exists: there exist ΠABΓ and 𝖺𝗉𝗉A,B:(ΠAB)×ΓAB over Γ such that for every σ:ΔΓ the map:

(𝒞/Γ)(Δ,ΠAB)×ΓA(𝒞/A)(Δ×ΓA,(ΠAB)×ΓA)𝖺𝗉𝗉(𝒞/A)(Δ×ΓA,B)

is an isomorphism.

This condition is very close to the existence of Π-types for (display map) path categories but distinct in two important ways: we do not ask for ΠABΓ to be a display map (so ΠAB is not a type), and we ask for an isomorphism instead of a full map or equivalence. As a consequence, it captures a situation that is better viewed as a logical framework [25] or a 2-level type theory [35, 2] where the ambient theory has strong Π-types regardless of the internal theory that we consider.

Theorem 22 (Path categories provide models).

Let 𝒞 be a structured path category satisfying the LF condition. Then, seen as a structured display map category, it is equivalent in 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽,𝖫𝖥,𝗋𝗈𝗈𝗍 to an object 𝒞! of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗂𝖼𝗍,𝖫𝖥,𝗋𝗈𝗈𝗍 (a strict model).333Note that if we are willing to assume the axiom of choice in the metatheory, we do not need to assume that the display map category is structured.

This follows by combining Theorem 16 with the work of Lumsdaine and Warren [33], and Bocquet [12]. As they work in different frameworks, we provide the details in the full version [39, Appendix D].

Corollary 23 (Biequivalence of path categories and axiomatic Martin-Löf type theories).

There is a biequivalence 𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽,𝖫𝖥𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗂𝖼𝗍,𝖫𝖥,𝗋𝗈𝗈𝗍.

Proof.

There is a choice of an equivalence η𝒞:𝒞𝒞! in 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽,𝖫𝖥,𝗋𝗈𝗈𝗍, natural in 𝒞: the unit of the left-adjoint splitting. Now, if 𝒟 is an object of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗂𝖼𝗍,𝖫𝖥,𝗋𝗈𝗈𝗍 then η𝒟 – where 𝒟 is included into 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽,𝖫𝖥,𝗋𝗈𝗈𝗍 – witnesses an equivalence 𝒟!𝒟 living in 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗌𝗍𝗋𝗂𝖼𝗍,𝖫𝖥,𝗋𝗈𝗈𝗍. Therefore there is a biequivalence which, pre-composed by the restriction to the structured case of the biequivalence at Theorem 16, yields the statement.

Corollary 24 (Coherence for path categories).

Every structured LF path category is equivalent to a strict LF path category.

See [39, Appendix D] for the proof. These results work for general type formers, so we also get statements for display map path categories. The diagram summarises this:

Note that the adjunctions, although labelled differently, are the same: depending on the point of view, the left adjoint is either forgetful (it forgets display maps while remembering the fibrations), or free (it takes the identity and composition closure of the display maps), while the right adjoint is either cofree (it takes every fibration to be a display map) or forgetful (it forgets the 𝟙 and Σ structure).

8 Conclusion

We have established a biequivalence between path categories and models of axiomatic =-types extended with extensional 𝟙 and Σ-types. This result provides a clean categorical formulation of the semantics of axiomatic =-types, allowing us to construct strict models directly from weak homotopy-theoretic structures. Furthermore, we introduced the novel notion of a display map path category. This more fine-grained structure distinguishes between types and telescopes, and offers a semantics for minimal axiomatic type theories that do not include extensional type formers. As we saw, this leaves room to add other axiomatic type formers, such as axiomatic 𝟙-, Σ-, and Π-types, providing a modular semantics for axiomatic type theory. Our framework lays the groundwork for future investigations into the semantics of higher inductive types and computational interpretations of univalence.

References

  • [1] B. Ahrens, P. Lumsdaine, and P. Randall North. Comparing semantic frameworks for dependently-sorted algebraic theories. In Oleg Kiselyov, editor, Programming Languages and Systems, volume 15194 of Lecture Notes in Computer Science, pages 3–22, Singapore, 2025. Springer Nature Singapore. doi:10.1007/978-981-97-8943-6_1.
  • [2] T. Altenkirch, P. Capriotti, and N. Kraus. Extending Homotopy Type Theory with Strict Equality. LIPIcs, Volume 62, CSL 2016, 62:21:1–21:17, 2016. arXiv:1604.03799 [cs]. doi:10.4230/LIPIcs.CSL.2016.21.
  • [3] S. Awodey, N. Gambino, and K. Sojakova. Inductive types in homotopy type theory. In Proceedings of the 2012 27th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 95–104. IEEE Computer Soc., Los Alamitos, CA, 2012. doi:10.1109/LICS.2012.21.
  • [4] S. Awodey, N. Gambino, and K. Sojakova. Homotopy-initial algebras in type theory. J. ACM, 63(6):Art. 51, 45, 2017. doi:10.1145/3006383.
  • [5] S. Awodey and M. A. Warren. Homotopy theoretic models of identity types. Math. Proc. Cambridge Philos. Soc., 146(1):45–55, 2009. doi:10.1017/S0305004108001783.
  • [6] B. van den Berg. Path categories and propositional identity types. ACM Trans. Comput. Log., 19(2):Art. 15, 32, 2018. doi:10.1145/3204492.
  • [7] B. van den Berg. Univalent polymorphism. Annals of Pure and Applied Logic, 171(6):102793, June 2020. doi:10.1016/j.apal.2020.102793.
  • [8] B. van den Berg and M. den Besten. Quadratic type checking for objective type theory, 2021. arXiv:2102.00905.
  • [9] B. van den Berg and I. Moerdijk. Exact completion of path categories and algebraic set theory. Part I: Exact completion of path categories. J. Pure Appl. Algebra, 222(10):3137–3181, 2018. doi:10.1016/j.jpaa.2017.11.017.
  • [10] M. den Besten. On homotopy exponentials in path categories, 2020. arXiv:2010.14313.
  • [11] R. Bocquet. Coherence of strict equalities in dependent type theories, 2020. arXiv:2010.14166.
  • [12] R. Bocquet. Strictification of weakly stable type-theoretic structures using generic contexts. In 27th International Conference on Types for Proofs and Programs, volume 239 of LIPIcs. Leibniz Int. Proc. Inform., pages Art. No. 3, 23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/lipics.types.2021.3.
  • [13] S. Boulier and T. Winterhalter. Weak type theory is rather strong. 30th International Conference on Types for Proofs and Programs, 2019. URL: https://www.ii.uib.no/˜bezem/abstracts/TYPES_2019_paper_18.
  • [14] K. S. Brown. Abstract homotopy theory and generalized sheaf cohomology. Transactions of the American Mathematical Society, 186:419–458, 1973.
  • [15] J. Cartmell. Generalised Algebraic Theories and Contextual Categories. PhD thesis, University of Oxford, 1978.
  • [16] P. Clairambault and P. Dybjer. The biequivalence of locally cartesian closed categories and Martin-Löf type theories. Math. Structures Comput. Sci., 24(6):e240606, 54, 2014. doi:10.1017/S0960129513000881.
  • [17] J. Cockx. Type theory unchained: Extending agda with user-defined rewrite rules. In 25th International Conference on Types for Proofs and Programs (TYPES 2019), volume 175 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:27. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.TYPES.2019.2.
  • [18] C. Cohen, T. Coquand, S. Huber, and A. Mörtberg. Cubical Type Theory: A Constructive Interpretation of the Univalence Axiom. In Tarmo Uustalu, editor, 21st International Conference on Types for Proofs and Programs (TYPES 2015), volume 69 of Leibniz International Proceedings in Informatics (LIPIcs), pages 5:1–5:34. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2018. doi:10.4230/LIPIcs.TYPES.2015.5.
  • [19] P.-L. Curien. Substitution up to isomorphism. Fundamenta Informaticae, 19(1-2):51–85, 1993.
  • [20] P.-L. Curien, R. Garner, and M. Hofmann. Revisiting the categorical interpretation of dependent type theory. Theoretical Computer Science, 546:99–119, 2014. Models of Interaction: Essays in Honour of Glynn Winskel. doi:10.1016/j.tcs.2014.03.003.
  • [21] N. Gambino and R. Garner. The identity type weak factorisation system. Theoretical Computer Science, 409(1):94–109, 2008. doi:10.1016/j.tcs.2008.08.030.
  • [22] N. Gambino and M. F. Larrea. Models of Martin-Löf type theory from algebraic weak factorisation systems. J. Symb. Log., 88(1):242–289, 2023. doi:10.1017/jsl.2021.39.
  • [23] R. Garner. On the strength of dependent products in the type theory of Martin-Löf. Annals of Pure and Applied Logic, 160(1):1–12, 2009. Publisher: Elsevier. doi:10.1016/J.APAL.2008.12.003.
  • [24] R. Garner. Two-dimensional models of type theory. Math. Structures Comput. Sci., 19(4):687–736, 2009. doi:10.1017/S0960129509007646.
  • [25] R. Harper, F. Honsell, and G. Plotkin. A framework for defining logics. J. ACM, 40(1):143–184, 1993. doi:10.1145/138027.138060.
  • [26] M. Hofmann. On the interpretation of type theory in locally cartesian closed categories. In L. Pacholski and J. Tiuryn, editors, Computer Science Logic, pages 427–441, Berlin, Heidelberg, 1995. Springer Berlin Heidelberg.
  • [27] M. Hofmann. Syntax and semantics of dependent types, pages 13–54. Springer, London, 1997. doi:10.1007/978-1-4471-0963-1_2.
  • [28] J. Hyland, E. Martin, and A. Pitts. The theory of constructions: Categorical semantics and topos-theoretic models. Categories in Computer Science and Logic, 92:137–199, 1989.
  • [29] B. Jacobs. Comprehension categories and the semantics of type dependency. Theoret. Comput. Sci., 107(2):169–207, 1993. doi:10.1016/0304-3975(93)90169-T.
  • [30] A. Joyal. Notes on clans and tribes, 2017. arXiv:1710.10238.
  • [31] A. Kaposi and L. Pujet. Type theory in type theory using a strictified syntax, 2025. URL: https://pujet.fr/pdf/strictification_preprint.pdf.
  • [32] P. L. Lumsdaine. Strong functional extensionality from weak, 2011. URL: https://homotopytypetheory.org/2011/12/19/strong-funext-from-weak/.
  • [33] P. L. Lumsdaine and M. A. Warren. The local universes model: an overlooked coherence construction for dependent type theories. ACM Trans. Comput. Log., 16(3):Art. 23, 31, 2015. doi:10.1145/2754931.
  • [34] M. E. Maietti. Modular correspondence between dependent type theories and categories including pretopoi and topoi. Math. Structures Comput. Sci., 15(6):1089–1149, 2005. doi:10.1017/S0960129505004962.
  • [35] M. E. Maietti. A minimalist two-level foundation for constructive mathematics. Annals of Pure and Applied Logic, 160(3):319–354, 2009. Computation and Logic in the Real World: CiE 2007. doi:10.1016/j.apal.2009.01.006.
  • [36] P. Martin-Löf. Constructive mathematics and computer programming. In Studies in Logic and the Foundations of Mathematics, volume 104, pages 153–175. Elsevier, 1982.
  • [37] P. Martin-Löf. Intuitionistic type theory, volume 1 of Studies in Proof Theory. Lecture Notes. Bibliopolis, Naples, 1984. Notes by Giovanni Sambin.
  • [38] E. Moggi. A category-theoretic account of program modules. Math. Structures Comput. Sci., 1(1):103–139, 1991. doi:10.1017/S0960129500000074.
  • [39] D. Otten and M. Spadetto. The biequivalence of path categories and axiomatic Martin-Löf type theories (full version), 2025. arXiv:2503.15431.
  • [40] E. Paauw. Path categories and -groupoids. Master’s thesis, University of Amsterdam, 2021. URL: https://scripties.uba.uva.nl/search?id=record_29430.
  • [41] C. Paulin-Mohring. Inductive definitions in the system coq rules and properties. In International Conference on Typed Lambda Calculi and Applications, pages 328–345. Springer, 1993.
  • [42] A. Radulescu-Banu. Cofibrations in homotopy theory, 2009. arXiv:math/0610009.
  • [43] R. A. G. Seely. Locally Cartesian closed categories and type theory. Math. Proc. Cambridge Philos. Soc., 95(1):33–48, 1984. doi:10.1017/S0305004100061284.
  • [44] M. Spadetto. A 2-categorical approach to the semantics of dependent type theory with computation axioms, 2025. arXiv:2507.07208.
  • [45] M. Spadetto. Relating homotopy equivalences to conservativity in dependent type theories with computation axioms. Logical Methods in Computer Science, Volume 21, Issue 3, September 2025. doi:10.46298/lmcs-21(3:32)2025.
  • [46] P. Taylor. Practical foundations of mathematics, volume 59 of Cambridge Studies in Advanced Mathematics. Cambridge University Press, 1999.
  • [47] The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. https://homotopytypetheory.org/book, Institute for Advanced Study, 2013.
  • [48] N. van der Weide. The internal languages of univalent categories. In 2025 40th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 112–126, 2025. doi:10.1109/LICS65433.2025.00016.
  • [49] T. Winterhalter. Formalisation and meta-theory of type theory. PhD thesis, Université de Nantes, 2020.

Appendix A Full syntax and semantics of axiomatic type theory

The structural rules of axiomatic type theory are:

These are modelled by any display map category with a designated empty context. In a rooted display map category this is the terminal object.

A.1 =-types

The rules for axiomatic based =-types are:

This induces a notion in display map categories:

Definition 25 (=-types).

We say that a display map category has axiomatic (based) =-types if, for every type A in context Γ, there exists:

F.

a type 𝖨𝖽A in context Γ.A.A,

I.

a term 𝗋𝖾𝖿𝗅A of type 𝖨𝖽A[δA] in context Γ.A, where δA is the diagonal map (1Γ.A,1Γ.A):Γ.AΓ.A.A:

E.

for every term a of type A, every type C in context Γ.A.𝖨𝖽A[a], and every term d of type C[a,𝗋𝖾𝖿𝗅[a]], a term 𝗂𝗇𝖽d= of C:

𝜷.

for every a,C,d as before, 𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]] is propositionally equal to d, that is, we have a term βd= of type 𝖨𝖽C[a,𝗋𝖾𝖿𝗅[a]][𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]],d].

Any such choice of data for a given type A is also called an axiomatic =-type for A. Additionally, we call an =-type 𝖨𝖽A intensional if it satisfies the β-rule: for every a,C,d as before we have that βd==𝗋𝖾𝖿𝗅[d], and therefore that 𝗂𝗇𝖽d=[a,𝗋𝖾𝖿𝗅[a]]=d. We call the =-type extensional if it also satisfies the η-rule: for every C and term c of C we have that 𝗂𝗇𝖽c[a,𝗋𝖾𝖿𝗅[a]]==c.

In a strict display map category, we call a choice of =-types (strictly) stable if for every type A in context Γ and every morphism σ:ΔΓ, we have:

𝖨𝖽A[σ] =𝗋𝖾𝖿𝗅 𝖨𝖽A[σ], 𝗂𝗇𝖽d=[σ] =𝗂𝗇𝖽d[σ]=,
𝗋𝖾𝖿𝗅A[σ] =𝗋𝖾𝖿𝗅A[σ], βd=[σ] =𝗂𝗇𝖽 βd[σ]=.

We say that the =-types are weakly stable if for every type A in context Γ and every morphism σ:ΔΓ we can equip 𝖨𝖽A[σ] and

[1]Δ.A[σ].𝖨𝖽A[σ][δA[σ]],

with the additional data required to form a =-type.

A.2 𝟙-types

The rules for axiomatic 𝟙-types are:

This induces a notion in display map categories:

Definition 26 (𝟙-types).

We say that a display map category has axiomatic 𝟙-types if, for every context Γ, there exists:

F.

a type 𝟙Γ in context Γ,

I.

a term 0𝟙 of type 𝟙:

E.

for every type C in context Γ.1 and every term d of type C[𝟙] a term 𝗂𝗇𝖽d𝟙 of C:

𝜷.

for every C and d as before, 𝗂𝗇𝖽d𝟙[0𝟙] is propositionally equal to d, that is, we have a term βd𝟙 of type 𝖨𝖽C[0𝟙][𝗂𝗇𝖽d𝟙[0𝟙],d].

We call a 𝟙-type 𝟙Γ intensional if it satisfies the β-rule: for every C and d we have that βd𝟙=𝗋𝖾𝖿𝗅[d], and therefore that 𝗂𝗇𝖽d𝟙[0𝟙]=d. We call the 𝟙-type extensional if it also satisfies the η-rule: for every C and c of type C we have 𝗂𝗇𝖽c[0𝟙]𝟙=c.

In a strict display map category, we call a choice of of 𝟙-types (strictly) stable if for every context Γ and every morphism σ:ΔΓ, we have:

(𝟙Γ)[σ] =𝟙Δ, 𝗂𝗇𝖽d𝟙[σ] =𝗂𝗇𝖽d[σ]𝟙,
0𝟙[σ] =0𝟙, βd𝟙[σ] =𝗂𝗇𝖽 βd[σ]𝟙.

We say that the 𝟙-types are weakly stable if for every context Γ and every morphism σ:ΔΓ, we can equip 𝟙Γ[σ] and 0𝟙[σ] with the additional data required to form a 𝟙-type.

A.3 𝚺-types

The rules for axiomatic Σ-types are:

This induces a notion in display map categories:

Definition 27 (Σ-types).

We say that a display map category has axiomatic Σ-types if, for every type A in context Γ and type B in context Γ.A, there exists:

F.

a type ΣAB in context Γ,

I.

a (generalised) term 𝗉𝖺𝗂𝗋A,B of type ΣAB for pApB:Γ.A.BΓ:

E.

for every type C in context Γ.ΣAB and every term d of type C[𝗉𝖺𝗂𝗋] a term 𝗂𝗇𝖽dΣ of C:

𝜷.

for every C and d as before, 𝗂𝗇𝖽dΣ[𝗉𝖺𝗂𝗋] is propositionally equal to d, that is, we have a term βdΣ of type 𝖨𝖽C[𝗉𝖺𝗂𝗋][𝗂𝗇𝖽dΣ[𝗉𝖺𝗂𝗋],d].

We call a Σ-type ΣAB intensional if it satisfies the β-rule: for every C and d we have that βdΣ=𝗋𝖾𝖿𝗅[d], and therefore that 𝗂𝗇𝖽dΣ[𝗉𝖺𝗂𝗋]=d. We call the Σ-type extensional if it also satisfies the η-rule: for every C and c of type C we have 𝗂𝗇𝖽c[𝗉𝖺𝗂𝗋]Σ=c.

In a strict display map category, we call a choice of of Σ-types (strictly) stable if for every type A in context Γ, every type B in context Γ.A and every morphism σ:ΔΓ, we have:

(ΣAB)[σ] =ΣA[σ](B[σ]), 𝗂𝗇𝖽dΣ[σ] =𝗂𝗇𝖽d[σ]Σ,
𝗉𝖺𝗂𝗋A,B[σ] =𝗉𝖺𝗂𝗋A[σ],B[σ], βdΣ[σ] =𝗂𝗇𝖽 βd[σ]Σ.

We say that the Σ-types are weakly stable if for every type A in context Γ, every type B in context Γ.A, and every morphism σ:ΔΓ we can equip ΣA[σ] and 𝗉𝖺𝗂𝗋[σ] with the additional data required to form a Σ-type.

A.4 𝚷-types

The rules for axiomatic Π-types are:

This induces a notion in display map categories:

Definition 28 (Π-types).

We say that a display map category has axiomatic Π-types if, for every type A in context Γ and type B in context Γ.A, there exists:

F.

a type ΠAB in context Γ.

I.

for every term b of type B in context Γ.A a term λb of type ΠAB in context Γ:

E.

a term 𝖺𝗉𝗉A,B of type B for pΠAB:Γ.ΠAB.AΓ.A:

𝜷.

for any term b of type B, 𝖺𝗉𝗉(λb) is propositionally equal to b, that is, we have a term βbΠ of type 𝖨𝖽B[𝖺𝗉𝗉(λb),b].

We call a Π-type is intensional if it satisfies the β-rule: for every b we have that βbΠ=𝗋𝖾𝖿𝗅[b], and therefore that 𝖺𝗉𝗉(λb)=b. We call the Π-type extensional if it also satisfies the η-rule: for every f of ΠAB in context Γ we have λ(𝖺𝗉𝗉f)=f.

In a strict display map category, we call a choice of of Π-types strictly stable under our choices for substitutions if for every B over Γ.A and σ:ΔΓ:

(ΠAB)[σ] =ΠA[σ](B[σ]), 𝖺𝗉𝗉A,B[σ] =𝖺𝗉𝗉A[σ],B[σ],
(λb)[σ] =λ(b[σ]), βdΠ[σ] =βb[σ]Π.

We say that the Π-types are weakly stable if for any B over Γ.A and σ:ΔΓ we can equip (ΠAB)[σ] and 𝖺𝗉𝗉A,B[σ] with the additional data required to form a Π-type.

In addition, we consider the (dependent) function extensionality axiom stating for every f,f:Πx:AB that the canonical function (f=f)Πx:A(fx=fx) is an equivalence [23, 32]. This is where our naming convention of axiomatic/intensional/extensional type formers can be a bit confusing: the axiom of function extensionality is independent from Π-types being extensional (satisfying β- and η-rules). However, if the type theory is extensional – every type former is extensional or equivalently the =-types are extensional – then the axiom of function extensionality holds.

Appendix B Additional details on the 2-isomorphism

In this appendix we present the ingredients involved in the statement of the 2-isomorphism of between the 2-categories 𝖯𝖺𝗍𝗁𝖢𝖺𝗍 and 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗋𝗈𝗈𝗍. In Section 3 and Appendix A we recalled the notion of a display map category and described how it can be equipped with the right structure to interpret a theory with specified type formers. Similarly, in Section 4 we outlined the notion of a path category. Here we expand on this by giving a detailed account of the 2-categories involved.

Display map categories.

The 2-category 𝖣𝗂𝗌𝗉𝖢𝖺𝗍 consists of:

0-cells.

The display map categories.

1-cells.

If 𝒞 and 𝒟 are display map categories, the 1-cells from 𝒞 to 𝒞 are functors G:𝒞𝒞 that map display maps to display maps and pullback squares of display maps into pullback squares of display maps.

2-cells.

If G and G are parallel 1-cells from 𝒞 to 𝒟, the 2-cells from G to G are natural transformations GG.

This can be specialised to several suc-2-categories where the 0-cells are endowed with additional weakly stable type formers, and the 1-cells weakly preserve them. For example, we write 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂/𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝗂𝗇𝗍/𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖾𝗑𝗍 for the 2-categories with:

0-cells.

The display map categories equipped with weakly stable based axiomatic/intensional/extensional =-types.

1-cells.

If 𝒞 and 𝒞 are 0-cells then the 1-cells from 𝒞 to 𝒞 are those 1-cells of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍 that weakly preserve the based axiomatic/intensional/extensional =-types – see Section 3.

2-cells.

The ones of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍.

We follow the same pattern for other type formers (𝟙, Σ, Π). We write 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝗋𝗈𝗈𝗍 for the sub-2-category where the 0-cells are rooted, and the 1-cells preserve the terminal object. Similarly, 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝖫𝖥 is the sub-2-category where the 0-cells satisfy the logical framework (LF) condition, and the 1-cells preserve the products and dependent exponents present. All of these restrictions can be combined in various ways; for example 𝖣𝗂𝗌𝗉𝖢𝖺𝗍=𝖺𝗑𝗂,𝟙𝖾𝗑𝗍,Σ𝖾𝗑𝗍𝗋𝗈𝗈𝗍.

Lastly, we write 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽 and 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝗌𝗍𝗋𝗂𝖼𝗍 for the full sub-2-categories of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍 spanned by structured and strict display map categories, respectively. If this is combined with type formers, then the 0-cells of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽 also have choices for the type formers, but they are still only weakly stable under re-indexing, and only weakly preserved by 1-cells. The 0-cells of 𝖣𝗂𝗌𝗉𝖢𝖺𝗍𝗌𝗍𝗋𝗂𝖼𝗍 have choices for the type formers, and they are strictly stable under re-indexing, but the 1-cells only weakly preserve them. Note that these are the same choices that Clairambault and Dybjer [16] make for their 2-categories.

Path categories.

The 2-category 𝖯𝖺𝗍𝗁𝖢𝖺𝗍 consists of:

0-cells.

Path categories.

1-cells.

Functors preserving fibrations, trivial fibrations, pullbacks of fibrations, and the terminal object (and therefore also equivalences and path objects [14]).

2-cells.

Natural transformations.

Again, in 𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝖫𝖥 the 1-cells preserve the products and dependent exponents present, while 𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝗌𝗍𝗋𝗎𝖼𝗍𝗎𝗋𝖾𝖽 and 𝖯𝖺𝗍𝗁𝖢𝖺𝗍𝗌𝗍𝗋𝗂𝖼𝗍 are full sub-2-categories.