Composition is defined for two morphisms. If more than two morphisms are given, e.g.,
then one can compose them in several ways, for example:
so that at every step one is only composing two morphisms. Prove that the result of any such nested composition is independent of the placement of the parentheses.
(Hint: Use induction on to show that any such choice for equals
Carefully working out the case is helpful.)
In Example 3.3 we have seen how to construct a category from a set endowed with a relation, provided this latter is reflexive and transitive. For what types of relations is the corresponding category a groupoid (cf. Example 4.6)?