1. Introduction
In the effective topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
(Hyland Reference Hyland, Troelstra and van Dalen1982) all maps
$f : \mathbb{N}\rightarrow \mathbb{N}$
are computable. Even more remarkably,
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
contains a small, full subcategory
$\textsf{Mod}$
that is internally complete but is not a poset (Hyland Reference Hyland1988; Hyland et al. Reference Hyland, Robinson and Rosolini1990), a combination that is not possible in the classical logic of
$\textsf{Set}$
, by a result of Freyd (Reference Freyd1964). The elementary topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
is not Grothendieck. Indeed, it is not even cocomplete; for example, it lacks the countable coproduct
$\coprod_{n\in \mathbb{N}}1_n$
.
A higher-dimensional version of
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
should provide an example of a non-Grothendieck elementary higher-topos, a concept under current investigation (Shulman Reference Shulman2018; Rasekh Reference Rasekh2022; Anel Reference Anel2025). One’s first thought might be to simply take simplicial objects in
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
, perhaps equipped with the Kan–Quillen model structure; but this fails for several reasons:
-
(1) Some aspects of the usual Kan-Quillen model structure on simplicial sets
$\textsf{Set}^{{\Delta }^{\textrm{op}}}$
rely on the classical logic of
$\textsf{Set}$
, for example, for exponentials
$Y^X$
of Kan complexes to again be Kan (as was already determined by Stekelenburg (Reference Stekelenburg2016)), see Bezem and Coquand (Reference Bezem and Coquand2015); Bezem et al. (Reference Bezem, Coquand, Parmann and Altenkirch2015). -
(2) But the constructive version of the Kan-Quillen model structure on simplicial sets
$\textsf{Set}^{{\Delta }^{\textrm{op}}}$
, given by Henry (Reference Henry2020), Gambino and Henry (Reference Gambino and Henry2022) and Gambino et al. (Reference Gambino, Sattler and Szumiło2022), does not directly model the
$\Pi$
-types without some further modifications, since not all objects are cofibrant. -
(3) Using one of the cubical models of type theory, such as Cohen et al. (Reference Cohen, Coquand, Huber, Mörtberg and Uustalu2018), Angiuli et al. (Reference Angiuli, Brunerie, Coquand, Harper, Hou (Favonia) and Licata2022), one can produce constructive versions of the Kan-Quillen model structure that do model
$\Pi$
-types, as in Awodey (Reference Awodey2025) and Awodey et al. (Reference Awodey, Cavallo, Coquand, Riehl and Sattler2024), but there is still a more fundamental problem:
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
is already an exact completion, and
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f^{{\Delta }^{\textrm{op}}}$
and
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f^{{\Box }^{\textrm{op}}}$
are, in some sense, higher exact completions of that; so we should not expect the 1-topos of 0-types in, say, the higher-topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f^{{\Box }^{\textrm{op}}}$
(if it is one) to be equivalent to
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
itself. And indeed, it has been shown that the category of
$0$
-types in the model in cubical assemblies of Awodey et al. (Reference Awodey, Frey and Speight2018) and; Uemura (Reference Uemura, Dybjer, Espirito Santo and Pinto2019) is not equivalent to
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
, as follows from the failure there of Church’s thesis (Swan and Uemura Reference Swan and Uemura2021).
Toward solving these problems, we first review how
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
is determined as the (
$1$
-)exact completion of the left exact category
$\mathcal{P}$
of partitioned assemblies. We then use that analysis to construct a (putative)
$(2,1)$
-exact completion
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f_2$
of
$\mathcal{P}$
that includes the 1-exact completion
${\mathcal{P}}_{\textsf{ex/lex}} = \mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
as the subcategory of 0-types, which will then enjoy the same internal logic as the latter. We remark that our meta-theory is classical, like that of the usual effective 1-topos, so that for example, the category of 0-types in the standard model of type theory in Kan simplicial sets (Kapulkin and LeFanu Lumsdaine Reference Kapulkin and LeFanu Lumsdaine2021) is (equivalent to) the category of sets, not that of setoids as in Shulman (Reference Shulman2023).
2. The effective 1-topos
Recall from Robinson and Rosolini (Reference Robinson and Rosolini1990), the construction of the effective topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
as an exact completion of the finitely complete category
$\mathcal{P}$
of partitioned assemblies. Recall also that this construction can be factored in two steps (Carboni Reference Carboni1995). First, the category of assemblies
$\textsf{Asm}$
is the regular completion of
$\mathcal{P}$
(preserving finite limits), and then the category
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
is the exact completion (preserving finite limits and regular epimorphisms) of the regular category
$\textsf{Asm}$
:
Let us consider each step, regarded as a subcategory of the (small) colimit completion, the category of presheaves
$\widehat {\mathcal{P}} = \textsf{Set}^{\mathcal{P}^{\textsf{op}}}$
(Hu and Tholen Reference Hu and Tholen1996):
-
•
$\mathcal{P} \hookrightarrow {\mathcal{P}}_{\textsf{reg/lex}} = \textsf{Asm} \hookrightarrow \widehat {\mathcal{P}}$
adds all those presheaves
$P/K$
that are regular images (“kernel quotients”) of maps
$P\rightarrow Q$
in
$\mathcal{P}$
:
-
•
$\textsf{Asm} \hookrightarrow {\textsf{Asm}}_{\textsf{ex/reg}} = \mathcal{E}{\kern0.1pt}f{\kern0.1pt}f \hookrightarrow \widehat {\mathcal{P}}$
consists of those presheaves
$A/E$
that are quotients of equivalence relations
$E\rightrightarrows A$
in
$\textsf{Asm}$
:
Now, let us refine the factorization (1), namely
by interpolating the following intermediate full subcategories:

-
•
$\textsf{IndProj}$
consists of the indecomposable projectives: projective objects
$P \in \widehat {\mathcal{P}}$
such that
$0 \ncong P$
, and
$X+Y \cong P$
implies
$X\cong P$
or
$Y\cong P$
. These are just the representable objects
$\textsf{y}{P}$
for
$P\in \mathcal{P}$
, so the first step above is an equivalence of categories. -
• A presheaf
$K$
is called (super-)compact (Johnstone, Reference Johnstone2002, Remark D3.3.10) if every jointly epimorphic family
$(E_i \rightarrow K)_i$
contains a single epimorphism
$E_k \twoheadrightarrow K$
. It follows that these are the objects
$K$
that have a cover
$\textsf{y}{P} \twoheadrightarrow K$
by a representable. Let
$\textsf{Cpt}$
be the full subcategory of compact presheaves (dropping the “super-” for the remainder of this paper). -
•
$ \textsf{Coh}$
consists of the (super-)coherent presheaves: those that are both compact and have a compact diagonal map
$\Delta _C : C \rightarrow C \times C$
, where in general, a map
$f : Y\rightarrow X$
is said to be (super-)compact if for every compact object
$K$
and map
$K\rightarrow X$
, the pullback
$K' = K\times _X Y$
is a compact object:
Equivalently, every pullback over a representable
$\textsf{y}{P}$
is compact. Note that this is actually stronger than the usual notion of coherence due to our convention on the notion of (super-)compactness. -
• By
$\textsf{Sh}(\textsf{Asm})$
, we mean the sheaves on the category
$\textsf{Asm}$
of assemblies for the regular epimorphism topology, in which the covering sieves are those that contain a regular epimorphism. Since
$\textsf{Asm}$
is the regular completion of
$\mathcal{P}$
, it is easy to see that the sheaves on these are just the presheaves on the latter,
$\widehat {\mathcal{P}} \cong \textsf{Sh}(\textsf{Asm}) \hookrightarrow \widehat {\textsf{Asm}}$
. It will nonetheless be convenient to have the description of
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
as a subcategory of
$\textsf{Sh}(\textsf{Asm})$
.
Proposition 1 (Lack Reference Lack1999). For a regular category
$\mathcal{R}$
, the exact completion (preserving regular epis) can be described as the full subcategory of sheaves for the regular topology,
on those objects
$E$
with an exact presentation by representables: thus those for which there is a kernel-quotient diagram
in which
$R, R'\in \mathcal{R}$
, and
$\textsf{y}{R'} \rightrightarrows \textsf{y}{R}$
is the kernel pair of
$\textsf{y}{R} \twoheadrightarrow E$
, and
$\textsf{y}{R} \twoheadrightarrow E$
is the coequalizer of
$\textsf{y}{R'} \rightrightarrows \textsf{y}{R}$
.
Proposition 2. The category
$\textsf{Coh}$
is equivalent to
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
.
Proof.
The coherent presheaves are those
$C$
that are compact
$\textsf{y}{P} \twoheadrightarrow C$
and have a compact diagonal
$\Delta _C : C\rightarrow C\times C$
. Such a presheaf, therefore, has an exact presentation
$K \rightrightarrows \textsf{y}{P} \twoheadrightarrow C$
by the objects
$K$
and
$\textsf{y}{P}$
, each of which is an assembly:
$\textsf{y}{P}$
because it is a partitioned assembly, and
$K$
because it is compact, and therefore has a representable cover
$\textsf{y}{Q} \twoheadrightarrow K$
, and also has a mono
$K \rightarrowtail \textsf{y}{P} \times \textsf{y}{P} \cong \textsf{y}{(P \times P)}$
. Conversely, if an object
$C$
has an exact presentation
$A \rightrightarrows B \twoheadrightarrow C$
by assemblies
$A$
and
$B$
, then it is compact (because
$B$
is compact). Let us show that
$\Delta _C : C\rightarrow C\times C$
is compact. We have a pullback square:

and if
$K$
is any compact object and
$c : K \rightarrow C \times C$
, then we need to show that (the domain of)
$c^*\Delta$
is a compact object. Since
$K$
is compact, there is cover
$k : \textsf{y}{P} \twoheadrightarrow K$
and since
$\textsf{y}{P}$
is projective,
$ck: \textsf{y}{P} \rightarrow C \times C$
lifts across the epi
$B\times B \twoheadrightarrow C \times C$
via, say,
$\ell : \textsf{y}{P} \rightarrow B \times B$
.

It follows that
$c^*\Delta$
is covered by
$\ell ^*A$
. But since
$\textsf{y}{P}, A, B$
are all assemblies, so is the pullback
$\ell ^*A$
, which is, therefore, covered by a representable, and so is compact. Therefore,
$c^*\Delta$
is also compact.
Thus, the coherent presheaves are equivalently described as those objects in
$\widehat {\mathcal{P}}$
with an exact presentation by assemblies. But these are the representable sheaves in
$\textsf{Sh}(\mathcal{R}, \textsf{reg})$
when
$\mathcal{R} = \textsf{Asm}$
. By the foregoing Proposition, this is
${\textsf{Asm}}_{\textsf{ex/reg}} \cong \mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
.
Summarizing this section, we have the situation:

We can recover the familiar description of
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
as the exact completion of
$\mathcal{P}$
described in terms of pseudo-equivalence relations in
$\mathcal{P}$
(as in Carboni (Reference Carboni1995)), from the above specification of coherent objects. Indeed, if
$C\in \widehat {\mathcal{P}}$
is coherent, then because it is compact, there is a representable cover
$\textsf{y}{P} \twoheadrightarrow C$
, the kernel
$K \rightrightarrows \textsf{y}{P}$
of which has
$K$
compact (since the diagonal of
$C$
is compact), and therefore,
$K$
is in turn covered by a representable
$\textsf{y}{Q} \twoheadrightarrow K$
. Since
$K \rightrightarrows \textsf{y}{P}$
is an (actual) equivalence relation and
$\textsf{y}{Q}$
is projective, it is easy to see that the resulting graph
$\textsf{y}{Q} \rightrightarrows \textsf{y}{P}$
is a pseudo-equivalence relation in
$\widehat {\mathcal{P}}$
, and since it is in the image of the Yoneda embedding, its preimage
$Q \rightrightarrows P$
is a pseudo-equivalence relation in
$\mathcal{P}$
.
3. Coherent groupoids
In order to obtain a 2-topos containing the category
$ \textsf{Coh}\textsf{Sh}(\textsf{Asm})$
of coherent sheaves as the 0-types, we shall take the internal groupoids in
$\textsf{Sh}(\textsf{Asm}) \simeq \widehat {\mathcal{P}}$
, generalizing the equivalence relations of Proposition 1. We then cut down to the coherent groupoids, so that the
$0$
-types are the coherent sheaves, and therefore equivalent to
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
.
In other words, over the category
$\widehat {\mathcal{P}}$
of presheaves, we shall have a pullback diagram of full subcategories:

We shall make frequent use of the fact that internal groupoids in the category
$\widehat {\mathcal{P}}$
are the same thing as presheaves of groupoids,
To fix terminology, by a (weak) equivalence of such groupoids
$e : \mathbb{F} \rightarrow \mathbb{G}$
we shall mean an internal functor that is essentially surjective on objects and fully faithful – internal conditions which can also be checked objectwise in
$P\in \mathcal{P}$
. A strong (or homotopy) equivalence is a functor that has a quasi-inverse – which of course need not obtain just because each
$e_P : \mathbb{F}(P) \rightarrow \mathbb{G}(P$
) has one.
Lemma 3. Given a groupoid
$\mathbb{G}=(G_1\rightrightarrows G_0)$
in
$\widehat {\mathcal{P}}$
, a functor
$\mathbb{G}\rightarrow \underline {X}$
into a discrete groupoid
$\underline {X} = (\Delta : X\rightarrow X\times X)$
is an equivalence if, and only if, the map
$G_0\twoheadrightarrow X$
is epic and
$G_1\rightrightarrows G_0$
is its kernel pair. In that case,
$\mathbb{G}$
is an equivalence relation, and
is its quotient. A functor
$\mathbb{G}\rightarrow \underline {X}$
is moreover a strong equivalence if, and only if, in addition, the map
$G_0\twoheadrightarrow X$
has a section.
Proof.
The first claim is just a rewording of the definition: an essentially surjective on objects functor
$e: \mathbb{G}\rightarrow \underline {X}$
into a discrete groupoid
$\underline {X}$
is surjective on objects, and it is fully faithful precisely when the square below is a pullback.

If
$e$
is a strong equivalence, then it clearly has a section. Conversely, a section
$s$
becomes a weak inverse using the fact that the square above is a pullback.
Lemma 4. Consider the two commutative diagrams of groupoids below, where
$\tilde {\Delta } = \langle \textsf{dom}, \textsf{cod} \rangle : {\mathbb{G}}^{\downarrow } \rightarrow \mathbb{G}\times \mathbb{G}$
is the canonical functor from the path-groupoid (the arrow category) and the lower square in the right-hand diagram is a pullback. The square on the left is a pseudo-pullback if the indicated comparison functor
$k$
is a strong equivalence.

Proof.
If
$k$
is a strong equivalence, then
$\mathbb{A}\rightarrow \mathbb{B}$
is a pseudo-pullback of
$\tilde {\Delta }$
. But since
$\mathbb{G}\simeq {\mathbb{G}}^{\downarrow }$
is a strong equivalence over
$\mathbb{G}\times \mathbb{G}$
, it is also a pseudo-pullback of
$\Delta$
.
Lemma 5. For a groupoid
$\mathbb{G}$
and object
$X \in \widehat {\mathcal{P}}$
, a pseudo-pullback as on the left below may be computed as a strict pullback as on the right,

where
${\mathbb{X}}'$
may be taken to be the discrete groupoid
${\mathbb{X}}' = \underline {X'}$
.
When
$\mathbb{G} \times _{\mathbb{F}} \mathbb{G}$
is a pseudo-pullback of a homomorphism
$f : \mathbb{G}\rightarrow \mathbb{F}$
against itself, and
$\Delta : \mathbb{G} \rightarrow \mathbb{G} \times _{\mathbb{F}}\mathbb{G}$
is the diagonal, then the pseudo-pullback
$\mathbb{X}'$
over a discrete groupoid
$\underline {X}$
,

is equivalent to a discrete groupoid
$\mathbb{X}'\simeq \underline {X'}$
, and may again be computed as an associated strict pullback. Note that, in particular,
$\pi _0\underline {X} \cong X$
for any discrete groupoid
$\underline {X}$
.
Proof.
By Lemma 4, the pseudo-pullback on the left in (4) can be computed by first replacing the diagonal
$\Delta : \mathbb{G} \rightarrow \mathbb{G} \times \mathbb{G}$
by the equivalent path-groupoid
$\tilde {\Delta } : {\mathbb{G}}^{\downarrow } \rightarrow \mathbb{G}\times \mathbb{G}$
, and then taking a strict pullback in
$\textsf{Gpd}(\widehat {\mathcal{P}})$
. We then apply the (right adjoint) forgetful functor
$\textsf{Gpd}(\widehat {\mathcal{P}}) \rightarrow \widehat {\mathcal{P}}$
to obtain the pullback diagram on the right. But
$\mathbb{X}'$
is discrete, since
$\tilde {\Delta } : {\mathbb{G}}^{\downarrow } \rightarrow \mathbb{G}\times \mathbb{G}$
has discrete fibers, so
$\underline {X'} \cong \mathbb{X}'$
.
The argument for the case
$\mathbb{G} \times _{\mathbb{F}} \mathbb{G}$
is similar.
Definition 6. A groupoid
$\mathbb{G} = (G_1 \rightrightarrows G_0)$
in
$\widehat {\mathcal{P}}$
is called pseudo-compact if there is an essentially surjective on objects homomorphism
$\underline {K}\rightarrow \mathbb{G}$
from the discrete groupoid
$\underline {K}$
determined by a compact object
$K \in \widehat {\mathcal{P}}$
(which we shall call a compact discrete groupoid). Note that this internal condition can also be tested objectwise as a presheaf of groupoids.
Definition 7 (Coherent groupoid). A groupoid
$\mathbb{G} = (G_1 \rightrightarrows G_0)$
in
$\widehat {\mathcal{P}}$
is called coherent if the following conditions hold:
-
(0)
$\mathbb{G}$
is pseudo-compact, -
(1) the diagonal
$\Delta : \mathbb{G} \rightarrow \mathbb{G} \times \mathbb{G}$
is pseudo-compact, -
(2) the second diagonal
$\Delta _2 : \Delta \rightarrow \Delta \times \Delta$
is also pseudo-compact.
Condition (1) means that the pseudo-pullback of the diagonal
$\Delta : \mathbb{G} \rightarrow \mathbb{G} \times \mathbb{G}$
over any homomorphism from a compact discrete groupoid
$\underline {K}\rightarrow \mathbb{G} \times \mathbb{G}$
is again a compact discrete groupoid
$\mathbb{K}' \in \widehat {\mathcal{P}}$
:

In virtue of Lemma 5,
${\mathbb{K}}'$
can be assumed to be
${\mathbb{K}}' \cong \underline {K'}$
for
$K'$
the strict pullback of
$G_1 \rightarrow G_0 \times G_0$
along
$k : K \rightarrow G_0 \times G_0$
, and so the condition is simply that
$\mathbb{K}' \simeq \underline {K'}$
is a compact object
$K'$
.
Similarly, Condition (2) involves the following pseudo-pullback of
$\Delta$
against itself:

The second diagonal (the “paths between paths”) is then the canonical map
and is again required to be pseudo-compact, in the previous sense.
Finally, note that a discrete coherent groupoid
$\mathbb{G}$
is the discrete groupoid
$\mathbb{G} = \underline {C}$
on a coherent object
$C$
, since a pseudo-pullback of discrete groupoids is a strict pullback.
Lemma 8. If
$e: \mathbb{F} \rightarrow \mathbb{G}$
is an equivalence of groupoids in
$\widehat {\mathcal{P}}$
and
$\mathbb{F}$
is coherent, then so is
$\mathbb{G}$
.
Proof.
If
$\mathbb{F}$
is pseudo-compact, then
$\mathbb{G}$
is, too, just by composing with
$e$
.
Suppose that
$\Delta _{\mathbb{F}} : \mathbb{F} \rightarrow \mathbb{F}\times \mathbb{F}$
is pseudo-compact and consider the strict pullback of path groupoids

Given any compact
$K$
and
$k : \underline {K} \rightarrow \mathbb{G}\times \mathbb{G}$
, we need to show that
$k^*{\mathbb{G}}^{\downarrow }$
is (discrete and) compact. There is a cover
$p:\textsf{y}{P} \twoheadrightarrow K$
, and by an argument similar to that for Proposition 2, it would now suffice show that the composite
$kp : \underline {\textsf{y}{P}} \rightarrow \mathbb{G}\times \mathbb{G}$
lifts across
$e \times e$
, because
${\mathbb{F}}^{\downarrow }\rightarrow \mathbb{F}\times \mathbb{F}$
is assumed to be pseudo-compact. Although
$e \times e$
is not objectwise surjective, it is essentially surjective on objects, and so there is a “pseudo-lift”
$\ell : \underline {\textsf{y}{P}} \rightarrow \mathbb{F}\times \mathbb{F}$
, meaning that there is a 2-cell
$H : (e \times e)\ell \Rightarrow kp$
.

It follows by Lemma 9 below that there is an equivalence of groupoids
$h : \ell ^*{\mathbb{F}}^{\downarrow } \simeq (kp)^*{\mathbb{G}}^{\downarrow }$
over
$\underline {\textsf{y}{P}}$
. But
$\ell ^*{\mathbb{F}}^{\downarrow }$
is discrete compact, and
$(kp)^*{\mathbb{G}}^{\downarrow }$
is discrete, and therefore
$h$
is an iso, so
$(kp)^*{\mathbb{G}}^{\downarrow }$
is also compact, as was required.
The second diagonal of
$\mathbb{F}$
is a pullback of that of
$\mathbb{G}$
along the equivalence
$e \times e$
, so an analogous argument will show that it, too, is pseudo-compact.
Recall that a functor
$f: \mathbb{F} \rightarrow \mathbb{G}$
of groupoids is an isofibration if the square

is a pseudo-pullback (the same then holds with
$\textsf{dom}$
for
$\textsf{cod}$
).
Lemma 9. Given an isofibration of groupoids
$\mathbb{X}\rightarrow \mathbb{G}$
, homomorphisms
$f, g : \mathbb{F} \rightarrow \mathbb{G}$
and a 2-cell
$\alpha : f \Rightarrow g$
, there is a (strong) equivalence
$f^*\mathbb{X} \rightarrow g^*\mathbb{X}$
over
$\mathbb{F}$
.
Proof.
Consider the universal case
$u : \textsf{dom}^*\mathbb{X} \rightarrow \textsf{cod}^*\mathbb{X}$
over
${\mathbb{G}}^{\downarrow }$
, which exists, and is an equivalence, because
$\mathbb{X}\rightarrow \mathbb{G}$
is an isofibration.

Now, pull
$u$
back along the unique lift
$\tilde {\alpha } : \mathbb{F} \rightarrow {\mathbb{G}}^{\downarrow }$
of
$\langle f, g\rangle : \mathbb{F} \rightarrow \mathbb{G}\times \mathbb{G}$
across
$\tilde {\Delta } : {\mathbb{G}}^{\downarrow } \rightarrow \mathbb{G}\times \mathbb{G}$
arising from
$\alpha : f \Rightarrow g$
.
Coherent groupoids may be recognized as follows:
Lemma 10. Let
$\mathbb{G} = (G_1\rightrightarrows G_0)$
be a groupoid in
$\widehat {\mathcal{P}}$
. Then,
$\mathbb{G}$
is coherent in the sense of Definition 7 if, and only if, there is a groupoid
$\mathbb{K} = (K_1\rightrightarrows K_0)$
with an equivalence
$\mathbb{K}\rightarrow \mathbb{G}$
, such that:
-
(1)
$K_0$
is a compact object, that is one with a cover
$\textsf{y}{P} \twoheadrightarrow K_0$
, -
(2) the canonical map
$K_1 \rightarrow K_0\times K_0$
is compact, -
(3) taking the following pullback

the diagonal
$K_1\rightarrow K_1\times _{K_0\times K_0} K_1$
(over
$K_0\times K_0$
) is compact.
Proof.
Suppose,
$\mathbb{G} = (G_1\rightrightarrows G_0)$
is coherent. Since
$\mathbb{G}$
is pseudo-compact, there is a compact object
$K_0$
and an essentially surjective homomorphism
$\underline {K_0} \rightarrow \mathbb{G}$
. Consider the pseudo-pullback of the diagonal of
$\mathbb{G}$
to
$\underline {K_0}\times \underline {K_0}$
,

where we may assume that
$\mathbb{K}_1 = \underline {K_1}$
is discrete thanks to Lemma 5. Since
$\Delta : \mathbb{G}\rightarrow \mathbb{G}\times \mathbb{G}$
is pseudo-compact and
$K_0\times K_0$
is compact,
$K_1$
is a compact object. Moreover,
$K_1 \rightrightarrows K_0$
is a groupoid structure on the object
$K_0$
, as it can be seen by constructing
$K_1$
as the strict pullback on the right in Lemma 5.
Now, let
$\mathbb{K} = (K_1 \rightrightarrows K_0)$
, so that we indeed have
$\mathbb{K} \simeq \mathbb{G}$
, since
$\underline {K_0} \rightarrow \mathbb{G}$
was essentially surjective on objects and
$\mathbb{K} \rightarrow \mathbb{G}$
is fully faithful by construction. Observe that the canonical map
$K_1 \rightarrow K_0\times K_0$
is compact by Lemma 5, since by construction it is the pseudo-pullback of the pseudo-compact map
$\Delta : \mathbb{G}\rightarrow \mathbb{G}\times \mathbb{G}$
. It remains only to show that the map
$K_1\rightarrow K_1\times _{K_0\times K_0} K_1$
(over
$K_0\times K_0$
) is compact.

But the map
$K_1\rightarrow K_1\times _{K_0\times K_0} K_1$
is a pseudo-pullback of the second diagonal
$\Delta _2 : \mathbb{G} \rightarrow \mathbb{G} \times _{\mathbb{G} \times \mathbb{G}} \mathbb{G}$
(over
$\mathbb{G} \times \mathbb{G}$
) along
$K_0 \times K_0 \rightarrow \mathbb{G} \times \mathbb{G}$
, and is, therefore, also compact.
For the converse, suppose given an equivalence of groupoids
$\mathbb{K} \rightarrow \mathbb{G}$
and suppose that for
$\mathbb{K} = (K_1\rightrightarrows K_0)$
the object
$K_0$
is compact and the canonical maps
$K_1 \rightarrow K_0\times K_0$
and
$K_1\rightarrow K_1\times _{K_0\times K_0} K_1$
are compact. By Lemma 8, it suffices to show that
$\mathbb{K}$
is coherent. This follows easily from Lemma 5.
4. The main result
Ultimately, we shall require a Quillen model structure on the category
$\textsf{Gpd}(\widehat {\mathcal{P}})$
in order to have a model of (1-trucated) HoTT (and so a
$(2,1)$
-topos); but for the present purpose, we need it in order to have a well-behaved subcategory of
$0$
-types for the comparison (3).
There are various different model structures that can be put on the category
$\textsf{Gpd}(\mathcal{E})$
of internal groupoids in a Grothendieck topos
$\mathcal{E}$
, see Joyal and Tierney (Reference Joyal, Tierney, Carboni, Pedicchio and Rosolini1991); Everaert et al. (Reference Everaert, Kieboom and Van der Linden2005); Hollander (Reference Hollander2001,Reference Hollander2008). In the case of presheaves
$\mathcal{E} = \widehat {\mathcal{P}}$
, where
we shall use a model structure for which the weak equivalences are the pointwise equivalences of groupoids, and the fibrant objects are the stacks, a homotopy theoretic generalization of sheaves. The resulting model category will be Quillen equivalent to, for example, the Joyal-Tierney “strong stacks” model structure, which can also be described in terms of categories fibered in groupoids (or “lax presheaves” of groupoids), satisfying a descent condition (see Hollander (Reference Hollander2001)). Not only will the subcategory of coherent
$0$
-types then be equivalent to the coherent presheaves, and therefore to the realizability 1-topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f$
, but the subcategory
$\textsf{Coh}\textsf{Gpd}(\,\widehat {\mathcal{P}}\,) \hookrightarrow \textsf{Gpd}(\,\widehat {\mathcal{P}}\,)$
of all coherent groupoids should then admit a model of HoTT and will therefore be a reasonable candidate for the realizability
$(2,1)$
-topos
$\mathcal{E}{\kern0.1pt}f{\kern0.1pt}f_2$
(about which we shall say a bit more below).
Theorem (Joyal and Tierney (1991)). For any small category
$\mathbb{C}$
, the following classes of maps determine a model structure on the category
$[{\mathbb{C}}^{\textrm{op}},\textsf{Gpd}]$
of presheaves of groupoids on
$\mathbb{C}$
.
-
• The cofibrations are the functors that are objectwise injective on objects.
-
• The weak equivalences are the functors that are objectwise weak equivalences of groupoids: functors that are fully faithful and essentially surjectiveon objects.
-
• The fibrations are the maps with the right-lifting property with respect to the trivial cofibrations (those that are weak equivalences).
As a localization of simplicial presheaves, this agrees with the “injective model structure” used in Shulman (Reference Shulman2019) for the construction of univalent universes. As explained there, the fibrations may be described as the objectwise fibrations of groupoids that are also algebras for the cobar monad. In the present case of presheaves of groupoids, the fibrant replacement amounts to taking a homotopy limit of descent data for all composable arrows, as explained in Shulman (Reference Shulman2019). This model structure also agrees with that for strong stacks first established by Joyal and Tierney in Joyal and Tierney (Reference Joyal, Tierney, Carboni, Pedicchio and Rosolini1991), since the cofibrations and weak equivalences agree with the ones specified there.
Lemma 11 (Joyal and Tierney, Reference Joyal, Tierney, Carboni, Pedicchio and Rosolini1991, Lemma 1). A trivial fibration is a strong equivalence.
Proof.
We obtain a section using the fact that every object is cofibrant. It is a weak inverse since a trivial fibration is necessarily fully faithful, because the functor
$\unicode {x1D7D9}+\unicode {x1D7D9} \rightarrow \unicode{x1D7DA}$
is a cofibration.
Corollary 12. Let
$e: \mathbb{F} \rightarrow \mathbb{G}$
be a trivial fibration (i.e., both an equivalence of groupoids and a fibration in the model structure). Then,
$\mathbb{F}$
is coherent if and only if is
$\mathbb{G}$
is coherent.
Proposition 13. The two factorization systems of the model structure on
$[{\mathcal{P}}^{\textrm{op}},\textsf{Gpd}]$
from Theorem 1 restrict to the full subcategory
$\textsf{Coh}\textsf{Gpd}(\,\widehat {\mathcal{P}}\,)$
of coherent presheaves of groupoids.
Proof.
It suffices to verify that the two factorizations produce coherent groupoids when applied to functors between coherent groupoids. Consider a factorization
$f=p\circ i: \mathbb{F} \rightarrowtail \mathbb{H} \twoheadrightarrow \mathbb{G}$
of a functor
$f$
into a cofibration
$i$
followed by a fibration
$p$
. If
$i$
is a weak equivalence, then
$\mathbb{H}$
is coherent by Lemma 8. If
$p$
is a weak equivalence, then
$\mathbb{H}$
is coherent by Corollary 12.
Recall that a functor of groupoids
$f: \mathbb{F} \rightarrow \mathbb{G}$
is a discrete fibration if the square

is a pullback. Note that, for every groupoid
$\mathbb{G}$
, the functor
${\mathbb{G}}^{\downarrow }\rightarrow \mathbb{G} \times \mathbb{G}$
is a discrete fibration.
Proposition 14 (Joyal and Tierney, Reference Joyal, Tierney, Carboni, Pedicchio and Rosolini1991, Proposition 1). A discrete fibration has the unique right-lifting property against trivial cofibrations, and is therefore a fibration in the sense of the model structure.
Corollary 15. For every groupoid
$\mathbb{G}$
, the functor
${\mathbb{G}}^{\downarrow }\rightarrow \mathbb{G} \times \mathbb{G}$
is a fibration.
Proposition 16. If
$\mathbb{F}$
is fibrant, every equivalence
$e: \mathbb{F} \rightarrow \mathbb{G}$
is a strong equivalence.
Proof.
By Lemma 11, it is enough to prove the statement when
$e$
is also a cofibration. We thus obtain a retraction
$r: \mathbb{G} \rightarrow \mathbb{F}$
of
$e$
since
$\mathbb{F}$
is fibrant. It is a weak inverse because we can fill the square below by Corollary 15.

We make use of the model structure on
$[{\mathcal{P}}^{\textrm{op}},\textsf{Gpd}]$
to determine the notion of a
$0$
-type as a fibrant object
$X$
for which the (first) diagonal
$\Delta : X\rightarrow X \times X$
is a “homotopy monomorphism,” meaning that the diagram

is a homotopy pullback.
Lemma 17. Let
$\mathbb{G}=(G_1 \rightrightarrows G_0)$
be a fibrant 0-type. Then,
$\mathbb{G}$
is an equivalence relation, meaning that the map
$G_1 \rightarrow G_0 \times G_0$
is monic.
Proof.
Consider the commutative cube below, where the front face is a strict pullback of groupoids. In particular, objects of
$\mathbb{H}$
consist of pairs of parallel isomorphisms
$g_1,g_2\colon x_1 \rightrightarrows x_2$
in
$\mathbb{G}$
.

Since
$\mathbb{G}$
is a 0-type, the back square is a homotopy pullback and, since
$\mathbb{G}\times \mathbb{G}$
is fibrant and
${\mathbb{G}}^{\downarrow }\twoheadrightarrow \mathbb{G}\times \mathbb{G}$
is a fibrant replacement of
$\Delta$
by Corollary 15, the canonical comparison
$\mathbb{G}\rightarrow \mathbb{H}$
is a weak equivalence. By Proposition 16, the comparison
$\mathbb{G}\rightarrow \mathbb{H}$
is then a strong equivalence. In particular, every object
$(g_1,g_2)$
of
$\mathbb{H}$
is isomorphic to one of the form
$(\textrm{id}_x,\textrm{id}_x)$
for some
$x\in \mathbb{G}$
. It follows that
$g_1=g_2$
as required.
We can now prove our main result, namely:
Theorem. Let
$\mathbb{G} = (G_1\rightrightarrows G_0)$
be a coherent groupoid and a fibrant
$0$
-type. Then,
$\mathbb{G}$
is equivalent to (the discrete groupoid arising from) a coherent object.
Proof.
By Lemma 10, we may assume, without loss of generality, that
$G_0$
is compact and therefore has a cover
$\textsf{y}{P} \twoheadrightarrow G_0$
and that
$G_1 \rightarrow G_0 \times G_0$
is a compact map. Thus, its pullback
$K$
to
$\textsf{y}{P}\times \textsf{y}{P}$
has a cover
$\textsf{y}{Q}\twoheadrightarrow K$
.

But since
$\mathbb{G}$
is a fibrant
$0$
-type, by Lemma 17, we may assume that the map
$G_1 \rightarrow G_0 \times G_0$
is monic. Therefore, so is its pullback
$K\rightarrow \textsf{y}{P} \times \textsf{y}{P}$
. Thus,
$K$
is an assembly.
Now, let
We then have a pullback square on the right below, and so
$K\rightrightarrows \textsf{y}{P}$
is the kernel pair of the composite epi
$\textsf{y}{P} \twoheadrightarrow G$
.

Since
$K$
and
$\textsf{y}{P}$
are both assemblies, and we have an exact presentation
$K \rightrightarrows P \twoheadrightarrow G$
, the quotient
$G$
is a coherent object.
Finally, for the discrete groupoid
$\underline {G}$
, we have an equivalence
$\mathbb{G} \simeq \underline {G}$
and therefore, a weak equivalence in the model structure, since the quotient map
$G_0 \twoheadrightarrow G$
makes the homomorphism
$\mathbb{G} \rightarrow \underline {G}$
surjective on objects, and it is fully faithful by the pullback square on the right in (5).
Since every discrete groupoid is a
$0$
-type, and the discrete one arising from a coherent object is plainly coherent as a groupoid, we have the desired result:
Corollary 18. The full sub(2-)category of fibrant
$0$
-types in
$\textsf{Coh}\textsf{Gpd}(\widehat {\mathcal{P}})$
is equivalent, as a 1-category, to the coherent objects in
$\widehat {\mathcal{P}}$
, and therefore to the effective topos,
5. Related and future work
Recent work of Agwu (Reference Agwu2025) builds a realizability model of HoTT using groupoids in a category of assemblies, while the work of Hughes (Reference Hughes2025) can be used to do the same for groupoids in a realizability topos. As explained in Problem (3) of our introduction, these models are expected to add further
$0$
-types to the realizability 1-topos. It may be that they can be localized to give a model equivalent to ours, but we are not currently aware of any such results.
As already explained, the model structure on
$\textsf{Gpd}(\widehat {\mathcal{P}})$
specified in Theorem 1 is a restriction to the 1-types of the injective model structure on simplicial presheaves, which was used in Shulman (Reference Shulman2019) to build models of HoTT with univalent universes. We expect the fibrant objects in our category of “coherent 1-stacks” to also be closed under exponentials (and
$\Pi$
-types of fibrations), and that there is a univalent universe of
$0$
-types. In the present case of realizability, we even expect there to be an impredicative such universe. We leave this for future work (in progress as Anel et al. (Reference Anel, Awodey and Barton2025)).
Acknowledgements
We are grateful to Mathieu Anel, Reid Barton, Jonas Frey, Pino Rosolini, Michael Shulman, and Andrew Swan, for sharing their ideas and advice, for essential contributions to the definitions and proofs, and for detailed comments on a draft.
Funding
We are also grateful to the University of Genoa for supporting the first author’s visit, during which this work was begun. This material is based upon work supported by the Air Force Office of Scientific Research under awards number FA9550-21-1-0009 and FA9550-23-1-0434 (for the first author), and by the Italian Ministry of University and Research (MUR) under award “PNRR – Young Researchers – SOE 0000071” (for the second author).


