Let $X$ be a set.
The discrete category on $X$ is the category $X_{\mathsf{disc}}$ where
Objects. We have
Morphisms. For each $A,B\in \operatorname {\mathrm{Obj}}(X_{\mathsf{disc}})$, we have
Identities. For each $A\in \operatorname {\mathrm{Obj}}(X_{\mathsf{disc}})$, the unit map
of $X_{\mathsf{disc}}$ at $A$ is defined by
Composition. For each $A,B,C\in \operatorname {\mathrm{Obj}}(X_{\mathsf{disc}})$, the composition map
of $X_{\mathsf{disc}}$ at $(A,B,C)$ is defined by
A category $\mathcal{C}$ is discrete if it is equivalent to $X_{\mathsf{disc}}$ for some set $X$.
Let $X$ be a set.
Functoriality. The assignment $X\mapsto X_{\mathsf{disc}}$ defines a functor
where:
Action on Objects. For each $X\in \operatorname {\mathrm{Obj}}(\mathsf{Sets})$, we have
Action on Morphisms. Given a function $f\colon X\to Y$, the image
of $f$ by $(-)_{\mathsf{disc}}$ is the functor given by $x\mapsto f(x)$ on objects and $\operatorname {\mathrm{id}}_{x}\mapsto \operatorname {\mathrm{id}}_{f(x)}$ on morphisms.
Adjointness. We have a quadruple adjunction
Symmetric Strong Monoidality With Respect to Coproducts. The functor of Item 1 has a symmetric strong monoidal structure
being equipped with isomorphisms
natural in $X,Y\in \operatorname {\mathrm{Obj}}(\mathsf{Sets})$.
Symmetric Strong Monoidality With Respect to Products. The functor of Item 1 has a symmetric strong monoidal structure
being equipped with isomorphisms
natural in $X,Y\in \operatorname {\mathrm{Obj}}(\mathsf{Sets})$.
Next, we claim that $(-)_{\mathsf{disc}}$ is, indeed, also a functor:
Preservation of Identities. For each $X\in \operatorname {\mathrm{Obj}}(\mathsf{Sets})$, we have
for each $x\in X$. Since there’s at most one element in the Hom-sets of $X_{\mathsf{disc}}$, the corresponding equalities also hold for morphisms. Thus $(\operatorname {\mathrm{id}}_{X})_{\mathsf{disc}}=\operatorname {\mathrm{id}}_{X_{\mathsf{disc}}}$.
Preservation of Composition. Given functions $f\colon X\to Y$ and $g\colon Y\to Z$, we have
for each $x\in X$. Again, the equations must also hold on morphisms due to there being at most one element in the Hom-sets of $Z_{\mathsf{disc}}$. Thus $(g\circ f)_{\mathsf{disc}}=g_{\mathsf{disc}}\circ f_{\mathsf{disc}}$.
This completes the proof.