Foundations/Isomorphisms, Monos, and Epis

Lesson 1.31,654 words

Isomorphisms, Monos, and Epis

Injectivity and surjectivity mention elements, so a general category re-expresses them by cancellation: monomorphisms cancel on the left, epimorphisms on the right. Sections and retractions are the split versions with an explicit one-sided inverse.

╌╌╌╌

A function between sets is injective when distinct inputs go to distinct outputs, and surjective when every element of the codomain is hit. Both definitions mention elements, so neither makes sense in a general category, where objects are opaque. The categorical replacements are cancellation properties: an arrow is monic when it can be cancelled from the left of an equation, epic when it can be cancelled from the right. In these recover injective and surjective exactly. In other categories they behave more subtly, and the gap between monic and epic and isomorphism is genuine.

Monomorphisms

The definition quantifies over all arrows into . Barr & Wells give this quantification a useful reading: an arbitrary arrow is a variable element of parametrized by , and one may write for . In that notation the definition reads exactly like injectivity — if then — except that the elements now range over arrows.1

The mono test: a fork of two parallel arrows into followed by . If the two composites agree, the fork must already have been equal.

In , monic equals injective. If is injective and , then for each in the common domain, forces . Conversely, if is monic, test against arrows from a one-element set: distinct global elements with would violate monicity, and global elements of a set are exactly its elements.2

The same argument shows injective implies monic in any category of structured sets — , , , . The converse direction needs a test object rich enough to distinguish elements, and the terminal object does not always suffice. In the one-element monoid has exactly one arrow into any monoid (it must send to ), so global elements are useless. The repair: test against instead. For each the map , , is a monoid morphism, and gives ; if then , contradicting monicity. So in the monos coincide with the injective morphisms after all, though the proof had to find the right probe.3

Two closure facts, used constantly in diagram chases:

Epimorphisms

Epimorphisms are the formal dual: monos in .

The epi test is the mirror image: two arrows out of that agree after precomposing with must agree outright.

In , epic equals surjective. Surjectivity gives cancellation directly. For the converse, suppose misses ; define agreeing everywhere except that and . Then but , so is not epic.4

Outside , the correspondence with surjectivity fails. The standard counterexample:

The inclusion is injective, hence also monic. It is not an isomorphism. So:

  • monic + epic does not imply isomorphism. An arrow that is both is called a bimorphism, and a category in which every bimorphism is an isomorphism is called balanced. and are balanced; , (where is epic), and (where any continuous bijection is a bimorphism) are not.5
  • In a preorder viewed as a category, every arrow is vacuously both monic and epic — there are no parallel pairs to separate — so every arrow is a bimorphism, while the only isomorphisms in a poset are identities. Thin categories are as unbalanced as possible.

Worked example ( is a non-surjective epi in ). A ring homomorphism is fixed by its restriction to . For a nonzero integer , applying to gives , so is the inverse of in . Inverses are unique, so is determined by , and by . Then is fixed on all of . Two ring maps out of that agree on therefore agree everywhere, giving the right-cancellation for the inclusion . So is epic; it is injective and not surjective, hence a bimorphism that is no isomorphism, and is not balanced.

Sections and retractions

A one-sided inverse is an explicit witness certifying cancellation.

Applying to both sides of gives , so every section is monic; dually, every retraction is epic. The converses fail:

  • Epis that do not split. In , every surjection splits — for each choose a preimage; this is precisely the axiom of choice. In even surjective epis can fail to split: the quotient has no monoid section.6
  • Monos that do not split. In , any map out of is monic, but only has a left inverse. Every mono with nonempty source splits in ; in , the inclusion of a subgroup usually does not.
  • In a poset, the only split monos or split epis are identities: forces , hence .
A section-retraction pair: the round trip from through back to is the identity, while the other round trip is only an idempotent on .

An isomorphism is an arrow with a two-sided inverse, so every isomorphism is both a split mono and a split epi. A weaker hypothesis already forces an isomorphism:

The full hierarchy, with all containments strict in general:

The hierarchy of special arrows. Each region is strictly larger than the ones inside it in a general category; in Set the split and plain layers collapse (given choice), and in a balanced category bimorphism = iso.
ClassDefinitionIn In In a poset
monicleft-cancellableinjectiveinjectiveevery arrow
epicright-cancellablesurjectivedense-image-like ( counts)every arrow
split monichas left inverseinjective, source nonempty (or identity)rarer than monicidentities only
split epichas right inversesurjective (uses choice)rarer than epicidentities only
isomorphismhas two-sided inversebijectionbijective morphismidentities only

Hom-set characterizations

All five classes can be phrased uniformly through the induced maps on hom-sets. An arrow induces, for each object , a post-composition function sending , and for each a pre-composition function sending (note the reversal).

The first two lines are the definitions restated. The third is worth unwinding once: surjectivity of at produces an with . This proposition is an early sighting of a theme that dominates the Yoneda lemma: every property of an arrow is encoded in what composition with it does to hom-sets.

Subobjects

Monomorphisms generalize injections, and injections generalize subset inclusions, so monos are the raw material for the categorical notion of subthing. The subtlety is that many different monos into carve out the same piece of , and the definition must quotient that redundancy away.

Say a mono factors through a mono if for some . Write when each factors through the other; then the connecting arrows are unique and are mutually inverse isomorphisms, and is an equivalence relation on monos with target .8

Two equivalent monos into : each factors through the other, and the comparison arrows and are forced to be mutually inverse.

In this recovers subsets, in a precise sense: every subobject of a set contains exactly one genuine inclusion (the common image of all its members), and distinct subsets give distinct subobjects. Subobjects are not literally subsets — no categorical definition could be, since the same element in both violates the typing discipline — but the two systems of data determine each other.

The categorical attitude that results is strict typing with explicit coercions: is a subobject of not because an integer is a real number but because there is a canonical mono , regarded as an inclusion even when the underlying construction (Dedekind cuts, Cauchy sequences) changes what the elements really are. Barr & Wells press the computing analogy: converting an INT to a REAL may change the representation in memory; what matters is that the conversion map is monic and canonical. The mono is the type conversion.

Duality

Nearly every definition here came in mirror pairs, and only one member of each pair was ever proved: epi is mono in , a retraction is a section in , and the composition and factor lemmas dualize word for word (if is epic, so is ). This is the duality principle from the first lesson: one proof, two theorems. Initial and terminal objects, products and coproducts, and equalizers and coequalizers are all dual pairs, and monos return there as the arrows that equalizers produce.

Footnotes

  1. Barr & Wells, Category Theory for Computing Science, §2.8.1–2.8.2 — the definition of monomorphism and the reading of arbitrary arrows as variable elements parametrized by .
  2. Barr & Wells, §2.8.3 — monic equals injective in , using global elements for the converse direction.
  3. Barr & Wells, §2.8.5 — monos in are injective, proved by probing with the morphisms from .
  4. Barr & Wells, §2.9.1–2.9.3 — epimorphisms, the two-function proof that epic equals surjective in , and the proof that is a non-surjective epi in . 2
  5. Simmons, An Introduction to Category Theory, §2.2, Definitions 2.2.1–2.2.5 and Exercises 2.2.5–2.2.8 — monics and epics by cancellation, bimorphisms, balanced categories, and the epic insertions in and in .
  6. Barr & Wells, §2.9.7 and Exercises — split monos and epis, the axiom of choice as every surjection splits in , the non-split surjection in , and non-split monos out of .
  7. Simmons, §2.2, Definition 2.2.3, the arrow hierarchy, and Exercise 2.2.1 — sections and retractions, split monic/epic terminology, and section + epic implies isomorphism.
  8. Barr & Wells, §2.8.8–2.8.14 — factorization of monos, the equivalence relation, subobjects as equivalence classes, the correspondence with subsets in , and the strong-typing reading of inclusion maps.

╌╌ END ╌╌