41.03.03 · category-theory / adjunctions

Adjunctions — the unit-counit calculus and the adjoint functor theorems

shipped3 tiersLean: none

Anchor (Master): Mac Lane 1998 Categories for the Working Mathematician 2e (Springer GTM 5) Ch. IV §3-4, Ch. V §4-6 (fully faithful adjunctions, the adjoint functor theorems); Riehl 2016 §4.4-4.6; Kelly 1982 Basic Concepts of Enriched Category Theory (the calculus of mates and mates in 2-categories)

Intuition Beginner

Adjoints are best approximations between two worlds. From a plain set of letters, the free-group construction builds the most economical group that contains them, inventing only the products and inverses the group laws force. The matching forgetful step strips a group back to its bare set. These two directions are not rivals: they are a paired team, and the precise way they cooperate is called an adjunction.

This unit studies the two pieces of structure every adjunction carries and the arithmetic for combining them. The first piece, the unit, records what the build step must insert. The second, the counit, records what the forget step can safely strip off. Between them they form a small toolkit, and the toolkit obeys two cancellation rules. Those two rules, the triangle identities, are the whole calculus.

Once the two rules are in hand, a great many facts about adjoints turn into bookkeeping. Slide a build past a forget, cancel a matched pair, read off the answer. This unit teaches that bookkeeping, then turns the question around: given only a forget step, when can a build step be guaranteed to exist at all? That reverse question leads to the adjoint functor theorems.

Visual Beginner

Picture the build and forget moves as arrows running between two columns, with the unit and counit as the labels that turn one direction into the other. The two cancellation rules are what keep the picture honest.

the pieces and rules plain reading
the unit the map inserting generators into the free object
the counit the map multiplying out a rebuilt group
first cancellation build, insert generators, then multiply out — back where you started
second cancellation forget to a set, rebuild, then map back — the original group is unchanged

The cap-and-cup picture is the heart of the calculus. When a cap sits directly above a matching cup, the zigzag pulls straight: that straightening is each triangle identity, and every manipulation below is some combination of insert, multiply-out, and pull-straight.

Worked example Beginner

Build the free group on two letters, and . Its elements are all reduced words in , , and their inverses and : words like , , or the empty word. Multiplication concatenates and cancels adjacent inverse pairs. There is no relation between and except the group laws, so this group is free of extra equations.

The unit of the adjunction inserts the two letters as generators. Concretely it is the set map sending and , regarded as landing in the underlying set of the free group. Nothing else is inserted — every other element is forced by the group laws once the two generators are named.

Step 1. Pick a small target. Take the flip group on two elements, written and , where adding to returns to . A group homomorphism from the free group on into the flip group must send each generator somewhere, and each choice extends in exactly one way.

Step 2. Count the choices. The generator has possible images ( or ), and the generator independently has possible images. Together that is homomorphisms, one for each way to assign the two generators.

Step 3. Count the other way. A set map from the two-element set into the underlying set of the flip group also has options, since each letter chooses between two values. Four and four.

What this tells us: the four group homomorphisms match the four set maps, one for one, and this matching holds for every target group at once. The unit's job of inserting the two generators is exactly what makes a homomorphism the same labour as choosing where the raw letters go.

Check your understanding Beginner

Formal definition Intermediate+

Throughout, denotes an adjunction with left adjoint to , unit , and counit , in the notation of 41.03.01. The unit and counit satisfy the triangle identities and , and the hom-set bijection is recovered as with inverse . The present unit develops the calculus of these data: a systematic equational and diagrammatic theory for sliding adjoints past each other.

Definition (mate of a natural transformation). Let as above and let and be functors. The mate correspondence (or transpose) is the bijection of natural transformations

with inverse , where and denote whiskering of the unit and counit with and [Kelly 1982]. Componentwise, . This is the hom-set adjunction of 41.03.01 lifted objectwise to functor categories, and it is the workhorse of the entire calculus: a natural transformation between composites of can be replaced, at no cost, by one between composites of .

Definition (mate of a square). Let (between ) and (between ) be adjunctions, and let and be functors. For any -cell , its mate is the -cell given by the pasting

using the unit of and the counit of . The mate is computed by inserting one unit, sliding across, and cancelling with one counit; the inverse mate inserts and cancels with .

Definition (adjunction in a -category). An adjunction in a -category consists of -cells , and -cells , satisfying the triangle identities and . Adjunctions in are the ordinary adjunctions of 41.03.01; in the -category of posets they are Galois connections; in the -category of monoidal categories, monoidal functors, and monoidal natural transformations they are monoidal adjunctions. The calculus that follows is internal to any , because it uses only the two triangle equations.

Counterexamples to common slips Intermediate+

  • The mate is not the inverse natural transformation. Transposing across produces living between different functors; it is a bijection of sets of natural transformations, not an operation that returns back. Confusing the two leads to type errors when chaining mates.

  • A fully faithful left adjoint is not the same as an equivalence. with fully faithful forces the unit to be an isomorphism, but the counit need not be; the inclusion of abelian groups into groups has a fully faithful right adjoint (the forgetful direction) and a non-invertible counit. Both triangles must collapse to invertibility for an equivalence.

  • The solution-set condition is not automatic from continuity. A continuous functor between complete categories need not satisfy it, and without it no left adjoint exists: the forgetful functor from complete Boolean algebras (with complete homomorphisms) to sets preserves all limits yet has no left adjoint. The calculus below constructs the unit and counit, but only once the condition supplies a foothold.

Key theorem with proof Intermediate+

The signature result of the unit-counit calculus is that transposing a whole natural transformation is a genuine, invertible operation governed entirely by the two triangle identities.

Theorem (the mate correspondence is a natural bijection). Let with unit and counit , and let , . The assignments

are mutually inverse bijections between and , natural in and [Mac Lane 1998].

Proof. Both assignments are natural in and because they are built from the natural by post- and pre-composition, and naturality in is whiskering. It remains to check the two round trips. For ,

where the third equality is naturality of applied to (giving ), and the last is the first triangle identity whiskered with , so .

For the other round trip, take :

using naturality of at (giving ) and then the second triangle identity whiskered with , so . Hence the two assignments are mutually inverse, and each is a bijection. The square-mate of the Formal definition is this same bijection iterated across two adjunctions.

Bridge. The mate correspondence builds toward every manipulation in the rest of this unit and appears again in 41.05.01, where the monad multiplication together with the unit is recognized as a monad, and again in 41.06.02, where Kan-extension formulas are computed as mates. The foundational reason the mate calculus works is that an adjunction is, objectwise, an isomorphism of hom-functors, so transposing a whole natural transformation amounts to transposing each component, and the triangle identities guarantee each round trip is the identity. This is exactly the two-dimensional lift of the hom-set bijection of 41.03.01, and the bridge is that every result below — the fully-faithful characterizations, the composed adjunctions, and the adjoint functor theorem — is a calculation with and pasted into commuting diagrams.

Exercises Intermediate+

Advanced results Master

Theorem (fully faithful adjunctions via unit and counit). For an adjunction with unit and counit : the left adjoint is fully faithful if and only if is a natural isomorphism; dually the right adjoint is fully faithful if and only if is a natural isomorphism [Mac Lane 1998]. These are the first fruits of the calculus: invertibility of the unit or counit is detected by a representability property of the adjoint, and each is proved by pasting against and invoking a triangle identity. A full proof is Proposition 1 below.

Theorem (adjunctions in any -category; the zigzag identities). The definition of an adjunction given above makes sense verbatim in any -category , and in the string-diagram calculus for the triangle identities become the zigzag identities: the unit is drawn as a cap and the counit as a cup, and the two triangles assert that a cap directly above a cup pulls straight to a vertical strand [Joyal-Street 1991]. This topological reading is why the calculus composes: pasting diagrams of units and counits reduce, by repeated straightening, to a normal form, so questions about whether two pastings are equal become questions about isotopy of strings. In this recovers ordinary adjunctions; in it gives Galois connections; in the -category of monoidal categories it gives monoidal adjunctions, for which the unit and counit are themselves monoidal natural transformations and the triangle identities are monoidal. The monoidal adjunctions are exactly those preserving the tensor structure on both sides, and they are the structural backbone of duality in linear logic and of the tensor-hom adjunction in enriched category theory.

Theorem (the adjoint functor theorem via the unit-counit calculus). Let be locally small and complete, locally small. Then admits a left adjoint together with unit and counit satisfying the triangle identities if and only if preserves all small limits and satisfies the solution-set condition [Freyd 1964]. The necessity is the calculus read backwards: RAPL (right adjoints preserve limits, 41.03.02) is a single mate calculation, and the adjunction itself supplies the singleton solution set . The sufficiency is the substantive direction and is where the calculus earns its keep: the solution-set condition plus completeness gives, via the weakly-initial-set lemma of 41.03.02, an initial object in each comma category ; one then constructs the counit by initiality at and verifies both triangle identities by initiality, exactly as in Exercise 8 and Proposition 3. This presentation complements the comma-category proof of 41.03.02: there the adjunction is built by exhibiting the hom-set bijection, here by building and checking the two equations directly.

Theorem (adjoints, mates, and Kan extensions). A functor has a left adjoint if and only if for each the functor is representable; the representing objects assemble into by uniqueness of representations (Yoneda, 41.04.02). Equivalently, the left adjoint is the pointwise left Kan extension of the identity along , , when that extension exists and is preserved by ; the Kan-extension formulas of 41.06.02 are themselves mate calculations, transposing the defining -cells of the extension across . The calculus of mates is thus the common engine: adjoint existence, Kan extensions, and the preservation theorems are all instances of "slide a -cell across an adjunction and cancel."

Synthesis. Putting these together, the unit-counit calculus reveals adjunctions as a single algebraic structure recurring across dimensions: the same and triangle identities define adjunctions in , in any -category, in monoidal categories, and in posets as Galois connections. The foundational reason the calculus is so effective is that the triangle identities are the zigzag identities of string diagrams, so pasting a unit against a counit topologically cancels, and fully-faithfulness, composed adjunctions, and RAPL all become isotopies of a diagram. This is exactly why the adjoint functor theorem splits so cleanly: the necessity (RAPL) is a mate calculation, and the sufficiency is the explicit construction of verified against the same two triangles, which generalises the comma-category argument of 41.03.02 by building the unit and counit directly, and is dual to the colimit-side version throughout. The central insight is that existence of a left adjoint is a representability condition, and the bridge is that the calculus of mates is the operating system on which monads 41.05.01, Kan extensions 41.06.02, and the derived adjunctions of homological algebra 01.06.01 all run.

Full proof set Master

Proposition 1 (fully faithful adjoints via unit and counit). For with unit and counit , the left adjoint is fully faithful if and only if is a natural isomorphism. Dually, is fully faithful if and only if is a natural isomorphism.

Proof. ( iso fully faithful.) We show is a bijection. For , naturality of gives , where is the adjunction transpose at . Since is invertible, , so is uniquely determined by : is injective. For surjectivity, given , set . Then , and since is a bijection, . Hence is bijective, and is fully faithful.

( fully faithful iso.) For each , the component lies in ; since is full and faithful, for a unique . Now by the first triangle identity, and faithfulness of gives . For the other composite, the second triangle identity at reads ; substituting gives . By naturality of at , . Hence , and is a two-sided inverse of . So is a natural isomorphism. The dual statement for and is obtained by reversing every -cell.

Proposition 2 (adjoint equivalence). An adjunction is an equivalence of categories if and only if both the unit and the counit are natural isomorphisms. Moreover, any equivalence of categories can be improved to an adjoint equivalence (with both invertible) by modifying the counit.

Proof. If has both isomorphisms, then and are natural isomorphisms exhibiting as quasi-inverses, so form an equivalence. Conversely, suppose are an equivalence, so there exist natural isomorphisms and . Keep as the unit. Define a new counit by transporting so the second triangle holds: set, componentwise, ; this is a natural isomorphism (composite of isomorphisms). The second triangle holds by construction and the naturality of : , and -style cancellation (using the coherence of the original equivalence, ) yields the identity. The first triangle then follows by cancelling the invertible and applying naturality — a standard triangle-from-triangle reduction. Hence is an adjoint equivalence with both unit and counit invertible.

Proposition 3 (General Adjoint Functor Theorem, unit-counit form). Let be locally small and complete and preserve all small limits and satisfy the solution-set condition. Then there exist a functor and natural transformations , satisfying both triangle identities.

Proof. Fix . The comma category has objects and morphisms with . Because preserves limits, limits in are created from (take the limit in ; -continuity supplies the structure map from ), so is complete. The solution-set condition at is a weakly initial set in . By the lemma of 41.03.02 (a complete locally small category with a weakly initial set has an initial object), has an initial object; write it .

Define on maps: for , the composite is an object of , so by initiality of there is a unique with . Uniqueness makes a functor and natural. For the counit, fix : the component is an object of , whose initial object is , so initiality gives a unique with — the second triangle identity. Naturality of follows from uniqueness in the defining factorization.

It remains to verify the first triangle . Apply : . By naturality of at , we have . Using the second triangle at , , whence . So . Initiality of in makes the factorization through unique, so . Both triangles hold, so is unit-counit adjunction data.

Proposition 4 (adjoint existence is representability). A functor has a left adjoint if and only if for each the functor is representable.

Proof. () If , then naturally in , so is represented by with universal element corresponding to under the bijection — exactly the unit.

() Suppose each is represented by some object with universal element . Representability gives, for each , a natural bijection carrying to . Set . For , the natural transformation between representables corresponds, by the Yoneda lemma (41.04.02), to a unique map with realizing ; functoriality of follows from uniqueness. The resulting family of bijections is natural in and , exhibiting .

Connections Master

  • Adjunctions: hom-set and unit-counit 41.03.01. The definitions of unit, counit, triangle identities, and the equivalence of the hom-set and unit-counit presentations are established in 41.03.01; the present unit is the equational and diagrammatic calculus that operates on those definitions, treating and as generators of a rewriting system whose relations are the two triangles.

  • RAPL, reflective subcategories, and the adjoint functor theorems 41.03.02. The General and Special Adjoint Functor Theorems are proved in 41.03.02 by constructing initial objects of comma categories and reading off the hom-set bijection; this unit reconstructs the General theorem by directly building the unit and counit and verifying the triangle identities, a complementary proof that exposes the theorem as a statement about existence of unit-counit data. RAPL, proved there, is the necessity half read here as a single mate calculation.

  • Limits, colimits, and their construction 41.02.01, 41.02.02. Limits are themselves adjoints to the diagonal functor , so the unit-counit calculus applies to cones and cocones uniformly; the completeness of used in Proposition 3, and the products-and-equalizers reduction of 41.02.02, are what make the comma category complete enough to host an initial object.

  • Representable functors and the Yoneda lemma 41.04.01, 41.04.02. Proposition 4 reduces adjoint existence to representability of the functors , and the mate correspondence is the two-dimensional shadow of Yoneda: transposing a natural transformation across is a representable-functor bijection applied componentwise, with uniqueness of representations assembling the local data into a global adjoint.

  • Monads and their algebras 41.05.01. Every adjunction generates the monad with unit and multiplication ; the triangle identities verified throughout this unit become the monad's unit and associativity laws, and the calculus of mates governs monad morphisms and the distributive laws between monads developed there.

  • Kan extensions 41.06.02. Pointwise Kan extensions are computed by mate calculations, and a left adjoint is the left Kan extension of the identity along its right adjoint; the formulas of 41.06.02 are the transpose-and-cancel manipulations of this unit applied to the defining -cells of an extension.

  • Homological algebra and derived adjunctions 01.06.01. The tensor-hom adjunction and its derived counterparts underlie derived functors and the long exact sequences of 01.06.01; the unit-counit calculus is the syntactic backbone of the adjunctions between derived categories, where mates become the natural transformations governing connecting homomorphisms.

Historical & philosophical context Master

Daniel Kan introduced adjoint functors in 1958 in Adjoint functors [Kan 1958], where the hom-set bijection is the defining condition and the term "adjoint" is borrowed, by analogy with adjoint operators on Hilbert spaces, from the hom-functor's role as a categorical inner product. The recognition that the unit and counit carry the same data, and that the triangle identities are the operative equations, was systematized by Saunders Mac Lane in Categories for the Working Mathematician (1971; 2nd ed. 1998) [Mac Lane 1998], Chapter IV, where fully faithful adjunctions, composed adjunctions, and the reflection of equivalences as adjunctions with invertible unit and counit are given their standard form.

Peter Freyd's adjoint functor theorems appeared in his 1964 Abelian Categories [Freyd 1964], casting the existence of a left adjoint as a completeness-plus-smallness condition — the solution-set condition being the precise set-theoretic hypothesis separating "preserves limits" from "has a left adjoint." The calculus of mates, phrased as a bijection of -cells under adjunctions internal to a -category, was developed by Max Kelly in his work on enriched category theory [Kelly 1982], and the string-diagram reformulation in which the triangle identities become the zigzag identities is due to André Joyal and Ross Street [Joyal-Street 1991], giving the calculus its topological face: adjunctions are the categorical avatar of duality, the cap and cup of knot theory, and the straightening of a zigzag is the move that underlies every manipulation above.

Bibliography Master

@article{Kan1958calc,
  author  = {Kan, Daniel M.},
  title   = {Adjoint functors},
  journal = {Transactions of the American Mathematical Society},
  volume  = {87},
  year    = {1958},
  pages   = {294--329}
}

@book{MacLane1998calc,
  author    = {Mac Lane, Saunders},
  title     = {Categories for the Working Mathematician},
  edition   = {2},
  publisher = {Springer},
  series    = {Graduate Texts in Mathematics 5},
  year      = {1998}
}

@book{Freyd1964calc,
  author    = {Freyd, Peter},
  title     = {Abelian Categories: An Introduction to the Theory of Functors},
  publisher = {Harper and Row},
  year      = {1964}
}

@book{Riehl2016calc,
  author    = {Riehl, Emily},
  title     = {Category Theory in Context},
  publisher = {Dover},
  year      = {2016}
}

@book{Awodey2010calc,
  author    = {Awodey, Steve},
  title     = {Category Theory},
  edition   = {2},
  publisher = {Oxford University Press},
  series    = {Oxford Logic Guides 52},
  year      = {2010}
}

@book{Kelly1982,
  author    = {Kelly, Gregory M.},
  title     = {Basic Concepts of Enriched Category Theory},
  publisher = {Cambridge University Press},
  series    = {London Mathematical Society Lecture Note Series 64},
  year      = {1982},
  note      = {Reprinted as Theory and Applications of Categories, No. 10, 2005}
}

@article{JoyalStreet1991,
  author  = {Joyal, Andr\'e and Street, Ross},
  title   = {The geometry of tensor calculus, I},
  journal = {Advances in Mathematics},
  volume  = {88},
  number  = {1},
  year    = {1991},
  pages   = {55--112}
}