Take the category of ordinals in reverse order , with a unique arrow exactly when , and the unique functor
Both categories are complete categories. A small limit in the ordinal category is the supremum of the ordinals occurring in the diagram; the empty supremum is , its terminal object. The functor preserves all these categorical limits, and both categories are locally small categories.
A left adjoint would select an initial object of , meaning an ordinal at least as large as every ordinal. No such object exists. More specifically, any set of candidate ordinals has an upper bound , and none of its members maps to . Thus the solution-set condition fails. This example isolates the genuine smallness requirement in the general adjoint functor theorem.
We use the general adjoint functor theorem in its solution-set form. Let be a functor between locally small categories, with a complete category. Then has a left adjoint exactly when it preserves all small categorical limits and, for each , there is a set-indexed family
such that every factors as for some and some . This is the solution-set condition. The indexing family is a set, whereas the entire comma category can be large.
We first prove the initial-object lemma for complete categories with a weakly initial set. Let be locally small and complete, with a weakly initial set . Its product in a category is weakly initial: follow a projection by a map from the corresponding to any desired object. The hom-set is a set, so we can form the simultaneous equalizer
This is a small limit; equivalently, equalize the family of endomorphisms with the family of identity maps into a product of copies of . Every object receives a map from , since it receives one from .
To prove uniqueness, let , and take their equalizer . Weak initiality of gives . Since is an endomorphism of , the defining property of gives
The monomorphism cancels, yielding . Thus is both a monomorphism and a split epimorphism, hence an isomorphism. Its equalizer property now implies . Therefore is initial.
Fix . Small categorical limits in are obtained from the limits in : preservation by supplies the unique map from to the image of the limiting object. The comma category is locally small, and the solution family is a weakly initial set in it. The lemma supplies an initial object .
For , initiality gives a unique arrow satisfying . Uniqueness proves preservation of identities and composition, so is a functor. Initiality also gives natural bijections
which prove .
Conversely, if , the singleton is a solution set by the adjunction bijection. To see that preserves a small limit , use the adjunction and the limit property to obtain, naturally in ,
This is precisely the universal property of the image limit cone. It proves the necessity of both hypotheses.
For a locally small category , the covariant Yoneda lemma gives a bijection
natural in and the functor . The inverse sends to the natural transformation whose component at maps to . Naturality of at forces this formula, proving both inverseness and uniqueness.
Write for the category of elements of . Its objects are with , and an arrow is an arrow satisfying .
Given an object of the slice category , define
An arrow acts by the restriction of ; naturality of makes this restriction well-defined. A slice morphism restricts to a map between the corresponding fibers and thus gives a natural transformation on .
Conversely, given , set
and let be projection to . The functor laws and naturality follow from those for and . On morphisms use the maps on each summand. Taking a fiber of this disjoint union recovers canonically. Taking the disjoint union of the fibers of recovers by , naturally in and in the slice object. These are inverse natural isomorphisms, proving
This is the slice of a set-valued functor category construction.
Now assume is a small category, so is small. Define a diagram in a category
For in , its reverse arrow acts by precomposition . There is a cocone to with component . To verify its colimit property directly, use pointwise colimits of sets. At , a colimit element has a representative , and the induced map to sends it to . This map is surjective, since is represented by . Moreover, the element-category arrow gives precisely the colimit relation
Thus all representatives with the same image are equal in the colimit, proving injectivity. The resulting bijections are natural in . We have proved the canonical colimit presentation of a covariant set-valued functor:
A Cartesian closed category has finite products in a category and an exponential object for each pair, representing maps from a product with . In , the terminal functor and binary products are computed pointwise. Define the exponential of covariant set-valued functors by
Smallness makes this a set. If , precomposition with defines . Functoriality is immediate from associativity of composition. Its evaluation map of an exponential object is
For , naturality of shows , which is exactly the naturality equation for evaluation.
Given , define its currying at by
Naturality of proves that this is a natural transformation in , and its compatibility with arrows proves that is natural. Evaluation recovers by setting . Conversely, for , its naturality implies
so currying the evaluation composite recovers . These formulas give the required natural bijection, hence is Cartesian closed.
Finally, for every the small category has a Cartesian closed functor category by the same construction. The slice equivalence above transports its terminal object, products and exponentials to . The original functor category also has pointwise finite limits. Therefore it is locally Cartesian closed. Every construction here is explicit; no adjoint functor theorem is used.
Both alternatives can be proved using the same smallness mechanism. We first establish the initial-object lemma for complete categories with a weakly initial set, then obtain the two adjoint functor existence theorems and their applications.
Let be a locally small category with all small categorical limits and a weakly initial set . Its product in a category is weakly initial: given any object, choose a map from some and compose with the corresponding projection. Take the simultaneous equalizer of every endomorphism of and its identity; local smallness makes this a small categorical limit. Then is also weakly initial. If , form their equalizer and choose . Since is an endomorphism of , the construction of gives . Cancelling the monomorphism yields . Thus is both a monomorphism and a split epimorphism, hence invertible, and . There is therefore exactly one arrow from to every object: is initial.
The Freyd general adjoint functor theorem says that for a functor between locally small categories, with complete, a left adjoint exists exactly when preserves all small categorical limits and satisfies the solution-set condition. That condition requires, for each , a set of arrows such that every factors as for some and .
For sufficiency, the comma category is locally small and complete: form a diagram's categorical limit in , and use categorical limit preservation to obtain its arrow from . The solution set is a weakly initial set in this comma category. The lemma provides an initial object . Its universal property gives
For , define by . Uniqueness proves the identity and composition laws and naturality of the displayed bijections, hence . Conversely, an adjunction makes preserve categorical limits, since the corresponding hom-set functors turn a categorical limit cone into a categorical limit of sets. The single arrow is a solution set. This proves both directions of the theorem.
Now let have small domain and codomain. The functor categories and are locally small, and their categorical limits are pointwise. Thus the precomposition functor preserves categorical limits and its domain is complete. To verify its solution-set condition, fix and an arrow . Let be the subfunctor generated by all elements , where and . Explicitly,
These sets are stable under every . If is an infinite cardinal bounding and , every has cardinal at most . Replace each such set by a subset of a fixed set of size . There is only a set of choices of these subsets, of their action maps for the set of arrows of , and of maps from to their restrictions. These coded pairs form a solution set: factors through and then the inclusion . The general theorem now yields
Its values may also be written , the usual left Kan extension formula.
For the other alternative, the categorical limit form of the Special adjoint functor theorem says that a limit-preserving functor has a left adjoint if is locally small, complete and well-powered, has a cogenerating set , and is locally small. A cogenerating set means that maps into its members distinguish any two parallel arrows. The dual theorem says that a colimit-preserving functor from a locally small, cocomplete, well-copowered category with a small generating family has a right adjoint. These conclusions are also necessary in their preservation clauses.
Here is a proof of the special theorem rather than an invocation of the general theorem without its required solution set. Given , intersect all subobjects through which factors after application of . There are only a set of them by well-poweredness. Their intersection is a wide pullback, preserved by , so gives a smallest supporting pair . If satisfy , their equalizer is a supporting subobject. Minimality makes that equalizer invertible, whence . Consequently
is injective. The cogenerating property makes the evaluation arrow from into the product in a category of the , one factor for each map , a monic arrow. Its indexing set at each is identified with a subset of the fixed set . Only a set of such products in a category can occur. Each has only a set of subobjects, and each possible subobject has only a set of arrows from into its image under . These pairs give a weakly initial set in , since every original pair receives the arrow from its minimal supporting pair. The complete-category lemma now gives the adjoint. Reversing all arrows proves the colimit form of the special theorem.
Apply that dual form to . Its domain is cocomplete and locally small, and preserves pointwise colimits. The set of covariant representable functors generates the domain: by the Yoneda lemma, maps from these representables probe every element at every object and hence distinguish distinct natural transformations. Finally, epimorphisms in this functor category are pointwise surjective. Indeed, their pointwise images form subfunctors; if an image is proper, the two inclusions into the pointwise pushout of two copies of the target over that image distinguish the original map, contradicting epicity. Quotients of a fixed functor are therefore specified by compatible equivalence relations on its sets of values, and form a set. Thus the domain is a well-copowered category. All special-theorem hypotheses hold, giving
Here the Right Kan extension can be written . In particular both requested adjoints exist, although the two proofs use different smallness hypotheses.
The general adjoint functor theorem says that, for a functor between locally small categories, with a complete category, has a left adjoint if and only if it preserves small limits and satisfies the solution-set condition. The solution-set condition means that for each there is a set of arrows such that every factors as for some and some .
Here is the smallness argument behind the theorem. A complete category that is locally small and has a weakly initial set has an initial object. Form the product in a category . It is weakly initial, since a projection followed by a chosen arrow gives an arrow . Take the simultaneous equalizer of all endomorphisms of with ; the family is a set by local smallness. The object is also weakly initial. For parallel arrows , take their equalizer and a map . Since is an endomorphism of , the defining property of gives . Cancellation of the monomorphism gives . Thus the monomorphism has a right inverse and is an isomorphism, so . Existence of arrows out of was already established, proving the initial-object lemma for complete categories with a weakly initial set.
If preserves small categorical limits, the comma category is complete: take the limiting object in , and use preservation to assemble the arrows from . It is locally small, and the solution-set condition provides a weakly initial set. Its initial object is an arrow with a natural bijection
For a morphism , define by . Uniqueness proves functoriality and naturality, giving a left adjoint . Conversely, a right adjoint preserves categorical limits, because applying the adjunction converts a limiting cone over a diagram into the corresponding limiting cone of hom-sets. Its adjunction unit at is a singleton solution set. This proves both directions of the general adjoint functor theorem.
Apply it to the inclusion , where is the full subcategory of compact Hausdorff spaces. A small product in a category of compact Hausdorff spaces is again compact Hausdorff by the Tychonoff theorem. An equalizer of two continuous functions into a Hausdorff space is closed, hence compact Hausdorff. Products and equalizers construct all small categorical limits, and the inclusion preserves these constructions. Both categories are locally small.
Fix a topological space and a continuous function into a compact Hausdorff space. The closure is compact Hausdorff and has a dense subset of cardinality at most . The permitted cardinal estimate gives
For , use . Choose a set of representatives of all compact Hausdorff topologies on underlying sets of cardinality at most this bound, and all continuous functions from to those representatives. Every factors through one of them, using the inclusion . This is the solution-set condition. Consequently the inclusion of compact Hausdorff spaces has a left adjoint, the compact Hausdorff reflection:
The universal arrow has dense image: factoring it through its closed image and applying uniqueness supplies an inverse to that image inclusion. It need not be an embedding when is not sufficiently separated; the assertion is a compact Hausdorff reflection, rather than a claim that every topological space embeds in a compact Hausdorff space.
For completeness, the alternative Special adjoint functor theorem can be proved from the same initial-object argument. Its limit form assumes that is complete, locally small and well-powered, with a small cogenerating family ; then , with locally small, has a left adjoint precisely when it preserves small limits. To prove sufficiency, start with and intersect all subobjects through which factors after applying . Well-poweredness makes this a small intersection of subobjects, and preservation of limits gives a smallest supporting object . For maps , equality makes their equalizer another supporting subobject. Minimality forces that equalizer to be invertible, so . Therefore
is an injective function. The evaluation embedding into cogenerator products embeds in , where is the realized subset of the fixed set . There are only a set of choices of these subsets, only a set of subobjects of each resulting product, and only a set of arrows from to each -image. They give a solution set, so the already proved general adjoint functor theorem applies. Necessity is again preservation of limits by a right adjoint. For , monomorphisms are embeddings onto closed subspaces, and is a coseparator because continuous functions to it separate points. Thus the Special adjoint functor theorem gives the same reflection directly.
The Yoneda embedding is an exact representation of a category, but does not by itself reduce the subject to the study of arbitrary functor categories. There are both a size issue and a structure issue.
Let be a locally small category and set . For a categorical presheaf , a natural transformation is determined by . Indeed, naturality along forces
Conversely this formula defines a natural transformation for each , since functoriality gives naturality along every . Taking gives
Thus the Yoneda embedding is full and faithful, and is equivalent to its full subcategory of representable presheaves. The indexing category in the usual version is , not necessarily a small category chosen independently of .
Local smallness makes the values sets; it does not make the collection of objects a set. For a large indexing category, the collection of natural transformations between arbitrary set-valued functors can itself be a proper class. For example, take the discrete category on the class of ordinals and the constant two-element functor. Its endomorphisms include an independently chosen function at each ordinal. A small functor category cannot encode this collection without changing universes. The Yoneda lemma remains meaningful when the source is representable because the displayed bijection identifies its natural transformations with a set. It does not make the entire large functor category locally small.
Even for a small category, the representable image is usually a very special part of its presheaf category. If is the terminal category, its presheaf category is , but its representable image consists only of a singleton. The presheaf category has all small categorical limits and colimits, whereas an arbitrary full subcategory need have almost none. The Yoneda embedding preserves existing limits because representable functors preserve limits. It generally does not preserve colimits. For example, the coproduct of two singleton sets in category of finite sets is a two-element set, but evaluating the proposed presheaf coproduct at a two-element set gives
The pointwise coproduct therefore leaves the representable image. Identifying which presheaves are representable, and which ambient constructions return to the original category, is precisely substantive category theory.
The representation is nonetheless powerful. The Yoneda lemma replaces a morphism by all its probes, converts a universal property into a representation of a functor, and makes the presheaf category a natural place to add formal colimits. A small presheaf category is the free free cocompletion under small colimits: every presheaf is a colimit of representables indexed by its category of elements. But this is a controlled enlargement of the category, not an identification of its original objects with all functors. The stronger conclusion in the proposed assertion therefore does not follow from the full-faithfulness statement.
For the covariant version of the Yoneda embedding, put . A morphism induces the natural transformation whose component sends to . Thus is a functor from the opposite category to the functor category . The locally small category hypothesis makes each value a set.
The Yoneda lemma says that, for a functor , evaluation at the identity morphism gives a natural bijection
Given , define . For , the functor law gives , proving naturality. Conversely, naturality of at gives . These two constructions are inverse, because .
The bijection is natural in both variables. A natural transformation sends the element to , matching postcomposition by . For , precomposing with sends to a transformation from and its distinguished element is . This is exactly the required dependence on .
Taking gives . Consequently the covariant Yoneda embedding is full and faithful, with the reversal of arrows accounted for by its opposite category domain.
The limit form of the Special adjoint functor theorem is as follows. Let be a locally small category, a complete category, and a well-powered category, and suppose it has a small cogenerating family . Let be a locally small category. Then a functor has a left adjoint if and only if it preserves all small categorical limits. The dual exchanges completeness, well-poweredness and cogenerators for cocompleteness, well-copoweredness and generators, and characterizes functors with a right adjoint.
Here a cogenerating set distinguishes unequal parallel maps by postcomposition into one of the . A well-powered category has a set of subobjects of each fixed object. Completeness means existence of all small categorical limits. We use the initial-object lemma for complete categories with a weakly initial set: a complete category that is locally small has an initial object exactly when it has a weakly initial set. A proof is given in Question 5(c). We also use the fact that when preserves small categorical limits, the comma category is complete, with its limits constructed in ; local smallness is inherited from . Finally, having an initial object in for each is the universal arrow from an object to a functor characterization of a left adjoint.
Assume preserves small categorical limits, and fix . We will construct a weakly initial set in , rather than assume a solution set. Start with an arbitrary object , where . Call a subobject supporting if for some . There is at least one, namely . Because preserves pullbacks in a category, it preserves monomorphisms: the self-pullback characterization of a monic map is preserved. Consequently each is unique.
There is a set of supporting subobjects by well-poweredness. Their intersection of subobjects exists by completeness; write it . Applying to this intersection categorical limit gives a unique lifting all the , and hence . Minimality says that any subobject supporting is invertible: supports , so factors through , giving a right inverse to the monic .
If satisfy , their equalizer supports , since preserves that equalizer. It is therefore an isomorphism, and . We have obtained an injective function
Let be its image, a subset of the fixed set . The evaluation embedding into cogenerator products is a monomorphism
Indeed each corresponds to a unique map , and the cogenerating set property makes the resulting family jointly monic. Notice that we use the realized subsets , not all of : there need not be a map available for an unused index.
There is a set of tuples , since and every are sets. For each resulting , choose representatives of its subobjects; these form a set by well-poweredness. For every representative , include every map , a set by local smallness of . All resulting pairs form a set. Our given receives a map from such a pair: transport along the isomorphism between and the chosen representative, then compose its inverse with . Thus these pairs form a weakly initial set in . This is the cogenerator bound for comma-category solution sets.
The initial-object lemma for complete categories with a weakly initial set gives an initial object . For , define by the unique equation
Uniqueness proves the functor laws and gives the natural bijections
Thus . Conversely, a right adjoint preserves small categorical limits: its adjunction identifies maps into the proposed limiting object with compatible families of maps into the diagram. This proves both directions of the limit form of the special adjoint functor theorem. Applying the argument to the opposite categories proves the dual statement. Choices of representatives and adjoint objects are understood in the usual ambient-universe convention for large categories.
The covariant form of the Yoneda lemma says that for a locally small category , a functor and an object , there is a bijection, natural in and ,
Explicitly its two directions are
For , functoriality gives , so is a natural transformation. Conversely, naturality of at gives . This proves that the displayed maps are inverses.
Naturality in follows because postcomposition by sends to . For , precomposition of transformations by sends to . This also verifies naturality in the representing object.
For , the comma category has objects with and . A morphism is satisfying . Identities and composition are those of , and functoriality of verifies the condition under composition.
The Freyd general adjoint functor theorem states: if is a locally small category with all small categorical limits, and is locally small, then has a left adjoint if and only if it preserves small limits and satisfies the solution-set condition. The latter means that for each there is a set-indexed family such that every equals for some and some .
For necessity, use the standard result that a right adjoint preserves categorical limits. If , the singleton family containing the unit of an adjunction is a solution set, since transposition gives for a unique .
For sufficiency, use the following standard limit fact: if is complete and preserves limits, the projection creates small limits. Indeed, a compatible family induces a unique arrow into , and this makes the underlying limit a limit in the comma category. The comma category is locally small because each of its hom-sets is a subset of a hom-set of . Its solution family is a weakly initial set.
We prove the remaining initial-object lemma for complete categories with a weakly initial set. In any locally small category with all small limits and a weakly initial set , form . It is weakly initial: for any , some exists and may be composed with the projection . The empty family cannot be weakly initial in a nonempty complete category, which has a terminal object.
The set is small. Form a simultaneous equalizer of every endomorphism of and ; thus
This equalizer exists by completeness, for example as the equalizer of two maps . The object is still weakly initial, since it maps to .
Given , take their equalizer . Weak initiality of gives . Since is an endomorphism of , we have , and cancellation of the monomorphism gives . Thus is a split epimorphism as well as a monomorphism, so it is an isomorphism. From follows . There is at least one map by weak initiality, so is initial.
Apply this lemma to every and choose its initial object . For , initiality gives the unique satisfying . Uniqueness proves the functor laws. The same initiality gives natural bijections
Hence , completing the theorem without invoking another adjoint functor theorem.
For a locally small category , an object , and a categorical presheaf , the Yoneda lemma gives the natural bijection
Its two maps are explicitly
For , the equation proves naturality of . Evaluating it at the identity morphism gives . Conversely, naturality of at gives
so . Evaluation at the identity and transport of an element along a morphism are mutually inverse.
The bijection is natural in both variables: a natural transformation sends to , matching ; and gives
For completeness, the covariant Yoneda lemma for is , with and inverse .
Let be a colimit cocone for . Here the preservation hypothesis must include the categorical limit of in ; this indexing category can be large. For a morphism of the category of elements, the defining equation says that the family of distinguished elements is compatible. Preservation gives a unique with
In particular each is now a morphism in the category of elements. Naturality of the colimit cocone gives
The universal property of the colimit forces , since it and agree after every cocone leg. If also satisfies , it is a morphism , and cocone compatibility now yields . Thus is a universal element. By the preceding representability criterion, the presheaf is represented by the colimit object:
The size qualification matters. If preservation means only small categorical limits, the implication as printed is false for general locally small categories. For an explicit counterexample, let be the ordered category of all ordinals with an extra greatest object . Put for every ordinal and , with the forced restriction maps. Every small colimit in is the supremum of its object values: it is an ordinal unless the diagram contains . Applying therefore gives the appropriate small categorical limit of singletons, or the empty set when a value is empty; an empty diagram gives . Hence preserves all small categorical limits.
Its category of elements consists of all ordinals, whose projection has the large colimit in . Nevertheless, no ordinal represents , because its representable vanishes on larger ordinals; does not represent it either, since is nonempty while is empty. The valid proof consequently uses preservation of the displayed possibly large limit, or a smallness hypothesis making that diagram small.
A small cogenerating family , with a set, distinguishes unequal parallel morphisms by postcomposition: for , some has . Being well-powered means that the subobjects of each object form a set up to the usual equivalence of monomorphisms. These hypotheses make the solution-set condition automatic.
The dual formulation uses a cocomplete category, being a well-copowered category and having a small generating family, and concludes that every small-colimit-preserving functor has a right adjoint.
For a locally small category , the Yoneda lemma states that
naturally in both and . Taking gives
so the Yoneda embedding is full and faithful.
For small , the presheaf category has pointwise finite limits and colimits, exponential
and a subobject classifier whose elements at are sieves on . Hence it is a presheaf topos.
If has finite limits, the Yoneda embedding preserves them: maps into a limiting object are the corresponding limits of hom-sets. Its essential image is therefore a full subcategory of the presheaf topos closed under finite limits. Since Yoneda is full and faithful, this proves the assertion up to equivalence.
For a locally small category , an object , and a functor , the covariant Yoneda lemma is the natural bijection
Its inverse sends to the natural transformation whose component at maps to .
Suppose now that is a small category. For , form the coproduct in a category
The Yoneda lemma associates to every summand the natural transformation determined by , and these transformations combine to a map . At an object , the element is the image of in the summand indexed by , so is a pointwise epimorphism in a functor category. Each representable functor is a projective object in a category, since
and evaluation preserves pointwise epimorphisms. A coproduct of projectives is projective, so is the required projective object. This is the projective cover of a set-valued functor by representables.
We next prove the three equivalent conditions. If every morphism of is a monomorphism, then for and every , postcomposition
is injective. Thus every covariant representable functor is a monofunctor. Conversely, taking shows that injectivity for every representable implies that forces , so every is monic.
If all representables are monofunctors, the object above is a monofunctor because a coproduct of injective functions is injective. Hence every is an epimorphic image of a monofunctor. Conversely, suppose every functor is an epimorphic image of a monofunctor and apply this to a representable . Choose an epimorphism with a monofunctor. Since is projective, lifts to with . Thus is a retract in a category of . Every retract of a monofunctor is a monofunctor: if , then injectivity of applied to and gives , and applying gives . This completes the equivalence.
Finally, every functor is a monofunctor exactly when every morphism of is a split monomorphism. The forward implication is immediate because every functor preserves a left inverse. For the converse, fix and form a quotient of by identifying the distinguished point with every arrow of the form , where . In the resulting functor , the two elements and of have equal images under because . If every functor is a monofunctor, is injective, so . By construction this means for some . Thus is split monic. Equivalently, every morphism of must be an absolute monomorphism.
For a locally small category , a representation of a functor is an object and an element such that
is a bijection for every , naturally in . Equivalently, is a natural isomorphism.
Suppose and are two representations. Universality gives unique maps
such that and . Then , and uniqueness applied to the element gives . Similarly . Thus the representing objects are uniquely isomorphic in a way carrying one universal element of a set-valued functor to the other.
For and , the comma category has objects with . A morphism is a map satisfying
The universal arrow from an object to a functor criterion says that has a left adjoint exactly when has an initial object for every . Indeed, an initial represents the functor , and uniqueness makes functorial.
When and is a singleton, an arrow is just an element . Hence is the category of elements, and its initial objects are exactly the representations of . This proves
If has a left adjoint, the universal-arrow criterion immediately makes it representable. Conversely, suppose is cocomplete and . For a set , form the copower
The coproduct in a category universal property gives natural bijections
so .
Cocompleteness cannot be omitted. Let be the category of ordinals in reverse order: there is one arrow exactly when in the ordinary ordering. This large poset is locally small and complete. For a set-indexed family , its product in the reversed order is the ordinary supremum , and equalizers in a poset are automatic. But has no initial object, since that would be a largest ordinal. Any representable functor is therefore the requested example: if it had a left adjoint , then
would be a singleton for every , making initial, a contradiction.