This is part four in a series of posts on avoiding the axiom of choice (part one, part two, part three).
In my previous post, we considered the “Axiom of Protoequivalence”—that is, the statement that every fully faithful, essentially surjective functor (i.e. every protoequivalence) is an equivalance—and I claimed that in a traditional setting this is equivalent to the axiom of choice. However, intuitively it feels like AP “ought to” be true, whereas AC must be rejected in constructive logic.
One way around this is by generalizing functors to anafunctors, which were introduced by Makkai (1996). The original paper is difficult going, since it is full of tons of detail, poorly typeset, and can only be downloaded as seven separate postscript files. There is also quite a lot of legitimate depth to the paper, which requires significant categorical sophistication (more than I possess) to fully understand. However, the basic ideas are not too hard to grok, and that’s what I will present here.
It’s important to note at the outset that anafunctors are much more than just a technical device enabling the Axiom of Protoequivalence. More generally, if everything in category theory is supposed to be done “up to isomorphism”, it is a bit suspect that functors have to be defined for objects on the nose. Anafunctors can be seen as a generalization of functors, where each object in the source category is sent not just to a single object, but to an entire isomorphism class of objects, without privileging any particular object in the class. In other words, anafunctors are functors whose “values are specified only up to unique isomorphism”.
Such functors represent a many-to-many relationship between objects of and objects of
. Normal functors, as with any function, may of course map multiple objects of
to the same object in
. The novel aspect is the ability to have a single object of
correspond to multiple objects of
. The key idea is to add a class of “specifications” which mediate the relationship between objects in the source and target categories, in exactly the same way that a “junction table” must be added to support a many-to-many relationship in a database schema, as illustrated below:
On the left is a many-to-many relation between a set of shapes and a set of numbers. On the right, this relation has been mediated by a “junction table” containing a set of “specifications”—in this case, each specification is simply a pair of a shape and a number—together with two mappings (one-to-many relations) from the specifications to both of the original sets, such that a specification maps to a shape and number
if and only if
and
were originally related.
In particular, an anafunctor is defined as follows.
- There is a class
of specifications.
- There are two functions
mapping specifications to objects of
and
.
,
, and
together define a many-to-many relationship between objects of
and objects of
.
is called a specified value of
at
if there is some specification
such that
and
, in which case we write
. Moreover,
is a value of
at
(not necessarily a specified one) if there is some
for which
.
The idea now is to impose additional conditions which ensure that “acts like” a regular functor
.
- Functors are defined on all objects; so we require each object of
to have at least one specification
which corresponds to it—that is,
must be surjective.
- Functors transport morphisms as well as objects. For each
(the middle of the below diagram) and each
in
(the left-hand side below), there must be a morphism
in
(the right-hand side):
- Functors preserve identities: for each
we should have
.
- Finally, functors preserve composition: for all
(in the middle below),
, and
(the left side below), it must be the case that
:
Our initial intuition was that an anafunctor should map objects of to isomorphism classes of objects in
. This may not be immediately apparent from the definition, but is in fact the case. In particular, the identity morphism
maps to isomorphisms between specified values of
; that is, under the action of an anafunctor, an object
together with its identity morphism “blow up” into an isomorphism class (aka a clique). To see this, let
be two different specifications corresponding to
, that is,
. Then by preservation of composition and identities, we have
, so
and
constitute an isomorphism between
and
.
There is an alternative, equivalent definition of anafunctors, which is somewhat less intuitive but usually more convenient to work with: an anafunctor is a category of specifications
together with a span of functors
where
is fully faithful and (strictly) surjective on objects.
Note that in this definition, must be strictly (as opposed to essentially) surjective on objects, that is, for every
there is some
such that
, rather than only requiring
. Given this strict surjectivity on objects, it is equivalent to require
to be full, as in the definition above, or to be (strictly) surjective on the class of all morphisms.
We are punning on notation a bit here: in the original definition of anafunctor, is a set and
and
are functions on objects, whereas in this more abstract definition
is a category and
and
are functors. Of course, the two are closely related: given a span of functors
, we may simply take the objects of
as the class of specifications
, and the actions of the functors
and
on objects as the functions from specifications to objects of
and
. Conversely, given a class of specifications
and functions
and
, we may construct the category
with
and with morphisms
in
acting as morphisms
in
. From
to
, we construct the functor given by
on objects and the identity on morphisms, and the other functor maps
in
to
in
.
Every functor can be trivially turned into an anafunctor
. Anafunctors also compose. Given compatible anafunctors
and
, consider the action of their composite on objects: each object of
may map to multiple objects of
, via objects of
. Each such mapping corresponds to a zig-zag path
. In order to specify such a path it suffices to give the pair
, which determines
,
, and
. Note, however, that not every pair in
corresponds to a valid path, but only those which agree on the middle object
. Thus, we may take
as the set of specifications for the composite
, with
and
. On morphisms,
. It is not hard to check that this satisfies the anafunctor laws.
If you know what a pullback is, note that the same thing can also be defined at a higher level in terms of spans. , the category of all (small) categories, is complete, and in particular has pullbacks, so we may construct a new anafunctor from
to
by taking a pullback of
and
and then composing appropriately.
One can go on to define ananatural transformations between anafunctors, and show that together these constitute a -category
which is analogous to the usual
-category of (small) categories, functors, and natural transformations; in particular, there is a fully faithful embedding of
into
, which moreover is an equivalence if AC holds.
To work in category theory based on set theory and classical logic, while avoiding AC, one is therefore justified in “mixing and matching” functors and anafunctors as convenient, but discussing them all as if they were regular functors (except when defining a particular anafunctor). Such usage can be formalized by turning everything into an anafunctor, and translating functor operations and properties into corresponding operations and properties of anafunctors.
However, as I will argue in some future posts, there is a better solution, which is to throw out set theory as a foundation of category theory and start over with homotopy type theory. In that case, thanks to a generalized notion of equality, regular functors act like anafunctors, and in particular AP holds.
References
Makkai, Michael. 1996. “Avoiding the Axiom of Choice in General Category Theory.” Journal of Pure and Applied Algebra 108 (2). Elsevier: 109–73.
Maybe I’ll just mention this:
http://www.tac.mta.ca/tac/volumes/26/29/26-29abs.html
;-) Hope you find it useful… I have a sequel in the works that works in any 2-category with appropriate (very weak) structure.
Thanks!
If one can use anafunctors to avoid the axiom of choice, is it possible to define an ‘endo-anafunctor’ from the category Set into Set such that the ‘endo-anafunctor’ in question is also an elementary embedding that is not the identity? Can one define the notion of elementary embedding in terms of functors and anafunctors?
I don’t really know anything about elementary embeddings so I couldn’t say.
Hi Thomas, no doubt you’re thinking of trying to define a Reinhardt cardinal in structural, choiceless, set theory. Note that an elementary embedding will induce a conservative logical functor with extra properties. Even studying elementary embeddings from a structural viewpoint is hardly started.
Note that one might want to do this, instead of using the category of sets, with some form of algebraic set theory (AST), which axiomatises the category of classes. This is a structural analogue of class-set theory. There is no guarantee this will make things easier, but since elementary embeddings preserve all of first-order logic, and topos theory deals mainly with bounded quantifiers, it seems something is necessary beyond just the category of sets. Work of Mike Shulman on stack semantics is also relevant here, as it is a means to capture unbounded quantifiers in structural set theory without looking at AST.
Hope this helps, and I’ve love to hear from you if you have any good ideas (see my website for email).