GLOBAL KNOWLEDGE ARK

Mathematics · Article

Adjunctions and structural correspondences

Use adjunctions to turn maps into equivalent maps, build free structures, and see what universal constructions survive a change of category.

Back to Mathematics

After reading, you can

  • State the hom-set correspondence with both naturality variables and type every transpose.
  • Recover the unit and counit, prove both triangles and reconstruct the correspondence.
  • Construct, compare and compose adjoints from unique factorizations.
  • Verify adjunctions for free monoids, vector spaces, function sets and abelianization.
  • Prove preservation of existing universal constructions and calculate adjunctions on ordered sets.
  • Derive the associated monad and check the list multiplication laws.
01

What changes when you transpose a map

A function from a product X×A into Y assigns an output to each pair. It can also be read as a function from X into the set of functions from A to Y. Both readings retain every output and both respond predictably to changes of X or Y.

An adjunction abstracts that predictable correspondence. Its unit and counit package the two directions, so each transpose is expressed by ordinary composition and every component has a specified domain and codomain.

Use this structure to extend maps from generators, change a universal construction across categories and compare ordered data. The examples include vacuous truth for empty fibers and a limit-preserving functor with no left adjoint.

02

State a typed adjunction as a natural bijection

Let F:C→D and G:D→C, with hom-sets valued in a specified set universe. On C^op×D the first hom-functor takes (X,Y) to Hom_D(FX,Y) and the second to Hom_C(X,GY). An adjunction F⊣G gives a bijection Φ_{X,Y} between these sets, natural on that product category.

For a:X′→X in C, h:FX→Y in D and b:Y→Y′ in D, the first hom-functor sends h to b∘h∘F(a):FX′→Y′. It precomposes with F(a):FX′→FX and postcomposes with b.

On the other side Φ_{X,Y}(h) has type X→GY. Precomposing with a:X′→X and postcomposing with G(b):GY→GY′ gives G(b)∘Φ_{X,Y}(h)∘a:X′→GY′.

Naturality means Φ_{X′,Y′}(b∘h∘F(a))=G(b)∘Φ_{X,Y}(h)∘a. The coincidence of endpoints follows from the two contravariant first-variable actions and the covariant second-variable actions. The family of bijections and this equation supply the adjunction. Related reading: [The original definition of adjoint functors](https://people.math.rochester.edu/faculty/doug/otherpapers/kan58.pdf), [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf). The first variable is contravariant and the second is covariant. Each different prime on the input objects changes the two hom-set domains.

03

Recover joint naturality from the two separate arrow laws

Fix Y and take a:X′→X. The first-variable naturality equation is Φ_{X′,Y}(h∘F(a))=Φ_{X,Y}(h)∘a. The result belongs to Hom_C(X′,GY).

Fix X and take b:Y→Y′. The second-variable equation is Φ_{X,Y′}(b∘h)=G(b)∘Φ_{X,Y}(h), whose values are arrows X→GY′.

Apply this second equation with X′ and input h∘F(a), then the first equation at Y. The result is Φ_{X′,Y′}(b∘h∘F(a))=G(b)∘Φ_{X,Y}(h)∘a. The special cases a or b identity recover the separate laws.

For k:X→GY set h=Ψ_{X,Y}(k). Substituting and applying the inverse bijection on Hom_C(X′,GY′) gives Ψ_{X′,Y′}(G(b)∘k∘a)=b∘Ψ_{X,Y}(k)∘F(a). Both sides have type FX′→Y′. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf). Apply one variable law at a time. Substitute inverse transposes to derive the dual equation for the same typed input and target.

04

Recover the unit and every forward transpose

At (X,FX) the identity id_{FX} belongs to Hom_D(FX,FX). Define η_X=Φ_{X,FX}(id_{FX}), an arrow X→GFX. This defines a component at each X using only the given bijections.

For any h:FX→Y use the naturality in the second variable for that arrow h from FX to Y, starting with the element id_{FX} in the first source hom-set.

The hom action in D takes id_{FX} to h∘id_{FX}=h. The other action postcomposes η_X with G(h):GFX→GY. Their equality yields Φ_{X,Y}(h)=G(h)∘η_X.

This formula determines the whole forward bijection from the component at X and the functor G. Setting h to the relevant identity recovers the original η_X, since G(id_{FX}) is also an identity. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). The first unit component starts at X and lands at GFX. Naturality in the second variable inserts the arrow from FX into Y.

05

Recover the counit and every inverse transpose

At (GY,Y) the identity id_{GY} belongs to Hom_C(GY,GY). Define ε_Y=Ψ_{GY,Y}(id_{GY}), giving ε_Y:FGY→Y in D.

Let k:X→GY. Apply inverse naturality in the first variable to the arrow k:X→GY and the input id_{GY}. In C this precomposes id_{GY} with k and produces k itself.

On the D side, the hom action precomposes ε_Y with F(k):FX→FGY. Hence Ψ_{X,Y}(k)=ε_Y∘F(k), with source FX and target Y.

The formula at k=id_{GY} recovers ε_Y by the identity law of F. Thus the family of counit components determines each inverse transpose by this exact typed operation. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). The counit begins at FGY and ends at Y. The first-variable law supplies the composition with F applied to the original arrow.

06

Prove the unit family is natural

Let a:X→X′ in C. Take the arrow F(a):FX→FX′ as an input to Φ_{X,FX′}. In the second-variable formula, regard it as postcomposition of id_{FX} by F(a).

That formula gives Φ_{X,FX′}(F(a))=G(F(a))∘Φ_{X,FX}(id_{FX})=GF(a)∘η_X.

In the first-variable equation, regard F(a) as id_{FX′}∘F(a). This gives the same value as Φ_{X′,FX′}(id_{FX′})∘a=η_{X′}∘a.

Both expressions are arrows X→GFX′. Their equality for every a is exactly the naturality square for η:Id_C⇒GF, with η_X outgoing from the original object. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). Transposing the same F(a) in two ways gives the naturality square for the unit.

07

Prove the counit family is natural

Take b:Y→Y′ in D. The map G(b):GY→GY′ belongs to the input hom-set of Ψ at (GY,Y′). To evaluate it, first view it as G(b)∘id_{GY}.

Inverse naturality in the second variable then gives Ψ_{GY,Y′}(G(b))=b∘Ψ_{GY,Y}(id_{GY})=b∘ε_Y.

Alternatively view it as id_{GY′}∘G(b) and apply inverse naturality in the first variable. This gives the same value as Ψ_{GY′,Y′}(id_{GY′})∘F(G(b))=ε_{Y′}∘FG(b).

Thus b∘ε_Y=ε_{Y′}∘FG(b), an equality of arrows FGY→Y′. It proves naturality of ε:FG⇒Id_D for every b. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). Inverse-transposing the same G(b) gives equality of the two paths in the counit square.

08

Derive both triangle identities

Since Φ_{X,FX}(id_{FX})=η_X, applying the inverse transposition gives Ψ_{X,FX}(η_X)=id_{FX}. By the counit formula this left side is ε_{FX}∘F(η_X).

Thus the D triangle is the composite FX→FGFX→FX equal to id_{FX}. The first arrow is F(η_X) and the last is the counit at the object FX.

Similarly Ψ_{GY,Y}(id_{GY})=ε_Y. Applying its inverse gives Φ_{GY,Y}(ε_Y)=id_{GY}, and the unit formula makes the left side G(ε_Y)∘η_{GY}.

The C triangle is the composite GY→GFGY→GY equal to id_{GY}. It starts with the unit at GY and ends with G of the counit. Both identities are direct consequences of inverse bijections at the indicated object pairs. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). The component at FX and the component at GY verify distinct identity equations in their respective categories.

09

Reconstruct an adjunction from the two triangles

Given natural η:Id_C⇒GF and ε:FG⇒Id_D, put Φ(h)=G(h)∘η_X for h:FX→Y and Ψ(k)=ε_Y∘F(k) for k:X→GY. Their domains and codomains are the two required hom-sets.

Compute Ψ(Φ(h))=ε_Y∘FG(h)∘F(η_X)=h∘ε_{FX}∘F(η_X) by naturality of ε at h:FX→Y. The D triangle leaves just h.

In the other order, Φ(Ψ(k))=G(ε_Y)∘GF(k)∘η_X=G(ε_Y)∘η_{GY}∘k by naturality of η at k:X→GY. The C triangle leaves k.

For a:X′→X and b:Y→Y′, applying Φ to b∘h∘F(a) gives G(b)∘G(h)∘GF(a)∘η_{X′}=G(b)∘Φ(h)∘a by the unit square. This is joint naturality. The inverse family is natural by applying the inverse bijections, so the two complete triangles reconstruct an adjunction. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf). Each inverse requires its own triangle and one naturality square. Naturality of the new bijections then follows from the definitions.

10

Show that one triangle alone can be insufficient

Let C be the terminal category with sole object *. Let D be the category of pointed sets and basepoint-preserving functions, and F(*)=S={0,1} with basepoint 0. Its identity arrow maps to id_S. There is one functor G:D→C.

Take η to have its sole possible component id_*. For a pointed set Y, let ε_Y:S→Y send both elements to the basepoint of Y. This family is natural, since any pointed map takes the source basepoint of Y to the basepoint of its target, and F G sends each arrow to id_S.

The triangle G(ε_Y)∘η_{GY}=id_{GY} holds for all Y because every arrow in C is its sole identity. Thus the triangle checked on the G side is automatic.

On the F side, F(η_*)=id_S, while ε_{F(*)} is the self-map of S constant at 0. Their composite sends 1 to 0 and is not id_S. These natural component families satisfy one triangle while failing the other, so they do not form adjunction data. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf), [Free structures and forgetful functors](https://emilyriehl.github.io/files/context.pdf), [Initiality and terminality of test objects](https://emilyriehl.github.io/files/context.pdf). A constant basepoint map is natural in the pointed set target. The first triangle fails at the selected two-element object while the triangle in the terminal category holds.

11

Recognize the universal property of the unit

Fix X∈C. For any Y∈D and u:X→GY, the inverse transpose gives exactly one h=Ψ_{X,Y}(u):FX→Y. The forward formula reads u=G(h)∘η_X.

Conversely any h with that equation has Φ(h)=u and must be Ψ(u) since the two functions are inverse. This is the full existence-and-uniqueness assertion for the map through η_X.

Consider the category of pairs (Y,u:X→GY). An arrow to (Y′,u′) is a map k:Y→Y′ with G(k)∘u=u′. The identity and composition laws of G make the indicated composition of such arrows well defined.

The pair (FX,η_X) has exactly one arrow to every (Y,u) by the displayed factorization. Thus it is initial in that category. The direction from the chosen pair to the arbitrary pair is the left-adjoint direction of this universal property. Related reading: [Universal arrows in comma categories](https://emilyriehl.github.io/files/context.pdf), [Initiality and terminality of test objects](https://emilyriehl.github.io/files/context.pdf). The comparison in the comma category is the unique arrow in D that carries the distinguished unit to the specified input arrow.

12

Build a left adjoint from universal unit arrows

Fix G:D→C. Suppose for each X∈C we have a chosen object FX and universal arrow η_X:X→G(FX). For a:X→X′ define F(a):FX→FX′ to be the unique arrow satisfying G(F(a))∘η_X=η_{X′}∘a. The right side has target G(FX′), so the given universal property applies.

For a=id_X, the identity on FX has the required equation, so F(id_X)=id_{FX}. For b:X′→X″, G(F(b)∘F(a))∘η_X=G(F(b))∘η_{X′}∘a=η_{X″}∘b∘a. The defining property then gives F(b∘a)=F(b)∘F(a).

The universal property gives a bijection from h:FX→Y to G(h)∘η_X:X→GY, because every target arrow has exactly one h. Its equation in the first variable uses the defining identity of F(a). In the second variable it uses preservation of composition by G.

More explicitly, the transpose of b∘h∘F(a) at (X′,Y′) is G(b)∘G(h)∘G(F(a))∘η_{X′}=G(b)∘G(h)∘η_X∘a for a:X′→X. This gives joint naturality, so all of the chosen universal data form a left adjunction to G. Related reading: [Universal arrows in comma categories](https://emilyriehl.github.io/files/context.pdf). Every chosen universal unit yields one arrow action. Comparing both sides against the same factorization proves identity and composition before joint naturality.

13

Build a right adjoint from universal counit arrows

Fix F:C→D and suppose for every Y∈D a chosen ε_Y:F(GY)→Y gives each h:FX→Y a unique map k:X→GY with ε_Y∘F(k)=h. For b:Y→Y′ define G(b):GY→GY′ by the condition ε_{Y′}∘F(G(b))=b∘ε_Y.

For b=id_Y the identity on GY satisfies this equation, hence is its unique solution. For c:Y′→Y″, ε_{Y″}∘F(G(c)∘G(b))=c∘ε_{Y′}∘F(G(b))=c∘b∘ε_Y. Uniqueness gives the composition law.

The assignment k↦ε_Y∘F(k) is a bijection from Hom_C(X,GY) to Hom_D(FX,Y) by the universal property. Precomposing with a:X′→X commutes with it by functoriality of F. Postcomposition in Y commutes through G(b) by the equation defining that arrow.

In fact ε_{Y′}∘F(G(b)∘k∘a)=b∘ε_Y∘F(k)∘F(a), establishing joint inverse naturality. The inverse functions furnish the adjunction F⊣G. The universal right data factor maps through a counit out of F(GY). Related reading: [Universal arrows in comma categories](https://emilyriehl.github.io/files/context.pdf), [Initiality and terminality of test objects](https://emilyriehl.github.io/files/context.pdf). The counit comparison is the unique map into the represented object. Type the composites using the original codomain arrow.

14

Prove uniqueness of a left adjoint with its unit data

Let F and F′ be left adjoints to G, with units η_X:X→GFX and η′_X:X→GF′X. By universality of η_X, there is a unique a_X:FX→F′X with G(a_X)∘η_X=η′_X.

Using η′_X in the other direction gives a unique b_X:F′X→FX with G(b_X)∘η′_X=η_X. Their composites give the original two units after applying G and precomposing with the relevant units. Uniqueness for each unit gives b_X∘a_X=id_{FX} and a_X∘b_X=id_{F′X}.

For u:X→Y in C, compare a_Y∘F(u) and F′(u)∘a_X. After applying G and precomposing with η_X, both give η′_Y∘u by naturality of η and η′. They therefore agree by the unique factorization through η_X.

The family a is natural and each component has the inverse just found, giving a natural isomorphism. Any comparison preserving the chosen units has the same components by their factorization property, proving its uniqueness under that condition. Related reading: [The original definition of adjoint functors](https://people.math.rochester.edu/faculty/doug/otherpapers/kan58.pdf), [Universal arrows in comma categories](https://emilyriehl.github.io/files/context.pdf), [Uniqueness of adjoints](https://arxiv.org/pdf/1612.09375). The maps comparing left adjoints are uniquely forced by the two units. Applying the comparisons twice preserves the chosen unit.

15

Prove uniqueness of a right adjoint with its counit data

For right adjoints G and G′ to F, write ε_Y:FGY→Y and ε′_Y:FG′Y→Y for the two chosen counits. The universal property for ε′_Y gives a unique a_Y:GY→G′Y with ε′_Y∘F(a_Y)=ε_Y. Using ε_Y gives b_Y:G′Y→GY with ε_Y∘F(b_Y)=ε′_Y.

For their composite ε_Y∘F(b_Y∘a_Y)=ε′_Y∘F(a_Y)=ε_Y. Thus b_Y∘a_Y equals id_{GY} by uniqueness for ε_Y. Similarly ε′_Y∘F(a_Y∘b_Y)=ε′_Y, giving the opposite identity.

For v:Y→Z, use naturality of both counits. After applying F and postcomposing with ε′_Z, the candidate a_Z∘G(v) gives ε_Z∘FG(v)=v∘ε_Y. The candidate G′(v)∘a_Y gives v∘ε′_Y∘F(a_Y)=v∘ε_Y.

The two candidates are equal by the universal property of ε′_Z for the fixed domain object GY. Therefore a:G⇒G′ is a natural isomorphism preserving the counits. The prescribed counit equation makes each component unique. Related reading: [The original definition of adjoint functors](https://people.math.rochester.edu/faculty/doug/otherpapers/kan58.pdf), [Universal arrows in comma categories](https://emilyriehl.github.io/files/context.pdf), [Uniqueness of adjoints](https://arxiv.org/pdf/1612.09375). The right comparison is characterized by the original counit after applying F. Naturality and mutually inverse comparisons follow from that factorization.

16

Compose two adjunctions with typed unit and counit

Let F:C→D and G:D→C have unit η and counit ε, and let H:D→E and K:E→D have unit ν and counit ω. For X∈C and Z∈E take Hom_E(HFX,Z) to Hom_D(FX,KZ) by the H⊣K transpose, then to Hom_C(X,GKZ) by the F⊣G transpose.

Both constituent functions are bijections and natural in the indicated variables. In the first one the original variable X acts through F; in the second one Z acts through K. Substitution of these functor arrows into the two naturality equations proves naturality of the composite family.

Transpose id_{HFX} at Z=HFX. Its first transpose is ν_{FX}:FX→KHFX. The second transpose is G(ν_{FX})∘η_X:X→GKHFX, which is the unit component of the composite adjunction.

Inverse-transpose id_{GKZ}. The first inverse step, for F⊣G, gives ε_{KZ}:FGKZ→KZ. The second, for H⊣K, gives ω_Z∘H(ε_{KZ}):HFGKZ→Z. It is the composite counit with all intermediate objects matched. Related reading: [Composition of adjunctions](https://emilyriehl.github.io/files/context.pdf). Compose the first hom-bijection for H with the second for F. The composite unit and counit use different whiskering directions.

17

Transport an adjunction through an isomorphism of left functors

Let a:F′⇒F be an invertible natural transformation of functors C→D and suppose F⊣G. For h′:F′X→Y, precompose with a_X⁻¹:FX→F′X to define Φ′_{X,Y}(h′)=Φ_{X,Y}(h′∘a_X⁻¹).

The inverse is Ψ′_{X,Y}(k)=Ψ_{X,Y}(k)∘a_X. Substituting one formula into the other cancels a_X with its inverse at their matching endpoints, as well as the original Φ and Ψ.

Precomposition with a_X⁻¹ is natural in X because F′(u)∘a_{X′}⁻¹=a_X⁻¹∘F(u) for u:X′→X. Postcomposition with a map out of Y commutes by associativity. Combining these facts with naturality of Φ gives the transported adjunction.

The new unit transposes id_{F′X}, so η′_X=Φ_{X,F′X}(a_X⁻¹)=G(a_X⁻¹)∘η_X. The new counit inverse-transposes id_{GY}, giving ε′_Y=ε_Y∘a_{GY}:F′GY→Y. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Uniqueness of adjoints](https://arxiv.org/pdf/1612.09375), [Composition of adjunctions](https://emilyriehl.github.io/files/context.pdf), [Coherent adjoint equivalences](https://emilyriehl.github.io/files/context.pdf), [Pointwise inverses of natural isomorphisms](https://arxiv.org/pdf/1612.09375). Precompose maps from FX with the component a_X from F′X into FX. The transported counit uses the direct comparison, and the unit uses its inverse.

18

Build the free-monoid adjunction from words

For a set X define F(X) as the finite words in X. Concatenation joins the entries in their order, and the empty word is a two-sided identity. Concatenating three words gives the same ordered list for either grouping, so this is a monoid.

For a function a:X→U(M) to the underlying set of a monoid, extend it by taking a word x_1…x_n to the ordered product a(x_1)…a(x_n) in M, with the empty word going to its identity. Concatenation becomes multiplication by associativity.

Any monoid homomorphism extending a on letters must have these values, since every word is a product of singleton words. This proves that restricting a word homomorphism to the generators and extending a function are mutually inverse.

A function X′→X acts on words by replacing letters coordinatewise, which preserves identity and concatenation. Under this precomposition, the restriction acts on each singleton by the given function. Postcomposition with a monoid map also commutes with restriction and extension. These are the two naturality equations for F⊣U. Related reading: [Free structures and forgetful functors](https://emilyriehl.github.io/files/context.pdf). The homomorphism on words is forced by the images of letters. The empty word has the target monoid unit as its image.

19

Build the free-vector-space adjunction from finite support

Fix a field k and form F(X) from the functions X→k with finite support, with pointwise vector operations. For x∈X let e_x be 1 at x and zero elsewhere. Each vector is a unique sum of its finitely many nonzero coefficients times these generators.

A function a:X→U(V) extends to L_a:F(X)→V by L_a(∑ c_x e_x)=∑ c_x a(x). The sums are finite. Combining supports shows that L_a is linear, and it takes each e_x to the stipulated vector. Because the e_x span F(X), this extension is unique.

For f:X→Y, extend x↦e_{f(x)} linearly to define F(f). The coefficient at y in the image is the sum of the input coefficients with f(x)=y and nonzero support, which may merge multiple labels. That image still has finite support.

On each generator the image of an identity map is unchanged and the image of a composite agrees with the sequential generator assignment. Linearity gives both functor laws. Restricting a linear map to the generators commutes with precomposition by F(f) and with postcomposition by a linear map, completing the natural adjunction. Related reading: [Free vector spaces from finite linear combinations](https://emilyriehl.github.io/files/context.pdf). Only finitely many coefficients contribute. Colliding labels have their coefficients added, and zero coefficients can drop out.

20

Prove the Cartesian product–function-set adjunction

Fix A and let Y^A be the set of functions A→Y. For h:X×A→Y define its transpose c(h):X→Y^A by c(h)(x)(t)=h(x,t). The curried value at x is a function in the specified function set.

Conversely k:X→Y^A gives the function u(k)(x,t)=k(x)(t):X×A→Y. Substitution gives u(c(h))(x,t)=h(x,t), and c(u(k))(x)(t)=k(x)(t), proving the two inverse laws by pointwise equality.

For a:X′→X and b:Y→Y′, curry the function b∘h∘(a×id_A). Its value at x′, then t, is b(h(a(x′),t)), equal to the value from precomposing c(h) by a and postcomposing each function A→Y with b. This verifies joint naturality.

Recover a product-input map from its function-valued rowsThree inputs for each of two outer points; Each row is one function X→Y. The declared inner and outer domain sizes remain distinct when either is empty.Recover a product-input map from its function-valued rowsA pointx=0x=1x=2Curried function0011(0, 1, 1)1201(2, 0, 1)Curry: a ↦ (x ↦ value at (a,x)).Uncurry: evaluate the row at x. All 6 pairs return their original values.
Each row is one function X→Y. The declared inner and outer domain sizes remain distinct when either is empty.

The value at (a,x) uniquely determines the function assigned to a at x. An empty outer set gives no rows, while an empty inner set gives one empty function for each outer point.

Exact currying test
QuantityExact result
A size2
X size3
Curried rows(0, 1, 1) · (2, 0, 1)
Pointwise inverseTrue
Size of Y^∅ when q=0Not applicable
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q3
values[[0,1,1],[2,0,1]]
Uncurried evaluations
A indexX indexValue
000
011
021
102
110
121

If A is empty, X×A is empty and Y^A has one element, the empty function, even if Y is empty. The two hom-sets each have one element, and the same definitions between them apply. Thus F(X)=X×A is left adjoint to G(Y)=Y^A in every stated case. Related reading: [Two-variable naturality and transposes](https://emilyriehl.github.io/files/context.pdf), [Product and function-set adjunction](https://arxiv.org/pdf/1612.09375). Both transpose operations recover all values. When A is empty the function set has its unique empty function.

21

Compute the unit, counit and triangles for currying

Transposing id_{X×A} under currying gives η_X(x):A→X×A with η_X(x)(t)=(x,t). Inverse-transposing id_{Y^A} gives ε_Y:Y^A×A→Y with ε_Y(φ,t)=φ(t).

For the D triangle at X, F(η_X):X×A→(X×A)^A×A sends (x,t) to (η_X(x),t). The next map ε_{X×A} evaluates this to η_X(x)(t)=(x,t), proving ε_{FX}∘F(η_X)=id_{FX}.

For the C triangle at Y, η_{GY}:Y^A→(Y^A×A)^A takes φ to the function t↦(φ,t). Applying G(ε_Y) composes it with evaluation, so the resulting function sends t to φ(t). Thus G(ε_Y)∘η_{GY} fixes φ.

Check both triangle maps by pairing and evaluationEvaluate a three-position function; The middle columns show the declared unit and counit at the selected a and h.Check both triangle maps by pairing and evaluationxη_A(a)(x)ε_Y(h,x)Recovered h(x)0(1, 0)221(1, 1)002(1, 2)22η_A uses pairing and ε_Y uses evaluation.Left triangle at F(A)=A×X:(1,x) ↦ (η_A(1),x) ↦ ε_{F(A)}(η_A(1),x) = (1,x).Right triangle at G(Y)=Y^X:h ↦ [x↦(h,x)] ↦ [x↦ε_Y(h,x)] = h.At x=0: left returns (1,0); right returns h(0)=2.
The middle columns show the declared unit and counit at the selected a and h.

The unit sends a to the function x↦(a,x), and the counit evaluates a function at its input. Their two triangle composites are identities, including on empty carriers.

Exact currying triangles
QuantityExact result
η_A(a)(1, 0), (1, 1), (1, 2)
ε_Y(h,x)(2, 0, 2)
Left triangle(a,x)↦(η_A(a),x)↦ε_{F(A)}(η_A(a),x)=(a,x).
Right triangleh↦[x↦(h,x)]↦[x↦ε_Y(h,x)]=h.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n3
a1
h[2,0,2]

The first comparison is equality of maps on X×A and the second equality of maps on Y^A, with every output function compared pointwise on A. The conclusions also hold for A empty, where the product has no points and the function set has its unique empty function. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf), [Product and function-set adjunction](https://arxiv.org/pdf/1612.09375). The unit adds an argument slot and the counit evaluates it. Evaluating on an explicit pair and an explicit argument checks the two different triangles.

22

Identify the diagonal’s adjoints from universal cones

Fix a shape J and the constant diagram functor Δ:C→C^J. A natural transformation D→ΔY is a cocone from D to Y. If K is the chosen colimit of D with legs d_j, precomposing a map K→Y with each d_j gives exactly one such cocone, and every cocone arises uniquely.

This gives Hom_C(colim D,Y)≅Hom_{C^J}(D,ΔY), natural in Y by postcomposition. For a transformation a:D′⇒D, the chosen colimit arrow colim D′→colim D matches its legs by a_j. Composing before the test map gives the same cocone as first constructing the cocone and precomposing with a.

A natural transformation ΔX→D is a cone from X to D. If L=lim D has legs p_j, postcomposing X→L by each p_j gives the bijection Hom_{C^J}(ΔX,D)≅Hom_C(X,lim D). This is natural in X by precomposition.

For a diagram map a:D⇒E, the chosen limiting comparison lim D→lim E has legs a_j∘p_j. This gives the same cone as postcomposing the original cone with a. The verified induced functor operations of limit and colimit and the two families of natural bijections prove colim⊣Δ⊣lim whenever those choices exist. Related reading: [The adjoints of the diagonal functor](https://emilyriehl.github.io/files/context.pdf), [Universal cones and cocones as natural hom-set bijections](https://emilyriehl.github.io/files/context.pdf). Fix a small indexing shape. The two adjunctions require the respective universal (co)limits and use their natural factorization bijections.

23

Prove left adjoints preserve existing colimits

Let A:J→C have colimit K with legs d_j:A(j)→K. Applying F gives a compatible family F(d_j), because a cocone equation is an equality of composites and F preserves both sides. We will show this family is colimiting.

For any compatible family h_j:F(A(j))→Y in D, define k_j=Φ_{A(j),Y}(h_j):A(j)→GY. For u:i→j, compatibility says h_j∘F(A(u))=h_i. Naturality in the first variable makes this k_j∘A(u)=k_i.

The original colimit gives exactly one k:K→GY with k∘d_j=k_j. Let h=Ψ_{K,Y}(k):FK→Y. By the same naturality, the transpose of h∘F(d_j) is k∘d_j=k_j, so h∘F(d_j)=h_j.

Any other map extending the h_j transposes to a map extending the same k_j. Uniqueness at K and inverse transposition force equality. This proves that F sends the existing colimit to a colimit of the image diagram, using the exact F-image legs. Related reading: [Preservation of limits and colimits](https://arxiv.org/pdf/1612.09375), [Universal cones and cocones as natural hom-set bijections](https://emilyriehl.github.io/files/context.pdf). A map from the image colimit is uniquely determined by the image cocone legs. Prove it by transposing an arbitrary compatible family.

24

Prove right adjoints preserve existing limits

Let A:J→D have a chosen limit L with legs p_j:L→A(j). The images G(p_j):GL→G(A(j)) form a cone because G preserves each compatibility equality.

For a cone k_j:X→G(A(j)), let h_j=Ψ_{X,A(j)}(k_j):FX→A(j). For u:i→j, the given equality G(A(u))∘k_i=k_j translates by inverse naturality in the second variable to A(u)∘h_i=h_j. So the h_j form a cone from FX.

The original limiting cone gives one h:FX→L with p_j∘h=h_j for all j. Transpose to k=Φ_{X,L}(h):X→GL. Naturality in the second variable yields G(p_j)∘k=Φ_{X,A(j)}(p_j∘h)=k_j.

Any other allowed map into GL inverse-transposes to another map into L with the same legs h_j, hence equals k by uniqueness and transposition. Thus G preserves that existing limit with the specified image cone. Related reading: [Preservation of limits and colimits](https://arxiv.org/pdf/1612.09375), [Universal cones and cocones as natural hom-set bijections](https://emilyriehl.github.io/files/context.pdf). The factorization of the transposed cone identifies the exact map into the image limit and all its legs.

25

Disprove an unrestricted converse to limit preservation

Take C to be nonempty sets and all functions between them. Let 1 be the terminal category and G:C→1 its unique functor. Each diagram in 1 has its sole object as a limit, with all arrows the identity.

If a diagram in C has a limiting cone, G takes that cone to the sole possible one in 1. It is universal because there is one object and one arrow in the target. Thus G preserves every limit that exists in C. The argument does not require all limits in C.

If G had a left adjoint F, its value I=F(*) would give a bijection Hom_C(I,X)≅Hom_1(*,G(X)) for each nonempty X. The latter set is a singleton, so I would have to be initial in C.

There is no such I. For any nonempty I the two constant maps into {0,1} have distinct values at every member of I, so the hom-set to that object has at least two elements. This contradicts initiality and gives the required preservation example with no left adjoint. Related reading: [When limit preservation gives no adjoint](https://arxiv.org/pdf/1612.09375), [Initiality and terminality of test objects](https://emilyriehl.github.io/files/context.pdf). In the terminal target, the image of every existing limit is a limit. Two different constant maps into a two-point set rule out an initial nonempty set.

26

Characterize full faithfulness of a left adjoint by the unit

For any u:V→X in C, the transpose of F(u):FV→FX gives GF(u)∘η_V=η_X∘u by naturality of the unit. The natural hom bijection therefore identifies the action of F on this hom-set with the operation of postcomposing by η_X.

If F is full and faithful, the map Hom_C(V,X)→Hom_C(V,GFX) given by that postcomposition is bijective for every V. Taking V=GFX, surjectivity supplies r:GFX→X with η_X∘r=id_{GFX}.

With V=X, compose by η_X on both id_X and r∘η_X. The resulting arrows are equal because η_X∘r is the identity. Injectivity gives r∘η_X=id_X, so each η_X is an isomorphism.

Conversely, if every η_X is invertible then postcomposition by it is bijective for all V and X, with inverse postcomposition by η_X⁻¹. The given transpose identification implies that each hom-set map of F is bijective. Thus F is both full and faithful. Related reading: [Full faithfulness and the counit](https://emilyriehl.github.io/files/context.pdf), [Pointwise inverses of natural isomorphisms](https://arxiv.org/pdf/1612.09375). Testing postcomposition with η_X at X and GFX is enough to construct and check a two-sided inverse after establishing all the hom-bijections.

27

Characterize full faithfulness of a right adjoint by the counit

For b:Y→Z in D, the inverse transpose of G(b):GY→GZ is ε_Z∘FG(b)=b∘ε_Y by naturality of ε. Consequently the hom-set action of G is identified through the inverse transpose with precomposition by ε_Y:FGY→Y.

If G is full and faithful, this precomposition operation Hom_D(Y,Z)→Hom_D(FGY,Z) is bijective for every Z. With Z=FGY, its surjectivity gives r:Y→FGY with r∘ε_Y=id_{FGY}.

With Z=Y, compare ε_Y∘r and id_Y after precomposition by ε_Y. Both give ε_Y because r∘ε_Y is the identity. Injectivity therefore gives ε_Y∘r=id_Y, proving that ε_Y is invertible.

Conversely, invertibility of every ε_Y makes the precomposition operations bijective, using its inverse on the other side. Their exact identification with the hom-set maps of G and the inverse transpose gives full faithfulness of G. Related reading: [Full faithfulness and the counit](https://emilyriehl.github.io/files/context.pdf), [Abelianization and its factorization](https://arxiv.org/pdf/1612.09375), [Pointwise inverses of natural isomorphisms](https://arxiv.org/pdf/1612.09375). Testing precomposition with ε_Y at FGY and Y is enough to construct and check its two-sided inverse, with the appropriate source variance.

28

Translate the adjunction law for preordered structures

View ordered sets P and Q as categories. A monotone L:P→Q and R:Q→P have hom-sets Hom_Q(Lp,q) and Hom_P(p,Rq) that are either empty or singletons, depending on whether Lp≤q and p≤Rq, respectively.

These hom-sets admit bijections precisely if the two inequalities are equivalent for all p,q. When they are, the unique possible bijections are automatically natural because each function of sets in a naturality square maps into a set with at most one element and the two routes share endpoints.

Taking q=Lp and using reflexivity gives p≤RLp, the unit. Taking p=Rq gives LRq≤q, the counit. Hence an order adjunction supplies these two inequalities at every element.

Check the adjunction condition on every pairCompression with its exact right adjoint; Each cell compares the two inequalities. A mismatch blocks the adjunction even if both maps are monotone.Check the adjunction condition on every pairp \ q010T | TT | T1F | FT | T2F | FT | TL(p)≤q | p≤R(q) on every pairEvery equivalence holds.Unit p≤R(L(p)); R∘L=(0, 2, 2) (extensive True)Counit L(R(q))≤q; L∘R=(0, 1) (contractive True)
Each cell compares the two inequalities. A mismatch blocks the adjunction even if both maps are monotone.

An adjunction between preorders is an inequality equivalence. The two closure/interior inequalities on its composites come from substituting the appropriate images in the equivalence.

Exact adjunction data
QuantityExact result
L monotoneTrue
R monotoneTrue
AdjunctionTrue
First failed pairNone
R∘L(0, 2, 2)
L∘R(0, 1)
Closure/interior conclusionsR∘L is extensive and L∘R is contractive
Exact inputs and supporting calculations
Declared inputs
ParameterValue
L[0,1,1]
R[0,2]

Conversely, if the unit and counit inequalities hold, Lp≤q implies p≤RLp≤Rq by monotonicity of R. If p≤Rq then Lp≤LRq≤q by monotonicity of L. This proves both directions and gives the adjunction just described. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375). In a poset the hom-sets are empty or singleton. A matching existence condition yields the natural bijections including empty cases.

29

Derive closure and interior operators from a poset adjunction

Let L⊣R on posets and c=RL. This composite is monotone. The unit inequality p≤RLp is its extensivity. Applying the same inequality at c(p) gives c(p)≤c(c(p)).

The counit inequality at q=Lp says LR(Lp)≤Lp. Applying the monotone map R gives c(c(p))≤c(p). Antisymmetry yields c(c(p))=c(p), proving idempotence.

For i=LR, monotonicity also follows from composition and the counit i(q)≤q gives contractivity. Using that inequality at i(q) gives i(i(q))≤i(q).

The unit at p=Rq says Rq≤RL(Rq). Applying L gives i(q)≤i(i(q)), so antisymmetry gives i(i(q))=i(q). Thus the two composites meet the exact closure and interior definitions, respectively. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375), [Closure on fixed-point orders](https://arxiv.org/pdf/1803.05316). Use the unit and counit inequalities at the iterated inputs. Antisymmetry upgrades the two opposite comparisons to idempotence.

30

Prove direct image is left adjoint to inverse image

For f:X→Y, let f_!(A)=f[A] for A⊆X and f^*(B)=f⁻¹[B] for B⊆Y. An inclusion of domain subsets implies inclusion of their images, and inclusion of target subsets implies inclusion of their inverse images. Both functions are monotone.

If f[A]⊆B then every a∈A has f(a)∈B, hence a∈f⁻¹[B]. Conversely, if A⊆f⁻¹[B], any element y∈f[A] has an input witness in A whose value lies in B. Hence f[A]⊆B.

The unit is A⊆f⁻¹[f[A]], from f(a) belonging to the image of A. The counit is f[f⁻¹[B]]⊆B, because each output shown has its witness in the inverse image. In fact this last set is B∩im(f).

Track the same membership condition through direct and inverse imageBoth subset inclusions hold; The arrows in the two inclusions live in different carriers. An image obstruction has an exact preimage witness.Track the same membership condition through direct and inverse imageConditionLeft setRight setHolds?f(S)⊆T{2}{2}TrueS⊆f⁻¹(T){1, 2}{1, 2}TrueOne statement in the target and one in the sourceNo element violates these inclusions.Equivalence holds: True.
The arrows in the two inclusions live in different carriers. An image obstruction has an exact preimage witness.

Every a∈S has f(a)∈T precisely when all images of S belong to T. A failed inclusion on both sides verifies the biconditional without making either constituent true.

Exact direct-image adjunction
QuantityExact result
f(S){2}
f⁻¹(T){1, 2}
f(S)⊆TTrue
S⊆f⁻¹(T)True
EquivalenceTrue
Pointwise obstructions∅
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,2,2]
S[1,2]
T[2]

For A=∅ the direct image is empty and both inclusions in the equivalence are true. For B=∅ the inverse image is empty. Either side of the equivalence can then hold only for A empty, since a nonempty A would provide an image point. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375), [Existential and universal fiber adjoints](https://emilyriehl.github.io/files/context.pdf). The existence condition for elements of the direct image is equivalent to every chosen input mapping into the target set.

31

Prove inverse image is left adjoint to the universal fiber map

For A⊆X define f_*(A) to be the set of y∈Y such that f⁻¹[{y}]⊆A. If A is contained in A′, any fiber contained in A is also contained in A′, proving monotonicity of f_*.

The condition f⁻¹[B]⊆A means that every x with f(x)∈B belongs to A. For each y∈B this is precisely the assertion that every member of f⁻¹[{y}] belongs to A. Thus it is equivalent to B⊆f_*(A).

The monotone maps f^*:P(Y)→P(X) and f_*:P(X)→P(Y) therefore satisfy f^*⊣f_*. Taking the identity comparisons gives B⊆f_* f^*(B) and f^* f_*(A)⊆A, also obtained directly from the equivalence.

An empty fiber satisfies the universal conditionUniversal fiber includes the omitted target; The universal fiber map can contain a target with no preimage. Direct image requires a witness in S.An empty fiber satisfies the universal conditionbFiberFiber ⊆ Sb∈f(S)0{0, 1}FalseTrue1{2}TrueTrue2{}TrueFalseUniversal membership checks every element of each fiber.f⁻¹(T)⊆S: True · T⊆∀_f(S): True∀_f(S)={1, 2}; f(S)={0, 1}.
The universal fiber map can contain a target with no preimage. Direct image requires a witness in S.

Universal quantification over an empty fiber is true. The equivalence holds because both sides assert that each source point whose image lies in T belongs to S.

Exact universal-fiber adjunction
QuantityExact result
∀_f(S){1, 2}
f(S){0, 1}
f⁻¹(T){2}
f⁻¹(T)⊆STrue
T⊆∀_f(S)True
EquivalentTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
m3
f[0,0,1]
S[0,2]
T[1,2]
All fibers
bPreimageChosen elementsMissing elements
0{0, 1}{0}{1}
1{2}{2}{}
2{}{}{}

When y has no preimage, f⁻¹[{y}] is empty and is contained in every A, even the empty set. Such a y is always in f_*(A) but contributes nothing to f⁻¹[B], as required by the equivalence. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375), [Existential and universal fiber adjoints](https://emilyriehl.github.io/files/context.pdf). The universal fiber condition includes every y with empty preimage since every element of that empty fiber satisfies the condition.

32

Place ceiling and floor on either side of integer inclusion

Let i:ℤ→ℝ be inclusion and let n be an integer. The smallest integer at least x is ⌈x⌉. If x≤i(n), then n is one of the integers eligible for that smallest value, so ⌈x⌉≤n.

Conversely, x≤i(⌈x⌉) and ⌈x⌉≤n imply x≤i(n). The ceiling operation is monotone, since if x≤y then any integer at least y is also at least x. Thus ⌈−⌉⊣i in the ordered categories.

The largest integer at most x is ⌊x⌋. An integer n satisfies i(n)≤x exactly when n≤⌊x⌋, by maximality and the inequality i(⌊x⌋)≤x. The floor operation is monotone by comparing the eligible lower integers, giving i⊣⌊−⌋.

The argument uses inequalities and the two extremal properties without a sign restriction on x. For example with x=−2.3 the least integer at least x is −2 and the greatest integer at most x is −3. Both biconditionals retain the same directions there. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375). Use greatest and least bounding integers, including at negative and integral inputs. The left adjoint is ceiling and the right adjoint floor.

33

Prove the order preservation laws of adjoints

Let L⊣R between posets, and suppose s is the supremum of a family S in P. For each p∈S, monotonicity gives Lp≤Ls, so Ls is an upper bound of the images.

If q in Q is any upper bound for all the Lp, adjunction gives p≤Rq for every p∈S. Then s≤Rq by its least upper bound property, so the adjunction implies Ls≤q. Thus Ls is the supremum of the image family.

Dually, if t is the infimum of T⊆Q then Rt is a lower bound for the images. If p is any lower bound for the Rq with q∈T, then Lp≤q for every q. It follows that Lp≤t and hence p≤Rt. This proves the infimum assertion with the correct direction.

For the empty family every object of the relevant poset is a bound of the appropriate kind. When the original supremum or infimum exists, the same proof transports the bottom or top, respectively. Existence of every other bound is not needed. Related reading: [Preservation of limits and colimits](https://arxiv.org/pdf/1612.09375), [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375). Each least upper bound or greatest lower bound is tested against all potential target bounds. The proof also covers the empty family whenever the relevant bound exists.

34

Recover a reflected subposet from a closure operator

Let c:P→P be monotone, extensive and idempotent. The fixed points form the subset Q={q:c(q)=q} with the inherited order. Idempotence gives c(c(p))=c(p), so c defines a monotone map L:P→Q by its own value.

Let i:Q→P be inclusion. If Lp≤q for q∈Q, extensivity gives p≤i(Lp)≤i(q). Conversely p≤i(q) implies c(p)≤c(i(q))=i(q), because q is fixed. Thus Lp≤q exactly when p≤i(q).

This is the adjunction L⊣i. Its unit is the available inequality p≤i(Lp)=c(p). Its counit compares L(i(q)) with q in Q, and these objects are literally equal because q is fixed.

In particular L∘i is the identity on Q, and i∘L is the original closure operator. The monotonicity, extensivity and idempotence are all used to define the range and prove the equivalence. Related reading: [Adjunctions of ordered sets](https://arxiv.org/pdf/1612.09375), [Closure on fixed-point orders](https://arxiv.org/pdf/1803.05316). Idempotence lands the image at a fixed point. Extensivity and monotonicity give both directions of the comparison against a fixed point.

35

Construct the multiplication of the functor induced by an adjunction

Set T=GF. The proposed multiplication at X is μ_X=G(ε_{FX}):GFGFX→GFX, a map T²X→TX. For a:X→Y, the counit square at F(a):FX→FY gives F(a)∘ε_{FX}=ε_{FY}∘FG(F(a)). Applying G proves T(a)∘μ_X=μ_Y∘T²(a), so μ is natural.

The unit is η:Id_C⇒T. The composite μ_X∘η_{TX} is G(ε_{FX})∘η_{GFX}, an arrow GFX→GFX. The G-side triangle at the object FX of D gives id_{GFX}.

The other composite μ_X∘T(η_X) equals G(ε_{FX})∘GF(η_X)=G(ε_{FX}∘F(η_X)). The F-side triangle at X identifies the arrow inside G with id_{FX}, so the result is id_{GFX}.

These are the two unit laws at their exact components. The first inserts η at TX and the second applies T to η at X. Both have the same required composite type without treating their middle arrows as equal. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf), [The monad of an adjunction](https://emilyriehl.github.io/files/context.pdf). Whisker the counit on its left by G and on its right by F. The two unit laws use the two triangles with their respective component indices.

36

Prove associativity of the induced multiplication

Write μ_X=G(ε_{FX}):T²X→TX. Then μ_X∘T(μ_X)=G(ε_{FX})∘GFG(ε_{FX})=G(ε_{FX}∘FG(ε_{FX})), with domain T³X.

Also μ_{TX}=G(ε_{F(TX)})=G(ε_{FGFX}):T³X→T²X, so μ_X∘μ_{TX}=G(ε_{FX}∘ε_{FGFX}). Their domains and targets agree.

Use naturality of ε at b=ε_{FX}:FGFX→FX. It says b∘ε_{FGFX}=ε_{FX}∘FG(b). Substituting b gives equality of the two D composites just obtained inside G.

Applying G proves μ_X∘T(μ_X)=μ_X∘μ_{TX} for each X. This is associativity of the multiplication, with the naturality equation furnishing the middle equality and composition order. Related reading: [Units, counits and triangles](https://emilyriehl.github.io/files/context.pdf), [The monad of an adjunction](https://emilyriehl.github.io/files/context.pdf). Counit naturality at ε_{FX} compares the two composites before applying G. The common domain is T³X.

37

Identify the free-monoid multiplication as list flattening

For the free-monoid and forgetful adjunction the induced functor T sends X to the set of finite lists on X. Its unit sends x to [x]. At the free monoid F(X), the counit evaluates a word of its elements by multiplying those elements in their assigned monoid.

In F(X) that multiplication is concatenation. Therefore μ_X:T²X→TX concatenates the inner lists in order to make one list. It sends an empty outer list to the empty list and empty inner lists contribute no entries.

For any list L, applying η_{TX} wraps it as [L] and μ_X gives L. Applying Tη_X replaces its entries by singleton lists, and flattening that list also recovers L. For an empty L the two resulting outer situations both flatten to empty.

Verify associativity and both unit insertions for wordsWords with inner empty lists; The visible intermediates can differ even though the final concatenation is identical.Verify associativity and both unit insertions for wordsPathIntermediate listFinal wordFlatten outer first[["a"],[],["b","c"],["a"]]["a","b","c","a"]Flatten inner first[["a"],["b","c","a"]]["a","b","c","a"]List-level unit[["a","b","c","a"]]["a","b","c","a"]Letter-level unit[["a"],["b"],["c"],["a"]]["a","b","c","a"]Keep each intermediate bracket structure distinct.Both associativity routes give the same ordered sequence.
The visible intermediates can differ even though the final concatenation is identical.

Concatenation visits all letters in the same order regardless of how the nested list is parenthesized. Empty words contribute no letters, but they remain distinct from empty lists at intermediate levels.

Exact flattening
QuantityExact result
Original nested words[[["a"],[]],[["b","c"],["a"]]]
Outer-first intermediate[["a"],[],["b","c"],["a"]]
Inner-first intermediate[["a"],["b","c","a"]]
Final word["a","b","c","a"]
Word inserted as one entry[["a","b","c","a"]]
Each letter inserted separately[["a"],["b"],["c"],["a"]]
Both routes equalTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
words[[["a"],[]],[["b","c"],["a"]]]

For a list of lists of lists, either first concatenate each middle collection within its outer group or first concatenate the outer groups into one list of lists. Subsequent flattening in both cases enumerates the same entries by their outer, middle and inner positions in that order. This proves associativity even in the presence of empty groups. Related reading: [Free structures and forgetful functors](https://emilyriehl.github.io/files/context.pdf), [Finite lists and concatenation](https://emilyriehl.github.io/files/context.pdf). The order and multiplicity of all existing entries survive concatenation. Empty lists affect no entry order while both singleton operations have their respective types.

38

Distinguish an adjoint equivalence from the general situation

An equivalence with chosen inverse functors consists of functors F:C→D and G:D→C and natural isomorphisms between their composites and the identities. If the unit η and counit ε of an adjunction are invertible, they give those two natural isomorphisms with the indicated orientations.

Because the unit and counit already obey both triangles, the given equivalence data form an adjoint equivalence. The triangle conditions refer to composites at specific functor values and remain the given ones under this identification.

For the free-monoid adjunction, take X={a}. Its unit sends a to the one-letter word [a]. The element [] of the underlying free monoid is distinct from [a] and has no unit preimage.

Thus the unit component at this X is not surjective, so this adjunction is not an adjoint equivalence. The ordinary adjunction still holds by unique word extension. The extra condition here is invertibility of its given data. Related reading: [Free structures and forgetful functors](https://emilyriehl.github.io/files/context.pdf), [Full faithfulness and the counit](https://emilyriehl.github.io/files/context.pdf), [Coherent adjoint equivalences](https://emilyriehl.github.io/files/context.pdf), [Pointwise inverses of natural isomorphisms](https://arxiv.org/pdf/1612.09375). An adjoint equivalence has its actual unit and counit invertible. The unit for the free monoid misses the empty word even on a one-element set.

39

Construct the abelianization adjunction

For a group H let N be generated by the commutators [x,y]=xyx⁻¹y⁻¹. A conjugate t[x,y]t⁻¹ equals [txt⁻¹,tyt⁻¹], so conjugation preserves the set of these generators and their generated subgroup. Hence N is normal.

In H/N every commutator is the identity, which is equivalent to its two entries commuting. Thus H/N is abelian. A homomorphism h:H→A into an abelian group kills every commutator and hence N, so the formula h_bar(xN)=h(x) is well defined and gives a homomorphism.

Composing h_bar with the quotient recovers h, and surjectivity of the quotient makes h_bar unique. A group map H′→H takes commutators to commutators and therefore acts on abelianization by its map on representatives. These maps preserve identities and composites by their action on the representatives.

The factorization respects precomposition by that induced quotient map and postcomposition by any abelian homomorphism, since both give the same values on representatives. Hence abelianization is left adjoint to inclusion. Its unit is the quotient, and at an abelian A the subgroup generated by commutators is trivial, so the counit A/{1}→A is the canonical isomorphism. Related reading: [Full faithfulness and the counit](https://emilyriehl.github.io/files/context.pdf), [Abelianization and its factorization](https://arxiv.org/pdf/1612.09375). Every commutator lies in the kernel of a map to an abelian group. The quotient carries the unique descended homomorphism and identifies the counit on an already abelian group.

Check the maps, identities and elementwise equivalences that define six familiar adjunction constructions.

Read a map on A×X by rows and recover it uniquely

Three inputs for each of two outer points

Recover a product-input map from its function-valued rowsThree inputs for each of two outer points; Each row is one function X→Y. The declared inner and outer domain sizes remain distinct when either is empty.Recover a product-input map from its function-valued rowsA pointx=0x=1x=2Curried function0011(0, 1, 1)1201(2, 0, 1)Curry: a ↦ (x ↦ value at (a,x)).Uncurry: evaluate the row at x. All 6 pairs return their original values.
Each row is one function X→Y. The declared inner and outer domain sizes remain distinct when either is empty.

The value at (a,x) uniquely determines the function assigned to a at x. An empty outer set gives no rows, while an empty inner set gives one empty function for each outer point.

Exact currying test
QuantityExact result
A size2
X size3
Curried rows(0, 1, 1) · (2, 0, 1)
Pointwise inverseTrue
Size of Y^∅ when q=0Not applicable
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q3
values[[0,1,1],[2,0,1]]
Uncurried evaluations
A indexX indexValue
000
011
021
102
110
121

Use evaluation to check both adjunction triangles

Evaluate a three-position function

Check both triangle maps by pairing and evaluationEvaluate a three-position function; The middle columns show the declared unit and counit at the selected a and h.Check both triangle maps by pairing and evaluationxη_A(a)(x)ε_Y(h,x)Recovered h(x)0(1, 0)221(1, 1)002(1, 2)22η_A uses pairing and ε_Y uses evaluation.Left triangle at F(A)=A×X:(1,x) ↦ (η_A(1),x) ↦ ε_{F(A)}(η_A(1),x) = (1,x).Right triangle at G(Y)=Y^X:h ↦ [x↦(h,x)] ↦ [x↦ε_Y(h,x)] = h.At x=0: left returns (1,0); right returns h(0)=2.
The middle columns show the declared unit and counit at the selected a and h.

The unit sends a to the function x↦(a,x), and the counit evaluates a function at its input. Their two triangle composites are identities, including on empty carriers.

Exact currying triangles
QuantityExact result
η_A(a)(1, 0), (1, 1), (1, 2)
ε_Y(h,x)(2, 0, 2)
Left triangle(a,x)↦(η_A(a),x)↦ε_{F(A)}(η_A(a),x)=(a,x).
Right triangleh↦[x↦(h,x)]↦[x↦ε_Y(h,x)]=h.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n3
a1
h[2,0,2]

Check two inequalities on every pair

Compression with its exact right adjoint

Check the adjunction condition on every pairCompression with its exact right adjoint; Each cell compares the two inequalities. A mismatch blocks the adjunction even if both maps are monotone.Check the adjunction condition on every pairp \ q010T | TT | T1F | FT | T2F | FT | TL(p)≤q | p≤R(q) on every pairEvery equivalence holds.Unit p≤R(L(p)); R∘L=(0, 2, 2) (extensive True)Counit L(R(q))≤q; L∘R=(0, 1) (contractive True)
Each cell compares the two inequalities. A mismatch blocks the adjunction even if both maps are monotone.

An adjunction between preorders is an inequality equivalence. The two closure/interior inequalities on its composites come from substituting the appropriate images in the equivalence.

Exact adjunction data
QuantityExact result
L monotoneTrue
R monotoneTrue
AdjunctionTrue
First failed pairNone
R∘L(0, 2, 2)
L∘R(0, 1)
Closure/interior conclusionsR∘L is extensive and L∘R is contractive
Exact inputs and supporting calculations
Declared inputs
ParameterValue
L[0,1,1]
R[0,2]

Check direct image and inverse image on the same subset pair

Both subset inclusions hold

Track the same membership condition through direct and inverse imageBoth subset inclusions hold; The arrows in the two inclusions live in different carriers. An image obstruction has an exact preimage witness.Track the same membership condition through direct and inverse imageConditionLeft setRight setHolds?f(S)⊆T{2}{2}TrueS⊆f⁻¹(T){1, 2}{1, 2}TrueOne statement in the target and one in the sourceNo element violates these inclusions.Equivalence holds: True.
The arrows in the two inclusions live in different carriers. An image obstruction has an exact preimage witness.

Every a∈S has f(a)∈T precisely when all images of S belong to T. A failed inclusion on both sides verifies the biconditional without making either constituent true.

Exact direct-image adjunction
QuantityExact result
f(S){2}
f⁻¹(T){1, 2}
f(S)⊆TTrue
S⊆f⁻¹(T)True
EquivalenceTrue
Pointwise obstructions∅
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,2,2]
S[1,2]
T[2]

Distinguish universal fiber coverage from direct image

Universal fiber includes the omitted target

An empty fiber satisfies the universal conditionUniversal fiber includes the omitted target; The universal fiber map can contain a target with no preimage. Direct image requires a witness in S.An empty fiber satisfies the universal conditionbFiberFiber ⊆ Sb∈f(S)0{0, 1}FalseTrue1{2}TrueTrue2{}TrueFalseUniversal membership checks every element of each fiber.f⁻¹(T)⊆S: True · T⊆∀_f(S): True∀_f(S)={1, 2}; f(S)={0, 1}.
The universal fiber map can contain a target with no preimage. Direct image requires a witness in S.

Universal quantification over an empty fiber is true. The equivalence holds because both sides assert that each source point whose image lies in T belongs to S.

Exact universal-fiber adjunction
QuantityExact result
∀_f(S){1, 2}
f(S){0, 1}
f⁻¹(T){2}
f⁻¹(T)⊆STrue
T⊆∀_f(S)True
EquivalentTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
m3
f[0,0,1]
S[0,2]
T[1,2]
All fibers
bPreimageChosen elementsMissing elements
0{0, 1}{0}{1}
1{2}{2}{}
2{}{}{}

Flatten a word of words without losing order

Words with inner empty lists

Verify associativity and both unit insertions for wordsWords with inner empty lists; The visible intermediates can differ even though the final concatenation is identical.Verify associativity and both unit insertions for wordsPathIntermediate listFinal wordFlatten outer first[["a"],[],["b","c"],["a"]]["a","b","c","a"]Flatten inner first[["a"],["b","c","a"]]["a","b","c","a"]List-level unit[["a","b","c","a"]]["a","b","c","a"]Letter-level unit[["a"],["b"],["c"],["a"]]["a","b","c","a"]Keep each intermediate bracket structure distinct.Both associativity routes give the same ordered sequence.
The visible intermediates can differ even though the final concatenation is identical.

Concatenation visits all letters in the same order regardless of how the nested list is parenthesized. Empty words contribute no letters, but they remain distinct from empty lists at intermediate levels.

Exact flattening
QuantityExact result
Original nested words[[["a"],[]],[["b","c"],["a"]]]
Outer-first intermediate[["a"],[],["b","c"],["a"]]
Inner-first intermediate[["a"],["b","c","a"]]
Final word["a","b","c","a"]
Word inserted as one entry[["a","b","c","a"]]
Each letter inserted separately[["a"],["b"],["c"],["a"]]
Both routes equalTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
words[[["a"],[]],[["b","c"],["a"]]]

Worked examples

Transpose a concrete table of functions

Take X={0,1}, A={r,s}, Y={2,3,5}. Let h(0,r)=2,h(0,s)=3,h(1,r)=5,h(1,s)=2. Compute the complete curried table and the inverse evaluation at (1,s).

  1. Currying takes h:X×A→Y to a function X→Y^A. For each x, its image is the function t↦h(x,t), with t ranging over r and s.
  2. At x=0 the function sends r to 2 and s to 3. These values determine an element φ₀ of Y^A completely.
  3. At x=1 the function sends r to 5 and s to 2. This is the second element φ₁. The transpose is precisely the function assigning these two elements to their respective inputs.
  4. Inverse transposition evaluates the assigned function at the second coordinate. At (1,s) this gives φ₁(s)=2, equal to the original value h(1,s).

The curried functions have values (2,3) and (5,2) at (r,s) for x=0 and x=1 respectively. Inverse evaluation at (1,s) returns 2.

Evaluate the Cartesian adjunction triangles on a pair and a function

Take A={0,1}, X={a,b}, Y={4,5}. Show the first triangle's value on (b,1) and the second triangle's value on the function a with a(0)=4,a(1)=5.

  1. With F(X)=X×A, applying F(η_X) to (b,1) yields (η_X(b),1). The function η_X(b) assigns t↦(b,t).
  2. The counit at X×A evaluates this pair at its second coordinate. It gives η_X(b)(1)=(b,1), verifying the first composite at the given input.
  3. Now take φ:A→Y with φ(0)=4 and φ(1)=5. The unit at Y^A sends φ to the function t↦(φ,t) with values in Y^A×A.
  4. Postcomposing this last function with ε_Y evaluates it to t↦φ(t). This returns 4 at 0 and 5 at 1, namely the original φ. These are the two values of the second triangle on its specified function argument.

The first triangle fixes (b,1), and the second fixes the function φ with values 4 and 5.

Extend a letter assignment to a monoid map

From {p,q} send p to 2 and q to 3 in the multiplicative monoid ℕ₀. Find the unique extension on pqpp, on qp, and on the empty word. Verify concatenation on pq followed by pp.

  1. The extension h sends a word to the ordered product of its letter values. Each letter p contributes 2 and q contributes 3 in the given monoid of nonnegative integers under multiplication.
  2. For pqpp the value is 2·3·2·2=24. For qp the value is 3·2=6. The empty word maps to 1 because a monoid map preserves the unit.
  3. For the concatenation test, h(pq)=2·3=6 and h(pp)=2·2=4. Their product is 6·4=24, the value on the concatenation pqpp.
  4. These values are forced by the generator choices and the multiplication law. Any monoid map extending the same assignment has exactly these values on the named words and all other words.

The extension gives 24 on pqpp, 6 on qp and 1 on the empty word. The two concatenated factors give 6·4=24.

Extend a function linearly across two basis symbols

For X={a,b}, choose values (1,2) and (−1,3) in ℝ². Compute the unique linear extension on 3e_a−2e_b and describe its transpose.

  1. A linear factor out of the free space is fixed by the two generator values, so it sends c e_a+d e_b to c(1,2)+d(−1,3).
  2. Substituting c=3 and d=−2 gives (3,6)+(2,−6)=(5,0) in ℝ². This evaluates the indicated vector using its two coordinates in the free basis.
  3. Under the adjunction, the transpose is the underlying function of the given linear map restricted to the generators. It sends a to the value of e_a, which is (1,2), and b to (−1,3).
  4. A different linear extension with those two values would coincide on both basis vectors and hence on every linear combination. This confirms that the two operations of restriction and extension recover the same data.

The extension sends 3e_a−2e_b to (5,0). Its transpose assigns (1,2) to a and (−1,3) to b.

Compute a free-vector arrow that merges two labels

Let f:{a,b,c}→{u,v} take a,b to u and c to v. Over ℝ give F(f) on 2e_a−e_b+4e_c and explain why the merged coordinate is a sum.

  1. By construction F(f) sends e_a to e_u and e_b to e_u, because both source labels have image u. It sends e_c to e_v, the other target generator.
  2. Linearity gives F(f)(2e_a−e_b+4e_c)=2e_u−e_u+4e_v. Collecting the coefficients of the same target generator gives (2−1)e_u+4e_v.
  3. Thus the output is e_u+4e_v in the free vector space on {u,v}. There are two source coefficients supporting the merged u component and only one supporting v.
  4. The coefficient sum is forced by linearity, even when it might cancel completely. Distinct source labels do not require distinct target basis vectors under a map of free spaces.

The induced vector is e_u+4e_v, since a and b both contribute to the u coefficient.

Calculate direct and inverse images in an order adjunction

Let f:{0,1,2}→{a,b,c} map 0,1 to a and 2 to c. For A={1,2}, B={a,c}, compute f_!(A), f^*(B), compare both inclusion statements and give the smallest B for this A.

  1. The two elements 1 and 2 of A map respectively to a and c. Their set of values is f_!(A)={a,c}, which equals the displayed B.
  2. All three input points map to a or c, so f^*(B)={0,1,2}. It contains A={1,2}, verifying the other side of the equivalence.
  3. The forward inequality f_!(A)⊆B follows directly from the computed equality. The backward inequality follows from the membership of both input points in the computed inverse image.
  4. Any target subset whose inverse image contains A must contain the values of 1 and 2. Thus it must contain {a,c}. This set already works, so it is the least choice in the inclusion order.

The image is {a,c}, the inverse image is {0,1,2}, both tested inclusions hold, and the least suitable B is {a,c}.

Compute the universal fiber map with an empty fiber

Take that same f and use A={0,2}. Compute f_*(A) including the point b, and verify the adjunction condition for B={b,c} and for B={a}.

  1. The fiber of a is {0,1}, which is not contained in A={0,2} because 1 is absent. The fiber of c is {2}, which is contained in A.
  2. There is no input with image b. Thus its fiber is empty, and the empty set is contained in A. This places b alongside c in f_*(A).
  3. For B={b,c}, the inverse image is {2}, contained in A. On the other side B⊆f_*(A) holds by equality to the computed set.
  4. For B={a}, the inverse image is {0,1}, not contained in A, and a does not belong to f_*(A). Both tests give the same decision in each case, including the empty fiber.

The universal fiber set is {b,c}. The B={b,c} comparison holds and the B={a} comparison fails on both sides.

Test a floor and ceiling adjunction with a negative input

For x=−2.3 identify ceil(x) and floor(x). Check each biconditional for n=−3 and n=−2, with both maps defined in their exact order.

  1. The value x=−2.3 lies strictly between −3 and −2. The smallest integer at least x is −2, and the greatest integer at most x is −3.
  2. For n=−3, x≤n is false and ⌈x⌉≤n is also false, giving agreement for the left adjunction. Here n≤x and n≤⌊x⌋ are both true, giving agreement for the right adjunction.
  3. For n=−2, x≤n and ⌈x⌉≤n are both true. The conditions n≤x and n≤⌊x⌋ are both false. Thus the two comparisons still agree in their respective pairs.
  4. Ceiling compares with an integer on its right via x≤n. Floor compares with an integer on its left via n≤x. Preserving these directions makes the same rules work for the negative input.

The ceiling is −2 and the floor is −3. For n=−3 the first biconditional has both sides false and the second both true. For n=−2 these truth values are reversed.

Compute the closure and the interior of a subset

For f:{0,1,2}→{a,b,c} with f(0)=f(1)=a,f(2)=c, compute f^* f_!({0}) and f_! f^*({a,b}). Check both results again under their operator.

  1. First apply the image map f_! to {0}, giving {a}. Its inverse image contains exactly 0 and 1, so f^*f_!({0})={0,1}.
  2. The image of {0,1} is still {a}, and its inverse image is still {0,1}. This checks a second application of this closure operator.
  3. For the target subset {a,b}, its inverse image is {0,1} because b has no preimage. The image of that inverse image is {a}, so f_!f^*({a,b})={a}.
  4. A second application to {a} gives the same inverse image and the same final image. Both calculations confirm idempotence at these concrete inputs.

The closure of {0} is {0,1}, and the interior of {a,b} is {a}. Applying each operator again leaves its result fixed.

Read the left and right diagonal comparisons in a two-object set diagram

For the discrete diagram with A={0,1}, B={p}, give the product and tagged union. Use a singleton input and the legs 1→A,1→B naming 1 and p to compute the limit transpose. Use maps sending A to 7 and B to 9 to compute the other transpose into ℤ.

  1. The product is A×B={(0,p),(1,p)}. Given the two legs with singleton domain naming 1∈A and p∈B, their unique common map into the product sends the sole input to the pair (1,p).
  2. Its projections recover precisely the two original components of the transformation from the constant singleton diagram. This is the right adjunction's arrow from the test singleton into the limit.
  3. The disjoint union consists of the tags (0,0),(0,1) and (1,p), with tag 0 for A and tag 1 for B. The two compatible maps into ℤ prescribe 7 on the first two and 9 on the last one.
  4. Those three values give the unique map out of the colimit, because every tag is on its corresponding injection. Its two restrictions recover the original cocone, giving the left adjunction's transpose.

The limit transpose sends the singleton point to (1,p). The colimit transpose sends each tagged A point to 7 and the tagged B point to 9.

Flatten a list of lists of lists in both orders

Let the three outer entries be [[a],[b,c]], [], and [[],[d]]. Compute μ applied at both levels along each of the associativity routes and give the final ordinary list.

  1. The first route T(μ_X) flattens inside each outer group. It takes [[a],[b,c]] to [a,b,c], [] to [], and [[],[d]] to [d]. Thus the intermediate list is [[a,b,c],[],[d]].
  2. Applying μ_X to this intermediate list concatenates the three lists. The empty middle list contributes no entries, and the result is [a,b,c,d].
  3. The second route μ_{TX} first concatenates the three outer groups as lists of lists. It gives [[a],[b,c],[],[d]], preserving the order and the interior empty list from the third group.
  4. Applying μ_X to this new intermediate list reads a, then b and c, then no entries, then d. It yields the same [a,b,c,d], verifying the actual associativity routes on the given input.

Both routes give [a,b,c,d]. The first intermediate outer list is [[a,b,c],[],[d]], and the other is [[a],[b,c],[],[d]].

Find the abelianization of an explicit already abelian group

For H=ℤ/6, compute a commutator of two residues, identify the subgroup generated by all commutators, and write the unit and counit under the standard quotient identification.

  1. In additive notation a commutator of residues x,y is x+y−x−y. Addition is commutative in ℤ/6, so this equals the zero residue for every pair.
  2. The subgroup generated by all these residues is the trivial subgroup {0}. Thus abelianization sends H to H/{0}, whose coset of x contains only x.
  3. The unit q sends x to its class x+{0}. For an abelian group H the counit at H maps this class back to x. It is well defined because equality of the two singleton cosets implies equality of their elements.
  4. The two maps compose to both identities by their formulas. Under the canonical identification H/{0}≅H, both unit and counit become the identity on the appropriate copy of ℤ/6.

Every commutator is 0. The abelianization is (ℤ/6)/{0} and the unit and counit identify it with ℤ/6 by the usual coset maps.

Try it yourself

  1. Given h:X×A→Y, a:X′→X and b:Y→Y′, compute the curried image of b∘h∘(a×id_A) at x′, then a₀∈A. Verify the separate functions have the required types.

    Show the answer and reasoning

    Both routes give b(h(a(x′),a₀)) with codomain Y′.

    The function a×id_A has domain X′×A and codomain X×A, and sends (x′,a₀) to (a(x′),a₀). Composing h and then b makes a map X′×A→Y′. Currying that composite produces a function X′→(Y′)^A. Its value at x′, evaluated at a₀, is b(h(a(x′),a₀)). The curry of h has type X→Y^A. Precomposition by a gives a function from X′ to Y^A. Postcomposition of each function A→Y by b gives the map from Y^A to (Y′)^A. Applying these latter operations in order gives the same value b(h(a(x′),a₀)). Equality at every element of each domain proves equality of the two curried functions with the displayed types.

  2. Under the product–function-set adjunction compute Φ(id_{X×A})(x). State its value at a∈A and confirm the type X→(X×A)^A.

    Show the answer and reasoning

    The unit is η_X:x↦(a↦(x,a)), a function X→(X×A)^A.

    The input to transposition is the identity map h:X×A→X×A. Its output is a function from X to the set of functions A→X×A. At x the output is the function η_X(x) taking a to h(x,a). Since h is the identity, this value is (x,a). Each pair lies in X×A, so a↦(x,a) belongs to (X×A)^A. The assignment x↦η_X(x) therefore has the exact required type. When A is empty, the function at each x is the unique function on the empty set. The same formula interpreted pointwise defines the unit in that case as well.

  3. Compute the inverse transpose of id_{Y^A} and confirm it is a map Y^A×A→Y. Evaluate it with A={0,1}, φ(0)=4,φ(1)=7 at 1.

    Show the answer and reasoning

    The counit evaluates (φ,a)↦φ(a) and takes (φ,1) to 7 in the example.

    The inverse transpose starts from k=id_{Y^A}:Y^A→Y^A. By its definition the resulting map has domain Y^A×A and codomain Y. At the pair (φ,a) its value is k(φ)(a). Since k(φ)=φ, this is exactly the value of the original function φ at its argument a in A. With the given function φ on {0,1}, evaluating the pair (φ,1) gives φ(1)=7. The corresponding value at (φ,0) would be 4. The operation uses both the input function and the evaluation point, so it has the stated type. This gives the explicit counit obtained from the identity.

  4. For b:Y→Y′ and the inverse image of G(b) under the hom bijection at GY,Y′, compute it using naturality in C and D. Obtain the actual equality.

    Show the answer and reasoning

    The inverse transpose is both b∘ε_Y and ε_{Y′}∘FG(b). These are the two sides of the counit square.

    The map G(b) has source GY and target GY′. Under the inverse bijection at (GY,Y′) it gives an arrow FGY→Y′. Write G(b)=G(b)∘id_{GY} and apply inverse naturality in Y using b. The computed value is b∘Ψ_{GY,Y}(id_{GY})=b∘ε_Y. Alternatively express G(b)=id_{GY′}∘G(b). Inverse naturality in the first variable applied to the arrow G(b):GY→GY′ gives ε_{Y′}∘F(G(b)). The two formulas describe the same inverse transpose, so b∘ε_Y=ε_{Y′}∘FG(b). This is naturality of the counit with the indicated common source FGY.

  5. For arrows a:X→Y and b:Y→Z, compare F(b)∘F(a) and F(b∘a) by their factors through η_X. Also exhibit the identity comparison.

    Show the answer and reasoning

    Both candidate composites solve G(h)∘η_X=η_Z∘b∘a. The identity solves its own analogous equation.

    The universal unit determines F(a) by G(F(a))∘η_X=η_Y∘a and F(b) by G(F(b))∘η_Y=η_Z∘b. Both source and target of the combined map are therefore known. Compute G(F(b)∘F(a))∘η_X=G(F(b))∘η_Y∘a=η_Z∘b∘a. This is the required equation for F(b∘a). These two arrows FX→FZ therefore coincide by uniqueness for η_X. This proves preservation of composition under the constructed F. The arrow id_{FX} satisfies G(id_{FX})∘η_X=η_X=η_X∘id_X. Since F(id_X) is defined by the same equation, the uniqueness gives the identity law.

  6. For two chosen units into the same G, write the factorization equations for both comparison directions, compose them and prove their identities on the two vertices.

    Show the answer and reasoning

    For comparisons u:FX→F′X and v:F′X→FX, the equations give v∘u=id_{FX} and u∘v=id_{F′X}.

    Let η_X:X→GFX and η′_X:X→GF′X be the two units. Universality of η_X gives u with G(u)∘η_X=η′_X. Universality of η′_X gives v with G(v)∘η′_X=η_X. Apply G to v∘u and compose with η_X. By functoriality the result is G(v)∘G(u)∘η_X=G(v)∘η′_X=η_X. The identity on FX gives the same η_X. The unit factorization for maps from FX is unique, so v∘u=id_{FX}. Similarly G(u∘v)∘η′_X=η′_X, and uniqueness of the factorization through η′_X gives u∘v=id_{F′X}. Both inverses preserve the originally specified unit data.

  7. With F′⇒F as above, express the transpose of h′:F′X→Y and its inverse. Show composing the maps in either order fixes every input.

    Show the answer and reasoning

    The transpose is Φ(h′∘a_X⁻¹) and the inverse sends k to Ψ(k)∘a_X.

    For the natural isomorphism a:F′⇒F, its component a_X has type F′X→FX. Therefore h′∘a_X⁻¹ has type FX→Y and has the original transpose Φ(h′∘a_X⁻¹). If k:X→GY, then Ψ(k):FX→Y and Ψ(k)∘a_X:F′X→Y. This is a suitable operation in the reverse direction between the proposed hom-sets. Starting with h′, the reverse operation after transposition gives Ψ(Φ(h′∘a_X⁻¹))∘a_X=h′∘a_X⁻¹∘a_X=h′. This uses the identity at F′X. Starting with k, the forward operation gives Φ(Ψ(k)∘a_X∘a_X⁻¹)=Φ(Ψ(k))=k. The identity at FX and the original two bijections establish the inverse laws.

  8. Let f:{a,b}→{x} send both letters to x. Give the output word on abba and on the empty word, and check how lengths and concatenation are preserved.

    Show the answer and reasoning

    The word abba maps to xxxx and the empty word maps to the empty word. Lengths and concatenation are preserved.

    The free-monoid map replaces each occurrence of a letter by its image under f. Every position of abba contains either a or b, both of which map to x. Thus the result is the four-letter word xxxx. The empty word has no positions to replace, so it maps to the empty word of the target free monoid. Replacing letters leaves the number of positions unchanged. In particular, the two computed lengths are 4 and 0 as in the inputs. For two words, replacing letters in their concatenation assigns first all the positions of the first word, then all the positions of the second. That is the concatenation of their respective images, proving the operation preserves the monoid product.

  9. In ℝ^{({u,v})} let h(e_u)=2,h(e_v)=−3. Compute h(4e_u+e_v), h(e_u−e_u), and h(2(e_u+e_v)). Verify the extension uses only actual coefficients.

    Show the answer and reasoning

    The three values are 5, 0 and −2, respectively.

    By linearity a combination c e_u+d e_v has image c·2+d·(−3). This uses the actual coefficients in the free space, independent of a chosen expression that simplifies to them. For 4e_u+e_v, the coefficients are 4 and 1, so the result is 8−3=5. For e_u−e_u the coefficient at u is 1−1=0 and all other coefficients are zero. The input vector is zero and its image is 0. The vector 2(e_u+e_v) has both coefficients equal to 2. Its image is 4−6=−2. Treating the terms separately and then combining gives the same value because the extension is linear.

  10. Take A=∅. Show X×A=∅ and Y^A is a singleton for any X,Y, including empty Y. Prove both hom-sets of the adjunction are singletons.

    Show the answer and reasoning

    The two hom-sets are singletons. The adjunction sends the unique function out of X×∅ to the unique map into Y^∅.

    No ordered pair in X×A is possible when A=∅, so X×A is empty. There is exactly one function from that empty domain into any Y, including Y=∅. There is exactly one function A→Y for the same reason. Thus the set Y^A is a singleton even when Y has no elements. A function from X to that singleton has all values forced to the sole member. Its domain may also be empty, in which case it is the empty-domain function. Consequently both hom-sets have exactly one element. Currying and inverse evaluation send the sole member of each to the sole member of the other, establishing their inverse relation in the empty case.

  11. Given a colimiting cocone D(j)→L in C and a cocone under F∘D with legs h_j:F(D(j))→Y, use the forward transposition for the test legs and the inverse for the final factor through F L.

    Show the answer and reasoning

    Transpose each test leg into GY, factor once through L, then inverse-transpose to the unique arrow F L→Y.

    Write d_j:D(j)→L for the original colimit legs in C and h_j:F(D(j))→Y for the test cocone in the codomain. The forward transposes k_j of h_j have type D(j)→GY. For any diagram arrow u:i→j, the equality h_j∘F(D(u))=h_i becomes k_j∘D(u)=k_i by first-variable naturality. Thus the k_j form a cocone from the original diagram. There is exactly one map k:L→GY with k∘d_j=k_j. Take its inverse transpose h:F L→Y. Naturality shows that h∘F(d_j) transposes to k∘d_j=k_j, so h∘F(d_j)=h_j. Another factor of the h_j would forward-transpose to another map out of L with the same restrictions k_j. Uniqueness in the original colimit and the inverse bijection show it equals h.

  12. For monotone L,R assume p≤RLp for all p and LRq≤q for all q. Derive Lp≤q⇔p≤Rq by applying the appropriate monotone map in each direction.

    Show the answer and reasoning

    If Lp≤q, apply R and use p≤RLp. If p≤Rq, apply L and use LRq≤q.

    Begin with Lp≤q. Since R is monotone this gives R(Lp)≤Rq. The assumed unit inequality p≤RLp composes with it to give p≤Rq. For the other implication start from p≤Rq. Monotonicity of L gives Lp≤L(Rq), and the counit inequality L(Rq)≤q then gives Lp≤q. Both implications hold for every p and q, so the two inequalities are true at exactly the same pairs of inputs. In the associated poset categories this equality of truth conditions is the natural hom-bijection condition. Its hom-sets have either zero or one member, so the indicated bijections are forced whenever the condition holds.

  13. For f:{0}→{a,b}, f(0)=a, compute f_*(∅), f^*({b}), and f_! f^*({b}). Explain why b can be in one result without any preimage.

    Show the answer and reasoning

    The results are {b}, ∅ and ∅, respectively. The fiber of b is empty, so it satisfies the universal subset condition.

    The fiber of a contains 0, so it is not a subset of ∅. The fiber of b is ∅ and is a subset of ∅. Thus only b belongs to f_*(∅). No input maps to b, so f^*({b})=∅. Applying f_! to this empty inverse image gives the empty subset of the target. The first computation uses the condition that every input in the fiber must lie in the chosen subset. For b there are no such inputs, so none can violate that condition. The direct-image computation uses existence of an input mapped to a target point. An empty-domain subset has no witness for b or any other point, so this result stays empty.

  14. For a family of subsets of X use the order adjunction or element membership to verify the formula, including an empty family. State the posets and comparison operations.

    Show the answer and reasoning

    For a family (A_i), f[⋃_i A_i]=⋃_i f[A_i]. An empty family gives ∅ on both sides.

    The two posets are subsets of X and subsets of Y, both ordered by inclusion. The supremum of any family in either one is the union of that family. The direct image f_! is left adjoint to inverse image f^* in these posets. Therefore it takes a supremum to the supremum of its direct images, giving the displayed formula. Alternatively, y lies in the left side precisely when some x in at least one A_i satisfies f(x)=y. The same witnesses put y in f[A_i] for some i, which is membership in the union on the right. If the index family is empty, no such index witness exists. Its supremum of subsets is empty and the direct image of ∅ is empty. The two arguments agree on that case as well.

  15. For c as stated and q fixed, prove c(p)≤q iff p≤q. Check c restricts to the identity on the fixed points.

    Show the answer and reasoning

    For fixed q, c(p)≤q exactly when p≤q, and c(q)=q gives the identity on the fixed-point subposet.

    Let c be a closure operator with p≤c(p). If c(p)≤q, then composing the two inequalities gives p≤q, regardless of whether q was fixed. In the other direction assume p≤q and q fixed. Monotonicity gives c(p)≤c(q), and the fixity equation makes this c(p)≤q. The values c(p) are fixed by idempotence, so this comparison has the codomain of all fixed points with its inherited order. It gives c as a left adjoint to the inclusion of that poset. At a fixed q the output c(q) is q itself. Thus restricting c along the inclusion is the identity on those objects and on arrows, since in a poset each admissible arrow is unique.

  16. For T=GF and μ_X=Gε_{FX}, compute μ_X∘η_{TX} and μ_X∘Tη_X using the triangles at the appropriate objects.

    Show the answer and reasoning

    The G-side triangle at FX gives μ_X∘η_{TX}=id_{TX}. The F-side triangle at X gives μ_X∘Tη_X=id_{TX}.

    By definition μ_X=G(ε_{FX}) has domain GFGFX=T²X and target GFX=TX. The map η_{TX} starts at TX and ends at T²X. The composite G(ε_{FX})∘η_{GFX} is the G-side triangle with its D-variable Y specialized to FX. Therefore it equals id_{GFX}. For the other route Tη_X=GF(η_X) has the same source and target. The composite with μ_X is G(ε_{FX}∘F(η_X)), using preservation of composition by G. Inside this expression, the F-side triangle at X gives ε_{FX}∘F(η_X)=id_{FX}. Applying G gives id_{TX}, the identity required by that route.

  17. For L=[a,b], compute flattening [[a,b]], flattening [[a],[b]], and flattening [[],[a,b],[]]. Check which unit identities the first two certify.

    Show the answer and reasoning

    All three inputs flatten to [a,b]. The first is the outer singleton unit route and the second is the coordinatewise singleton unit route.

    For L=[a,b], η_{TX} wraps L as the sole inner list, giving [[a,b]]. Concatenation of this sole inner list returns [a,b]. The map Tη_X applies the singleton insertion at each letter, giving [[a],[b]]. Concatenation follows the two entries in order and gives [a,b] again. In [[],[a,b],[]] the first and last lists contain no entries. Their concatenation around the middle list therefore gives that middle list unchanged. The first two calculations instantiate μ_X∘η_{TX}=id_{TX} and μ_X∘Tη_X=id_{TX}, respectively. The third verifies how the monoid identity behaves inside a larger concatenation.

  18. For a group hom h:H→A into an abelian group, evaluate h(xyx⁻¹y⁻¹), prove the induced map on cosets is defined and unique, and type the quotient factor.

    Show the answer and reasoning

    The homomorphism kills all commutators and factors uniquely through H/N by h_bar(xN)=h(x).

    Since h is a group homomorphism, h(xyx⁻¹y⁻¹)=h(x)h(y)h(x)⁻¹h(y)⁻¹. The target A is abelian, so this product is 1_A. The kernel of h is a subgroup and contains all commutators. It therefore contains N, the subgroup they generate. If xN=yN, then y⁻¹x∈N and h(x)=h(y). Define h_bar:H/N→A by xN↦h(x). The previous equality makes it well defined. Multiplication of cosets maps to multiplication of h-values because h is a homomorphism. Its composite with the quotient H→H/N is the given h. Since every coset has a representative, this equation determines its value on every coset and proves uniqueness.

What to carry forward

  • Each transpose bijection is contravariant in the source variable and covariant in the target variable.
  • The unit describes every forward transpose. The counit describes every inverse transpose.
  • Both triangle equations are needed for arbitrary natural unit and counit data to give inverse correspondences.
  • Universal arrows construct adjoints and determine the comparisons between choices.
  • A left adjoint preserves existing colimits. A right adjoint preserves existing limits.
  • Invertibility of the unit tests full faithfulness of the left adjoint. Invertibility of the counit tests the right adjoint.
  • On ordered sets the adjunction is a biconditional of inequalities. The right-left composite is a closure operator.
  • The composite GF carries a monad structure whose multiplication is given by the counit.

References

Sources for the concepts and teaching approaches in this article.

  1. The original definition of adjoint functorsDaniel M. KanPrimary · PDFpeople.math.rochester.eduRead source
  2. Two-variable naturality and transposesEmily RiehlPrimary · PDFemilyriehl.github.ioRead source
  3. Uniqueness of adjointsTom LeinsterPrimaryarxiv.orgRead source
  4. Closure on fixed-point ordersBrendan Fong and David I. SpivakPrimaryarxiv.orgRead source