Contravariant representable functor notation

349 Views Asked by At

I'm reading Steve Awodey's lecture notes on category theory, and am confused about the notation for covarian/contravariant representable functors:

For a locally small category $\mathcal{C}$ with objects $A, B$, the covariant representable functor is defined as $\mathcal{C}(A, -): \mathcal{C} \to \texttt{Set}$, where

$$ \begin{align} &\mathcal{C}(A, B) = \{ f \in \mathcal{C}_{1} \mid f: A \to B \} \\ &\mathcal{C}(A, g) : f \mapsto g \circ f \end{align} $$

The contravariant representable functor is defined as $\mathcal{C}(-, B): \mathcal{C}^{op} \to \texttt{Set}$. Here, I'm not sure if the following is correct:

$$ \begin{align} &\mathcal{C}(A, B) = \{ f \in \mathcal{C}^{op}_{1} \mid f: B \to A \} \end{align} $$

If so, how can we differentiate between $\mathcal{C}(A, B)$ for the covariant representable functor and that of the contravariant representable functor?

1

There are 1 best solutions below

2
On BEST ANSWER

No, $\mathcal{C}(A,B)$ is always the set of maps $A\to B$ in $\mathcal{C}$. The difference is simply whether we consider $A$ or $B$ as the variable; if $A$, then we have $\mathcal{C}(A,B)=[\mathcal{C}(-,B)](A)$, contravariant in $A$; if $B$, then we have $\mathcal{C}(A,B)=[\mathcal{C}(A,-)](B)$, covariant in $B$. It's perhaps least ridiculous to simply recognize that both of these are shadows of the full object, $\mathcal{C}(-,-)$, a functor of two variables $\mathcal{C}^{\mathrm{op}}\times \mathcal{C}\to\mathtt{Set}$. Regardless, $\mathcal{C}(A,B)$ is always the same thing: it's a value of at least three different functors, and which one, if any, the author has in mind can't be determined just from the notation, since the notation only indicates a set.