nLab
small fibration

A fibered category is a small fibration if it is equivalent to a fibered category which is obtained via a specific construction: the input is an internal category C=(C 0,C 1,s,t,c,i) in a category E with pullbacks, and the output is a fibered category P:FE, whose fiber over an object I (“index set”) in C is the small category C I=hom E(I,C) whose object part is C 0 I and morphism part is C 1 I; and the structure maps of C I are obtained by postcomposing with structure maps of C.

Conventions for the internal category C: the composition c takes arguments in Leibniz convention, and source map is the right leg of the span C 0C 1C 0); the projection p 1,p 2:C 1× C 0C 1 have tp 1=sp 2. Thus tp 1=sp 2.

Consider objects m:IC 0 and n:JC 0 in fibers over I and J. Morphisms in hom F(m,n) are pairs (α,f):mn where α:IJ and f:JC 1 are morphisms in E satisfying sf=m, tfα=n. The interesting part of the construction is the composition: given also p:KC 0 and m(α,f)n(β,g)p, their composition is (βα,ch) where c:C 0× C 1C 0C 0 is the composition and h=(f,gα):IC 0× C 1C 0 is the map given by the universal property of the fibered product and f=p 1h and gα=p 2h. One checks that so defined composition is associative.

Finally, the projection P:FC is rather obvious: P(m:IC 0)=I, and in notation from above, P(α,f)=α. One checks that P is a fibered category with a canonical cleavage: the chosen cartesian morphism over α:IJ with given target n:JC 0 is (α,inα):(I,nα)(J,n). Indeed, for any object l:LC 0 over L and a morphism (λ,g):ln with λ=αβ, one can decompose (λ,g)=(α,inα)(β,g) where (β,g) is a morphism in F with P(β,g)=β.

The basic example is the small fibration Set(C)Set of set-indexed families of objects in C, for a small category C. The objects in the fiber C I, that is the functions m:IC 0, m:im iC 0 are the I-indexed families (m i) iI of objects in C. A map (α,f):mn is a map α:IJ together with an I-indexed family (f i) iI of morphisms f i:m in α(i) in C. The composition is (β,(g j) jJ)(α,(f i) iI)=(βα,(g α(i)f i) iI).