The Lumenary · Early undergraduate
Categories
Name: ______________________
Date: ______________________
You will learn to
- State the axioms of a category and verify them for , , , , a category of matrices and a poset regarded as a category
- Recognise a monoid as a category with one object and a preorder as a category with at most one morphism between any two objects
- Define isomorphisms in a category and prove that inverses are unique
- Prove that in the monomorphisms are the injections and the epimorphisms are the surjections, and that is an epimorphism of rings that is not surjective
- Form the opposite category and use the duality principle to turn one theorem into two
- 1.
Which of these are categories (with the obvious composition)? Choose all that apply.
- A.Objects: positive integers. One morphism exactly when divides .
- B.Objects: integers. One morphism exactly when .
- C.Objects: sets. Morphisms: injective functions.
- D.Objects: sets. Morphisms: functions that are at most two-to-one.
- E.Objects: natural numbers. Morphisms : real matrices, composed by multiplication.
- 2.
Regard the set , ordered by divisibility, as a category. How many morphisms does it have in total, including the identities?
- 3.
Let be the monoid of residues modulo under multiplication, and its one-object category. How many of the morphisms of are isomorphisms?
- 4.
In the proof that a left inverse and a right inverse of are equal, which axiom justifies the step ?
- A.Associativity of composition
- B.The unit laws
- C.Commutativity of composition
- D.The hypothesis
- 5.
Which of these are epimorphisms that are not surjective? Choose all that apply.
- A.The inclusion in the category of rings
- B.The inclusion in the category of monoids
- C.The inclusion in
- D.The homomorphism from to in the category of groups
- 6.
Theorem: in every category, if is a monomorphism then is a monomorphism. What does the duality principle give us for free?
- A.If is an epimorphism then is an epimorphism.
- B.If is an epimorphism then is an epimorphism.
- C.If is a monomorphism then is a monomorphism.
- D.If is an isomorphism then is an isomorphism.
- 7.
Mathlib writes composition in diagrammatic order:
a ≫ fmeans "firsta, thenf", i.e. . Which statement says thatf : X ⟶ Yis a monomorphism?- A.
∀ (T : C) (a b : T ⟶ X), a ≫ f = b ≫ f → a = b - B.
∀ (T : C) (a b : Y ⟶ T), f ≫ a = f ≫ b → a = b - C.
∀ x y : X, f x = f y → x = y - D.
∃ g : Y ⟶ X, f ≫ g = 𝟙 X
- A.
- 8.
A function between finite sets is stored as a tuple
fof length with values inrange(n). Writeis_epi(f, n)that decides whetherfis an epimorphism directly from the definition, by testing cancellation against all pairs of maps (that is,k ∘ f == l ∘ fmust forcek == l). Do not test surjectivity directly!Computational — Practice