A signature specifies sorts, finite-arity function symbols and finite-arity relation symbols. A coherent formula is built from atomic relations and equality using , finite conjunction, finite disjunction and existential quantification. A coherent theory consists of coherent sequents in finite typed contexts. The context expresses universal quantification of the free variables; unrestricted universal quantification or negation is not a formula constructor here.
Construct the coherent syntactic category as follows. Objects are formulas in context , modulo renaming and provable equivalence. An arrow to is a formula , modulo provable equivalence, for which the theory proves
These say that the relation is supported on the specified objects, total and single-valued. The identity is equality on the context, and composition is
The logical rules give associativity and the identity laws. The empty-context true formula is terminal; conjunction in disjoint contexts gives products; conjunction with equality of the two functional relations gives equalizers. Existential quantification gives images, and finite disjunction gives unions of subobjects. Substitution preserves these constructions, so images and unions are stable under pullback. This makes a coherent category.
Let be a -model in a topos . Interpret each context as a finite product of its sort objects and each formula as its corresponding subobject. Define
The interpretation of an arrow relation is a total single-valued relation between these objects. Its projection to the domain is both an epimorphism, by totality, and a monomorphism, by single-valuedness, hence invertible in a topos. Its other projection therefore determines a unique morphism. Composition agrees with relational composition, so is a functor. Finite limits interpret equality and conjunction; images interpret existential quantification; finite unions interpret disjunction, including the empty union for . Consequently is a coherent functor.
Conversely there is a canonical syntactic model in . Interpret a sort by , a function symbol by its term graph, and a relation symbol by its atomic formula-in-context subobject. Induction on formulas identifies the interpretation of every in with its formula-in-context object. Every axiom is then an inclusion of the associated subobjects, because it is provable in .
For a coherent functor , set . Preservation of finite limits, images and unions proves inductively that preserves all coherent interpretations, so every axiom holds in . The same induction supplies natural isomorphisms
compatible with the functional relations defining arrows. Thus ; directly on the sorts, operations and relations, .
Finally these constructions agree on morphisms. A model homomorphism induces maps on finite contexts. Atomic relations are preserved by definition; finite conjunction and disjunction and existential witnesses then show that each formula object maps to the corresponding formula object. Compatibility with functional relations makes these maps a natural transformation . Conversely a natural transformation between coherent functors restricts to its components on sort objects; naturality for term graphs preserves operations, and naturality for relation inclusions preserves relations. It is therefore a model homomorphism. The two correspondences are inverse. We have proved the categorical, not merely objectwise, equivalence
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.
Use the elementary topos definition: a category with finite limits, exponential objects, and a subobject classifier. The indexing category is assumed small, as usual, and denotes its presheaf category. A finite limit of categorical presheaves is formed objectwise: at take the corresponding limit of sets, and apply the universal property to induce restriction maps. The terminal categorical presheaf is the constant singleton, so this supplies all required finite limits.
For categorical presheaves , write and define
For , restriction is precomposition with . Evaluation sends at to . Given , its transpose sends to the natural transformation whose component at is
Naturality of proves this is a natural transformation; naturality in proves it is a map . Conversely evaluation recovers , and these constructions are inverse. Therefore
so the presheaf category is Cartesian closed.
Define to be the set of sieves on a category with codomain . For , let , and let select the maximal sieve at each object. For a subobject , define its characteristic map by
The restriction closure of makes this a sieve on a category, and the formula commutes with pullback of sieves on a category, so is natural. It is maximal exactly when belongs to it, equivalently when ; hence the pullback of along is . Uniqueness is also explicit: naturality forces exactly when the restriction lies in the truth pullback at . Thus the sieve presheaf is a subobject classifier, and every small presheaf category is an elementary topos.
If is a retract in a category of , write , with . For a natural transformation of categorical presheaves, naturality gives
Consequently transformations agreeing at all agree at every retract of such an object. If every is such a retract, restriction is faithful, and the geometric morphism is surjective.
Conversely suppose is faithful. Inside the representable presheaf , define to consist of arrows that factor through some . Precomposition preserves this condition, so is a subpresheaf. At , every arrow factors through that very object, so . A faithful geometric inverse image reflects an inclusion becoming invertible, as proved in Question 4(iii). Hence , and factors as . This is the required retraction. We have proved the retract criterion for surjective presheaf geometric morphisms:
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.
Suppose every component is a monomorphism in the Category of sets, hence an injective function. If are natural transformations with , then at every object. Componentwise cancellation gives , so . Thus is a monomorphism in the functor category.
Conversely, suppose is a monomorphism and satisfy . The Yoneda lemma supplies natural transformations . Its naturality in identifies and with the equal elements and . Cancellation by gives ; evaluating at gives . Therefore a natural transformation is a monomorphism exactly when all its components are injective functions. This is the pointwise monomorphism in a set-valued functor category criterion.
A monad consists of an endofunctor and natural transformations and satisfying
An algebra for a monad is with satisfying and . A morphism of algebras for a monad obeys . The functor laws show that identities and composites obey this equation, giving the Eilenberg-Moore category .
For an adjunction , let be its adjunction unit and its adjunction counit. The monad induced by an adjunction is
The two unit laws are and , respectively the two triangle identities for an adjunction.
For associativity, naturality of the adjunction counit at says
Apply to obtain . The composites defining and are natural transformations, so all monad axioms have been checked, not only their underlying objectwise types.
Use the covariant Yoneda embedding . An arrow , viewed as an arrow in the opposite category, induces precomposition . Identities and composition are preserved because composition in is associative.
The covariant Yoneda lemma is the bijection
Its inverse sends to . This is a natural transformation: for , functoriality gives . Conversely, naturality of an arbitrary at gives . Evaluation at the identity morphism therefore makes the two constructions inverse. Their formulas also prove naturality in and, contravariantly, in .
Taking identifies natural transformations with . Thus is full and faithful, and reflects isomorphisms; two image objects are isomorphic exactly when the original objects are isomorphic. It also carries existing colimits in to categorical limits of covariant representable functors: maps out of a colimit are exactly compatible families of maps out of its diagram. Equivalently, this embedding preserves existing categorical limits in . The direction matters: the paper uses covariant representables, rather than the more usual contravariant Yoneda embedding.
Construct pointwise limits in a functor category. For , choose at each object a categorical limit of , with projections . For , the family is compatible; define uniquely by
The universal property gives and , since those equalities hold after every projection. Thus is a functor, and each is a natural transformation.
For any categorical cone , the pointwise categorical limits give unique maps . To check naturality, compose and with every ; both become . The projections distinguish arrows into their categorical limit, so the two maps agree. Componentwise uniqueness gives uniqueness of the natural transformation . This proves that really is the required categorical limit, rather than merely a family of objectwise candidates.
A specified categorical limit categorical cone in fixes these objectwise vertices and projections. The displayed equation forces every arrow , and the argument forces every categorical cone factorization. Hence the forgetful functor uniquely lifts that categorical cone and is a limit-creating functor. The construction only takes small categorical limits in ; it does not require to be small. As usual, the functor categories are understood in a universe where their collections of transformations are meaningful.
An adjunction is a family of bijections
natural in both variables. Its adjunction unit and adjunction counit are and . Naturality of the correspondence gives
For , naturality in both variables evaluates in two ways, giving . Thus is a natural transformation; the dual calculation gives naturality of .
Applying the inverse correspondence to and the correspondence to yields the triangle identities for an adjunction:
They express that transposing an identity morphism and transposing back returns that identity.
Define the correspondence from the given natural transformations by , with candidate inverse . For , naturality of and a triangle identity for an adjunction give
For , naturality of and the other triangle identity give
These are inverse bijections. Naturality of , , and makes the bijections natural in and , so they define an adjunction with the required unit and counit. Uniqueness follows from the formulas in the previous part: any adjunction with that unit and counit must have exactly these transposition maps.