Product Category is Category

Theorem
Let $\mathbf C$ and $\mathbf D$ be metacategories.

Then the product category $\mathbf C \times \mathbf D$ is a metacategory.

Proof
Let $(X,Y),(X',Y') \in \mathbf C \times \mathbf D$.

Let $(f,g) : (X,Y) \to (X',Y')$ and $(h,k) : (X',Y') \to (X,Y)$ be morphisms.

Let $\operatorname{id}_X$, $\operatorname{id}_Y$ be the identity morphisms for the objects $X$ and $Y$ respectively.

Then:

Similarly,

Therefore $(\operatorname{id}_X,\operatorname{id}_Y)$ satisfies the property of an identity morphism.

Now let $(f,g)$, $(h,k)$ and $(\ell,m)$ be morphisms of $\mathbf C \times \mathbf D$. We have:

Therefore composition of morphisms in $\mathbf C \times \mathbf D$ is also associative.