I have a general question, but I will start specifically by trying to conceptualize (or rather, represent) the category $Set^{op}$. Now it has been stated in one answer that, given a function in $Set$ $$f:\{0,1\}\longrightarrow \{0\},$$ the opposite morphism in $Set^{op}$ is just "the very same arrow" $f^{op}:\{0\}\longrightarrow \{0,1\}$. But, in fact, there are at least two functions here:
(1) $0\mapsto 0$
(2) $0\mapsto 1$
Now this would appear to suggest that there is no bijection between $Hom_{Set}(\{0,1\},\{0\})$ and $Hom_{Set^{op}}(\{0\},\{0,1\})$, since there is only one unique $f$ and two functions in the opposite direction. The lack of bijection would contradict the very notion of an opposite category. I see at least two ways out:
- $f^{op}$ is not a function and it is a map sending $0$ to both $0,1$, its entire codomain. Now $f^{op}$ is a multifunction, or the inverse relation of $f$ given by $f^{op}=\{(0,0),(0,1)\}$.
- $f^{op}$ is the unique Boolean homomorphism $f^{op}:\wp(\{0\})\longrightarrow \wp(\{0,1\})$ sending $\emptyset\mapsto\emptyset,\{0\}\mapsto\{0,1\}$, since the powerset $\wp(\{0\})$ is isomorphic to the initial Boolean algebra.
The second solution arises from the dual equivalence between complete atomic Boolean algebras and $Set^{op}$, as pointed out in a different answer. However, both solutions seem correct.
EDIT: It appears I originally stated a trivial question. Perhaps more appropriately, is there an algorithm for constructing the opposite morphism? That is, given a definition of $f$ in terms of elements of its domain and codomain (necessarily sets, possibly with additional structure), can we give an explicit definition of $f^{op}$ in terms of those sets, their elements, and possibly additional structure?
The reason the first solution appeals to me is that the identity of both sets is kept: we don't need to move to powersets, or Boolean algebras, etc. Similarly, I am wondering whether there is in general a way to keep the identity of objects (as suggested by the very definition of opposite category) when representing the opposite category.