Functors
Warm-upHumanWhich of these are functors? Choose all that apply.
Which of these are functors? Choose all that apply.
How many group homomorphisms are there from to ? (That is, what is ?)
Which argument correctly proves that the groups and are not isomorphic?
For the contravariant power-set functor (which sends to the preimage map ), and functions , , which equation holds for all ?
Which of the following are morphisms that are not isomorphisms, but whose image under the indicated functor is an isomorphism? Choose all that apply.
In Lean/Mathlib, which type is right for the preimage power-set functor, which sends to ?
In the proof that there is no retraction (with ), which facts are used? Choose the most complete correct answer.
Functions between finite sets are stored as Python dicts. Write image(f, S) (the set ) and preimage(f, T) (the set ), and compose(g, f) (first f, then g). The tests check the functor laws: images compose covariantly, , and preimages contravariantly, .