The Lumenary · Early undergraduate
Functors
Name: ______________________
Date: ______________________
You will learn to
- Define covariant and contravariant functors and show that a contravariant functor from to is the same as a functor
- Verify that the power-set, forgetful and hom functors are functors, and describe the free monoid (finite lists) and the free vector space on a set as functors
- Prove that functors preserve isomorphisms, and use this to show that objects are not isomorphic
- Use functoriality of the fundamental group to show that the disc does not retract onto its boundary circle
- Recognise that functors need not be injective and need not reflect isomorphisms
- 1.
Which of these are functors? Choose all that apply.
- A.: a group goes to its underlying set, a homomorphism to its underlying function.
- B.: goes to the set of finite lists in , and to "apply to every entry".
- C.: goes to its centre , and to its restriction to the centre.
- D.Between two posets regarded as categories: a monotone map , with sent to .
- E.: goes to its power set, and to the preimage map .
- 2.
How many group homomorphisms are there from to ? (That is, what is ?)
- 3.
Which argument correctly proves that the groups and are not isomorphic?
- A. but , and the functor would send an isomorphism to a bijection.
- B.They have different orders.
- C.One is abelian and the other is not.
- D.The bijection , , , is not a homomorphism.
- 4.
For the contravariant power-set functor (which sends to the preimage map ), and functions , , which equation holds for all ?
- A., i.e.
- B.
- C.
- D.None — preimages do not compose.
- 5.
Which of the following are morphisms that are not isomorphisms, but whose image under the indicated functor is an isomorphism? Choose all that apply.
- A.The identity map from with the discrete topology to with the usual topology, and the forgetful functor .
- B.The morphism in the poset , and the functor to sending both objects to .
- C.A bijective group homomorphism, and the forgetful functor .
- D.A matrix with , regarded as a morphism of the one-object category , and .
- 6.
In Lean/Mathlib, which type is right for the preimage power-set functor, which sends to ?
- A.
(Type u)ᵒᵖ ⥤ Type u - B.
Type u ⥤ Type u - C.
(Type u)ᵒᵖ ⥤ (Type u)ᵒᵖ - D.
Type u → Type u
- A.
- 7.
In the proof that there is no retraction (with ), which facts are used? Choose the most complete correct answer.
- A.Functoriality of gives on ; this identity would factor through , which is impossible.
- B. preserves isomorphisms, and is not isomorphic to .
- C. is compact and is not.
- D. minus a point is connected, so cannot be continuous.
- 8.
Functions between finite sets are stored as Python dicts. Write
image(f, S)(the set ) andpreimage(f, T)(the set ), andcompose(g, f)(firstf, theng). The tests check the functor laws: images compose covariantly, , and preimages contravariantly, .Computational — Practice