Exercises from Category Theory for Scientists (CTfS), Chapter 5 (“Categories at work”). CTfS gives no solutions; the solutions here are the wiki’s own. This is a selection: the exercises referenced from concept notes. Solutions: CTfS Chapter 5 Solutions. Index: Map of Content.
Exercise 5.1.1.3
Let , the multiplicative monoid of natural numbers, and with , , . Let be the adjunction bijection. What is ?
CTfS §5.1.1; context: Free-Forgetful Adjunction, Map of Content.
Sources: CTfS, Exercise 5.1.1.3.
Solution: Solution 5.1.1.3
Exercise 5.1.1.6
Let send a graph to its set of vertices. This functor has both a left and a right adjoint. What are they?
CTfS §5.1.1; context: Adjunction, Map of Content.
Sources: CTfS, Exercise 5.1.1.6.
Solution: Solution 5.1.1.6
Exercise 5.1.1.9
The discrete category functor has a left adjoint . Describe it. (Hint: look at the mate isomorphism at and .)
CTfS §5.1.1; context: Adjunction, Map of Content.
Sources: CTfS, Exercise 5.1.1.9.
Solution: Solution 5.1.1.9
Exercise 5.1.4.5
Let , and with , .
- a. How many possibilities are there for ?
- b. Let be the instance with table 0 (word ↦ ): Am ↦ To be verb, Baltimore ↦ Place, Carla ↦ Person, Develop ↦ Action verb, Edward ↦ Person, Foolish ↦ Adjective, Green ↦ Adjective; table 1 (): Action verb ↦ Verb, Adjective ↦ Adjective, Place ↦ Noun, Person ↦ Noun, To be verb ↦ Verb; table 2: Adjective, Noun, Verb. Write out the two tables of .
CTfS §5.1.4; context: Data Migration Functor, Map of Content.
Sources: CTfS, Exercise 5.1.4.5.
Solution: Solution 5.1.4.5
Exercise 5.1.4.8
Let (discrete categories) send , , .
- a. Write down an instance .
- b. Given that ” performs a parameterized colimit”, guess as two sets made from the three sets you wrote down.
CTfS §5.1.4; context: Data Migration Functor, Map of Content.
Sources: CTfS, Exercise 5.1.4.8.
Solution: Solution 5.1.4.8
Exercise 5.1.4.11
With as in Exercise 5.1.4.8:
- a. Write down an instance .
- b. Given that ” performs a parameterized limit”, guess as two sets made from the three sets.
CTfS §5.1.4; context: Data Migration Functor, Map of Content.
Sources: CTfS, Exercise 5.1.4.11.
Solution: Solution 5.1.4.11
Exercise 5.2.3.3
- a. Come up with 4 overlapping open subsets covering the square ; label each open set and each overlap, and draw the preorder of these regions under inclusion. Make up formulas with , a range of temperatures that can exist at each point.
- b. Define a presheaf by . What are the restriction maps? Do you like the name “value-assignment throughout ”?
- c. Define . Is there a morphism of presheaves ?
CTfS §5.2.3; context: Map of Content, Sheaf.
Sources: CTfS, Exercise 5.2.3.3.
Solution: Solution 5.2.3.3
Exercise 5.3.2.5
Let be a set of “exceptions” (like “overflow!”, “division by zero!”). Let be . Following Example 5.3.2.4 (the Maybe monad), find a unit and multiplication making a monad.
CTfS §5.3.2; context: Map of Content, Maybe Monad.
Sources: CTfS, Exercise 5.3.2.5.
Solution: Solution 5.3.2.5
Exercise 5.3.3.5
Let be the power set monad.
- a. Given a morphism in (a function ), is there a natural way to associate a relation ?
- b. How does composition in relate to composition of relations?
CTfS §5.3.3; context: Map of Content, Power Set Monad.
Sources: CTfS, Exercise 5.3.3.5.
Solution: Solution 5.3.3.5
Exercise 5.3.3.6
Let be the power set monad. has binary products. What is the product of and ?
CTfS §5.3.3; context: Map of Content, Power Set Monad.
Sources: CTfS, Exercise 5.3.3.6.
Solution: Solution 5.3.3.6
Exercise 5.3.3.7
Let be the power set monad. has binary coproducts. What is the coproduct of and ?
CTfS §5.3.3; context: Map of Content, Power Set Monad.
Sources: CTfS, Exercise 5.3.3.7.
Solution: Solution 5.3.3.7
Exercise 5.4.1.4
Consider an operad like the little squares operad but with three objects: square, circle, equilateral triangle. A morphism is a positioning of non-overlapping shapes inside a shape.
- a. Draw an example of a morphism from two circles and a square to a triangle.
- b. Find three other morphisms that compose into , and draw the composite.
CTfS §5.4.1; context: Map of Content, Operad.
Sources: CTfS, Exercise 5.4.1.4.
Solution: Solution 5.4.1.4