Why isn't every category isomorphic to its opposite?

James Leslie - Why isn't every category isomorphic to its opposite?
Posted on July 7, 2018 by James Leslie

Whenever one comes across a mathematical object, such as a group, topological space etc, it is important to look at how it interacts with other similar objects. The same goes for categories with functors being how they interact.

Given two categories π’œ,ℬ \mathscr{A}, \mathscr{B}, a (covariant) functor F F from π’œ \mathscr{A} to ℬ \mathscr{B} assigns to each object Aβˆˆπ’œ A \in \mathscr{A} an object F(A)βˆˆβ„¬ F(A) \in \mathscr{B} and to each π’œ \mathscr{A}-morphism f:Aβ†’Aβ€² f:A \rightarrow A', a ℬ \mathscr{B}-morphism F(f):F(A)β†’F(Aβ€²) F(f):F(A) \rightarrow F(A'). The assignements must respect composition and identities, so

  • F(g∘h)=F(g)∘F(h) F(g \circ h) = F(g) \circ F(h), for π’œ \mathscr{A}-maps f,g f,g,
  • F(1A)=1F(A) F(1_A) = 1_{F(A)}, for all Aβˆˆπ’œ A \in \mathscr{A}.

We write functors as F:π’œβ†’β„¬ F: \mathscr{A} \rightarrow \mathscr{B}. This then leads to the category 𝐂𝐀𝐓 \mathbf{CAT} whose objects are categories and whose morphisms are functors. We say that two categories are isomorphic if they are isomorphic in 𝐂𝐀𝐓 \mathbf{CAT}. Given a category π’œ \mathscr{A}, we can form its opposite category π’œop \mathscr{A}^{op}, whose objects are the same as those in π’œ \mathscr{A}, with π’œop \mathscr{A}^{op}-morphisms f:Aβ€²β†’A f:A' \rightarrow A in one to one correspondence with π’œ \mathscr{A}-morphisms f:Aβ†’Aβ€² f:A \rightarrow A'. This means we can think of π’œop \mathscr{A}^{op} as being π’œ \mathscr{A} with it’s morphisms turned around. It is clear from the definition of a functor that the obvious correspondence between a category and its opposite is not a functor. However, we can define a new type of functor that makes this possible.

A contravariant functor F F from π’œ \mathscr{A} to ℬ \mathscr{B} is a (covariant) functor F:π’œop→ℬ F:\mathscr{A}^{op} \rightarrow \mathscr{B}.

The key property of a contravariant functor is that it reverses composition. If F F from π’œ \mathscr{A} to ℬ \mathscr{B} is a contravariant functor, then for π’œ \mathscr{A}-morphisms f,g f, g, we have F(f∘g)=F(g)∘F(f) F(f \circ g) = F(g) \circ F(f).

A question one may ask is whether or not a category is isomorphic to its opposite. In general this is false; however, to newcomers this isn’t always obvious why. A typical false proof goes along the following lines:

  1. For any category π’œ \mathscr{A}, there are canonical contravariant functors F:π’œopβ†’π’œ F:\mathscr{A}^{op} \rightarrow \mathscr{A} and G:π’œβ†’π’œop G:\mathscr{A} \rightarrow \mathscr{A}^{op}.
  2. Clearly F∘G=1π’œ F\circ G= 1_{\mathscr{A}} and G∘F=1π’œop G\circ F= 1_{\mathscr{A}^{op}}.
  3. π’œβ‰…π’œop \mathscr{A} \cong \mathscr{A}^{op}.

The reason this doesn’t hold is because the functors defined are contravariant, not covariant. To show such an isomorphism exists, one would need to construct a covariant functor F:π’œopβ†’π’œ F:\mathscr{A}^{op} \rightarrow \mathscr{A}, so in particular the composition rule in Definition 1 must hold. Clearly for an arbitrary category, the canonical (contravariant) functor breaks this rule. A counter-example is to have a category with a terminal object and but no initial object. Its opposite has an initial object but no terminal, hence the two aren’t isomorphic.

Take the following two categories π’œ\mathcal A and ℬ\mathcal B, where ℬ=π’œop\mathcal B = \mathcal A ^{\text{op}}.

Suppose we have a covariant functor from π’œβ†’β„¬\mathcal A \rightarrow \mathcal B that fixes the objects. The issue is that there are no arrows in ℬ\mathcal B that we can map ff or gg to. Since such a functor doesn’t exist, π’œ\mathcal A and ℬ\mathcal B cannot be isomorphic. For such a functor to exist, it must be contravariant.