Skip to content
The Lumenary

Practice · Early undergraduate

Categories

Categories

Warm-upHuman

Which of these are categories (with the obvious composition)? Choose all that apply.

Choose all that apply

Categories

Warm-upHuman

Regard the set {1,2,3,6}\{1, 2, 3, 6\}, ordered by divisibility, as a category. How many morphisms does it have in total, including the identities?

Categories

CoreHuman

Let M=(Z/12,×,1)M = (\mathbb{Z}/12, \times, 1) be the monoid of residues modulo 1212 under multiplication, and BM\mathbf{B}M its one-object category. How many of the 1212 morphisms of BM\mathbf{B}M are isomorphisms?

Categories

CoreHuman

In the proof that a left inverse gg and a right inverse hh of f:A→Bf : A \to B are equal, g=g∘idB=g∘(f∘h)=(g∘f)∘h=idA∘h=h,g = g \circ \mathrm{id}_B = g \circ (f \circ h) = (g \circ f) \circ h = \mathrm{id}_A \circ h = h, which axiom justifies the step g∘(f∘h)=(g∘f)∘hg \circ (f \circ h) = (g \circ f) \circ h?

Choose one

Categories

CoreHuman

Which of these are epimorphisms that are not surjective? Choose all that apply.

Choose all that apply

Categories

CoreHuman

Theorem: in every category, if g∘fg \circ f is a monomorphism then ff is a monomorphism. What does the duality principle give us for free?

Choose one

Categories

CoreFormal

Mathlib writes composition in diagrammatic order: a ≫ f means "first a, then f", i.e. f∘af \circ a. Which statement says that f : X ⟶ Y is a monomorphism?

Choose one

Categories

StretchComputational

A function between finite sets {0,…,m−1}→{0,…,n−1}\{0, \dots, m-1\} \to \{0, \dots, n-1\} is stored as a tuple f of length mm with values in range(n). Write is_epi(f, n) that decides whether f is an epimorphism directly from the definition, by testing cancellation against all pairs of maps k,l:{0,…,n−1}→{0,1}k, l : \{0, \dots, n-1\} \to \{0, 1\} (that is, k ∘ f == l ∘ f must force k == l). Do not test surjectivity directly!

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.