# Contents

Consider the statement:

If $f$ is a fully faithful and essentially surjective functor, then it is an equivalence of categories.

If we use a set-theoretic foundation for mathematics, then this statement is equivalent to the axiom of choice. However, as we now show, in the internal logic of a regular 2-category, it is simply true. Thus, it should really be regarded as a “functor comprehension principle” or an “axiom of non-choice,” analogous for categories to the fact (true in any regular 1-category) that any injective and surjective function of sets is an isomorphism, or equivalently that one can always make “choices” when those choices are uniquely specified.

We start by characterizing full, faithful, and eso morphisms in the internal logic.

## Faithful morphisms

Consider first the following theory with two 1-types $A$ and $B$:

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\alpha :{\mathrm{hom}}_{A}\left(x,y\right),\beta :{\mathrm{hom}}_{A}\left(x,y\right),f\left(\alpha \right)=f\left(\beta \right)⊢\alpha =\beta$

Of course, the first axiom interprets by a morphism $f:A\to B$. This induces a map from $\mathrm{ker}\left(A\right)\to \left(f/f\right)$ over $A×A$. The context of the second axiom above is the kernel pair of this map (as a map between discrete objects in $K/A×A$); thus the second axiom asserts that this kernel pair factors through the diagonal of $\mathrm{ker}\left(A\right)$, and hence is monic. But this is equivalent to saying that $f$ is faithful, so a model of this theory in a lex 2-category is precisely a faithful morphism.

## Full and ff morphisms

Now consider the following theory, again with two 1-types $A$ and $B$:

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢\exists \overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right).f\left(\overline{\gamma }\right)=\gamma$

In a regular 2-category, the truth of this axiom asserts that the map $\mathrm{ker}\left(A\right)\to \left(f/f\right)$ is eso, which implies that $f$ is a full morphism. The converse is true at least in an exact 2-category. It is also true if $f$ is additionally faithful, since then $\mathrm{ker}\left(A\right)\to \left(f/f\right)$ is ff, hence (if also eso) an equivalence, so that $f$ is ff (and in particular full). Therefore, a model of the combined theory

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\alpha :{\mathrm{hom}}_{A}\left(x,y\right),\beta :{\mathrm{hom}}_{A}\left(x,y\right),f\left(\alpha \right)=f\left(\beta \right)⊢\alpha =\beta$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢\exists \overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right).f\left(\overline{\gamma }\right)=\gamma$

in a regular 2-category is precisely a ff morphism.

In a merely lex 2-category, we can instead consider the theory

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\alpha :{\mathrm{hom}}_{A}\left(x,y\right),\beta :{\mathrm{hom}}_{A}\left(x,y\right),f\left(\alpha \right)=f\left(\beta \right)⊢\alpha =\beta$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢\overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right)$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢f\left(\overline{\gamma }\right)=\gamma$

The first two axioms give a faithful morphism $f:A\to B$, as above, and now the third and fourth axioms supply a section of the map $\mathrm{ker}\left(A\right)\to \left(f/f\right)$, which is thus both ff and split epic, hence an equivalence. Thus, a model of this theory in a lex 2-category is also precisely a ff morphism.

I don’t know whether there is a theory in lex 2-logic whose models in lex 2-categories are precisely full morphisms, but I suspect not. I also don’t know whether there is a theory in regular 2-logic whose models in non-exact regular 2-categories are precisely full morphisms.

## Eso morphisms

Now consider the regular 2-theory

• $x:A⊢f\left(x\right):B$
• $y:B⊢\exists x:A.\exists i:{\mathrm{iso}}_{B}\left(f\left(x\right),y\right)$

Since ${\mathrm{iso}}_{B}\left(f\left(x\right),y\right)$ in context $x:A,y:B$ is interpreted by $\left(1,f\right):A\to A×B$, the second axiom asserts that the image of the composite $A\stackrel{\left(1,f\right)}{\to }A×B\to B$ is all of $B$, i.e. that this composite is eso. But this composite is clearly just $f$, so a model of this theory is precisely an eso morphism.

Of course, we can then write the combined theory

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢\exists \overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right).f\left(\overline{\gamma }\right)=\gamma$
• $y:B⊢\exists x:A.\exists i:{\mathrm{iso}}_{B}\left(f\left(x\right),y\right)$

whose models in exact 2-categories are precisely the eso+full morphisms.

## Equivalences

It follows from the above considerations that a model of the following theory:

• $x:A⊢f\left(x\right):B$
• $x:A,y:A,\alpha :{\mathrm{hom}}_{A}\left(x,y\right),\beta :{\mathrm{hom}}_{A}\left(x,y\right),f\left(\alpha \right)=f\left(\beta \right)⊢\alpha =\beta$
• $x:A,y:A,\gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right)⊢\exists \overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right).f\left(\overline{\gamma }\right)=\gamma$
• $y:B⊢\exists x:A.\exists i:{\mathrm{iso}}_{B}\left(f\left(x\right),y\right)$

in a regular 2-category is precisely a morphism $f$ which is ff and eso, i.e. an equivalence. Since this theory evidently asserts that $f$ is “faithful, full, and essentially surjective on objects” in the internal logic, this is the desired “functor comprehension principle.”

Of course, in a Heyting 2-category, the latter three axioms can equivalently be stated as

• $⊢\forall x:A,\forall y:A,\forall \alpha :{\mathrm{hom}}_{A}\left(x,y\right),\forall \beta :{\mathrm{hom}}_{A}\left(x,y\right),f\left(\alpha \right)=f\left(\beta \right)⇒\alpha =\beta$
• $⊢\forall x:A,\forall y:A,\forall \gamma :{\mathrm{hom}}_{B}\left(f\left(x\right),f\left(y\right)\right),\exists \overline{\gamma }:{\mathrm{hom}}_{A}\left(x,y\right).f\left(\overline{\gamma }\right)=\gamma$
• $⊢\forall y:B,\exists x:A.\exists i:{\mathrm{iso}}_{B}\left(f\left(x\right),y\right)$

which have perhaps the most familiar form.

Revised on May 31, 2011 16:22:20 by Mike Shulman (71.136.238.9)