nLab
torsor with structure category

If C is a small category (or even a topological category), one can define a C-torsor (or torsor with structure category C) which generalizes the torsor (principal bundle) with structure group(oid).

If F is a sheaf over X, denote by F x its stalk over x (cf. etale space).

A C-torsor P over a space X is given by a functor P:CShv(X) such that

  1. (surjectivity) every ‘total stalk’ cC 0E(c) x, where xX, is nonempty;

  2. (transitivity) for any two germs ‘in the same total stalk’, αE(c) x, αE(c) x there is a span u:bc, u:bd and ξE(b) x such that E(u)(ξ)=α and E(u)(ξ)=α;

  3. (freeness) a parallel pair u 1,u 2:cc of morphisms in C, may induce coalescence E(u 1)(α)=E(u 2)(α) for some αE(c) x only if there is a morphism w:bc and ζE(b) x such that u 1w=u 2w and E(w)(ζ)=α.

The classifying space of a category D classifies D-torsors.

Literature: I. Moerdijk, Classifying spaces and classifying topoi, Springer Lec. Notes Math. 1616 (1995)