nLab
internal diagram

Internal diagrams

Idea

Given a finitely complete category E, one can consider the bicategory Cat(E) of internal categories in E, and thus internal functors, which are the morphisms in Cat(E). If E=Set then one can consider not only functors among small categories but also functors of the type F:CSet from a small category C to a large category of sets. In that case one can describe F as consisting of a C 0-indexed family of objects and an action of C 1 on the diagram.

Compare the ideas discussed on this page with those at internal profunctor and discrete fibration. All three notions intersect — an internal diagram on C is the same thing as an internal profunctor C1, which is the same thing as a discrete opfibration in Cat(E). The three generalize the basic idea in different ways.

Definition

In category theory

Given an internal category CCat(E), with the usual structure maps s,t,i,c, an internal diagram F on C (or, of type C) is given by

  • a morphism d:F 0C 0 in E together with
  • a morphism e:F 1=F 0× C 0C 1F 0

where F 1 is the pullback

(1)F 0× C 0C 1 F 0 s *d d C 1 s C 0\array{ F_0 \times_{C_0} C_1 & \to & F_0 \\ \mathllap{s^* d} \downarrow & & \downarrow \mathrlap{d} \\ C_1 & \underset{s}{\to} & C_0 }

These data must satisfy the following conditions:

  • e respects the source and target maps of C, in that de=ts *d. Equivalently, e is a morphism from s *d to t *d in E/C 1.

  • e is an action in the sense that e(1×i)=1 and e(e×1)=e(1×c).

It is clear how to define homomorphisms of internal diagrams: a morphism FG is given by an E/C 0-morphism F 0G 0 that commutes with the actions e. Internal diagrams on C in E form a category denoted by E C.

An internal diagram on C op is sometimes called an internal presheaf on C.

In dependent type theory

Using the language of dependent types, the map d:F 0C 0 can be seen as the interpretation of a dependent type (X:C 0)(F(X):Type). The action of C 1 on F 0 can equivalently be given by the interpretation of a term in context:

(X:C 0),(Y:C 0),(f:C 1(X,Y)),(a:F(X))(p(X,Y,f,a):F(Y)).(X:C_0), (Y:C_0), (f:C_1(X,Y)), (a:F(X)) \;\vdash\; (p(X,Y,f,a) : F(Y)).

Here we consider C 1 to depend on C 0×C 0 by the canonical morphism C 1C 0×C 0 induced by s and t, as in the type-theoretic definition of category.

If the ambient category E is a locally cartesian closed category, so that its internal type theory has dependent product types, then this can be interpreted instead as a closed term

p:Π X,Y:C 0Π f:C 1(X,Y)(F(X)F(Y)).p : \Pi_{X,Y:C_0} \Pi_{f:C_1(X,Y)} (F(X) \to F(Y)).

The axioms then take a particularly familiar form, also to be interpreted in the internal language of E:

  • (X:C 0),(a:F(X))p(X,X,id X,a)=a
  • (X,Y,Z:C 0),(f:C 1(X,Y)),(g:C 1(Y,Z)),(a:F(X))p(X,Z,gf,a)=p(Y,Z,g,p(X,Y,f,a))

Properties

From an internal diagram (F,C,λ,e) one can equip F=(F 0,F 1) with a structure of an internal category over C. In other words, there is a forgetful functor E CCat(E)/C (where Cat(E)/C is the corresponding slice category). This functor is fully faithful and its essential image consists precisely of all objects in Cat(E)/C which are discrete opfibrations. Similarly, the objects of E C op are the discrete fibrations in Cat(E)/C.

There is a composite forgetful functor U:E CCat(E)/CE/C 0. This functor U is monadic — its left adjoint takes p:XC 0 to ts *p:X× C 0C 1C 1C 0.

Diagrams in an indexed category

An internal diagram as above may take values in any Grothendieck fibration over E. Given a fibration in the guise of an indexed category F:S opCat, a C-diagram in F is given by

  • an object PF(C 0), together with
  • a morphism ϕ:s *Pt *P in F(C 1)

satisfying ‘cocycle equations’

  • i *ϕ=1 P
  • c *ϕ=p 1 *ϕp 2 *ϕ

modulo coherent isos, where the p i are the projections out of C 2.

By the Yoneda lemma for bicategories, the object P determines (up to canonical isomorphism) a pseudonatural α 0:E(,C 0)F 0 in [E op,Cat], where E is considered as a locally discrete bicategory, and F 0(X)=obFX considered as a discrete category, such that α 0(f)f *P. Similarly, ϕ determines α 1:E(,C 1)F 1=arrF, and α 1(g)g *ϕ. It is not hard to check that the conditions above correspond to requiring that the α X i form a functor E(X,C)FX for each X, and pseudonaturality then makes the C-diagram (P,ϕ) equivalent to an indexed functor E(,C)F. The category of C-diagrams in F is then simply the hom-category [E op,Cat](E(,C),F).

Examples

  • An internal diagram on C in the sense above is a C-diagram in the codomain fibration of E, that is the pseudofunctor XE/X.

  • If E is equipped with a coverage and C is the Cech nerve associated to a cover p:UX in E, then the category of C-diagrams in F is the descent category Des p(F).

References

Revised on August 30, 2012 02:07:03 by Urs Schreiber (89.204.130.27)