nLab
internal profunctor

Contents

Idea

For any category S with pullbacks, it is easy to define the notion of category in S, and the definition of an internal functor between such is similarly straightforward. But it is not so obvious how to define presheaves on internal categories, because they must land in the ambient category S.

The solution lies in thinking of presheaves on an ordinary category C, and more generally profunctors CD, as giving sets equipped with an action of the arrows of C,D, i.e. as their categories of elements.

Definition

Here is the slick definition: let S be a category with pullbacks. Then the bicategory Prof(S) of internal categories, profunctors and transformations in S is defined to be Mod(Span(S)), the category of monads and bimodules in Span(S), the bicategory of spans in S.

So an internal profunctor CD between internal categories C and D is a bimodule from C to D. An internal presheaf on C is a right C-module, or equivalently a bimodule 1C, where 1 is the discrete category on the terminal object of S (as long as S has one, of course).

An internal presheaf in S is the same thing as an internal diagram in S.

Details

Recall that an internal category C in S is a monad in Span(S), and so has an underlying span (s,t):C 1C 0. Given C,DCat(S), a bimodule H:CD must be given by a span H:C 0HD 0, together with a right action HCH of C and a left action DHH of D that are compatible in the sense described at module over a monad.

Composition of spans is given by pullback, so the action of C on H is given by a morphism of spans H r:C 1× C 0HH, where the pullback is

C 1× C 0H H C 1 t C 0\array{ C_1 \times_{C_0} H & \to & H \\ \downarrow & & \downarrow \\ C_1 & \underset{t}{\to} & C_0 }

To say that H r is a morphism of spans is to require that

C 1× C 0H H C 1 s C 0\array{ C_1 \times_{C_0} H & \to & H \\ \downarrow & & \downarrow \\ C_1 & \underset{s}{\to} & C_0 }

commutes. This action must satisfy unit and associativity axioms expressing functoriality of the corresponding presheaf. Similarly, H :H× D 0D 1H, where the pullback is along s, so that this represents a copresheaf. Finally, compatibility of the two actions represents bifunctoriality of the profunctor.

Revised on March 8, 2012 14:39:15 by Urs Schreiber (82.169.65.155)