Hostname: page-component-5b777bbd6c-j65dx Total loading time: 0 Render date: 2025-06-18T23:52:40.574Z Has data issue: false hasContentIssue false

DUALITY FOR CLANS: AN EXTENSION OF GABRIEL–ULMER DUALITY

Published online by Cambridge University Press:  15 May 2025

JONAS FREY*
Affiliation:
UNIVERSITÉ SORBONNE PARIS NORD CNRS, LABORATOIRE D’INFORMATIQUE DE PARIS NORD, LIPN F-93430 VILLETANEUSE FRANCE
Rights & Permissions [Opens in a new window]

Abstract

Clans are categorical representations of generalized algebraic theories that contain more information than the finite-limit categories associated to the locally finitely presentable categories of models via Gabriel–Ulmer duality. Extending Gabriel–Ulmer duality to account for this additional information, we present a duality theory between clans and locally finitely presentable categories equipped with a weak factorization system of a certain kind.

Type
Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of The Association for Symbolic Logic

1 Introduction

Gabriel–Ulmer duality [Reference Gabriel and Ulmer16] is a contravariant biequivalence

$$ \begin{align*} {\mathsf{FL}}\;\stackrel{\mathsf{op}}{\simeq}\;{\mathsf{LFP}} \end{align*} $$

between the $2$ -category ${\mathsf {FL}}$ of small finite-limit categories, and the $2$ -category $\mathsf {LFP}$ of locally finitely presentable categories, i.e., locally small cocomplete categories admitting a dense set of compact (a.k.a. finitely presentable) objects. The duality assigns to every small finite-limit category $\mathcal {C}$ the category ${\mathsf {FL}}(\mathcal {C},\mathsf {Set})$ of finite-limit preserving functors to $\mathsf {Set}$ , and conversely it associates to every locally finitely presentable $\mathfrak {X}$ the category $\mathsf {LFP}(\mathfrak {X},\mathsf {Set})$ of finitary right adjoints to $\mathsf {Set}$ , which is equivalent to the opposite of the full subcategory $\mathsf {comp}(\mathfrak {X})\subseteq \mathfrak {X}$ of compact objectsFootnote 1 .

We view Gabriel–Ulmer duality as a theory-model duality: small finite-limit categories $\mathcal {C}$ are viewed as theories (which we call “finite-limit theories”), and—in the spirit of Lawverian functorial semantics [Reference Lawvere27]—the functor category ${\mathsf {FL}}(\mathcal {C},\mathsf {Set})$ is viewed as the category of models of the finite-limit theory $\mathcal {C}$ .

It is well known that finite-limit theories are equally expressive as various syntactically defined classes of theories, including

  1. (1) Freyd’s essentially algebraic theories [Reference Freyd15], which permit a controlled form of partiality,

  2. (2) Cartmell’s generalized algebraic theories (GATs) [Reference Cartmell12, Reference Cartmell13], which extend algebra by “dependent sorts,

  3. (3) Johnstone’s cartesian theories [Reference Johnstone25, Definition D1.3.4], which permit a limited form of existential quantification, and

  4. (4) Palmgren–Vickers’ Partial Horn theories [Reference Palmgren and Vickers34], which are based on a calculus of first order logic with partial terms and also admit relation symbols,

in the sense that for any theory $\mathbb {T}$ from one of these classes, the category $\mathbb {T}\text {-}\mathsf {Mod}$ of models is locally finitely presentable, and conversely for every locally finitely presentable category $\mathfrak {X}$ there exists a theory from that class whose category of models is equivalent to $\mathfrak {X}$ . While from a certain perspective this means that the classes (1)–(4) of theories are all equivalent to finite-limit theories, the syntactic representations of theories contain additional information that is not reflected in the categories of models, nor in the finite-limit theories. This “abstracting away” of syntactic details is typically viewed as a strength of the categorical/functorial approach, and indeed in mathematical practice we no more want to distinguish between the classical axiomatization of groups and Higman–Neumann’s axiomatization in terms of one operation and one equation [Reference Higman and Neumann20], than we want to distinguish between the symmetric group $S_3$ and the dihedral group $D_3$ .

However, it turns out that in the case of GATs, the theories contain additional information that is not reflected in the corresponding finite-limit category, but nevertheless goes beyond mere syntactic details. This information is related to the structure of sort dependency in the theories, and we show here that it is reflected by certain weak factorization systems on the l.f.p. categories of models. For example, the $2$ -sorted theory of graphs

$$ \begin{align*} & \;\vdash\; V \\ & \;\vdash\; E \\ x : E & \;\vdash\; s(x):V \\ x : E & \;\vdash\; t(x):V \end{align*} $$

with sorts V and E and source and target operations s and t, has the same category of models as the dependently sorted theory

$$ \begin{align*} & \;\vdash\; V \\ x\, y : V & \;\vdash\; E(x,y) \end{align*} $$

with a base sort V of vertices and a dependent sort E of edges (and no operations). But the syntactic categories of the theories are different, and this is reflected by different weak factorization systems on the categories of models: in the first case, the w.f.s. is cofibrantly generated by the initial inclusions $\varnothing \hookrightarrow (\bullet )$ and $\varnothing \hookrightarrow (\bullet {\to }\bullet )$ of the free graphs on one vertex and one edge, respectively, whereas in the second case the w.f.s. is generated by the inclusions $\varnothing \hookrightarrow (\bullet )$ and $(\bullet {\phantom {{\to }}}\bullet )\hookrightarrow (\bullet {\to }\bullet )$ . The non-trivial domain of the second generator reflects the dependency of the sort of edges on the sort of vertices.

Concretely, the present work gives in Theorem 6.19 a duality

(1.1) $$ \begin{align} \mathsf{Clan}_{\mathsf{cc}}\;\stackrel{\mathsf{op}}{\simeq}\;\mathsf{ClanAlg} \end{align} $$

of $2$ -categories which extends Gabriel–Ulmer duality by incorporating this additional structure. On the right we have the $2$ -category of clan-algebraic categories, which are locally finitely presentable categories equipped with a well-behaved kind of weak factorization system (Definition 6.1), while on the left we have a $2$ -category of Cauchy-complete clans (Definition 2.1). These are categorical representations of GATs which can be viewed as a non-strict variant of Cartmell’s contextual categories (Definition 10.2), and are given by small categories equipped with a class of “display maps” representing type families, admitting certain (but not all) finite limits.

Besides extending Gabriel–Ulmer duality, the duality (1.1) recovers Adámek–Rosický–Vitale’s duality between algebraic theories and algebraic categories [Reference Adámek, Rosický and Vitale3, Theorem 9.15] as a special case, and the latter duality was in fact inspirational for the present work. See Remark 6.20(a).

1.1 Structure of the paper

§2 introduces clans (Definition 2.1), the category of models of a clan $\mathcal {T}\!\text {-}\mathsf {Mod}$ (Definition 2.6), and the extension–full weak factorization system on models (Definition 2.10).

§3 gives a characterization of $\mathcal {T}\!\text {-}\mathsf {Mod}$ as a kind of cocompletion of $\mathcal {T}^{\mathsf {op}}$ (Theorem 3.3), and uses this to give presentations of slice categories $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ , and of coslice categories $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ under representable models, as categories of models of derived clans (Propositions 3.5 and 3.6).

§4 introduces in Definition 4.1 the auxiliary notion of $(\mathsf {E},\mathsf {F})$ -category (a l.f.p. category with a w.f.s. $(\mathsf {E},\mathsf {F})$ ), and shows that the mapping $\mathcal {T}\mapsto \mathcal {T}\!\text {-}\mathsf {Mod}$ gives rise to a contravariant $2$ -functor from clans to $(\mathsf {E},\mathsf {F})$ -categories which admits a left biadjoint (Proposition 4.6).

§5 shows that this biadjunction is idempotent, and that its fixed points in clans are precisely the Cauchy complete clans (Definition 5.1). For this we use the notion of flat model (Definition 5.3), and the fat small object argument, a Corollary of which we state in Corollary 5.5, but whose systematic treatment we defer to Appendix 11. Lemma 5.7 is an argument about compact objects in coslice categories which was not found in the literature.

§6 characterizes the fixed points of the biadjunction among $(\mathsf {E},\mathsf {F})$ -categories as clan-algebraic categories, which are $(\mathsf {E},\mathsf {F})$ -categories satisfying a density and an exactness condition (Definition 6.1). The characterization is given by Theorems 6.2 and 6.18, where the proof of the latter requires a quite lot of machinery including a Reedy-like resolution argument. As a consequence, we obtain our main result in Theorem 6.19. As an application, §6.1 gives additional clan-algebraic w.f.s.s on the example $\mathsf {Cat}$ , which by the duality result correspond to additional clan-representations of $\mathsf {Cat}$ .

§7 contains a common counterexample to two natural questions about clan-algebraic w.f.s.s, and §8 discusses $\infty $ -models of clans in higher types.

Appendix 9 contains basic facts about locally finitely presentable categories, weak factorization systems, and Quillen’s small-object argument, and Appendix 10 is an informal introduction to Cartmell’s generalized algebraic theories.

Finally, Appendix 11 contains a careful development of the fat small object argument for clans. The fat small object is a variant of Quillen’s small object argument due to Makkai, Rosický, and Vokrinek [Reference Makkai, Rosicky and Vokrinek33] (based on ideas by Lurie), which allows a more fine grained analysis of the process of saturating a class of maps. We use it to show that $0$ -extensions are flat (Corollary 11.9), which is needed in Sections 5 and 6.

2 Clans

Definition 2.1. A clan is a small category $\mathcal {T}$ with a distinguished class $\mathcal {T}_\dagger $ of arrows called display maps, such that:

  1. (i) Pullbacks of display maps along arbitrary maps exist and are display maps, i.e., if is a display map and $s:\Delta \to \Gamma $ is arbitrary, then there exists a pullback square

    (2.1)

    where q is a display map.

  2. (ii) Isomorphisms and compositions of display maps are display maps.

  3. (iii) $\mathcal {T}$ has a terminal object, and terminal projections are display maps.

A clan morphism is a functor between clans which preserves display maps, pullbacks of display maps, and the terminal object. We write $\mathsf {Clan}$ for the $2$ -category of clans, clan-morphisms, and natural transformations.

Remarks 2.2.

  1. (a) Definition 2.1 (apart from the smallness condition), and the term “display map”, were introduced by Taylor in his thesis [Reference Taylor41, §4.3.2], the explicit link to Cartmell’s work was made in his textbook [Reference Taylor42, Chapter VIII]. The name “clan” is due to Joyal [Reference Joyal26, Definition 1.1.1].

  2. (b) Following Cartmell, we use the arrow symbol for display maps.

  3. (c) We have defined clans to be small by default, since this fits with our point of view of clans as theories, and makes the duality theory work.

    However, it is also reasonable to consider non-small, “semantic” clans, and we will mention them occasionally (e.g., in Example 2.3(c) below), using the term large clan in this case.

Examples 2.3.

  1. (a) Small finite-limit categories can be viewed as clans where all morphisms are display maps. We call such clans finite-limit clans.

  2. (b) Small finite-product categories can be viewed as clans where the display maps are the morphisms that are (isomorphic to) product projections. We call such clans finite-product clans.

  3. (c) $\mathsf {Kan}$ is the large clan whose underlying category is the full subcategory of the category $[\Delta ^{\mathsf {op}},\mathsf {Set}]$ of simplicial sets on Kan complexes, and whose display maps are the Kan fibrations.

  4. (d) The syntactic category of every generalized algebraic theory in the sense of Cartmell [Reference Cartmell12, Reference Cartmell13] is a clan. This is explained in §10, and we discuss the example of the clan for categories in greater detail in §2.2 below.

Since it seems to lead to a more readable exposition, we introduce explicit notation and terminology for the dual notion.

Definition 2.4. A coclan is a small category $\mathcal {C}$ with a distinguished class $\mathcal {C}_\dagger $ of arrows called codisplay maps satisfying the dual axioms of clans. The $2$ -category $\mathsf {CoClan}$ of coclans is defined dually to that of clans, i.e.,

$$ \begin{align*} \mathsf{CoClan}(\mathcal{C},\mathcal{D})=\mathsf{Clan}(\mathcal{C}^{\mathsf{op}},\mathcal{D}^{\mathsf{op}})^{\mathsf{op}} \end{align*} $$

for coclans $\mathcal {C},\mathcal {D}$ . We use the arrow symbol for co-display maps.

Remark 2.5. Coclans appear under the name cofibration categories in [Reference Henry19, Definition 2.1.5]. This is however in conflict with Baues’ notion of cofibration category, which also includes a notion of weak equivalence [Reference Baues6, Section I.1]. See also Remark 2.11(d) below.

2.1 Models

Definition 2.6. A model of a clan $\mathcal {T}$ is a functor $A:\mathcal {T}\to \mathsf {Set}$ which preserves the terminal object and pullbacks of display maps. We write $\mathcal {T}\!\text {-}\mathsf {Mod}$ for the category of models of $\mathcal {T}$ , viewed as a full subcategory of the functor category $[\mathcal {T},\mathsf {Set}]$ .

Remark 2.7. In other words, a model of a clan $\mathcal {T}$ is a clan morphism into the large clan with underlying category $\mathsf {Set}$ set and the maximal (i.e., finite-limit) clan structure.

In the spirit of functorial semantics, it is possible to consider models of clans in other categories than sets, and even in other (typically large) clans. However, the duality theory presented here is about models in $\mathsf {Set}$ and we don’t consider any other kind (apart from some speculations about $\infty $ -categorical models in §8).

Examples 2.8.

  1. (a) If $\mathcal {C}$ is a finite-limit clan (Example 2.3(a)) then $\mathsf {Mod}(\mathcal {C})$ coincides with the category ${\mathsf {FL}}(\mathcal {C},\mathsf {Set})$ of finite-limit preserving functors into $\mathsf {Set}$ , which we also view as category of models of $\mathcal {C}$ qua finite-limit theory. This means that it makes sense to view finite-limit theories as a special case of clans.

  2. (b) If $\mathcal {C}$ is a finite-product clan, then $\mathsf {Mod}(\mathcal {C})$ is the category ${\mathsf {FP}}(\mathcal {C},\mathsf {Set})$ of finite-product preserving functors into $\mathsf {Set}$ .

    In Adámek, Rosický and Vitale’s textbook [Reference Adámek, Rosický and Vitale3, Definition 1.1], small finite-product categories are called algebraic theories, and models of algebraic theories are defined to be finite-product preserving functors into $\mathsf {Set}$ . Thus, we recover their notions as a special case, i.e., finite-product clans correspond to algebraic theories, and models correspond to algebras. To emphasize the analogy to the finite-limit case, we refer to algebraic theories also as finite-product theories.

  3. (c) If $\mathbb {T}$ is a GAT, then the category of models of its syntactic category $\mathcal {C}[\mathbb {T}]$ (with the clan structure described in §10.1) is equivalent to the models of $\mathbb {T}$ , which Cartmell definesFootnote 2 to be the category $\mathsf {ConFunc}(\mathcal {C}[\mathbb {T}],\mathsf {Fam})$ of contextual functors and natural transformations into the contextual category $\mathsf {Fam}$ of iterated families of sets.

The following remarks discuss some categorical properties of the category $\mathcal {T}\!\text {-}\mathsf {Mod}$ of models of a clan, establishing in particular that it is locally finitely presentable. We refer to §9 for the relevant definitions.

Remarks 2.9.

  1. (a) As a category of models of a finite-limit sketch, $\mathcal {T}\!\text {-}\mathsf {Mod}$ is reflective (and therefore closed under arbitrary limits) in $[\mathcal {T},\mathsf {Set}]$ , and moreover it is closed under filtered colimits [Reference Adámek and Rosicky2, Section 1.C]. In particular, $\mathcal {T}\!\text {-}\mathsf {Mod}$ is locally finitely presentable.

  2. (b) The representable functors $\mathcal {T}(\Gamma ,-):\mathcal {T}\to \mathsf {Set}$ are models of $\mathcal {T}$ for all $\Gamma \in \mathcal {T}$ , thus the Yoneda embedding lifts along the inclusion $\mathcal {T}\!\text {-}\mathsf {Mod}\hookrightarrow [\mathcal {T},\mathsf {Set}]$ to a fully faithful functor $H:\mathcal {T}^{\mathsf {op}}\to \mathcal {T}\!\text {-}\mathsf {Mod}$ .

  3. (c) For $\Gamma \in \mathcal {T}$ , the representable functor

    $$ \begin{align*} \mathcal{T}\!\text{-}\mathsf{Mod}(H(\Gamma),-):\mathcal{T}\!\text{-}\mathsf{Mod}\to\mathsf{Set} \end{align*} $$

    is isomorphic to the evaluation functor $A\mapsto A(\Gamma )$ , hence it preserves filtered colimits as those are computed in $[\mathcal {T},\mathsf {Set}]$ and therefore pointwise. This means that $H(\Gamma )$ is compact Footnote 3 in $\mathcal {T}\!\text {-}\mathsf {Mod}$ .

2.2 The clan for categories

§10.1 describes how the syntactic category $\mathcal {C}[\mathbb {T}]$ of every GAT $\mathbb {T}$ can be viewed as a clan. The present section elaborates this for the specific case of the GAT $\mathbb {T}_{\mathsf {Cat}}$ of categories (10.1). We will use this clan and variations as a running example throughout the article.

Recall from Definition 10.1 that the objects of $\mathcal {T}_{\mathsf {Cat}}:=\mathcal {C}[\mathbb {T}_{\mathsf {Cat}}]$ are equivalence classes of contexts, and the arrows are equivalence classes of substitutions. By inspection of the axioms we see that sorts in $\mathbb {T}_{\mathsf {Cat}}$ cannot depend on non-variable terms, since the only non-constant sort symbol is $x\,y:O\vdash A(x,y)$ and there are no function symbols of type O. This means that up to reordering, all contexts are of the form

(2.2) $$ \begin{align} (x_1\dots x_n:O,y_1:A(x_{s_1},x_{t_1}),\dots,y_k:A(x_{s_k},x_{t_k})) \end{align} $$

where $n,k\geq 0$ (such that $n> 0$ whenever $k>0$ ) and $1\leq s_l,t_l\leq n$ for $1\leq l\leq k$ ; declaring first a list of object variables and then a list of arrow variables, each depending on a pair of the object variables. Given another context $(u_1\dots u_m,v_1 \dots v_h)$ , a substitution

$$ \begin{align*} u_1\dots u_m,v_1 \dots v_h\;\vdash\; \sigma \;:\; x_1\dots x_n,y_1 \dots y_k \end{align*} $$

is a tuple $\sigma = (u_{i_1}\dots u_{i_n},f_1\dots f_k)$ where $1\leq i_1,\dots ,i_n\leq m$ and the $f_l$ are terms

$$ \begin{align*} u_1\dots u_m,v_1 \dots v_h\;\vdash\; f_l\;:\; A(u_{i_{s_l}},u_{i_{t_l}}). \end{align*} $$

Some reflection shows that $\mathcal {C}[\mathbb {T}_{\mathsf {Cat}}]$ is dual to the full subcategory of $\mathsf {Cat}$ on free categories on finite graphs: the data of a context (2.2) is that of finite sets $V=\{x_1,\dots ,x_n\}$ , $E=\{y_1,\dots ,y_k\}$ of vertices and edges, and source and target functions $s,t:E\to V$ , and a substitution $\sigma $ as above consists of a mapping from $\{x_1,\dots ,x_n\}$ to $\{u_1,\dots ,u_m\}$ and a mapping from $\{y_1,\dots ,y_k\}$ to suitable paths in the graph represented by the domain. This is not surprising, since every clan embeds contravariantly into its category of models by Remark 2.9(b). Finally, the display maps in $\mathcal {T}_{\mathsf {Cat}}$ , which syntactically correspond to projections “from longer contexts to shorter ones”, correspond to functors $G^*\hookrightarrow H^*$ between free categories induced by inclusions (i.e., monomorphisms) $G\hookrightarrow H$ of finite graphs in the dual presentation.

2.3 The weak factorization system on models

Next we introduce the extension–full weak factorization system on the category of models of a clan. We refer to §9 for basic facts about lifting properties and weak factorization systems (w.f.s.s) as well as pointers to the literature.

Definition 2.10. Let $\mathcal {T}$ be a clan.

  1. (i) We call a map $f:A\to B$ in $\mathcal {T}\!\text {-}\mathsf {Mod}$ full, if it has the right lifting property (r.l.p., see Definition 9.4(i)) w.r.t. all maps $H(p)$ for p a display map.

  2. (ii) We call $f:A\to B$ an extension, if it has the left lifting property (l.l.p.) w.r.t. all full maps.

  3. (iii) We call $A\in \mathcal {T}\!\text {-}\mathsf {Mod}$ a $0$ -extension, if $0\to A$ is an extension.

Remarks 2.11.

  1. (a) We use the arrow symbols “” for extensions (just as for codisplay maps), and “ $\twoheadrightarrow $ ” for full maps. We write $\mathsf {E}$ and $\mathsf {F}$ for the classes of extensions and full maps in $\mathcal {T}\!\text {-}\mathsf {Mod}$ , respectively. By the small object argument (Theorem 9.5), extensions and full maps form a weak factorization system $(\mathsf {E},\mathsf {F})$ .

  2. (b) A map $f:A\to B$ in $\mathcal {T}\!\text {-}\mathsf {Mod}$ is full if and only if the naturality square

    is a weak pullback Footnote 4 in $\mathsf {Set}$ for all display maps . Setting $\Gamma =1$ we see that full maps are pointwise surjective and therefore regular epimorphisms (the pointwise kernel pair $p,q: R\to A$ of f is in $\mathcal {T}\!\text {-}\mathsf {Mod}$ since $\mathcal {T}\!\text {-}\mathsf {Mod}\hookrightarrow [\mathcal {T},\mathsf {Set}]$ creates limits, and pointwise surjective maps are coequalizers of their kernel pairs in $[\mathcal {T},\mathsf {Set}]$ , hence all the more so in $\mathcal {T}\!\text {-}\mathsf {Mod}$ ).

  3. (c) For every display map in $\mathcal {T}$ , the arrow is an extension—these are precisely the generators of the w.f.s. In particular, all representable models $H(\Gamma )$ are $0$ -extensions, since all terminal projections are display maps in $\mathcal {T}$ .

  4. (d) The same w.f.s. was already defined by Simon Henry in [Reference Henry19, Definition 2.4.2], using the terminology of “cofibration categories” mentioned in Remark 2.5. There, extensions are called cofibrations, and full maps trivial fibrations. We have not used this homotopical terminology here since we don’t want to think about full maps as being “trivial” in any way.

Examples 2.12.

  1. (a) If $\mathcal {T}$ is a finite-product clan, then $(\mathsf {E},\mathsf {F})$ is cofibrantly generated by initial injections , since for every display map the generator $H(p)$ is a pushout

    in $\mathcal {T}\!\text {-}\mathsf {Mod}$ of an initial inclusion, and left classes of w.f.s.s are closed under pushout. It follows that the full maps are precisely the pointwise surjective maps, which in this case also coincide with the regular epis, since finite-product preserving functors are closed under image factorization in $[\mathcal {T},\mathsf {Set}]$ (and thus every non-surjective arrow factors through a strict subobject). Thus, the $0$ -extensions are precisely the regular-projective objects in the finite-product case, which also play a central role in [Reference Adámek, Rosický and Vitale3].

  2. (b) If $\mathcal {T}$ is a finite-limit clan then all naturality squares of full maps $f:A\twoheadrightarrow B$ are weak pullbacks, including the naturality squares

    of diagonals $\Gamma \to \Gamma \times \Gamma $ . From this it follows easily that $f_\Gamma $ is injective, and since we have shown that it is surjective above, we conclude that only isomorphisms are full in the finite-limit case.

  3. (c) The w.f.s. on $\mathsf {Cat}$ induced by the presentation $\mathsf {Cat}=\mathcal {T}_{\mathsf {Cat}}\text {-}\mathsf {Mod}$ (see §2.2) has as full maps functors $F:\mathbb {C}\to \mathbb {D}$ which have the r.l.p. w.r.t. all functors $G^*\hookrightarrow H^*$ for inclusions $G\hookrightarrow H$ of finite graphs. It is not difficult to see that these are precisely the functors which are full in the classical sense and moreover surjective on objects, and that the w.f.s. is already generated by the functors $(0\hookrightarrow 1)$ and , where $2$ is the discrete category with two objects and is the interval category.

3 Comodels and the universal property of $\mathcal {T}\!\text {-}\mathsf {Mod}$

3.1 Nerve–realization adjunctions

We recall basic facts about nerve–realization adjunctions, to establish notation and conventions. Recall that for small $\mathbb {C}$ the presheaf category $\widehat {\mathbb {C}}=[\mathbb {C}^{\mathsf {op}},\mathsf {Set}]$ is the small-colimit completion of $\mathbb {C}$ , in the sense that for every cocomplete category $\mathfrak {X}$ , precomposition with the Yoneda embedding induces an equivalence

(3.1) $$ \begin{align} \mathsf{CoCont}(\widehat{\mathbb{C}},\mathfrak{X})\stackrel{\simeq}{\longrightarrow}[\mathbb{C},\mathfrak{X}] \end{align} $$

between the categories of cocontinuous functors $\widehat {\mathbb {C}}\to \mathfrak {X}$ , and of functors $\mathbb {C}\to \mathfrak {X}$ . Specifically, the cocontinuous functor $F_\otimes :\widehat {\mathbb {C}}\to \mathfrak {X}$ corresponding to $F:\mathbb {C}\to \mathfrak {X}$ is the left Kan extension of F along , whose value at $A\in \widehat {\mathbb {C}}$ admits alternative representations

$$ \begin{align*} F_\otimes(A)=F\otimes A&=\textstyle\int^{C\in\mathbb{C}}F(C)\times A(C) \\&=\mathsf{colim}(\mathsf{El}(A)\to\mathbb{C}\xrightarrow{F}\mathfrak{X}) \end{align*} $$

as a coend and as a colimit indexed by the category $\mathsf {El}(A)$ of elements of A. If $\mathfrak {X}$ is locally small then $F_\otimes $ has a right adjoint $F_N:\mathfrak {X}\to \widehat {\mathbb {C}}$ given by $F_N(X)=\mathfrak {X}(F(-),X)$ . We call $F_N$ and $F_\otimes $ the nerve and realization functors of F, respectively, and $F_\otimes \dashv F_N$ the nerve–realization adjunction of F.

3.2 Comodels and the universal property of $\mathcal {T}\!\text {-}\mathsf {Mod}$

The universal property of $\mathcal {T}\!\text {-}\mathsf {Mod}$ is an equivalence between cocontinuous functors out of $\mathcal {T}\!\text {-}\mathsf {Mod}$ and coclan morphisms out of $\mathcal {T}^{\mathsf {op}}$ . Following a suggestion by Mathieu Anel, we refer to the latter as comodels of the clan. We will only use this term for coclan morphisms with cocomplete codomain.

Definition 3.1. A comodel of a clan $\mathcal {T}$ in a cocomplete category $\mathfrak {X}$ is a functor $F:\mathcal {T}^{\mathsf {op}}\to \mathfrak {X}$ which sends $1$ to $0$ , and display-pullbacks to pushouts. We write $\mathcal {T}\!\text {-}\mathsf {CoMod}(\mathfrak {X})$ for the category of comodels of $\mathcal {T}$ in $\mathfrak {X}$ , as a full subcategory of the functor category.

Remark 3.2. In other words, a comodel of $\mathcal {T}$ in $\mathfrak {X}$ is a coclan morphism from $\mathcal {T}^{\mathsf {op}}$ to the large coclan with underlying category $\mathfrak {X}$ and the maximal coclan structure.

Theorem 3.3 (The universal property of $\mathcal {T}\!\text {-}\mathsf {Mod}$ ).

Let $\mathcal {T}$ be a clan.

  1. (i) The functor $H:\mathcal {T}^{\mathsf {op}}\to \mathcal {T}\!\text {-}\mathsf {Mod}$ from Remark 2.9(b) is a comodel.

  2. (ii) For every cocomplete $\mathfrak {X}$ and comodel $F:\mathcal {T}^{\mathsf {op}}\to \mathfrak {X}$ , the restriction of $F_\otimes :[\mathcal {T},\mathsf {Set}]\to \mathfrak {X}$ to $\mathcal {T}\!\text {-}\mathsf {Mod}$ is cocontinuous. Thus, precomposition with H gives rise to an equivalence

    (3.2) $$ \begin{align} \mathsf{CoCont}(\mathcal{T}\!\text{-}\mathsf{Mod},\mathfrak{X})\stackrel{\simeq}{\longrightarrow}\mathcal{T}\!\text{-}\mathsf{CoMod}(\mathfrak{X}) \end{align} $$

    between categories of continuous functors and of comodels.

  3. (iii) If $F:\mathcal {T}^{\mathsf {op}}\to \mathfrak {X}$ is a comodel and $\mathfrak {X}$ is locally small, then the nerve functor $F_N:\mathfrak {X}\to [\mathcal {T},\mathsf {Set}]$ factors through the inclusion $\mathcal {T}\!\text {-}\mathsf {Mod}\hookrightarrow [\mathcal {T},\mathsf {Set}]$ , giving rise to a restricted nerve realization adjunction $F_\otimes :\mathcal {T}\!\text {-}\mathsf {Mod}\leftrightarrows \mathfrak {X}:F_N$ .

Proof. Analogous statements to (i) and (ii) hold more generally for arbitrary small realizedFootnote 5 limit sketches. As Brandenburg points out on MathOverflowFootnote 6 , the earliest reference for this seems to be [Reference Pultr37, Theorem 2.5]. See also [Reference Brandenburg10] which gives a careful account of an even more general statement for non-small sketches.

For claim (iii), it’s easy to see that for $X\in \mathfrak {X}$ , the functor $F_N(X)=\mathfrak {X}(F(-),X)$ is a model since F is a comodel.

3.3 Slicing and coslicing

As an application of Theorem 3.3, this subsection gives statements about clan presentations of slice categories $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ of categories of models (Proposition 3.6), and of coslice categories $H(A)/\mathcal {T}\!\text {-}\mathsf {Mod}$ under representable models (Proposition 3.5).

Definition 3.4. For $\mathcal {T}$ a clan and $\Gamma \in \mathcal {T}$ , we write $\mathcal {T}_\Gamma $ for the full subcategory of $\mathcal {T}\!/\Gamma $ on display maps. Then $\mathcal {T}_\Gamma $ is a clan where an arrow in $\mathcal {T}_\Gamma $ is a display map if its underlying map is one in $\mathcal {T}$ . Compare [Reference Joyal26, Proposition 1.1.6].

Proposition 3.5. Let $\Gamma $ be an object of a clan $\mathcal {T}$ . Then the functor

(3.3) $$ \begin{align} \Gamma/H:(\mathcal{T}_\Gamma)^{\mathsf{op}}\to H(\Gamma)/\mathcal{T}\!\text{-}\mathsf{Mod} \end{align} $$

which sends to is a comodel. Moreover, its restricted nerve–realization adjunction (in the sense of Theorem 3.3(iii))

(3.4)

is an equivalence and identifies the extension–full w.f.s. on $\mathcal {T}_\Gamma \text {-}\mathsf {Mod}$ with the coslice w.f.s. on $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ .

Proof. It is easy to see that $\Gamma /H$ is a comodel. For the second claim, since arrows $H(\Gamma )\to A$ correspond to elements of $A(\Gamma )$ , we can identify the coslice category $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ with the category of “ $\Gamma $ -pointed models of $\mathcal {T}$ ”, i.e., pairs $(A,x)$ of a model A and an element $x\in A(\Gamma )$ , and morphisms preserving chosen elements.

Under this identification, we first verify that the functor $(\Gamma /H)_N$ is given by

and then that it is an equivalence with inverse $\Phi :\mathcal {T}_\Gamma \text {-}\mathsf {Mod}\to H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ given by

where $\star $ is the unique element of $B(\mathrm {id}_\Gamma )$ and $\delta :\Gamma \to \Gamma \times \Gamma $ is the diagonal map viewed as global element of in $\mathcal {T}_\Gamma $ . Thus, $(\Gamma /H)_\otimes =\Phi $ .

Finally we note that the w.f.s. on $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ is cofibrantly generated by commutative triangles

(3.5)

for display maps [Reference Hirschhorn21, Theorem 2.7]. On the other hand, since $(\Gamma /H)_\otimes \circ H = \Gamma /H$ (see (3.4)), the functor $(\Gamma /H)_\otimes $ sends the generators of the extension–full w.f.s. on $\mathcal {T}_\Gamma \text {-}\mathsf {Mod}$ to triangles

(3.6)

for arbitrary display maps $d,e,f$ in $\mathcal {T}$ . Now the triangles of shape (3.6) contain the triangles of shape (3.5), but are contained in their saturation, which is the left class of the coslice w.f.s. Thus, the two w.f.s.s are equal.

Proposition 3.6. Let A be a model of a clan $\mathcal {T}$ . Then the projection functor $\mathsf {El}(A)\to \mathcal {T}^{\mathsf {op}}$ creates a coclan structure on $\mathsf {El}(A)$ , i.e., $\mathsf {El}(A)$ is a coclan with codisplay maps those arrows that are mapped to display maps in $\mathcal {T}$ . Moreover, the canonical functor

$$ \begin{align*} H/A:\mathsf{El}(A)\cong\mathcal{T}^{\mathsf{op}}/A\to\mathcal{T}\!\text{-}\mathsf{Mod}/A \end{align*} $$

is a comodel, and its restricted nerve–realization adjunction

is an equivalence which identifies the extension–full w.f.s. on $\mathsf {El}(A)^{\mathsf {op}}\text {-}\mathsf {Mod}$ and the slice w.f.s. on $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ .

Proof. The verification that $\mathsf {El}(A)^{\mathsf {op}}$ is a clan and $H/A$ is a coclan morphism is straightforward. The equivalence is a restriction of the well-known equivalence $\widehat {\mathcal {T}^{\mathsf {op}}}/A\simeq \widehat {\mathcal {T}^{\mathsf {op}}/A}$ . The w.f.s.s coincide since—again by $(H/A)_\otimes \circ H=H/A$ —the functor $(H/A)_\otimes $ sends the generators of the w.f.s. on $\mathsf {El}(A)^{\mathsf {op}}\text {-}\mathsf {Mod}$ to commutative triangles

in $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ , where is a display map in $\mathcal {T}$ and $x\in A(\Gamma )$ and $y\in A(\Delta )$ are elements with $d\cdot y = x$ . By [Reference Hirschhorn21, Theorem 1.5], these form a set of generators for the slice w.f.s. on $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ .

4 $(\mathsf {E},\mathsf {F})$ -categories and the biadjunction

Definition 4.1. An $(\mathsf {E},\mathsf {F})$ -category is a l.f.p. category with a w.f.s. $(\mathsf {E},\mathsf {F})$ whose maps we call extensions and full maps. A morphism of $(\mathsf {E},\mathsf {F})$ -categories is a functor preserving small limits, filtered colimits, and full maps. We write $\mathsf {EFCat}$ for the $2$ -category of $(\mathsf {E},\mathsf {F})$ -categories, morphisms of $(\mathsf {E},\mathsf {F})$ -categories, and natural transformations.

Lemma 4.2. If is a morphism of $(\mathsf {E},\mathsf {F})$ -categories, then it has a left adjoint which preserves compact objects and extensions. Conversely, if is a cocontinuous functor preserving compact objects and extensions, then it has a right adjoint which is a morphism of $(\mathsf {E},\mathsf {F})$ -categories. Writing for the category of cocontinuous functors preserving extensions and compact objects, we thus have .

Proof. That morphisms of $(\mathsf {E},\mathsf {F})$ -categories have left adjoints follows from the adjoint functor theorem for presentable categories [Reference Adámek and Rosicky2, Theorem 1.66], and conversely the special adjoint functor theorem [Reference Lane31, Section V-8] implies that cocontinuous functors between l.f.p. categories have right adjoints. It follows from standard arguments that the left adjoint preserves compact objects iff the right adjoint preserves filtered colimits, and that the left adjoint preserves extensions iff the right adjoint preserves full maps.

Lemma 4.3. For any morphism $F:\mathcal {S}\to \mathcal {T}$ of clans, the precomposition functor

$$ \begin{align*} (-)\circ F\;:\;\mathcal{T}\!\text{-}\mathsf{Mod}\;\to\;\mathcal{S}\text{-}\mathsf{Mod} \end{align*} $$

is a morphism of $(\mathsf {E},\mathsf {F})$ -categories. Thus the assignment $\mathcal {T}\mapsto \mathcal {T}\!\text {-}\mathsf {Mod}$ extends to a $2$ -functor

from clans to $(\mathsf {E},\mathsf {F})$ -categories.

Proof. The preservation of small limits and filtered colimits is obvious since they are computed pointwise (Remark 2.9(a)). To show that $(-\circ F)$ preserves full maps, let $f:A\to B$ be full in $\mathcal {T}\!\text {-}\mathsf {Mod}$ . It is sufficient to show that the $(f\circ F)$ -naturality squares are weak pullbacks at all display maps $p:$ in $\mathcal {S}\text {-}\mathsf {Mod}$ . But the $(f\circ F)$ -naturality square at p is the same as the f-naturality square at $F(p)$ so the claim follows since f is full and F preserves display maps.

Definition 4.4. Given an $(\mathsf {E},\mathsf {F})$ -category , write for the full subcategory on compact $0$ -extensions.

Lemma 4.5. is a coclan with extensions as codisplay maps.

Proposition 4.6. The assignment extends to a pseudofunctor

$$ \begin{align*} \mathfrak C(-)^{\mathsf{op}}\;:\;\mathsf{EFCat}\to\mathsf{Clan}^{\mathsf{op}} \end{align*} $$

which is left biadjoint to $(-)\text {-}\mathsf {Mod}:\mathsf {Clan}^{\mathsf {op}}\to \mathsf {EFCat}$ .

Proof. We show that for every $(\mathsf {E},\mathsf {F})$ -category , the $2$ -functor

is birepresented by . Given a clan $\mathcal {T}$ it is easy to see that the equivalence

from Theorem 3.3 restricts to an equivalence

Taking opposite categories on both sides we get

(4.1)

as required.

Remark 4.7. From the construction of the natural equivalence (4.1) we can extract explicit descriptions of the components

of the unit $\Theta $ and the counit E of the biadjunction

(4.2)

at an $(\mathsf {E},\mathsf {F})$ -category and a clan $\mathcal {T}$ , respectively. Specifically, is the nerve of the inclusion (which is obviously a comodel), and $E_{\mathcal {T}}$ is $(-)^{\mathsf {op}}$ of the evident corestriction of $H:\mathcal {T}^{\mathsf {op}}\to \mathcal {T}\!\text {-}\mathsf {Mod}$ .

In §5 and §6 we show that the biadjunction (4.2) is idempotent (in the sense that the associated monad and comonad are), and characterize the fixed points on both sides (Theorems 5.9 and 6.18).

5 Cauchy complete clans and the fat small object argument

Definition 5.1. A clan $\mathcal {T}$ is called Cauchy complete if its underlying category is Cauchy complete (i.e., idempotents split), and retracts of display maps are display maps.

Examples 5.2.

  1. (a) Finite-limit clans are always Cauchy complete, since finite-limit categories are and all arrows are display maps in finite-limit clans.

  2. (b) A finite-product clan is Cauchy complete if and only if idempotents split in the underlying finite-product category, which may or may not be the case for the presentation of a single-sorted algebraic theory $\mathbb {T}$ as Lawvere theory (i.e., the opposite of the full subcategory of $\mathsf {Mod}(\mathbb {T})$ on finitely generated free models). For example the Lawvere theory of abelian groups is Cauchy complete since all finitely presented projective abelian groups are free, whereas the Lawvere theory of distributive lattices is not Cauchy complete. A non-free retract of a finitely generated free distributive lattice may be obtained by starting with a section–retraction pair $s:\{0 < 1 < 2\}\leftrightarrows \{0<1\}^2:r$ in posets, and then taking the distributive lattice of upper sets on both sides, i.e., applying the functor $\mathsf {Pos}(-,\{0<1\}):\mathsf {Pos}^{\mathsf {op}}\to \mathsf {DLat}$ . Then $\mathsf {Pos}(\{0<1\}^2,\{0 < 1\})$ is the free distributive lattice on $2$ generators, but $\mathsf {Pos}(\{0<1<1\},\{0<1\})$ is not free.

    Further details on the question of Cauchy-completeness of finite-limit theories, including a discussion of how the classical theory of Morita equivalence of rings fits into the picture, can be found in [Reference Adámek, Rosický and Vitale3, Sections 8, 15].

  3. (c) The clan $\mathcal {T}_{\mathsf {Cat}}$ of categories is Cauchy complete. To see this assume that G is a finite graph and that $\mathbb {D}$ is a retract of the free category $G^*$ on G. Then we know that $\mathbb {D}$ is a compact $0$ -extension and we have to show that $\mathbb {D}$ is free on a finite graph. Call an arrow f in $\mathbb {D}$ irreducible if it is not an identity and in any decomposition $f = gh$ , either g or h is an identity. Since the factors of every non-trivial decomposition have shorter length in $G^*$ , every arrow in $\mathbb {D}$ admits a decomposition into irreducible factors. Let H be the graph of irreducible arrows in $\mathbb {D}$ , and let $F:H^*\to \mathbb {D}$ be the canonical functor. Then F is full since all arrows in D are composites of irreducibles, and it admits a section $K:\mathbb {D}\to H^*$ since $\mathbb {D}$ is a $0$ -extension. As a section, K sends arrows in $\mathbb {D}$ to decompositions into irreducibles, thus it sends irreducible arrows to themselves. It follows that $K(F(j))=j$ for generators j in H, and from this we can deduce that $K\circ F=\mathrm {id}_{H^*}$ . Thus, $\mathbb {D}\cong H^*$ . Finiteness of H follows from compactness.

    This argument is an adaption of a similar argument for monoids [Reference Head18].

  4. (d) For every $(\mathsf {E},\mathsf {F})$ -category , the clan (Definition 4.4) is Cauchy complete, since compact objects and extensions are closed under retracts.

By Example 5.2(d), Cauchy completeness is a necessary condition for the counit $E_{\mathcal {T}}:\mathcal {T}\to \mathfrak C(\mathcal {T}\!\text {-}\mathsf {Mod})^{\mathsf {op}}$ of the biadjunction (4.2) to be an equivalence. We will show that it is also sufficient, but for this we need the notion of flat model, and the fat small object argument.

Recall that for small $\mathbb {C}$ , a functor $F:\mathbb {C}\to \mathsf {Set}$ is called flat if $\mathsf {El}(F)$ is filtered, or equivalently if $F_\otimes :[\mathbb {C}^{\mathsf {op}},\mathsf {Set}]\to \mathsf {Set}$ preserves finite limits [Reference Borceux8, Definition 6.3.1 and Proposition 6.3.8]. From the second characterization it follows that flat functors preserve all finite limits that exist in $\mathbb {C}$ , thus for the case of a clan $\mathcal {T}$ , flat functors $F:\mathcal {T}\to \mathsf {Set}$ are always models. We refer to them as flat models.

Definition 5.3. A model $A:\mathcal {T}\to \mathsf {Set}$ of a clan $\mathcal {T}$ is called flat, if $\mathsf {El}(F)$ is filtered.

Lemma 5.4. A $\mathcal {T}$ -model A is flat iff it is a filtered colimit of representable models.

Proof. We always have $A=\mathsf {colim}(\mathsf {El}(A)\to \mathcal {T}^{\mathsf {op}}\xrightarrow {H}\mathcal {T}\!\text {-}\mathsf {Mod})$ , thus if A is flat then it is a filtered colimit of representable models. The other direction follows since representable models are flat, and flat functors are closed under filtered colimits in $[\mathcal {T},\mathsf {Set}]$ [Reference Borceux8, Proposition 6.3.6].

Corollary 5.5. For any clan $\mathcal {T}$ , the $0$ -extensions in $\mathcal {T}\!\text {-}\mathsf {Mod}$ are flat.

Proof. This follows from the fat small object argument and can be seen as a special case of [Reference Makkai, Rosicky and Vokrinek33, Corollary 5.1], but we give a direct proof in Appendix 11 (Corollary 11.9).

Definition 5.6. Let $\mathfrak {X}$ be a cocomplete locally small category.

  1. (i) We say that an arrow $f:A\to B$ is orthogonal to a small diagram $D:\mathbb {J}\to \mathfrak {X}$ , and write $f\perp D$ , if the following square is a pullback in $\mathsf {Set}$ .

  2. (ii) We call f compact if it is orthogonal to all small filtered diagrams.

Lemma 5.7. Let $\mathfrak {X}$ be a locally small cocomplete category.

  1. (i) An object $A\in \mathfrak {X}$ is compact in the usual sense that $\mathfrak {X}(A,-)$ preserves filtered colimits, if and only if the arrow $0\to A$ is compact in the sense of Definition 5.6.

  2. (ii) If the arrow g in a commutative triangle is compact, then f is compact if and only if h is compact. In other words, compact arrow are closed under composition and have the right cancellation property.

  3. (iii) If $f:A\to B$ is compact as an arrow in $\mathfrak {X}$ , then it is compact as an object in $A/\mathfrak {X}$ .

  4. (iv) If $h:B\to C$ is an arrow between compact objects in $\mathfrak {X}$ , then h is compact as an object in $B/\mathfrak {X}$ .

Proof. (i) is obvious, and (ii) follows from the pullback lemma.

For (iii) assume that f is compact as an arrow in $\mathfrak {X}$ and consider a filtered diagram in $A/\mathfrak {X}$ , given by a filtered diagram $D:\mathbb {I}\to \mathfrak {X}$ and a cocone $\gamma =(\gamma _i:A\to D_i)_{i\in \mathbb {I}}$ . Note that since the forgetful functor $A/\mathfrak {X}\to \mathfrak {X}$ creates connected colimits, we have $\mathsf {colim}(\gamma ):A\to \mathsf {colim}(D)$ . Also because $\mathbb {I}$ is connected, all $\gamma _i$ are in the same equivalence class in $\mathsf {colim}_{i\in \mathbb {I}}\mathfrak {X}(A,D_i)$ , which we denote by $\overline {\gamma }:1\to \mathsf {colim}_{i\in \mathbb {I}}\mathfrak {X}(A,D_i)$ . We have to show that the canonical map

$$ \begin{align*} \textstyle\mathsf{colim}_i(A/\mathfrak{X})(f,\gamma_i)\;\longrightarrow\;(A/\mathfrak{X})(f,\mathsf{colim}(\gamma)) \end{align*} $$

is a bijection. This follows because this function can be presented by a pullback in as in the following diagram.

The front square is a pullback since the back one is by compactness of f as an arrow, and since the side ones are pullbacks by construction. Thus the gray horizontal arrow is a bijection since $1\to 1$ is.

Finally, claim (iv) now follows directly from (i), (ii), and (iii).

Remark 5.8. One can show the implication of Lemma 5.7(iii) is actually an equivalence, i.e., $f:A\to B$ is compact as an arrow if and only if it is so as an object of the coslice category, but the other direction is more awkward to write down and we don’t need it.

Theorem 5.9. If $\mathcal {T}$ is a Cauchy complete clan, then $E_{\mathcal {T}}:\mathcal {T}\to \mathfrak C(\mathcal {T}\!\text {-}\mathsf {Mod})^{\mathsf {op}}$ is an equivalence of clans.

Proof. Let $C\in \mathcal {T}\!\text {-}\mathsf {Mod}$ be a compact $0$ -extension. Then by Corollary 5.5, C is a filtered colimit of representable models, and since C is compact the identity $\mathrm {id}_C$ factors through one of the colimit inclusions, whence C is a retract of a representable model. By Cauchy completeness, C is thus itself representable, i.e., we have an equivalence of categories.

It remains to show that $E_{\mathcal {T}}$ reflects extensions to display maps. Assume $f:\Delta \to \Gamma $ in $\mathcal {T}$ such that $H(f): H(\Gamma )\to H(\Delta )$ is an extension. Then $H(f)$ is compact in $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}$ by Lemma 5.7(iv) and $H(\Gamma )/\mathcal {T}\!\text {-}\mathsf {Mod}\simeq \mathcal {T}_\Gamma \text {-}\mathsf {Mod}$ by Proposition 3.5. This means that the object corresponding to $H(f)$ in $\mathcal {T}_\Gamma \text {-}\mathsf {Mod}$ is a compact $0$ -extension, and thus it is isomorphic to a representable model $\mathcal {T}_\Gamma (d,-)$ for a display map by the argument in the first part of the proof. This means that f is isomorphic to d over $\Gamma $ , and therefore a display map.

The preceding proposition together with Example 5.2(d) shows that the pseudomonad on $\mathsf {Clan}$ induced by the biadjunction (4.2) is idempotent: applying the pseudomonad once produces a Cauchy complete clan, and applying it again gives something equivalent. By general facts about (bi)adjunctions, the induced pseudomonad on $\mathsf {EFCat}$ is also idempotent. In the next section we characterize its fixed points as being clan-algebraic categories.

6 Clan-algebraic categories

Definition 6.1. An $(\mathsf {E},\mathsf {F})$ -category is called clan-algebraic if

  1. (D) the inclusion is dense,

  2. (CG) the w.f.s. $(\mathsf {E},\mathsf {F})$ is cofibrantly generated by , and

  3. (FQ) equivalence relations $\langle p,q\rangle :R\rightarrowtail A\times A$ in with full components $p,q$ are effective, and have full coequalizers.

A clan-algebraic weak factorization system is a w.f.s. on a l.f.p. category making into a clan-algebraic category.

Theorem 6.2. The category $\mathcal {T}\!\text {-}\mathsf {Mod}$ is clan-algebraic for every clan $\mathcal {T}$ .

Proof. Conditions (D) and (CG) are straightforward. For for (FQ) let $\langle p,q\rangle : R\rightarrowtail A\times A$ be an equivalence relation with full components. This means that we have an equivalence relation $\sim $ on each $A(\Gamma )$ , such that

  • for all arrows $s : \Delta \to \Gamma $ , the function $A(s) = s\cdot (-) : A(\Delta )\to A(\Gamma )$ preserves this relation, and

  • for every display map and all $a,b\in A(\Gamma )$ and $c\in A(\Gamma ^+)$ such that $a\sim b$ and $p\cdot c = a$ , there exists a $d\in A(\Gamma ^+)$ with $c\sim d$ and $p\cdot d=b$ .

We show first that the pointwise quotient $A/R$ is a model. Clearly $(A/R)(1)=1$ , and it remains to show that given a pullback

with f and g display maps, and elements $a\in A(\Delta )$ , $b\in A(\Gamma ^+)$ with $s\cdot a\sim f\cdot b$ , there exists a unique-up-to- $\sim $ element $c\in A(\Delta ^+)$ with $g\cdot c\sim a$ and $t\cdot c\sim b$ . Since f is a display map, there exists a $b'$ with $b\sim b'$ and $v\cdot b'=s\cdot a$ , and since A is a model there exists therefore a c with $q\cdot c = a$ and $t\cdot c = b'$ . For uniqueness assume that $c,c'\in A(\Delta ^+)$ with $q\cdot c\sim q\cdot c'$ and $t\cdot c\sim t\cdot c'$ . Then $c\sim c'$ follows from the fact that R is a model. This shows that $A/R$ is a model, and also that the quotient is effective, since the kernel pair is computed pointwise. The fact that $A\to A/R$ is full is similarly easy to see.

The following counterexample shows that conditions (D) and (CG) alone are not sufficient to characterize categories $\mathcal {T}\!\text {-}\mathsf {Mod}$ .

Example 6.3. Let $\mathsf {Inj}$ be the full subcategory of on injections, and let $(\mathsf {E},\mathsf {F})$ be the w.f.s. generated by and . Then $(\mathsf {E},\mathsf {F})$ satisfies (D) and (CG), and $\mathsf {F}$ consists precisely of the pointwise surjective maps, in particular it contains all split epis. However, the equivalence relation on $\mathrm {id}_2$ which is discrete on the domain and codiscrete on the codomain is not effective.

The following is a restatement of Remark 2.11(b) for clan-algebraic categories.

Lemma 6.4. Full maps in clan-algebraic categories are regular epimorphisms.

Proof. Given a full map in a clan-algebraic category , the lifting property against $0$ -extensions implies that is componentwise surjective in , and therefore the coequalizer of its kernel pair. Since left adjoints preserve regular epis, we deduce that $J_\otimes (J_N(f))$ is regular epic in and the claim follows since $J_\otimes \circ J_N\cong \mathrm {id}$ by (D).

Remark 6.5. Observe that we only used property (D) in the proof, no exactness.

Lemma 6.6. The class $\mathsf {F}$ of full maps in a clan-algebraic category has the right cancellation property, i.e., we have $g\in \mathsf {F}$ whenever $gf\in \mathsf {F}$ and $f\in \mathsf {F}$ for composable pairs $f:A\to B$ , $g:B\to C$ .

Proof. By (CG) it suffices to show that g has the r.l.p. w.r.t. extensions between compact $0$ -extensions $I,J$ . Let

be a filling problem. Since I is a $0$ -extension and f is full, there exists a map $h':I\to A$ with $fh'=h$ . We obtain a new filling problem

which can be filled by a map $m:J\to A$ since $gf$ is full. Then $m'=fm$ is a filler for the original problem (the upper triangle commutes since $m'e=fme= fh'=h$ ).

Lemma 6.7. Let be a clan-algebraic category, let $f:A\to B$ be an arrow in with componentwise full kernel pair $p,q:R\twoheadrightarrow A$ , and let $e:A\twoheadrightarrow C$ be the coequalizer of p and q. Then the unique $m:C\to B$ with $me=f$ is monic.

Proof. By (D) it is sufficient to test monicity of m on maps out of compact $0$ -extensions E. Let $h,k:E\to C$ such that $mh = mk$ . Since e is full by (FQ), there exist $h',k':E\to A$ with $eh'=h$ and $ek'=k$ . In particular we have $fh'=fk'$ and therefore there is a unique $u:E\to R$ with $pu=h'$ and $qu=k'$ . Thus we can argue

$$ \begin{align*} h = eh' = epu = equ = e k' = k \end{align*} $$

which shows that m is monic.

Lemma 6.8. If is flat then $A\to J_N(J_\otimes (A))$ is an isomorphism. Thus, $J_\otimes $ restricted to flat models is fully faithful.

Proof. For the fist claim we have

The second claim follows since for flat B, the mapping

can be decomposed as

Lemma 6.9. The following are equivalent for a cone $\phi :\Delta C\to D$ on a diagram in an $(\mathsf {E},\mathsf {F})$ -category .

  1. (i) Given an extension $e:A\to B$ , an arrow $h:A\to C$ , and a cone $\kappa :\Delta B\to D$ such that $\phi _j h=\kappa _j e$ for all $j\in \mathbb {J}$ , there exists $l:B\to C$ such that $le=h$ and $\phi _jl=\kappa _j$ for all $j\in \mathbb {J}$ .

  2. (ii) The mediating arrow $:C\to \operatorname *{{\mathsf {lim}}}(D)$ is full.

Proof. The data of $e,h,\kappa $ is equivalent to e, h, and $k:B\to \operatorname *{{\mathsf {lim}}}(D)$ such that

commutes, and $l:B\to C$ fills the latter square iff it fills all the squares with the $D_j$ .

Definition 6.10. A cone $\phi $ satisfying the conditions of the lemma is called jointly full.

Remark 6.11. The interest of this is that it allows us to talk about full “covers” of limits without actually computing the limits, which is useful when talking about cones and diagrams in the full subcategory of a clan-algebraic category on $0$ -extensions, which does not admit limits.

Definition 6.12. A nice diagram in an $(\mathsf {E},\mathsf {F})$ -category is a $2$ -truncated semi-simplicial diagram

where

  1. (i) $A_0$ , $A_1$ , and $A_2$ are $0$ -extensions,

  2. (ii) the maps $d_0,d_1:A_1\to A_0$ are full,

  3. (iii) in the commutative square the span constitutes a jointly full cone over the cospan,

  4. (iv) there exists a “symmetry” map making the triangles commute, and

  5. (v) there exists a $0$ -extension $\tilde A$ and full maps $f,g:\tilde A\twoheadrightarrow A_1$ constituting a jointly full cone over the diagram

Lemma 6.13. If $A_\bullet $ is a nice diagram in a clan-algebraic category , the pairing $\langle d_0,d_1\rangle :A_1\to A_0\times A_0$ factors as $A_1\xrightarrow {f}R\xrightarrow {\langle r_0,r_1\rangle }A_0\times A_0$ , where f is full and $r=\langle r_0,r_1\rangle $ is monic and a componentwise full equivalence relation.

Proof. Condition (v) of the preceding definition gives us the following diagram

i.e., S is the kernel of $\langle d_0,d_1\rangle $ with projections $p,q$ , $\tilde A$ is a $0$ -extension, and $f,g,h$ are full. By right cancellation we deduce that p and q are full, and the existence of the factorization follows from Lemma 6.7. Fullness of $r_0,r_1$ follows again from right cancellation because f, $d_0$ , and $d_1$ are full.

It remains to show that r is an equivalence relation. This is easy: condition 4 gives symmetry, and condition 3 gives transitivity, and reflexivity follows from the fact that $r_0$ admits a section as a full map into a $0$ -extension, together with symmetry (we internalize the argument that if in a symmetric and transitive relation everything is related to something, then it is reflexive.)

Definition 6.14. A $0$ -extension replacement of an object A in an $(\mathsf {E},\mathsf {F})$ -category is a full map $f:\overline A\twoheadrightarrow A$ from a $0$ -extension $\overline A$ to A.

$0$ -extension replacements can always be obtained as $(\mathsf {E},\mathsf {F})$ -factorizations of $0\to A$ .

Lemma 6.15. For every object A in an $(\mathsf {E},\mathsf {F})$ -category there exists a nice diagram $A_\bullet $ with colimit A.

Proof. $A_0$ is constructed as a $0$ -extension replacement $f: A_0\twoheadrightarrow A$ of A. Similarly, $A_1$ is given by a $0$ -extension replacement $f_1:A_1\twoheadrightarrow A_0\times _AA_0$ of $A_0\times _AA_0$ , and $A_2$ is a $0$ -extension replacement $f_2:A_2\twoheadrightarrow P$ of the pullback

with $d_0,d_1,d_2:A_2\to A_1$ given by $d_0=p_0\circ f$ , $d_2=p_1\circ f$ , and $d_1$ a lifting of $\langle d_0\circ d_0,d_1\circ d_2\rangle $ along $f_1$ . The map $\sigma $ is constructed as a lifting of the symmetry of $A_0\times _AA_0$ along $f_1$ . The object $\tilde A$ is a $0$ -extension replacement of the kernel of $f_1$ .

Lemma 6.16. For any clan-algebraic category , the realization functor $J_\otimes $ preserves jointly full cones in flat models, and nice diagrams.

Proof. The first claim follows since $J_\otimes $ is fully faithful on $0$ -extensions by Lemma 6.8 and in both sides the weak factorization system determined by the same generators. Thus there’s a one-to-one correspondence between lifting problems. The second claim follows since $J_\otimes $ preserves $0$ -extensions and $0$ -extensions are flat by the fat small object argument.

Lemma 6.17. For any clan-algebraic category , the functor preserves quotients of nice diagrams.

Proof. Given a nice diagram $A_\bullet $ in , its colimit is the coequalizer of $d_0,d_1:A_1\to A_0$ . By Lemma 6.13, $\langle d_0,d_1\rangle $ factors as $\langle r_0,r_1\rangle \circ f$ with f full and $r=\langle r_0,r_1\rangle $ an equivalence relation. The pairs $d_0,d_1$ and $r_0,r_1$ have the same coequalizer (since f is epic), and $J_N$ preserves the coequalizer of $r_0,r_1$ since it preserves full maps and kernel pairs. Finally, the coequalizer of $J_N(r_0),J_N(r_1)$ is also the coequalizer of $J_N(d_0),J_N(d_1)$ since $J_N(f)$ is full and therefore epic.

Theorem 6.18. If is clan-algebraic, then is an equivalence.

Proof. By density, $J_N$ is fully faithful. It remains to verify that it is essentially surjective, and to this end we show that the unit map $\eta _A:A\to J_N(J_\otimes (A))$ is an isomorphism for all . Let $A_\bullet $ be a nice diagram with colimit A. We have:

$$ \begin{align*} J_N(J_\otimes(A)) &= J_N(J_\otimes(\mathsf{colim}(A_\bullet)))\\ &=\mathsf{colim}(J_N(J_\otimes(A_\bullet)))&&\text{by Lemmas 6.16 and 6.17}\\ &=\mathsf{colim}(A_\bullet) &&\text{by Lemma 6.8}\\ &=A.\\[-24pt] \end{align*} $$

We are now ready to prove our main theorem.

Theorem 6.19. The contravariant biadjunction between clans and $(\mathsf {E},\mathsf {F})$ -categories from Proposition 4.6 restricts to a contravariant biequivalence between Cauchy-complete clans and clan-algebraic categories.

Proof. By Theorem 5.9 the biadjunction is idempotent, and its fixed points in $\mathsf {Clan}$ are Cauchy-complete clans. By Theorems 6.2 and 6.18, the fixed points in $\mathsf {EFCat}$ are precisely the clan-algebraic categories.

Remarks 6.20.

  1. (a) The characterization of $(\mathsf {E},\mathsf {F})$ -categories of the form $\mathcal {T}\!\text {-}\mathsf {Mod}$ in terms of conditions (D), (CG), and (FQ) generalizes, and is in fact inspired by, Adámek–Rosický–Vitale’s characterization of algebraic categories (i.e., categories of models of algebraic theories) as Barr-exact cocomplete locally small categories with a strong generator of compact regular projectives [Reference Adámek, Rosický and Vitale3, Corollary 18.4]Footnote 7 . In particular, if $\mathcal {T}$ is a finite-product clan then the regular projectives in $\mathcal {T}\!\text {-}\mathsf {Mod}$ are precisely the $0$ -extensions, thus the strong generation requirement corresponds to (D) (which we have elected to state in terms of density). The Barr-exactness requirement refines to the existence of full coequalizers of componentwise full equivalence relations in the clanic case. The fullness requirements are void in the finite-product case, since coequalizers as well as split epimorphisms are always regular epimorphisms.

  2. (b) As emphasized by the referee, Definition 6.12 of “nice diagrams” resembles Carboni–Vitale’s definition of pseudo-equivalence relations [Reference Carboni and Vitale11, Definition 6]. Indeed, the resolution by nice diagrams given in Lemma 6.15 reduces to pseudo-equivalence relations in projective objects in the case of finite-product clans, which are related to the fact that algebraic categories are ex/wlex-completions in the sense of Carboni and Vitale. An analogous presentation of clan-algebraic categories as a completion of categories of $0$ -extensions (suitably axiomatized) is subject of future work.

6.1 Clan-algebraic weak factorization systems on $\mathsf {Cat}$

The characterization of $(\mathsf {E},\mathsf {F})$ -categories of models of clans as clan-algebraic categories allows to exhibit new clans by defining suitable w.f.s.s on l.f.p. categories. In this subsection we demonstrate this by defining three more clan-algebraic w.f.s.s on $\mathsf {Cat}$ .

We start with the clan-algebraic w.f.s. from Example 2.12(c), corresponding to the “standard” clan-presentation $\mathcal {T}_{\mathsf {Cat}}$ from §2.2. We observed that this w.f.s. is cofibrantly generated by the functors $0\hookrightarrow 1$ and . Our strategy to define new clan-algebraic w.f.s.s is to add additional generators. If we make sure that the domain and codomain of these are compact $0$ -extensions, we only have to verify condition (FQ) when verifying that the new w.f.s. is still clan-algebraic. The additional generators we consider are the arrows and $2\to 1$ , where $\mathbb {P}$ is the “parallel pair category” $\bullet \rightrightarrows \bullet $ . By adding either one or both of the additional generators we obtain three additional w.f.s.s $(\mathsf {E}_{\mathsf {O}},\mathsf {F}_{\mathsf {O}})$ , $(\mathsf {E}_{\mathsf {A}},\mathsf {F}_{\mathsf {A}})$ , and $(\mathsf {E}_{\mathsf {OA}},\mathsf {F}_{\mathsf {OA}})$ , where:

We have already observed that $\mathsf {F}$ consists of the functors that are full and surjective on objects, and it is easy to see that $\mathsf {F}_{\mathsf {O}}$ contains only those functors which are full and bijective on objects, whereas $\mathsf {F}_{\mathsf {A}}$ consists of functors which are fully faithful and surjective on objects. Finally, $\mathsf {F}_{\mathsf {OA}}$ only contains functors which are fully faithful and bijective on objects, i.e., isomorphisms of categories.

To convince ourselves that the new w.f.s.s are indeed clan-algebraic we only have to verify that for every equivalence relation $\langle p,q\rangle :\mathbb {R}\to \mathbb {A}\times \mathbb {A}$ in $\mathsf {Cat}$ , the coequalizer is in either of $\mathsf {F}_{\mathsf {O}},\mathsf {F}_{\mathsf {A}},\mathsf {F}_{\mathsf {OA}}$ whenever p and q are, since effectivity has already been established for equivalence relations with components in $\mathsf {F}$ . This is not difficult to see for $\mathsf {F}_{\mathsf {O}}$ and $\mathsf {F}_{\mathsf {A}}$ , and trivial for $\mathsf {F}_{\mathsf {OA}}$ .

The coclans corresponding to the new w.f.s.s are:

  • $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}^{\mathsf {op}}= \{\text {categories free on finite graphs}\}$ , with functors $G^*\to H^*$ arising from faithful graph morphisms as codisplay maps,

  • $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}^{\mathsf {op}} = \{\text {finitely presented categories}\}$ , with injective-on-objects functors as codisplay maps, and

  • $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}^{\mathsf {op}} = \{\text {finitely presented categories}\}$ , with arbitrary functors as codisplay maps.

We note the clan $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}$ is simply the finite-limit theory of categories. One may ask whether the clans $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ , $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ , and $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}$ admit simple syntactic presentations by GATs, and indeed they do. To obtain such a presentation e.g., for $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ , we have to modify the GAT $\mathbb {T}_{\mathsf {Cat}}$ in such a way that the syntactic category stays the same, but acquires additional display maps, such as the diagonal $(x:O)\to (x\,y:O)$ corresponding to the new generator $2\to 1$ . Display maps in the syntactic category of a GAT are always of the form $p\circ i$ where p is a projection omitting a finite number of variables and i is an isomorphism (Proposition 10.3), so to turn $(x:O)\to (x\,y:O)$ into a display map we have to make $(x:O)$ isomorphic to an extension of $(x\,y:O)$ . To achieve this we postulate a new type family $x\,y:O\vdash E_O(x,y)$ and add axioms forcing the projection $(x\,y:A\,,\, z:E_O(x,y))\to (x:A)$ to become an isomorphism:

(6.1) $$ \begin{align} \begin{aligned} x\,y:O & \;\vdash\; E_O(x,y) \\ x:O & \;\vdash\; r_O(x):E_O(x,x) \\ x\,y:O\,,\,p:E_O(x,y) & \;\vdash\; x=y \\ x:O\,,\,p:E_O(x,x) & \;\vdash\; r_O(x)=p. \end{aligned} \end{align} $$

The function symbol $r_O$ gives a section for the projection, and the two last axioms force the retract to be an isomorphism. We recognize at once that these axioms make $E_O$ an extensional identity type of O [Reference Hofmann23, Section 3.2]: the term $r_O$ is reflexivity, and the third and fourth rule give equality reflection and uniqueness of identity proofs. We write $\mathbb {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ for the extension of the GAT $\mathbb {T}_{\mathsf {Cat}}$ by the axioms (6.1), and $\mathsf {Cat}_{_{\mathsf {O}}}$ for the corresponding clan-algebraic category.

Similarly, we obtain a GAT-representation $\mathbb {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ of the clan $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ by augmenting $\mathbb {T}_{\mathsf {Cat}}$ by a type family $E_A$ with the following rules:

(6.2) $$ \begin{align} \begin{aligned} x\,y:O\,,\,f\,g:A(x,y) &\;\vdash\; E_A(f,g) \\ x\,y:O\,,\,f:A(x,y) &\;\vdash\; r_A(f):E_A(f,f) \\ x\,y:O\,,\,f\,g:A(x,y)\,,\,p:E_A(f,g) &\;\vdash\; f=g \\ x\,y:O\,,\,f:A(x,y)\,,\,p:E_A(f,f) &\;\vdash\; r_A(f)=p. \end{aligned} \end{align} $$

Adding both sets of axioms (6.1) and (6.2) to $\mathbb {T}_{\mathsf {Cat}}$ yields a GAT for the clan $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}$ , i.e., the finite-limit theory of categories.

Remark 6.21. As pointed out by the referee, an enriched version of the $(\mathsf {E}_{\mathsf {A}},\mathsf {F}_{\mathsf {A}})$ -instance of the exactness condition (FQ) appears under the name ff-exactness in Bourke and Garner’s [Reference Bourke and Garner9]. Further investigation may be needed.

7 A counterexample

This section gives a common counterexample to two related natural questions about the extension–full w.f.s. on a clan-algebraic category :

  1. (1) Does every compact object admit a full map from a compact $0$ -extension?

  2. (2) Does the weak factorization system always restrict to compact $0$ -extensions?

The counterexample to both question is given by the category of models of the following GAT with infinitely many sorts and operations:

$$ \begin{align*} &\;\vdash\; X\\ &\;\vdash\; Y\\ y{:}Y&\;\vdash\; Z_n(y)&n\in\mathbb{N}\\ x{:}X&\;\vdash\; f(x):Y\\ x{:}X&\;\vdash\; g_n(x):Z_n(f(x)).{\qquad}&n\in\mathbb{N} \end{align*} $$

Its category of models is equivalent to the set-valued functors on the posetal category

and the w.f.s. on $[\mathbb {C},\mathsf {Set}]$ is generated by the arrows , , and for $n\in \mathbb {N}$ , reflecting the idea that models $A:\mathbb {C}\to \mathsf {Set}$ can be built up by successively adding elements to $A(X)$ or $A(Y)$ , and to $A(Z_n)$ over a given element x of $A(Y)$ , as in the following pushouts.

The following lemma gives explicit descriptions of the w.f.s. and the compact objects in $[\mathbb {C},\mathsf {Set}]$ .

Lemma 7.1. Let $f:A\to B$ in $[\mathbb {C},\mathsf {Set}]$ .

  1. (i) f is full if and only if it is componentwise surjective and the naturality squares for $z_n$ are weak pullbacks for all $n\in \mathbb {N}$ .

  2. (ii) f is an extension if an only if $f_X:A(X)\to B(X)$ is injective, and the squares

    are quasi-pushouts, in the sense that the gap maps $A(Y)+_{A(X)}B(X)\to B(Y)$ and $A(Z_n)+_{A(X)}B(X)\to B(Z_n)$ are injective. (This implies that the components $f_{Y}$ and $f_{Z_n}$ are also injective).

  3. (iii) A is a $0$ -extension if an only if $A(f)$ and all $A(g_n)$ are injective.

  4. (iv) A is compact if an only if (a) it is componentwise finite, and (b) $A({f_n}):A(X)\to A(Z_n)$ is a bijection for all but finitely many $n\in \mathbb {N}$ .

Using this lemma, we can give negative answers to the two question at the beginning of the section.

Proposition 7.2.

  1. (i) The object P in the pushout

    is compact, but does not admit a full map from a compact $0$ -extension.

  2. (ii) The map does not admit an extension–full factorization through a compact object.

Proof. For the first claim, P is compact as a finite colimit of representables. Let $f:E\twoheadrightarrow P$ be a full map with E a $0$ -extension. For each $n\in \mathbb {N}$ we get a diagram

where $E(f)$ and $E(g_n)$ are injective because E is a $0$ -extension, and the components of f are surjective and the $z_n$ -naturality square is a weak pullback since because f is full. In particular $E(Y)$ is inhabited and the fibers of $E(z_n)$ have at least two elements. Since the fibers of $E(f)$ have at most one element, this means that $E(g_n)$ can’t be surjective for any n, and it follows from Lemma 7.1(iv) that E is not compact.

For the second claim consider an extension such that is full. Then $A(Y)$ is inhabited, all $A(Z_n)\to A(Y)$ are surjective, and $1+A(X)\to A(Y)$ is injective. From this we can again deduce that none of the $A(g_n)$ are surjective and thus A is not compact.

8 Models in higher types

One practical use of having inequivalent clans with equivalent categories of $\mathsf {Set}$ -models is that they can have inequivalent $\infty $ -categories of models in the $\infty $ -category of homotopy types (a.k.a. “spaces”). We leave this issue for future work and content ourselves here with outlining some main ideas.

Reasoning informally, in the following we identify sets with discrete ( $0$ -truncated) homotopy types, and $1$ -categories with $\infty $ -categories all of whose $\hom $ -types are $0$ -truncated. Given a clan $\mathcal {T}$ it then makes sense to define an $\infty $ -model to be an $\infty $ -functor into spaces which preserves the terminal object and pullbacks of display maps in the suitable $\infty $ -categorical sense, and to write for the $\infty $ -category of models, as a full $\infty $ -subcategory of the functor- $\infty $ -category .

The first observation is that for $\mathcal {T}$ a finite-limit clan, the $\infty $ -category $\mathcal {T}\!\text {-}\mathsf {Mod}_\infty $ of $\infty $ -models is in fact equivalent to (the $\infty $ -category corresponding to) the $1$ -category $\mathcal {T}\!\text {-}\mathsf {Mod}$ of $1$ -models! This is because finite $\infty $ -limit preserving $\infty $ -functors preserve truncation levels, and thus every finite $\infty $ -limit preserving must factor through the inclusion of , since all objects of $1$ -categories are (representably) $0$ -truncated.

For finite-product clans, on the other hand, there is no such restriction. The $\infty $ -models of the finite-product clan $\mathcal {C}_{\mathsf {Mon}}$ of monoids, for example, are the models of the associative $\infty $ -operad [Reference Lurie30, Section 4.11], whereas the $\infty $ -models of the finite-product theory of abelian groups are related to the Dold–Kan correspondence. Variants of this phenomenon are discussed under the name “animation” in [Reference Cesnavicius and Scholze14]; Rosický’s [Reference Rosický40] contains an earlier account.

Now the nice thing about clans is that they admit finer graduations of “levels of strictness”. Among the clans $\mathcal {T}$ , $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ , $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ , and $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}$ from §6.1, for example, we know that the $\infty $ -models of the finite-limit clan $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {OA}}}}$ are precisely the strict $1$ -categories. The presence of the extensional identity type on O in $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ behaves like a kind of “partial finite-limit completion”, and has the effect that the sort O is interpreted by a $0$ -type in every model , whereas the presence of extensional identities on A in $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ has the effect that the projection $(x\,y:O\,,\,f:A(x,y))\to (x\,y:O)$ is mapped to a function with $0$ -truncated fibers by every $\infty $ -model . This means that $\infty $ -models of $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {A}}}}$ are pre-categories in the sense of Homotopy Type Theory [43, Definition 9.1.1], whereas $\infty $ -models of $\mathcal {T}_{\mathsf {Cat}_{_{\mathsf {O}}}}$ seem to correspond to Segal-categories [Reference Hirschowitz and Simpson22, Section 2], [Reference Bergner7, Section 5]. Finally, the clan $\mathcal {T}_{\mathsf {Cat}}$ does not impose any truncation conditions, which makes its $\infty $ -models resemble Segal spaces (not necessarily complete), in the sense of [Reference Rezk38, Section 4].

Remark 8.1. Notably absent from the list of higher algebraic structures represented by the variants of $\mathcal {T}_{\mathsf {Cat}}$ are univalent $\infty $ -categories. In fact, the requirement on a clan $\mathcal {T}$ that $\mathcal {T}\!\text {-}\mathsf {Mod}_\infty \simeq \infty \text {-}\mathsf {Cat}$ is incompatible with the requirement that $\mathcal {T}\!\text {-}\mathsf {Mod}\simeq \mathsf {Cat}$ , since $\mathcal {T}\!\text {-}\mathsf {Mod}$ is the full subcategory of $\mathcal {T}\!\text {-}\mathsf {Mod}_\infty $ on $0$ -truncated objects, and the only $0$ -truncated univalent $1$ -categories are the rigid ones, i.e., those whose with only trivial automorphisms. It seems unlikely to the author that $\infty \text {-}\mathsf {Cat}$ can be described by a “ $1$ -clan”. See [Reference Ahrens, North, Shulman and Tsementzis4, Reference Ahrens, North, Shulman and Tsementzis5] for recent work addressing this univalence issue, using techniques building on Makkai’s First order logic with dependent sorts (FOLDS) [Reference Makkai32]. Another recent work connecting Cartmell’s GATs and Makkai’s FOLDS is Chaitanya Leena Subramaniam’s thesis [Reference Subramaniam28].

9 Appendix. Locally finitely presentable categories, weak factorization systems, and Quillen’s small object argument

This appendix recalls basic definitions and facts about the concepts mentioned in the title.

Definition 9.1. A category $\mathcal {C}$ is called filtered, if every diagram $D:\mathbb {J}\to \mathcal {C}$ with finite domain admits a cocone. A filtered colimit is a colimit of a diagram indexed by a filtered category.

Definition 9.2. Let $\mathfrak {X}$ be a cocomplete locally small category.

  1. (i) An object $C\in \mathfrak {X}$ is called compact, if the covariant representable functor

    $$ \begin{align*} \mathfrak{X}(C,-):\mathfrak{X}\to\mathsf{Set} \end{align*} $$

    preserves small filtered colimits.

  2. (ii) $\mathfrak {X}$ is called locally finitely presentable (l.f.p.) if it admits a small dense family of compact objects, i.e., a family $(C_i)_{i\in I}$ of compact objects indexed by a small set I, such that the nerve functor

    $$ \begin{align*} J_N:\mathfrak{X}\to\widehat{\mathbb{C}} \end{align*} $$

    of the inclusion $J:\mathbb {C}\hookrightarrow \mathfrak {X}$ of the full subcategory on the $(C_i)_{i\in I}$ is fully faithful.

Remarks 9.3.

  1. (a) Compact objects are also known as finitely presentable objects, e.g., in [Reference Gabriel and Ulmer16, Reference Adámek and Rosicky2]. We adopted the term compact from [Reference Lurie29, Definition A.1.1.1] since it is more concise, and in particular since compact $0$ -extension sounds less awkward than finitely presented $0$ -extension. Moreover I think the fact that objects of algebraic categories (such as groups, rings, modules …) are compact if and only if they admit a presentation by finitely many generators and relations is an important theorem, which is difficult to state if one uses the same terminology for the syntactic and the categorical notion.

  2. (b) The density condition in the definition is equivalent to saying that the family $(C_i)_{{i\in I}}$ is a strong generator, in the sense that the canonical arrow

    $$ \begin{align*} \coprod_{i\in I,f:C_i\to A}\!\!\!C_i\to A \end{align*} $$

    is an extremal epimorphism for all $A\in \mathfrak {X}$ . We stated the definition in terms of density here, since nerve functors play a central role in this work, contrary to strong generation.

  3. (c) The notion of l.f.p. category is a special case of the notion of locally $\alpha $ -presentable category for a regular cardinal $\alpha $ [Reference Gabriel and Ulmer16, Reference Adámek and Rosicky2]. In this work, only the case $\alpha =\omega $ plays a role.

Definition 9.4. Let $\mathcal {C}$ be a category.

  1. (i) Given two arrows $f:A\to B$ , $g:X\to Y$ in $\mathcal {C}$ , we say that f has the left lifting property (l.l.p.) w.r.t. g (or equivalently that g has the right lifting property (r.l.p.) w.r.t. f), and write $f\pitchfork g$ , if in each commutative square

    there exists a diagonal arrow h making the two triangles commute.

  2. (ii) Given a class $\mathsf {E}\subseteq {\mathsf {mor}(\mathcal {C})}$ of arrows in $\mathcal {C}$ , we define:

    $$ \begin{align*} {}^\pitchfork\mathsf{E}&=\{f\in\mathsf{mor}(\mathcal{C})\mathrel| {\forall g\in\mathsf{E}\,.\, f\pitchfork g}\}\\ \mathsf{E}^\pitchfork&=\{g\in\mathsf{mor}(\mathcal{C})\mathrel| {\forall f\in\mathsf{E}\,.\, f\pitchfork g}\}. \end{align*} $$
  3. (iii) A weak factorization system (w.f.s.) on $\mathcal {C}$ is a pair $\mathcal {L},\mathcal {R}\subseteq \mathsf {mor}(\mathcal {C})$ of classes of morphisms such that $\mathcal {L}^\pitchfork = \mathcal {R}$ , $\mathcal {R}^\pitchfork = \mathcal {L}$ , and every $f:A\to B$ in $\mathcal {C}$ admits a factorization $f=r\circ l$ with $l\in \mathcal {L}$ and $r\in \mathcal {R}$ .

We call $\mathcal {L}$ the left class, and $\mathcal {R}$ the right class of the w.f.s. One can show that left classes of w.f.s.s contain all isomorphisms, and are closed under composition and pushouts, i.e., if

is a pushout in $\mathcal {C}$ and is a left map, then so is m. Dually, right maps are closed under (isomorphisms, composition, and) pullbacks. With this, we have the prerequisites to state Quillen’s small object argument.

Theorem 9.5 (Small object argument for l.f.p. categories).

Let $\mathsf {E}\subseteq \mathsf {mor}(\mathfrak {X})$ be a small set of morphisms in a l.f.p. category. Then $({}^\pitchfork (\mathsf {E}^\pitchfork ),\mathsf {E}^\pitchfork )$ is a w.f.s. on $\mathfrak {X}$ .

Proof. Hovey [Reference Hovey24, Theorem 2.1.14] and Riehl [Reference Riehl39, Theorem 12.2.2] prove stronger statements in a more general setting.

10 Appendix. Generalized algebraic theories

Cartmell’s generalized algebraic theories extend the notion of algebraic theory (which can be ‘single sorted’, such as the theories of groups or rings, or ‘many sorted’, such as the theories of reflexive graphs, chain complexes of abelian groups, or modules over a non-fixed base ring) by introducing dependent sorts (a.k.a. dependent ‘types’), which represent families of sets and can be used e.g., to axiomatize the notion of a (small) category $\mathbb {C}$ as a structure with a set $\mathbb {C}_0$ of objects, and a family $(\mathbb {C}(A,B))_{A,B\in \mathbb {C}_0}$ of $\hom $ -sets (see (10.1) below).

Compared to ordinary algebraic theories, whose specification in terms of sorts, operations, and equations is fairly straightforward, the syntactic description of generalized algebraic theories is complicated by the fact that the domains of definition of operations and dependent sorts, and the codomains of operations, may themselves be compound expressions involving previously declared operations and sorts, whose well-formedness has to be ensured and may even depend on the equations of the theory. This means that we have to state the declarations of sorts and of operations, and the equations (which we collectively refer to as axioms of the theory) in an ordered way, where the later axioms have to be well-formed on the basis of the earlier axioms. This looks as follows in the case of the generalized algebraic theory $\mathbb {T}_{\mathsf {Cat}}$ of categories:

(10.1)

Each line contains one axiom, the first two declaring the sort O of objects and the dependent sort $A(x,y)$ of arrows, the third and the fourth declaring the identity and composition operations, and the last three stating the identity and associativity axioms.

Each axiom is of the form $\Gamma \vdash \mathcal {J}$ , where the $\mathcal {J}$ on the right of the ‘turnstile’ symbol ‘ $\vdash $ ’ is the actual declaration or equation, and the part $\Gamma $ on the left—called ‘context’—specifies the sorts of the variables occurring in $\mathcal {J}$ . Note that the ordering of these ‘variable declarations’ is not arbitrary, since the sorts of variables may themselves contain variables which have to be declared further left in the context. An example is the context $(x\,y\,z:O \,,\, f:A(x,y)\,,\, g:A(y,z))$ of the composition operation, where the sorts of the ‘arrow’ variables $f,g$ depend on the ‘object’ variables $x,y,z$ . See Figure 1 for another example generalized algebraic theory: the generalized algebraic theory of rings graded over monoids.

Figure 1 The generalized algebraic theory of monoid-graded rings

The dependent structure of contexts and the well-formedness requirement of axioms on the basis of other axioms makes the formulation of a general notion of generalized algebraic theory somewhat subtle and technical. We refer to [Reference Cartmell12, Reference Cartmell13] for the authoritative account and to [Reference Pitts36, Section 6] and [Reference Garner17, Section 2] for rigorous and concise summaries. The good news is that to understand specific examples of GATs, these technicalities may safely be ignored: all we have to know is that for every generalized algebraic theory $\mathbb {T}$ there is a notion of ‘derivable judgment’ which includes the axioms and is closed under various rules expressing that the set of derivable judgments is closed under operations like substitutions and weakening, and that equality is reflexive, symmetric, and transitive.

Besides the forms of judgments

$$ \begin{align*} \Gamma&\vdash S &&\text{`}S \text{ is a sort in context } \Gamma\text{'}\\ \Gamma&\vdash t:S &&\text{`}t \text{ is term of sort } S \text{ in context } \Gamma\text{'}\\ \Gamma&\vdash s=t:S &&\text{`}s \text{ and } t \text{ are equal terms in context } \Gamma\text{'} \end{align*} $$

that we have already encountered, we consider the following additional forms of judgments:

$$ \begin{align*} \Gamma&\vdash S = T &&\text{`}S \text{ and } T \text{ are equal sorts in context } \Gamma\text{'}\\ \Gamma&\vdash &&\text{`}\Gamma \text{ is a context'}\\ \Gamma=\Delta&\vdash &&\text{`}\Gamma \text{ and } \Delta \text{ are equal contexts'}\\ \Gamma&\vdash \sigma:\Delta &&\text{`}\sigma \text{ is a substitution from } \Gamma \text{ to } \Delta'\\ \Gamma&\vdash \sigma=\tau:\Delta &&\text{`}\sigma \text{ and } \tau \text{ are equal substitutions from } \Gamma \text{ to } \Delta\text{'} \end{align*} $$

The last two of these introduce a novel kind of expression called substitution: a substitution $\Gamma \vdash \sigma :\Delta $ is a list of terms that is suitable to be simultaneously substituted for the variables in a judgment in context $\Delta $ (in particular $\sigma $ and $\Delta $ must have the same length), to produce a new judgment in context $\Gamma $ , as expressed by the following substitution rule.

(Subst)

Here, $\mathcal {J}[\sigma ]$ is the result of simultaneous substitution of the terms in $\sigma $ for the variables in $\mathcal {J}$ , replacing each occurrence of the ith variable declared in $\Delta $ with the ith term in $\sigma $ . This operation of simultaneous substitution also appears in the derivation rules for substitutions themselves, which we present in the following table together with the rules for the formation of well-formed contexts:

(10.2)

The two rules in the first line say respectively that the empty context $\varnothing $ is a context, and that for any context $\Gamma $ , the empty substitution $()$ is a substitution to the empty context. The first rule in the second line is known as context extension, since it says that we can extend any context by a well-formed sort in this context (here y has to be a ‘fresh’ variable, i.e., a variable not appearing in $\Gamma $ ). The last rule says that a substitution to an extended context is a pair of a substitution into the original context and a term whose sort is a substitution instance of the extending sort—it wouldn’t make sense to ask for t to be of sort A since A is only well-formed in context $\Delta $ , and we want something in context $\Gamma $ .

10.1 The syntactic category of a generalized algebraic theory

Definition 10.1. The syntactic category $\mathcal {C}[\mathbb {T}]$ of a generalized algebraic theory $\mathbb {T}$ is given as follows.

  • The objects are the contexts of $\Gamma $ modulo derivable equality, i.e., contexts $\Gamma $ and $\Delta $ are identified if the judgment $\Gamma =\Delta \vdash $ is derivable.

  • Similarly, morphisms $[\Gamma ]\to [\Delta ]$ from the equivalence class of $\Gamma $ to the equivalence class of $\Delta $ are substitutions $\Gamma \vdash \sigma :\Delta $ modulo derivable equality. (The closure conditions on the set of derivable judgments ensure independence of representatives, e.g., that $\Gamma '\vdash \sigma :\Delta '$ whenever $\Gamma \vdash \sigma :\Delta $ and $\Gamma =\Gamma '\vdash $ and $\Delta =\Delta '\vdash $ .)

  • Composition is given by substitution of representatives, and identities are given by lists of variables:

    1. $[\Delta \vdash \tau :\Theta ]\circ [\Gamma \vdash \sigma :\Delta ] =[\Gamma \;\vdash \;\tau [\sigma ]:\Theta ]$

    2. $\mathrm {id}_\Gamma =(\Gamma \vdash (\vec x):\Gamma )$ where $\vec x$ is the list of variables declared in $\Gamma $ .

The syntactic category $\mathcal {C}[\mathbb {T}]$ of a GAT $\mathbb {T}$ has the structure of a contextual category:

Definition 10.2. A contextual category consists of

  1. (1) a small category $\mathcal {C}$ with a grading function $\deg :\mathcal {C}_0\to \mathbb {N}$ on its objects, and

  2. (2) a presheaf $\mathsf {Ty}:\mathcal {C}^{\mathsf {op}}\to \mathsf {Set}$ , together with

    • an object $\Gamma .A$ and an arrow $p_A:\Gamma .A\to \Gamma $ for each $\Gamma \in \mathcal {C}$ and $A\in \mathsf {Ty}(\Gamma )$ , and

    • an arrow $\sigma .A:\Delta .A\sigma \to \Gamma .A$ for each $\Gamma \in \mathcal {C}$ , $A\in \mathsf {Ty}(\Gamma )$ , and $\sigma :\Delta \to \Gamma $ ,

such that:

  1. (i) The square is a pullback for all $A\in \mathsf {Ty}(\Gamma )$ and $\sigma :\Delta \to \Gamma $ .

  2. (ii) The mappings $(\Gamma ,A)\mapsto \Gamma .A$ and $(\sigma ,A)\mapsto \sigma .A$ constitute a functor $\mathsf {El}(\mathsf {Ty})\to \mathcal {C}$ .

  3. (iii) We have $\deg (\Gamma .A)=\deg (\Gamma )+1$ for all $\Gamma \in \mathcal {C}$ and $A\in \mathsf {Ty}(\Gamma )$ .

  4. (iv) There is a unique object $\ast $ of degree $0$ , and $\ast $ is terminal.

  5. (v) For all $\Gamma $ with $\deg (\Gamma )>0$ there is a unique $(\Gamma _0,A)\in \mathsf {El}(\mathsf {Ty})$ with $\Gamma =\Gamma _0.A$ .

In the case of the syntactic category $\mathcal {C}[\mathbb {T}]$ of a GAT $\mathbb {T}$ , the grading assigns to each context its length, and $\mathsf {Ty}(\Gamma )$ is the set of ‘types in context $\Gamma $ ’, i.e., equivalence classes of type expressions A such that $\Gamma \vdash A$ is derivable, modulo the equivalence relation of derivable equality. The presheaf action is given by substitution. Given a type $A\in \mathsf {Ty}(\Gamma )$ , the extended context $\Gamma .A$ is given by $\Gamma ,y{:}A$ obtained via the context formation rule in (10.2), and $p_A$ is the substitution

$$ \begin{align*} \Gamma,y{:}A\;\vdash\;(\vec x)\;:\;\Gamma \end{align*} $$

where $\vec x$ is the list of variables declared in $\Gamma $ . For $\sigma :\Gamma \to \Delta $ and $A\in \mathsf {Ty}(\Delta )$ , the substitution $\sigma .A$ is given by

$$ \begin{align*} \Gamma,y{:}A[\sigma]\;\vdash\; (\sigma,x)\;:\;\Delta,y{:}A\,. \end{align*} $$

Then the fact that the square in Definition 10.2 10.2 is a pullback follows from the substitution formation rule in (10.2) together with the equality rules for substitutions that can be found in the cited references.

The following describes the relationship between contextual categories and clans.

Proposition 10.3. Every contextual category $\mathcal {C}$ admits a clan structure where the display maps are the composites $p_{A_1}\circ \dots \circ p_{A_n}\circ i$ of a finite sequence of projections and an isomorphism.

11 Appendix. The fat small object argument for clans

11.1 Colimit decomposition formula and pushouts of sieves

This subsection discusses two results that are needed in the proof of the fat small object argument.

Theorem 11.1 (Colimit decomposition formula (CDF)).

Let $\mathbb {C}:\mathbb {J}\to \mathsf {Cat}$ be a small diagram in the $1$ -category of small categories, and let $D:\mathsf {colim}(\mathbb {C})\to \mathfrak {X}$ be a diagram in a category $\mathfrak {X}$ such that

  1. (i) for all $j\in \mathbb {J}$ , the colimit $\mathsf {colim}_{c\in \mathbb {C}_j} D_{\sigma _jc}=\mathsf {colim}(\mathbb {C}_j\xrightarrow {\sigma _j}\mathsf {colim}(\mathbb {C})\stackrel {D}\to \mathfrak {X})$ exists, and

  2. (ii) the iterated colimit $\mathsf {colim}_{j\in \mathbb {J}}\mathsf {colim}_{c\in \mathbb {C}_j} D_{\sigma _jc}$ exists.

Then $\mathsf {colim}_{j\in \mathbb {J}}\mathsf {colim}_{c\in \mathbb {C}_j} D_{\sigma _jc}$ is a colimit of D.

Proof. Peschke and Tholen [Reference Peschke and Tholen35] give three proofs of this under the additional assumption that $\mathfrak {X}$ is cocomplete. The third proof (§5.3, ‘via Fubini’) easily generalizes to the situation where only the necessary colimits are assumed to exist. We sketch a simplified argument here. Let ${\textstyle \int }\mathbb {C}$ be the covariant Grothendieck construction of $\mathbb {C}$ , whose projection ${\textstyle \int }\mathbb {C}\to \mathbb {J}$ is a split opfibration. Then $\mathsf {colim}(\mathbb {C})$ is the ‘joint coidentifier’ of the splitting, i.e., there is a functor $E:{\textstyle \int }\mathbb {C}\to \mathsf {colim}(\mathbb {C})$ such that for every category $\mathfrak {X}$ , the precomposition functor

$$ \begin{align*} (-\circ E):[\mathsf{colim}(\mathbb{C}),\mathfrak{X}]\to [{\textstyle\int} \mathbb{C},\mathfrak{X}] \end{align*} $$

restricts to an isomorphism between the functor category $[\mathsf {colim}(\mathbb {C}),\mathfrak {X}]$ and the full subcategory of $[{\textstyle \int } \mathbb {C},\mathfrak {X}]$ on functors which send the arrows of the splitting to identities. In particular, $(-\circ E)$ is fully faithful and thus it induces an isomorphism

$$ \begin{align*} (\mathsf{colim}(\mathbb{C}))(D,\Delta -)\stackrel{\cong}{\to}({\textstyle\int}\mathbb{C})(D\circ E,\Delta -):\mathfrak{X}\to\mathsf{Set} \end{align*} $$

of co-presheaves of cocones for every diagram $D:\mathsf {colim}(\mathbb {C})\to \mathfrak {X}$ . In other words, E is final, which is the crucial point of the argument, and for which Peschke and Tholen give a lengthier proof in [Reference Peschke and Tholen35, Theorem 5.8].

Finality of E implies that D has a colimit if and only if $D\circ E$ has a colimit, and the existence of the latter follows if successive left Kan extensions along the composite ${\textstyle \int } \mathbb {C}\to \mathbb {J} \to 1$ exist. The first of these can be computed as fiberwise colimit since ${\textstyle \int }\mathbb {C}\to \mathbb {J}$ is a split cofibration [Reference Peschke and Tholen35, Theorem 4.6], which yields the inner term in the double colimit in the proposition.

In the following we use the CDF specifically for pushouts of sieve inclusions of posets. Recall that a sieve (a.k.a. downset or lower set) in a poset P is a subset $U\subseteq P$ satisfying

$$ \begin{align*} x\in U \wedge y\leq x \;\Longrightarrow\; y\in U \end{align*} $$

for all $x,y\in P$ . A monotone map $f:P\to Q$ is called a sieve inclusion if it is order-reflecting and its image $\mathsf {im}(f)=f[P]$ is a sieve in Q. The proof of the following lemma is straightforward, but we state it explicitly since it will play a central role.

Lemma 11.2.

  1. (i) If $f:P\to Q$ and $g:P\to R$ are sieve inclusions of posets, a pushout of f and g in the $1$ -category $\mathsf {Cat}$ of small categories is given by

    where $Q+_{P}R$ is the set-theoretic pushout, ordered by

    $$\begin{align*}\begin{array}{l@{\quad}l}\sigma_1(x)\leq \sigma_1(y) &\text{iff }\; x\leq y\\ \sigma_1(x)\leq \sigma_2(y) &\text{iff }\; \exists z\,.\, x=f(z)\wedge g(z)\leq y \\ \sigma_2(x)\leq \sigma_2(y) &\text{iff }\; x\leq y\\ \sigma_2(x)\leq \sigma_1(y) &\text{iff }\; \exists z\,.\, x=g(z)\wedge f(z)\leq y. \end{array}\end{align*}$$

    In particular, the maps $\sigma _1$ and $\sigma _2$ are also sieve inclusions.

  2. (ii) If U and V are sieves in a poset P then the square

    is a pushout in $\mathsf {Cat}$ , where the sieves are equipped with the induced ordering.

11.2 The fat small object argument

Throughout this subsection let $\mathcal {C}$ be a coclan.

We start by establishing some notation. Given a poset P and an element $x\in P$ , we write ${P}_{\leq x} = \{y\in P\mathrel | y\leq x\}$ for the principal sieve generated by x, and ${P}_{< x} = \{y\in P\mathrel | y< x\}$ for its subset on elements that are strictly smaller than x. If x is a maximal element of P, we write $P{\setminus } x$ for the sub-poset obtained by removing x. Given a diagram $D:P\to \mathcal {C}$ , we write ${D}_{\leq x}$ , ${D}_{<x}$ , and $D{\setminus } x$ for the restrictions of D to ${P}_{\leq x}$ , ${P}_{<x}$ , and $P{\setminus } x$ , respectively. More generally we write $D_U$ for the restriction of D to arbitrary sieves $U\subseteq P$ .

Note that we have ${P}_{\leq x} = {P}_{<x} \star 1$ , where $\star $ is the join or ordinal sum, thus diagrams $D : {P}_{\leq x}\to \mathcal {C}$ are in correspondence with cocones on ${D}_{<x}$ with vertex $D_x$ , and with arrows $\mathsf {colim}({D}_{<x})\to D_x$ whenever the colimit exists.

Definition 11.3. A finite $\mathcal {C}$ -complex is a pair ${(P,D)}$ of a finite poset P and a diagram $D:P\to \mathcal {C}$ , such that:

  1. (i) $\mathsf {colim}({D}_{<x})$ exists for all $x\in P$ , and the induced $\alpha _x : \mathsf {colim}(D_{<x}) \to D_x$ is codisplay.

  2. (ii) For $x,y\in P$ we have $x=y$ whenever $P_{<x}=P_{<y}$ , $D_x=D_y$ , and $\alpha _x=\alpha _y$ .

An inclusion of finite $\mathcal {C}$ -complexes $f:{(P,D)}\to {(Q,E)}$ is a sieve inclusion $f:P\to Q$ such that $D=E\circ f$ . We write $\mathsf {FC}(\mathcal {C})$ for the category of finite $\mathcal {C}$ -complexes and inclusions.

Remark 11.4. We view a finite $\mathcal {C}$ -complex as a construction of an object by a finite (though not necessarily linearly ordered) number of ‘cell attachments’, represented by the codisplay maps . Condition (ii) should be read as saying that ‘every cell can only be attached once at the same stage’. This is needed in Lemma 11.7 to show that $\mathsf {FC}(\mathcal {C})$ is a preorder.

Lemma 11.5.

  1. (i) The colimit $\mathsf {colim}(D)$ exists for every finite $\mathcal {C}$ -complex ${(P,D)}$ .

  2. (ii) The induced functor

    (11.1) $$ \begin{align} \mathsf{Colim} : \mathsf{FC}(\mathcal{C})\to\mathcal{C} \end{align} $$

    sends inclusions of finite $\mathcal {C}$ -complexes to codisplay maps.

Proof. The first claim is shown by induction on $\vert P\vert $ . For empty P the statement is true since coclans have initial objects. For $\vert P\vert =n+1$ assume that $x\in P$ is a maximal element. Then the square

is a pushout in $\mathsf {Cat}$ by Lemma 11.2, which by the colimit decomposition formula 11.1 means that the pushout of the span

(11.2)

—which exists since the left arrow is a codisplay map by 11.3(i)—is a colimit of D in $\mathcal {C}$ .

For the second claim let $f:(E,Q)\to (D,P)$ be an inclusion of finite $\mathcal {C}$ -complexes. Since every inclusion of finite $\mathcal {C}$ -complexes can be decomposed into ‘atomic’ inclusions with $\vert P{\setminus } f[Q]\vert =1$ , we may assume without loss of generality that $Q=P{\setminus } x$ for some maximal $x\in P$ . Then the image of f under $\mathsf {Colim}$ is the right dashed arrow in (11.2), which is codisplay since codisplay maps are stable under pushout.

Remark 11.6. Lemma 11.5 implies that the assumption ‘ $\mathsf {colim}({D}_{<x})$ exists’ in Definition 11.3(i) is redundant, since the colimits in question are colimits of finite subcomplexes.

Lemma 11.7. The category $\mathsf {FC}(\mathcal {C})$ is an essentially small preorder with finite joins.

Proof. $\mathsf {FC}(\mathcal {C})$ is essentially small as a collection of finite diagrams in a small category. To see that it is a preorder let $f,g:{(P,D)}\to {(Q,E)}$ be inclusions of finite $\mathcal {C}$ -complexes. We show that $f(x) = g(x)$ by well-founded induction on $x\in P$ . Let $x\in P$ and assume that $f(y)=g(y)$ for all $y<x$ . Then since f and g are sieve inclusions we have ${Q}_{<{f(x)}} = {Q}_{<{g(x)}}$ and since $E\,f=D=E\,g$ we have the equalities

$$ \begin{align*} \left(E_y\to E_{f(x)}\right)_{y<f(x)} =\left(D_y\to D_{x}\right)_{y<x} =\left(E_y\to E_{g(x)}\right)_{y<g(x)} \end{align*} $$

of cocones, whence $f(x)=g(x)$ by Definition 11.3(ii).

It remains to show that $\mathsf {FC}(\mathcal {C})$ has finite suprema. The empty complex is clearly initial. We show that a supremum of ${(P,D)}$ and ${(Q,E)}$ exists by induction on $\vert P\vert $ . The empty case is trivial, so assume that P is inhabited and let x be a maximal element. Let $(R,F)$ be a supremum of $(P{\setminus } x, D{\setminus } x)$ and ${(Q,E)}$ , with inclusion maps $f:(P{\setminus } x, D{\setminus } x)\to (R,F)$ and $g:{(Q,E)}\longrightarrow (R,F)$ . If there exists a $y\in R$ such that ${R}_{<y} = f[{P}_{<x}]$ and $\left (D_z\to D_x\right )_{z<x} = \left (R_{f(z)}\to R_y\right )_{z<x}$ then ‘the cell-attachment corresponding to x is already contained in $(R,F)$ ’, i.e., f extends to an inclusion $f':{(P,D)}\to (R,F)$ of finite complexes with $f'(x)=y$ , whence $(R,F)$ is a supremum of ${(P,D)}$ and ${(Q,E)}$ .

If no such y exists then a supremum of ${(P,D)}$ and $(R,F)$ is given by $(P+_{P{\setminus } x}R,[D,F])$ , as in the pushout diagram

constructed as in Lemma 11.2.

Theorem 11.8. The object $\textstyle C = \mathsf {colim}_{{(P,D)}\in \mathsf {FC}(\mathcal {C})}H(\mathsf {colim}(D))$ is a $0$ -extension in $\mathcal {C}^{\mathsf {op}}\!\text {-}\mathsf {Alg}$ and $C\to 1$ is full.

Proof. To see that $C\to 1$ is full, let be codisplay in $\mathcal {C}$ and let $f:H(I)\to C$ . Since $\mathsf {FC}(\mathcal {C})$ is filtered and $H(I)$ is compact, f factors through a colimit inclusion as

$$ \begin{align*} f\;=\;\bigl(H(I)\xrightarrow{H(g)}H(\mathsf{colim}(D))\xrightarrow{\sigma_{(P,D)}}C\bigr) \end{align*} $$

for some finite complex ${(P,D)}$ . We form the pushout

and extend the finite complex ${(P,D)}$ to $(P\star 1,D\star k)$ where $P\star 1$ is the join of P and $1$ , and $D\star k:P\star 1 \to \mathcal {C}$ is the diagram extending D with the cell-attachment . Then $K=\mathsf {colim}(D\star k)$ and k is the image of the inclusion ${(P,D)}\hookrightarrow (P\star 1,D\star k)$ of finite complexes under the colimit functor (11.1), thus we obtain an extension of f along $H(e)$ as in the following diagram.

To see that C is a $0$ -extension, consider a full map $f:Y\twoheadrightarrow X$ in $\mathcal {C}^{\mathsf {op}}\!\text {-}\mathsf {Alg}$ and an arrow $h:C\to X$ . To show that h lifts along f we construct a lift of the cocone

$$ \begin{align*} \left(H(\mathsf{colim}(D))\xrightarrow{\sigma_{(P,D)}}C\xrightarrow{h}X\right)_{{(P,D)}\in\mathsf{FC}(\mathcal{C})} \end{align*} $$

by induction over the preorder $\mathsf {FC}(\mathcal {C})$ which is well-founded since every finite $\mathcal {C}$ -complex has only finitely many subcomplexes. Given a finite complex $(D,P)$ it is sufficient to exhibit a lift $\kappa _{(P,D)}:H(\mathsf {colim} (D))\to Y$ satisfying

(11.3) $$ \begin{align} \quad&f\circ\kappa_{(P,D)}=h\circ\sigma_{(P,D)}&&\text{and} \end{align} $$
(11.4) $$ \begin{align} \quad&\kappa_{(P,D)}\circ H(\mathsf{colim} j)= \kappa_{(Q,E)} &&\text{for all subcomplexes }j:{(Q,E)}\to{(P,D)}, \end{align} $$

where we may assume that the $\kappa _{(Q,E)}$ satisfy the analogous equations by induction hypothesis. We distinguish two cases:

1. If P has a greatest element x then we can take $\kappa _{(P,D)}$ to be a lift in the square

whose left side is an extension by Lemma 11.5 and whose right side is full by assumption. Then (11.3) holds by construction, and (11.4) holds for all subcomplexes since it holds for the largest strict subcomplex $({P}_{<x},{D}_{<x})\to {(P,D)}$ .

2. If P doesn’t have a greatest element we can write $P=U\cup V$ as union of two strict sub-sieves, whence we have pushouts

by Lemma 11.2 and the CDF. This means that condition (11.4) forces us to define $\kappa _{(P,D)}$ to be the unique arrow fitting into

(11.5)

where for the remainder of the proof we write $\phi ^X_W:H(\mathsf {colim}(D_X))\to H(\mathsf {colim}(D_W))$ for the canonical arrows induced by successive sieve inclusions $X\subseteq W\subseteq P$ . Using the fact that the $\phi ^U_P$ and $\phi ^V_P$ are jointly epic it is easy to see that the $\kappa _{(P,D)}$ defined in this way satisfies condition (11.3), and it remains to show that (11.4) is satisfied for arbitrary sieves $W\subseteq P$ , i.e., $\kappa _{(P,D)}\circ \phi ^W_P = \kappa _{(W,D_W)}:H(\mathsf {colim}(D_W))\to Y$ . Since

is a pushout it is enough to verify this equation after precomposing with $\phi ^{U\cap W}_W$ and $\phi ^{V\cap W}_W$ . We have

$$ \begin{align*} \kappa_{(P,D)}\circ\phi^W_P\circ\phi^{U\cap W}_W &=\kappa_{(P,D)}\circ\phi^U_P\circ\phi^{U\cap W}_U &&\text{by functoriality}\\ &=\kappa_{(U,D_U)}\circ\phi^{U\cap W}_U &&\text{by (11.5)}\\ &= \kappa_{(U\cap W,D_{U\cap W})} && \text{by (11.4)}\\ &=\kappa_{(W,D_W)}\circ\phi^{U\cap W}_W&& \text{by (11.4)} \end{align*} $$

and the case with $\phi ^{V\cap W}_W$ is analogous.

Corollary 11.9. For any clan $\mathcal {T}$ , the $0$ -extensions in $\mathcal {T}\!\text {-}\mathsf {Mod}$ are flat.

Proof. Let $E\in \mathcal {T}\!\text {-}\mathsf {Mod}$ be a $0$ -extension. By applying Theorem 11.8 in $\mathcal {T}\!\text {-}\mathsf {Mod}/E$ (using Proposition 3.6), we obtain a full map $f:F\twoheadrightarrow E$ where F is a $0$ -extension and f is a filtered colimit of arrows $H(\Gamma )\to E$ in $\mathcal {T}\!\text {-}\mathsf {Mod}/A$ . Since $\mathcal {T}\!\text {-}\mathsf {Mod}/A\to \mathcal {T}\!\text {-}\mathsf {Mod}$ creates colimits this means that F is a filtered colimit of representable models in $\mathcal {T}\!\text {-}\mathsf {Mod}$ , and therefore flat (Lemma 5.4). Since f is a full map into a $0$ -extension it has a section, thus E is a retract of F and therefore flat as well.

Acknowledgments

Thanks to Steve Awodey, Andrew Swan, Fernando Larrain, and especially to Mathieu Anel for many discussions on the topic of this paper. Thanks to Reid Barton for telling me about the fat small object argument. Thanks to Benjamin Steinberg for locating the reference [Reference Head18] for me after I asked about it on MathOverflowFootnote 8 . Thanks to Kian Cho for feedback on the manuscript and catching many typos.

Funding

This material is based upon work supported by the Air Force Office of Scientific Research under award number FA9550-20-1-0305, and the Army Research Office under award number W911NF-21-1-0121.

Footnotes

1 Strictly speaking we have to choose a small category which is equivalent to $\mathsf {comp}(\mathfrak {X})^{\mathsf {op}}$ , since the latter is only essentially small in general.

2 Strictly speaking, Cartmell does not “define” the models of $\mathbb {T}\text {-}\mathsf {Mod}$ to be $\mathsf {ConFunc}(\mathcal {C}[\mathbb {T}],\mathsf {Fam})$ but ‘asserts’ that the categories are equivalent [Reference Cartmell12, p. 2.77]. But since he refrains from giving a formal definition of $\mathbb {T}\text {-}\mathsf {Mod}$ —writing only “It should be quite clear what we mean by model” [Reference Cartmell12, p. 1.45]—we take the assertion as a definition.

3 Following Lurie [Reference Lurie29] we use the shorter term “compact” instead of the more traditional “finitely presented” for objects whose covariant representable functor preserves filtered colimits.

4 Meaning that the comparison map to the actual pullback is a surjection.

5 A sketch is called “realized” if all its designated cones are limiting.

6 https://mathoverflow.net/q/403653

7 See also [Reference Adamek1, Theorem 5.5] for an earlier version of this using slightly different notions

References

Adamek, J., On quasivarieties and varieties as categories . Studia Logica:An International Journal for Symbolic Logic , vol. 78 (2004), no. 1-2, pp. 733.CrossRefGoogle Scholar
Adámek, J. and Rosicky, J., Locally Presentable and Accessible Categories , London Mathematical Society Lecture Note Series, 189, Cambridge University Press, Cambridge, 1994.CrossRefGoogle Scholar
Adámek, J., Rosický, J., and Vitale, E.M., Algebraic Theories: A Categorical Introduction to General Algebra , Cambridge Tracts in Mathematics, 184, Cambridge University Press, Cambridge, 2010.CrossRefGoogle Scholar
Ahrens, B., North, P., Shulman, M., and Tsementzis, D., A higher structure identity principle , Proceedings of the 2020 35th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2020 , Association for Computing Machinery, New York, 2020, pp. 5366.Google Scholar
Ahrens, B., North, P., Shulman, M., and Tsementzis, D., The univalence principle, arXiv preprint, 2021.Google Scholar
Baues, H.J., Algebraic Homotopy , Cambridge Studies in Advanced Mathematics, vol. 15, Cambridge University Press, Cambridge, 1989.CrossRefGoogle Scholar
Bergner, J., A survey of $(\infty, 1)$ -categories, Towards Higher Categories, IMA Volumes in Mathematics and its Application , vol. 152, Springer, New York, 2010, pp. 6983.CrossRefGoogle Scholar
Borceux, F., Handbook of categorical algebra. 1 , Encyclopedia of Mathematics and its Applications , vol. 50, Cambridge University Press, Cambridge, 1994.Google Scholar
Bourke, J. and Garner, R., Two-dimensional regularity and exactness . Journal of Pure and Applied Algebra , vol. 218 (2014), no. 7, pp. 13461371.CrossRefGoogle Scholar
Brandenburg, M., Large limit sketches and topological space objects, arXiv Preprint, 2021, arXiv:2106.11115.Google Scholar
Carboni, A. and Vitale, E.M., Regular and exact completions . Journal of Pure and Applied Algebra , vol. 125 (1998), no. 1-3, pp. 79116.CrossRefGoogle Scholar
Cartmell, J., Generalised Algebraic Theories and Contextual Categories , Ph.D. thesis, Oxford University, 1978. https://ncatlab.org/nlab/files/Cartmell-Thesis.pdf.Google Scholar
Cartmell, J., Generalised algebraic theories and contextual categories . Annals of Pure and Applied Logic , vol. 32 (1986), pp. 209243.CrossRefGoogle Scholar
Cesnavicius, K. and Scholze, P., Purity for flat cohomology. Annals of Mathematics, vol. 199 (2024), no. 1, pp. 51180.Google Scholar
Freyd, P., Aspects of topoi . Bulletin of the Australian Mathematical Society , vol. 7 (1972), no. 1, pp. 176.CrossRefGoogle Scholar
Gabriel, P. and Ulmer, F., Lokal präsentierbare kategorien , Lecture Notes in Mathematics, 221, Springer-Verlag, Cham, 1971.CrossRefGoogle Scholar
Garner, R., Combinatorial structure of type dependency . Journal of Pure and Applied Algebra , vol. 219 (2015), no. 6, pp. 18851914.CrossRefGoogle Scholar
Head, T., Expanded subalphabets in the theories of languages and semigroups . International Journal of Computer Mathematics. Section A. Programming Theory and Methods. Section B. Computational Methods , vol. 12, (1982/83), no. 2, pp. 113123.Google Scholar
Henry, S., Algebraic models of homotopy types and the homotopy hypothesis, Preprint, 2016, arXiv:1609.04622.Google Scholar
Higman, G. and Neumann, B. H., Groups as groupoids with one law . Publicationes Mathematicae Debrecen , vol. 2 (1952), pp. 215221.CrossRefGoogle Scholar
Hirschhorn, P.S., Overcategories and undercategories of cofibrantly generated model categories . Journal of Homotopy and Related Structures , vol. 16 (2021), no. 4, pp. 753768.CrossRefGoogle Scholar
Hirschowitz, A. and Simpson, C., Descente pour les n-champs (descent for n-stacks), arXiv preprint, 1998.Google Scholar
Hofmann, M., Extensional constructs in intensional type theory, CPHC/BCS Distinguished Dissertations , Springer-Verlag London, London, 1997.CrossRefGoogle Scholar
Hovey, M., Model Categories , Mathematical Surveys and Monographs, vol. 63, American Mathematical Society, Providence, RI, 1999.Google Scholar
Johnstone, P.T., Sketches of an Elephant: a Topos Theory Compendium , vol. 2, Oxford Logic Guides, vol. 44, Oxford University Press, Oxford, 2002.Google Scholar
Joyal, A., Notes on clans and tribes, Preprint, 2017, arXiv:1710.10238.Google Scholar
Lawvere, F.W., Functorial semantics of algebraic theories . Proceedings of the National Academy of Sciences of the United States of America , vol. 50 (1963), no. 5, pp. 869.CrossRefGoogle ScholarPubMed
Subramaniam, C. L., From dependent type theory to higher algebraic structures, Preprint, 2021.Google Scholar
Lurie, J., Higher Topos Theory , vol. 170, Princeton University Press, Princeton, NJ, 2009.CrossRefGoogle Scholar
Lurie, J., Higher algebra, Unpublished, 2017, Available at https://www.math.ias.edu/~lurie/.Google Scholar
Lane, S. Mac, Categories for the Working Mathematician , second ed, Graduate Texts in Mathematics, vol. 5, Springer-Verlag, New York, 1998.Google Scholar
Makkai, M., First order logic with dependent sorts, with applications to category theory, Preprint, 1995.Google Scholar
Makkai, M., Rosicky, J., and Vokrinek, L., On a fat small object argument . Advances in Mathematics , vol. 254 (2014), pp. 4968.CrossRefGoogle Scholar
Palmgren, E. and Vickers, S. J., Partial horn logic and Cartesian categories . Annals of Pure and Applied Logic , vol. 145 (2007), no. 3, pp. 314353.CrossRefGoogle Scholar
Peschke, G. and Tholen, W., Diagrams, fibrations, and the decomposition of colimits, arXiv Preprint, 2020, arXiv:2006.10890.Google Scholar
Pitts, A.M., Categorical Logic, Handbook of Logic in Computer Science , vol. 5, Oxford Univ. Press, New York, 2000, pp. 39128.Google Scholar
Pultr, A., The right adjoints into the categories of relational systems , Reports of the Midwest Category Seminar, IV , Lecture Notes in Mathematics, vol. 137, Springer, Berlin, 1970, pp. 100113.CrossRefGoogle Scholar
Rezk, C., A model for the homotopy theory of homotopy theory . Transactions of the American Mathematical Society , vol. 353 (2001), no. 3, pp. 9731007.CrossRefGoogle Scholar
Riehl, E., Categorical Homotopy Theory , New mathematical monographs, vol. 24, Cambridge University Press, Cambridge, 2014.CrossRefGoogle Scholar
Rosický, J., On homotopy varieties . Advances in Mathematics , vol. 214 (2007), no. 2, pp. 525550.CrossRefGoogle Scholar
Taylor, P., Recursive Domains, Indexed Category Theory and Polymorphism , Ph.D. thesis, University of Cambridge, 1987.Google Scholar
Taylor, P., Practical Foundations of Mathematics , Cambridge Studies in Advanced Mathematics, 59, Cambridge University Press, Cambridge, 1999.Google Scholar
The Univalent Foundations Program, Homotopy Type Theory: Univalent Foundations of Mathematics , Institute for Advanced Study, 2013, https://homotopytypetheory.org/book.Google Scholar
Figure 0

Figure 1 The generalized algebraic theory of monoid-graded rings