Every functor on a small category is the colimit of the covariant representable functors indexed by the opposite of its category of elements. The cocone indexed by sends to . By the Yoneda lemma, a compatible cocone into is exactly a natural transformation . The opposite indexing direction is essential because precomposition reverses the representing-object arrow.
For a categorical presheaf on a small category, its category of elements has objects with and arrows satisfying . The canonical natural transformation sends to . These maps exhibit as the displayed colimit. At , a representative maps to , with inverse . The arrow identifies every representative with its canonical inverse image, proving the bijection and the colimit universal property.
For a functor , precomposition by induces , hence a map of categorical connected components in the opposite direction to . This defines a presheaf on . Its category of elements is the intermediate category in the final-discrete-fibration factorization.
For a set-valued covariant functor on a small category, the Yoneda lemma sends the element to the transformation . These transformations form a cocone indexed by the opposite category of elements. At , send the representative to . It is surjective using ; two representatives of are identified through that same object of the category of elements. This proves the displayed presentation pointwise.
For a presheaf on a category, the categorical coend identifies with . The displayed isomorphism sends the class of to , with inverse . The coend relation makes these inverse and natural. Consequently every presheaf is the colimit of representables indexed by its category of elements.
A functor is finite-limit-preserving if it carries each finite limit cone to a limiting cone. When is a small category with finite limits, this is equivalent to being a filtered colimit in a category of covariant representable functors, and to the opposite of its category of elements being a filtered category. It is also equivalent to every comma category having finite limits, for all sets .
Flat functor Created 2026-10-07 Updated 2026-10-14
A covariant functor into a Grothendieck topos is flat when its tensor extension from presheaves preserves finite limits. For set values, its category of elements with arrows carrying source elements to target elements is cofiltered; equivalently the functor is a filtered colimit of covariant representables. If the indexing category has finite limits, flatness is equivalent to preservation of finite limits. For a site, cover-to-joint-epimorphism continuity adds the condition needed by the Diaconescu equivalence for geometric morphisms.
Free cocompletion 2026-10-14
For a small category , its presheaf category is the free enlargement under small colimits. Each categorical presheaf is the colimit of the diagram sending to the representable presheaf . The map at sends to . It is surjective at each because is the image of at . If two representatives have the same image , they are both identified with the representative at by arrows in the category of elements, proving injectivity. Thus . For a cocomplete target, a functor on extends by these colimits, uniquely up to natural isomorphism among colimit-preserving extensions.
Here a universal element means a pair , with , such that for every and every there is a unique morphism satisfying . Equivalently,
By the Yoneda lemma these component maps constitute a natural transformation . If is universal, every component is bijective, so this is a natural isomorphism and is a representable presheaf. Conversely a natural isomorphism takes to an element with exactly this property. In the category of elements of the contravariant functor , is a terminal object: every has a unique arrow to it.
For , let be its category of elements. Its objects are with ; an arrow is a morphism satisfying . This is a small category, because is small and all values of are sets.
Send to the representable presheaf , and send an arrow to postcomposition . There is a cocone to whose map at is
The functor laws give its naturality and the required cocone compatibility.
Compute the colimit pointwise as a disjoint union modulo its diagram identifications. At a representative is a triple , and it maps to . Every is the image of . Moreover is an arrow in , so its diagram relation identifies
Thus every representative is identified with the canonical representative of its image. Two representatives have equal images exactly when their canonical representatives agree. This proves a componentwise bijection; restriction maps respect it. The resulting natural isomorphism is the canonical colimit presentation of a presheaf:
The category of elements has objects for , and morphisms with . Send to the representable presheaf , and a morphism to . The element supplies a natural transformation with component , by the Yoneda lemma. These transformations form a cocone.
Pointwise at , the colimit of this diagram in a category has representatives , with relation . These are exactly the relations of the preceding categorical coend. Its proved natural isomorphism with therefore identifies the cocone with the universal colimit cocone. More directly, every representative equals through the morphism ; two representatives with the same image therefore agree. As is small, is small, so this is an ordinary small colimit. Consequently
The category of elements of has objects with and morphisms satisfying . Send to the representable presheaf and a morphism to . The Yoneda lemma gives a canonical cocone to , whose leg at corresponds to .
For any target presheaf , a cocone from this diagram to is a family of maps , or equivalently elements , with whenever . Such a family is exactly a natural transformation , via . This bijection respects the canonical cocone, so it proves its colimit universal property. Consequently the canonical colimit presentation of a presheaf is
Equivalently, the density coend identifies the disjoint copies of the representables by exactly these element-category arrows. Smallness of and the set-valued fibers make the indexing category small.
Take . The category of elements has finite limits. Reversing its limiting cones gives cocones over every finite diagram in ; a terminal object before reversal ensures nonemptiness. Its opposite category is therefore a filtered category, proving (iii).
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.
For each , let , the collection of connected components, where connectedness means connection by a zigzag of arrows. Precomposition with gives a function . Identity and composition are inherited from precomposition.
Construct a category whose objects are pairs with . An arrow is an arrow satisfying . Composition is that of , and the component equation is preserved by composition. The projection is a discrete fibration: an arrow has precisely one lift into , namely the arrow from represented by .
Define by
This is well defined because and lie in the same component of whenever . Clearly .
For an object of , an object of is exactly a pair representing the component . Its morphisms are exactly the arrows in between such objects. Thus this comma category is the component itself, which is nonempty and connected. This proves that is a final functor, and hence
This is the final-discrete-fibration factorization. For small categories the collections are sets and this construction is the category of elements of the presheaf . For categories of a larger size, the construction is interpreted in the same chosen ambient size framework.
Take . By assumption has finite limits, so has finite colimits. A filtered category is nonempty, admits a cocone over every pair of objects, and admits a coequalizing arrow for every parallel pair. The initial object of gives nonemptiness, its binary coproducts give the required two-object cocones, and its coequalizers equalize parallel arrows. Consequently . These statements also handle the otherwise possible empty category of elements.
The comma category has objects with and a set map. A morphism is an arrow such that . Composition and identities are those of . For , this is the category of elements of : objects are with and arrows satisfy .
Associate to the covariant representable functor . An arrow of gives, by precomposition, . Thus this is a diagram . There is a compatible natural map sending to .
Colimits in this functor category are pointwise. At an object , the induced map from the colimit sends a class represented by to . It is surjective because is represented by . It is injective because every representative with value is identified with that same canonical representative: the arrow in becomes an arrow of the indexing diagram sending to . These bijections are natural in , proving
Smallness of and set-valuedness of ensure that is small, so the displayed colimit is defined. This proves the introductory density request before the three equivalent conditions.
Write . The category of elements of a categorical presheaf has objects with ; a morphism is satisfying . It is a small category because is small and each is a set. Consider the diagram sending to and to the natural transformation given by postcomposition with .
There is a canonical cocone with
Functoriality makes it a natural transformation, and the equation makes these transformations a cocone.
To prove its universal property, let be any categorical presheaf with a compatible cocone . Define
For and , compatibility with the arrow gives
Thus is natural. Naturality of each shows . Conversely any transformation with these equations must have the displayed values , so it is unique. We have proved the canonical colimit presentation of a presheaf: