Solutions to the exercises of DaoFP, Chapter 2: DaoFP Chapter 2 Exercises. Index: Map of Content.
Solution 2.1.1
Both sides send to by associativity. Post-composition is thus a Functor: the covariant Hom Functor .
Sources: DaoFP Exercise 2.1.1.
Solution 2.1.2
and both send to , by associativity of in the category. See Function Composition.
Sources: DaoFP Exercise 2.1.2.
Solution 2.1.3
Applied to : the right side gives , the left ; equal by associativity. Pre-composition is a Contravariant Functor — the contravariant Hom Functor .
Sources: DaoFP Exercise 2.1.3.
Solution 2.3.1
Nothing: and by the identity laws. See Identity Function, Category.
Sources: DaoFP Exercise 2.3.1.
Solution 2.4.1
Let and with . Since is terminal, regardless. So is mono.
Sources: DaoFP Exercise 2.4.1.
Solution 2.5.1
Let and with . If has a Global Element (so , i.e. is a section of ), then , so is epi. This is the intended reading (in : every nonempty set surjects onto the point). Caveat: for the map is not epi in , since the two maps agree on — so the statement needs to have an element.
Sources: DaoFP Exercise 2.5.1.