exercise

Exercises from Category Theory for Scientists (CTfS), Chapter 4 (“Basic category theory”). 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 4 Solutions. Index: Map of Content.

Exercise 4.1.1.8

(The category of finite linear orders.) Let be the full subcategory of spanned by the finite nonempty linear orders, and let . What are the cardinalities of

  • a. ;
  • b. ;
  • c. ;
  • d. ;
  • e. (Challenge) ?

CTfS §4.1.1; context: Map of Content, Monotone Map, Simplex Category.

Sources: CTfS, Exercise 4.1.1.8.

Solution: Solution 4.1.1.8

Exercise 4.1.2.29

Let be the graph whose vertices are all cities in the US and whose arrows are airplane flights connecting cities. What idea is captured by the free category on ?

CTfS §4.1.2; context: Free Category, Map of Content.

Sources: CTfS, Exercise 4.1.2.29.

Solution: Solution 4.1.2.29

Exercise 4.2.1.10

Let .

  • a. What is the automorphism group of , and how many elements does it have?
  • b. What is the endomorphism monoid of , and how many elements does it have?
  • c. Is the endomorphism monoid of the underlying monoid of the automorphism group?

CTfS §4.2.1; context: Endomorphism Monoid, Map of Content.

Sources: CTfS, Exercise 4.2.1.10.

Solution: Solution 4.2.1.10

Exercise 4.2.1.11

Consider the graph with vertices and arrows (arrow goes from to ): a square with both directions on each side. What is its group of automorphisms? (Hint: every automorphism of induces an automorphism of ; which ones preserve the arrows?)

CTfS §4.2.1; context: Endomorphism Monoid, Map of Content.

Sources: CTfS, Exercise 4.2.1.11.

Solution: Solution 4.2.1.11

Exercise 4.2.1.13

A preorder can be considered as a category . A partial order is a preorder with an additional property (antisymmetry). Phrase this property in terms of isomorphisms in .

CTfS §4.2.1; context: Map of Content, Partial Order.

Sources: CTfS, Exercise 4.2.1.13.

Solution: Solution 4.2.1.13

Exercise 4.2.1.22

Which of the following graphs are symmetric (admit an arrow-reversing involution )? (a) a pictured graph; (b) the graph of (3.3); (c) the graph of Exercise 3.3.1.8; (d) the graph of (3.6); (e) the graph with one vertex and one arrow; (f) the graph of Exercise 4.2.1.11.

CTfS §4.2.1; context: Map of Content, Symmetric Graph.

Sources: CTfS, Exercise 4.2.1.22.

Solution: Solution 4.2.1.22

Exercise 4.2.1.23

Let be the graph indexing category () and the symmetric graph indexing category (additionally with , , ).

  • a. How many functors are there?
  • b. Is one more “reasonable” than the others?
  • c. Choose the most reasonable one, . For a symmetric graph , is a graph; which graph? What has changed?

CTfS §4.2.1; context: Map of Content, Symmetric Graph.

Sources: CTfS, Exercise 4.2.1.23.

Solution: Solution 4.2.1.23

Exercise 4.2.2.3

Consider the schema with objects (“a father”), (“a child”), arrows (“has as first child”), (“has as father”) and the PED . How many morphisms (in total) are there in the category generated by ?

CTfS §4.2.2; context: Map of Content, Presentation of a Category.

Sources: CTfS, Exercise 4.2.2.3.

Solution: Solution 4.2.2.3

Exercise 4.2.3.12

Let be a torus and . Since the fundamental groupoid is a category, what does represent?

CTfS §4.2.3; context: Groupoid, Map of Content.

Sources: CTfS, Exercise 4.2.3.12.

Solution: Solution 4.2.3.12

Exercise 4.2.4.4

Take the preorder of jurisdictions (ordered by inclusion ) and let be the set of all laws actually being respected by all people in .

  • a. Does extend to a functor ?
  • b. If instead we assign to each jurisdiction the meet (conjunction) of all laws respected there, i.e. the maximal law respected throughout, does this extend to a functor ?

CTfS §4.2.4; context: Contravariant Functor, Map of Content.

Sources: CTfS, Exercise 4.2.4.4.

Solution: Solution 4.2.4.4

Exercise 4.3.1.10

Let be a function and the constant functors (every graph ↦ , resp. ; every morphism ↦ identity).

  • a. Use to construct a natural transformation .
  • b. What are its components?

CTfS §4.3.1; context: Constant Functor, Map of Content.

Sources: CTfS, Exercise 4.3.1.10.

Solution: Solution 4.3.1.10

Exercise 4.3.1.11

Let be the functors taking a graph to its set of arrows, resp. vertices.

  • a. What natural transformation might “taking source vertices gives a natural transformation from to ” refer to?
  • b. What are its components?
  • c. Would “taking target vertices” also be a natural transformation?

CTfS §4.3.1; context: Map of Content, Natural Transformation.

Sources: CTfS, Exercise 4.3.1.11.

Solution: Solution 4.3.1.11

Exercise 4.3.2.13

A finite state machine on alphabet is a functor with . What kinds of changes of state machines are made by natural isomorphisms?

CTfS §4.3.2; context: Finite State Machine, Map of Content, Natural Transformation.

Sources: CTfS, Exercise 4.3.2.13.

Solution: Solution 4.3.2.13

Exercise 4.3.3.3

Recall set-indexed sets (Definition 2.7.6.12). Given a set , come up with a schema whose instances are -indexed sets. Is the notion of morphism between instances (natural transformations) aligned with the definition of “mapping of -indexed sets”?

CTfS §4.3.3; context: C-Set, Map of Content.

Sources: CTfS, Exercise 4.3.3.3.

Solution: Solution 4.3.3.3

Exercise 4.3.3.6

Let be the graph instance with one arrow . Let be the graph of Example 4.3.3.4 (arrows , ) and the graph with arrows , , , and an isolated vertex .

  • a. How many natural transformations are there?
  • b. How many ?
  • c. Any conjecture about natural transformations for arbitrary graphs ?

CTfS §4.3.3; context: C-Set, Map of Content, Representable Functor.

Sources: CTfS, Exercise 4.3.3.6.

Solution: Solution 4.3.3.6

Exercise 4.3.4.5

Let be the category of finite sets and functions, and the full subcategory on the sets . For every there is an isomorphism for a unique . Find an equivalence of categories .

CTfS §4.3.4; context: Category of Finite Sets, Map of Content.

Sources: CTfS, Exercise 4.3.4.5.

Solution: Solution 4.3.4.5

Exercise 4.3.4.13

Let , be the discrete categories on one and two objects. There is only one functor . (a) Is it full? (b) Is it faithful?

CTfS §4.3.4; context: Full and Faithful Functor, Map of Content.

Sources: CTfS, Exercise 4.3.4.13.

Solution: Solution 4.3.4.13

Exercise 4.3.4.14

Let be the empty category and the unique functor. For general , is (a) full, (b) faithful, (c) an equivalence?

CTfS §4.3.4; context: Full and Faithful Functor, Map of Content.

Sources: CTfS, Exercise 4.3.4.14.

Solution: Solution 4.3.4.14

Exercise 4.3.4.16

Let be the group with two elements, as a one-object category. Are there any fully faithful functors ?

CTfS §4.3.4; context: Full and Faithful Functor, Map of Content.

Sources: CTfS, Exercise 4.3.4.16.

Solution: Solution 4.3.4.16

Exercise 4.4.1.5

Consider the schema () and the schema with arrows , , , but without the PED .

  • a. How many schema morphisms send to ?
  • b. How many schema morphisms send to ?

CTfS §4.4.1; context: Categories and Schemas are Equivalent, Map of Content.

Sources: CTfS, Exercise 4.4.1.5.

Solution: Solution 4.4.1.5

Exercise 4.4.1.6

Let be the schema (one vertex , one arrow ) with the PED , and let be the schema with one vertex and no arrows. (a) Is in ? (b) Is it isomorphic to any other ?

CTfS §4.4.1; context: Categories and Schemas are Equivalent, Map of Content.

Sources: CTfS, Exercise 4.4.1.6.

Solution: Solution 4.4.1.6

Exercise 4.4.1.7

With as in Exercise 4.4.1.6: what is (a) , (b) ? (Hint: .)

CTfS §4.4.1; context: Categories and Schemas are Equivalent, Map of Content, Start Here.

Sources: CTfS, Exercise 4.4.1.7.

Solution: Solution 4.4.1.7

Exercise 4.5.1.4

Consider and (divisibility: iff for some ), and their product order . Which are true: ? ? ? ?

CTfS §4.5.1; context: Divisibility Order, Map of Content.

Sources: CTfS, Exercise 4.5.1.4.

Solution: Solution 4.5.1.4

Exercise 4.5.1.15

Let be a function, e.g. . Its graph is a curve in , understood as a function .

  • a. Given , what are the coordinates of ?
  • b. Obtain using the universal property of products.

CTfS §4.5.1; context: Map of Content, Product.

Sources: CTfS, Exercise 4.5.1.15.

Solution: Solution 4.5.1.15

Exercise 4.5.2.5

Let in a category . Consider the two diagrams: the infinite chain , and the single loop at .

  • a. Should these have the same indexing category?
  • b. If so, what allows the pictures to look different?
  • c. If not, what coincidence makes them look so alike?

CTfS §4.5.2; context: Diagram, Map of Content.

Sources: CTfS, Exercise 4.5.2.5.

Solution: Solution 4.5.2.5

Exercise 4.5.2.9

Let be the empty category and . Draw .

CTfS §4.5.2; context: Cone Category, Map of Content, Simplex Category.

Sources: CTfS, Exercise 4.5.2.9.

Solution: Solution 4.5.2.9

Exercise 4.5.2.10

Let be the graph indexing schema . What is , and how does it compare to the equalizer-like shape (4.18)?

CTfS §4.5.2; context: Cone Category, Map of Content.

Sources: CTfS, Exercise 4.5.2.10.

Solution: Solution 4.5.2.10

Exercise 4.5.3.12

Let be the free monoid on , viewed as a one-object category. (a) Does it have an initial object? (b) A terminal object?

CTfS §4.5.3; context: Map of Content, Terminal Object.

Sources: CTfS, Exercise 4.5.3.12.

Solution: Solution 4.5.3.12

Exercise 4.5.3.13

Let be the indiscrete category on a set of objects (exactly one morphism between any two objects). (a) Does have an initial object? (b) A terminal object?

CTfS §4.5.3; context: Codiscrete Category, Map of Content.

Sources: CTfS, Exercise 4.5.3.13.

Solution: Solution 4.5.3.13

Exercise 4.5.3.19

Let be the graph indexing category.

  • a. What is ?
  • b. Let be the graph of Example 3.3.1.2. Give an example of an object of (a cone over ).
  • c. What is the name of the limit of ?

CTfS §4.5.3; context: Cone Category, Map of Content.

Sources: CTfS, Exercise 4.5.3.19.

Solution: Solution 4.5.3.19

Exercise 4.6.2.5

A finite state machine is a functor from the one-object category (two loops ), recorded by the action table of Example 3.1.3.1. What is the category of elements ? How does it relate to Figure 3.1?

CTfS §4.6.2; context: Category of Elements, Finite State Machine, Map of Content.

Sources: CTfS, Exercise 4.6.2.5.

Solution: Solution 4.6.2.5

Exercise 4.6.4.3

Let , considered as functors . What is the comma category of ?

CTfS §4.6.4; context: Comma Category, Map of Content.

Sources: CTfS, Exercise 4.6.4.3.

Solution: Solution 4.6.4.3