Adjoint functors

From testwiki
Jump to navigation Jump to search

Template:Short description Template:About Template:More footnotes needed

In mathematics, specifically category theory, adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories. Two functors that stand in this relationship are known as adjoint functors, one being the left adjoint and the other the right adjoint.[1] Pairs of adjoint functors are ubiquitous in mathematics and often arise from constructions of "optimal solutions" to certain problems (i.e., constructions of objects having a certain universal property), such as the construction of a free group on a set in algebra, or the construction of the Stone–Čech compactification of a topological space in topology.

By definition, an adjunction between categories 𝒞 and 𝒟 is a pair of functors (assumed to be covariant)

F:𝒟→𝒞G:𝒞→𝒟

and, for all objects c in 𝒞 and d in Template:Nowrap a bijection between the respective morphism sets

hom𝒞(Fd,c)≅hom𝒟(d,Gc)

such that this family of bijections is natural in c and d.[1] For locally small categories, naturality here means that there are natural isomorphisms between the pair of functors 𝒞(F−,c):𝒟→Setop and 𝒟(−,Gc):𝒟→Setop for a fixed c in 𝒞, and also the pair of functors 𝒞(Fd,−):𝒞→Set and 𝒟(d,G−):𝒞→Set for a fixed d in 𝒟. For other categories, naturality is defined as a generalisation of this.[1]

The functor F is called a left adjoint functor or left adjoint to G, while G is called a right adjoint functor or right adjoint to F. We write F⊣G.[1]

An adjunction between categories 𝒞 and 𝒟 is somewhat akin to a "weak form" of an equivalence between 𝒞 and 𝒟, and indeed every equivalence gives an adjunction, though the equivalence itself is not necessarily an adjunction.[2] In many situations, an adjunction can be "upgraded" to an equivalence, by a suitable natural modification of the involved categories and functors.

Terminology and notation

The terms adjoint and adjunct are both used, and are cognates: one is taken directly from Latin, the other from Latin via French. In the classic text Categories for the Working Mathematician, Mac Lane makes a distinction between the two.[3] Given a family

φcd:hom𝒞(Fd,c)≅hom𝒟(d,Gc)

of hom-set bijections, we call φ an adjunction or an adjunction between F and G.[1][3] If f is an arrow in hom𝒞(Fd,c), Mac Lane calls φf the right adjunct of f.[3] The functor F is left adjoint to G, and G is right adjoint to F.[1][3] (Note that G may have itself a right adjoint that is quite different from F; see below for an example.)

In general, the phrases "F is a left adjoint" and "F has a right adjoint" are equivalent. We call F a left adjoint because it is applied to the left argument of hom𝒞, and G a right adjoint because it is applied to the right argument of hom𝒟.

If F is left adjoint to G, we also write[1] F⊣G.

The terminology comes from the Hilbert space idea of adjoint operators T, U with ⟨Ty,x⟩=⟨y,Ux⟩, which is formally similar to the above relation between hom-sets. The analogy to adjoint maps of Hilbert spaces can be made precise in certain contexts.[4]

Introduction and motivation

Template:Quote

Common mathematical constructions are very often adjoint functors. Consequently, general theorems about left/right adjoint functors encode the details of many useful and otherwise non-trivial results. Such general theorems include the equivalence of the various definitions of adjoint functors, the uniqueness of a right adjoint for a given left adjoint, the fact that left/right adjoint functors respectively preserve colimits/limits (which are also found in every area of mathematics), and the general adjoint functor theorems giving conditions under which a given functor is a left/right adjoint.

Solutions to optimization problems

In a sense, an adjoint functor is a way of giving the most efficient solution to some problem via a method that is formulaic. For example, an elementary problem in ring theory is how to turn a rng (which is like a ring that might not have a multiplicative identity) into a ring. The most efficient way is to adjoin an element '1' to the rng, adjoin all (and only) the elements that are necessary for satisfying the ring axioms (e.g. r+1 for each r in the ring), and impose no relations in the newly formed ring that are not forced by axioms. Moreover, this construction is formulaic in the sense that it works in essentially the same way for any rng.

This is rather vague, though suggestive, and can be made precise in the language of category theory: a construction is most efficient if it satisfies a universal property, and is formulaic if it defines a functor. Universal properties come in two types: initial properties and terminal properties. Since these are dual notions, it is only necessary to discuss one of them.

The idea of using an initial property is to set up the problem in terms of some auxiliary category E, so that the problem at hand corresponds to finding an initial object of E. This has an advantage that the optimization—the sense that the process finds the most efficient solution—means something rigorous and recognisable, rather like the attainment of a supremum. The category E is also formulaic in this construction, since it is always the category of elements of the functor to which one is constructing an adjoint.

Back to our example: take the given rng R, and make a category E whose objects are rng homomorphisms Template:Math, with S a ring having a multiplicative identity. The morphisms in E between Template:Math and Template:Math are commutative triangles of the form (Template:Math) where Template:Math is a ring map (which preserves the identity). (Note that this is precisely the definition of the comma category of R over the inclusion of unitary rings into rng.) The existence of a morphism between Template:Math and Template:Math implies that S1 is at least as efficient a solution as S2 to our problem: S2 can have more adjoined elements and/or more relations not imposed by axioms than S1. Therefore, the assertion that an object Template:Math is initial in E, that is, that there is a morphism from it to any other element of E, means that the ring R* is a most efficient solution to our problem.

The two facts that this method of turning rngs into rings is most efficient and formulaic can be expressed simultaneously by saying that it defines an adjoint functor. More explicitly: Let F denote the above process of adjoining an identity to a rng, so F(R)=RTemplate:Sup. Let G denote the process of "forgetting" whether a ring S has an identity and considering it simply as a rng, so essentially G(S)=S. Then F is the left adjoint functor of G.

Note however that we haven't actually constructed RTemplate:Sup yet; it is an important and not altogether trivial algebraic fact that such a left adjoint functor Template:Math actually exists.

Symmetry of optimization problems

It is also possible to start with the functor F, and pose the following (vague) question: is there a problem to which F is the most efficient solution?

The notion that F is the most efficient solution to the problem posed by G is, in a certain rigorous sense, equivalent to the notion that G poses the most difficult problem that F solves.

This gives the intuition behind the fact that adjoint functors occur in pairs: if F is left adjoint to G, then G is right adjoint to F.

Formal definitions

There are various equivalent definitions for adjoint functors:

  • The definitions via universal morphisms are easy to state, and require minimal verifications when constructing an adjoint functor or proving two functors are adjoint. They are also the most analogous to our intuition involving optimizations.
  • The definition via hom-sets makes symmetry the most apparent, and is the reason for using the word adjoint.
  • The definition via counit–unit adjunction is convenient for proofs about functors that are known to be adjoint, because they provide formulas that can be directly manipulated.

The equivalency of these definitions is quite useful. Adjoint functors arise everywhere, in all areas of mathematics. Since the structure in any of these definitions gives rise to the structures in the others, switching between them makes implicit use of many details that would otherwise have to be repeated separately in every subject area.

Conventions

The theory of adjoints has the terms left and right at its foundation, and there are many components that live in one of two categories C and D that are under consideration. Therefore, it can be helpful to choose letters in alphabetical order according to whether they live in the "lefthand" category C or the "righthand" category D, and also to write them down in this order whenever possible.

In this article for example, the letters X, F, f, ε will consistently denote things that live in the category C, the letters Y, G, g, η will consistently denote things that live in the category D, and whenever possible such things will be referred to in order from left to right (a functor F : D → C can be thought of as "living" where its outputs are, in C). If the arrows for the left adjoint functor F were drawn they would be pointing to the left; if the arrows for the right adjoint functor G were drawn they would be pointing to the right.

Definition via universal morphisms

By definition, a functor F:𝒟→𝒞 is a left adjoint functor if for each object X in 𝒞 there exists a universal morphism from F to X. Spelled out, this means that for each object X in 𝒞 there exists an object G(X) in 𝒟 and a morphism εX:F(G(X))→X such that for every object Y in 𝒟 and every morphism f:F(Y)→X there exists a unique morphism g:Y→G(X) with εX∘F(g)=f.

The latter equation is expressed by the following commutative diagram:

Diagram of the equation above. Here the counit is a universal morphism.

In this situation, one can show that G can be turned into a functor G:𝒞→𝒟 in a unique way such that εX∘F(G(f))=f∘εX′ for all morphisms f:X′→X in 𝒞; F is then called a left adjoint to G.

Similarly, we may define right-adjoint functors. A functor G:𝒞→𝒟 is a right adjoint functor if for each object Y in 𝒟, there exists a universal morphism from Y to G. Spelled out, this means that for each object Y in 𝒟, there exists an object F(Y) in C and a morphism ηY:Y→G(F(Y)) such that for every object X in 𝒞 and every morphism g:Y→G(X) there exists a unique morphism f:F(Y)→X with G(f)∘ηY=g.

Diagram of the above. The existence of the unit, a universal morphism, can prove the existence of an adjunction.

Again, this F can be uniquely turned into a functor F:𝒟→𝒞 such that G(F(g))∘ηY=ηY′∘g for g:Y→Y′ a morphism in 𝒟; G is then called a right adjoint to F.

It is true, as the terminology implies, that F is left adjoint to G if and only if G is right adjoint to F.

These definitions via universal morphisms are often useful for establishing that a given functor is left or right adjoint, because they are minimalistic in their requirements. They are also intuitively meaningful in that finding a universal morphism is like solving an optimization problem.

Definition via hom-sets

Using hom-sets, an adjunction between two categories 𝒞 and 𝒟 can be defined as consisting of two functors F:𝒟→𝒞 and G:𝒞→𝒟 and a natural isomorphism Φ:Hom𝒞(F−,−)→Hom𝒟(−,G−). This specifies a family of bijections ΦY,X:Hom𝒞(FY,X)→Hom𝒟(Y,GX) for all objects X∈𝒞 and Y∈𝒟.

In this situation, F is left adjoint to G and G is right adjoint to F.

This definition is a logical compromise in that it is more difficult to establish its satisfaction than the universal morphism definitions, and has fewer immediate implications than the counit–unit definition. It is useful because of its obvious symmetry, and as a stepping-stone between the other definitions.

In order to interpret Φ as a natural isomorphism, one must recognize Hom𝒞(F−,−) and Hom𝒟(−,G−) as functors. In fact, they are both bifunctors from 𝒟op×𝒞 to 𝐒𝐞𝐭 (the category of sets). For details, see the article on hom-functors. Spelled out, the naturality of Φ means that for all morphisms f:X→X′ in 𝒞 and all morphisms g:Y′→Y in 𝒟 the following diagram commutes:

Naturality of Φ. The diagram expresses that Hom(g,Gf) ° Φ_{Y,X} = Φ_{Y',X'} ° Hom(Fg,f).

The vertical arrows in this diagram (Hom(g,Gf) and Hom(Fg,f)) are those induced by composition. Formally, Hom(Fg,f):Hom𝒞(FY,X)→Hom𝒞(FY′,X′) is given by h↦f∘h∘Fg for each h∈Hom𝒞(FY,X). Hom(g,Gf) is similar.

Definition via counit–unit

A third way of defining an adjunction between two categories 𝒞 and 𝒟 consists of two functors F:𝒟→𝒞 and G:𝒞→𝒟 and two natural transformations ε:FG→1𝒞η:1𝒟→GF respectively called the counit and the unit of the adjunction (terminology from universal algebra), such that the compositions F→FηFGF→εFF G→ηGGFG→GεG are the identity morphisms 1F and 1G on Template:Mvar and Template:Mvar respectively.

In this situation we say that Template:Mvar is left adjoint to Template:Mvar and Template:Mvar is right adjoint to Template:Mvar, and may indicate this relationship by writing (ε,η):F⊣G , or, simply F⊣G .

In equational form, the above conditions on (ε,η) are the counit–unit equations 1F=εF∘Fη1G=Gε∘ηG which imply that for each X∈𝒞 and each Y∈𝒟, 1FY=εFY∘F(ηY)1GX=G(εX)∘ηGX.

Note that 1𝒞 denotes the identify functor on the category 𝒞, 1F denotes the identity natural transformation from the functor Template:Mvar to itself, and 1FY denotes the identity morphism of the object FY.

String diagram for adjunction.

These equations are useful in reducing proofs about adjoint functors to algebraic manipulations. They are sometimes called the triangle identities, or sometimes the zig-zag equations because of the appearance of the corresponding string diagrams. A way to remember them is to first write down the nonsensical equation 1=ε∘η and then fill in either Template:Mvar or Template:Mvar in one of the two simple ways that make the compositions defined.

Note: The use of the prefix "co" in counit here is not consistent with the terminology of limits and colimits, because a colimit satisfies an initial property whereas the counit morphisms satisfy terminal properties, and dually for limit versus unit. The term unit here is borrowed from the theory of monads, where it looks like the insertion of the identity Template:Math into a monoid.

History

The idea of adjoint functors was introduced by Daniel Kan in 1958.[5] Like many of the concepts in category theory, it was suggested by the needs of homological algebra, which was at the time devoted to computations. Those faced with giving tidy, systematic presentations of the subject would have noticed relations such as

Hom(FX,Y)=Hom(X,GY)

in the category of abelian groups, where Template:Mvar was the functor −⊗A (i.e. take the tensor product with Template:Mvar), and Template:Mvar was the functor Template:Math (this is now known as the tensor-hom adjunction). The use of the equals sign is an abuse of notation; those two groups are not really identical but there is a way of identifying them that is natural. It can be seen to be natural on the basis, firstly, that these are two alternative descriptions of the bilinear mappings from Template:Math to Template:Mvar. That is, however, something particular to the case of tensor product. In category theory the 'naturality' of the bijection is subsumed in the concept of a natural isomorphism.

Examples

Free groups

The construction of free groups is a common and illuminating example.

Let Template:Math be the functor assigning to each set Template:Mvar the free group generated by the elements of Template:Mvar, and let Template:Math be the forgetful functor, which assigns to each group Template:Mvar its underlying set. Then Template:Mvar is left adjoint to Template:Mvar:

Template:Glossary Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn

Template:Term Template:Defn Template:Glossary end

Free constructions and forgetful functors

Free objects are all examples of a left adjoint to a forgetful functor, which assigns to an algebraic object its underlying set. These algebraic free functors have generally the same description as in the detailed description of the free group situation above.

Diagonal functors and limits

Products, pullbacks, equalizers, and kernels are all examples of the categorical notion of a limit. Any limit functor is right adjoint to a corresponding diagonal functor (provided the category has the type of limits in question), and the counit of the adjunction provides the defining maps from the limit object (i.e. from the diagonal functor on the limit, in the functor category). Below are some specific examples.

Template:Unordered list

Colimits and diagonal functors

Coproducts, pushouts, coequalizers, and cokernels are all examples of the categorical notion of a colimit. Any colimit functor is left adjoint to a corresponding diagonal functor (provided the category has the type of colimits in question), and the unit of the adjunction provides the defining maps into the colimit object. Below are some specific examples.

Further examples

Algebra

Topology

Posets

Every partially ordered set can be viewed as a category (where the elements of the poset become the category's objects and we have a single morphism from Template:Mvar to Template:Mvar if and only if Template:Math). A pair of adjoint functors between two partially ordered sets is called a Galois connection (or, if it is contravariant, an antitone Galois connection). See that article for a number of examples: the case of Galois theory of course is a leading one. Any Galois connection gives rise to closure operators and to inverse order-preserving bijections between the corresponding closed elements.

As is the case for Galois groups, the real interest lies often in refining a correspondence to a duality (i.e. antitone order isomorphism). A treatment of Galois theory along these lines by Kaplansky was influential in the recognition of the general structure here.

The partial order case collapses the adjunction definitions quite noticeably, but can provide several themes:

Category theory

Template:Glossary Template:Term Template:Defn Template:Term Template:Defn Template:Term Template:Defn Template:Glossary end

Categorical logic

Template:See also Template:Glossary Template:Term Template:Defn Template:Glossary end

Probability

The twin fact in probability can be understood as an adjunction: that expectation commutes with affine transform, and that the expectation is in some sense the best solution to the problem of finding a real-valued approximation to a distribution on the real numbers.

Define a category based on ℝ, with objects being the real numbers, and the morphisms being "affine functions evaluated at a point". That is, for any affine function f(x)=ax+b and any real number r, define a morphism (r,f):r→f(r).

Define a category based on M(ℝ), the set of probability distribution on ℝ with finite expectation. Define morphisms on M(ℝ) as "affine functions evaluated at a distribution". That is, for any affine function f(x)=ax+b and any μ∈M(ℝ), define a morphism (μ,f):μ→μ∘f−1.

Then, the Dirac delta measure defines a functor: δ:x↦δx, and the expectation defines another functor 𝔼:μ↦𝔼[μ], and they are adjoint: 𝔼⊣δ. (Somewhat disconcertingly, 𝔼 is the left adjoint, even though 𝔼 is "forgetful" and δ is "free".)

Adjunctions in full

There are hence numerous functors and natural transformations associated with every adjunction, and only a small portion is sufficient to determine the rest.

An adjunction between categories Template:Mvar and Template:Mvar consists of

An equivalent formulation, where Template:Mvar denotes any object of Template:Mvar and Template:Mvar denotes any object of Template:Mvar, is as follows:

Template:Block indent

From this assertion, one can recover that: Template:Unordered list

In particular, the equations above allow one to define Template:Mvar, Template:Mvar, and Template:Mvar in terms of any one of the three. However, the adjoint functors Template:Mvar and Template:Mvar alone are in general not sufficient to determine the adjunction. The equivalence of these situations is demonstrated below.

Universal morphisms induce hom-set adjunction

Given a right adjoint functor Template:Math, in the sense of initial morphisms, one may construct the induced hom-set adjunction by doing the following steps.

A similar argument allows one to construct a hom-set adjunction from the terminal morphisms to a left adjoint functor. (The construction that starts with a right adjoint is slightly more common, since the right adjoint in many adjoint pairs is a trivially defined inclusion or forgetful functor.)

counit–unit adjunction induces hom-set adjunction

Given functors Template:Math, and a counit–unit adjunction Template:Math, we can construct a hom-set adjunction by finding the natural transformation Template:Math in the following steps:

Hom-set adjunction induces all of the above

Given functors Template:Math, and a hom-set adjunction Template:Math, one can construct a counit–unit adjunction

(ε,η):F⊣G,

which defines families of initial and terminal morphisms, in the following steps:

Properties

Existence

Template:See also Not every functor Template:Math admits a left adjoint. If Template:Mvar is a complete category, then the functors with left adjoints can be characterized by the adjoint functor theorem of Peter J. Freyd: Template:Mvar has a left adjoint if and only if it is continuous and a certain smallness condition is satisfied: for every object Template:Mvar of Template:Mvar there exists a family of morphisms

Template:Block indent

where the indices Template:Mvar come from a set Template:Mvar, not a proper class, such that every morphism

Template:Block indent

can be written as

Template:Block indent

for some Template:Mvar in Template:Mvar and some morphism

Template:Block indent

An analogous statement characterizes those functors with a right adjoint.

An important special case is that of locally presentable categories. If F:C→D is a functor between locally presentable categories, then

Uniqueness

If the functor Template:Math has two right adjoints Template:Math and Template:Mvar, then Template:Mvar and Template:Mvar are naturally isomorphic. The same is true for left adjoints.

Conversely, if Template:Mvar is left adjoint to Template:Mvar, and Template:Mvar is naturally isomorphic to Template:Mvar then Template:Mvar is also left adjoint to Template:Mvar. More generally, if Template:Math is an adjunction (with counit–unit Template:Math) and Template:Block indent Template:Block indent are natural isomorphisms then Template:Math is an adjunction where η′=(τ∗σ)∘ηε′=ε∘(σ−1∗τ−1). Here ∘ denotes vertical composition of natural transformations, and ∗ denotes horizontal composition.

Composition

Adjunctions can be composed in a natural fashion. Specifically, if Template:Math is an adjunction between C and D and Template:Math is an adjunction between Template:Mvar and Template:Mvar then the functor F∘F′:E→C is left adjoint to G′∘G:C→E. More precisely, there is an adjunction between Template:Mvar and Template:Mvar with unit and counit given respectively by the compositions: 1ℰ→η′G′F′→G′ηF′G′GFF′FF′G′G→Fε′GFG→ε1𝒞. This new adjunction is called the composition of the two given adjunctions.

Since there is also a natural way to define an identity adjunction between a category Template:Mvar and itself, one can then form a category whose objects are all small categories and whose morphisms are adjunctions.

Limit preservation

The most important property of adjoints is their continuity: every functor that has a left adjoint (and therefore is a right adjoint) is continuous (i.e. commutes with limits in the category theoretical sense); every functor that has a right adjoint (and therefore is a left adjoint) is cocontinuous (i.e. commutes with colimits).

Since many common constructions in mathematics are limits or colimits, this provides a wealth of information. For example:

  • applying a right adjoint functor to a product of objects yields the product of the images;
  • applying a left adjoint functor to a coproduct of objects yields the coproduct of the images;
  • every right adjoint functor between two abelian categories is left exact;
  • every left adjoint functor between two abelian categories is right exact.

Additivity

If Template:Mvar and Template:Mvar are preadditive categories and Template:Math is an additive functor with a right adjoint Template:Math, then Template:Mvar is also an additive functor and the hom-set bijections

ΦY,X:hom𝒞(FY,X)≅hom𝒟(Y,GX) are, in fact, isomorphisms of abelian groups. Dually, if G is additive with a left adjoint F, then F is also additive.

Moreover, if both Template:Mvar and Template:Mvar are additive categories (i.e. preadditive categories with all finite biproducts), then any pair of adjoint functors between them are automatically additive.

Relationships

Universal constructions

As stated earlier, an adjunction between categories Template:Mvar and Template:Mvar gives rise to a family of universal morphisms, one for each object in Template:Mvar and one for each object in Template:Mvar. Conversely, if there exists a universal morphism to a functor Template:Math from every object of Template:Mvar, then Template:Mvar has a left adjoint.

However, universal constructions are more general than adjoint functors: a universal construction is like an optimization problem; it gives rise to an adjoint pair if and only if this problem has a solution for every object of Template:Mvar (equivalently, every object of Template:Mvar).

Equivalences of categories

If a functor Template:Math is one half of an equivalence of categories then it is the left adjoint in an adjoint equivalence of categories, i.e. an adjunction whose unit and counit are isomorphisms.

Every adjunction Template:Math extends an equivalence of certain subcategories. Define Template:Math as the full subcategory of Template:Mvar consisting of those objects Template:Mvar of Template:Mvar for which Template:Math is an isomorphism, and define Template:Math as the full subcategory of Template:Mvar consisting of those objects Template:Mvar of Template:Mvar for which Template:Math is an isomorphism. Then Template:Mvar and Template:Mvar can be restricted to Template:Math and Template:Math and yield inverse equivalences of these subcategories.

In a sense, then, adjoints are "generalized" inverses. Note however that a right inverse of Template:Mvar (i.e. a functor Template:Mvar such that Template:Mvar is naturally isomorphic to Template:Math need not be a right (or left) adjoint of Template:Mvar. Adjoints generalize two-sided inverses.

Monads

Every adjunction Template:Math gives rise to an associated monad Template:Math in the category Template:Mvar. The functor T:𝒟→𝒟 is given by Template:Math. The unit of the monad η:1𝒟→T is just the unit Template:Mvar of the adjunction and the multiplication transformation μ:T2→T is given by Template:Math. Dually, the triple Template:Math defines a comonad in Template:Mvar.

Every monad arises from some adjunction—in fact, typically from many adjunctions—in the above fashion. Two constructions, called the category of Eilenberg–Moore algebras and the Kleisli category are two extremal solutions to the problem of constructing an adjunction that gives rise to a given monad.

References

Citations

Template:Reflist

General references

Template:Refbegin

Template:Refend

Template:Category theory Template:Authority control

  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 Template:Cite book
  2. ↑ Template:Citation
  3. ↑ 3.0 3.1 3.2 3.3 Template:Cite book
  4. ↑ Template:Cite arXiv
  5. ↑ Template:Cite journal
  6. ↑ Lawvere, F. William, "Adjointness in foundations", Dialectica, 1969. The notation is different nowadays; an easier introduction by Peter Smith in these lecture notes, which also attribute the concept to the article cited.