nLab
action of a category on a set

Contents

Definition

Given a (small) category C and given a set S there are (at least) the following two equivalent ways to define an action of C on S.

Action as a functor

An action of a category C on a set S is nothing but a functor ρ:C Set.

The particular set S that this functor defines an action on is the disjoint union of sets that the functor assigns to the objects of C:

S= cObj(C)ρ(c).S = \sqcup_{c \in Obj(C)} \rho(c) \,.

Given an element sS which sits in the subset ρ(c)S associated with the object c of C, it is acted on by all morphisms cfd in C whose source is c. By the definition of functor every such morphism defines a map of sets

ρ(f):(ρ(c)S)(ρ(d)S)\rho(f) : (\rho(c) \subset S) \to (\rho(d) \subset S)

and the the action of f on sρ(c) under ρ is

ρ(f):(sρ(c))(ρ(f)(s)ρ(d)).\rho(f) : (s \in \rho(c)) \mapsto (\rho(f)(s) \in \rho(d)) \,.

In the case that C has just a single object the category C is just a monoid (might for instance be a group), there is just a single set S=ρ() and we recover the ordinary notion of a monoid or group acting on a set.

Indeed this generalizes the instance (the motivating example for the notion of action) where ρ:GAut(S) is a group action on a set S, since the notion of coproduct is a generalization of the notion of automorphism group since naively a cardinal is an isomorphism class of sets and the notion of coproduct in turn generalizes that of cardinal ( see there).

Action as an algebra for a monad

An equivalent perspective on the above situation is often useful. To motivate this, notice that the decomposition S= cObj(c)ρ(c) of the set S into subsets corresponding to objects of the category C can equivalently be encoded in a map of sets

λ:SObj(C)\lambda : S \to Obj(C)

which sends each element of S to the object of c it corresponds to under the action.

(In the case that our category C is a groupoid or even a Lie groupoid this map may be familiar as the anchor map or moment map of the action.)

But also the category C itself comes with maps to Obj(C): the source map s and target map t, which are suggestively drawn as a span in Set by writing:

Mor(C) s t Obj(C) Obj(C).\array{ && Mor(C) \\ & {}^{s}\swarrow && \searrow^{t} \\ Obj(C) &&&& Obj(C) } \,.

Recall from the above discussion that a morphism f:cd in C could act on an element sS if the image of s under the anchor map λ coincides with the source of f, i.e. with the image of f under the source map s. Formally this means that the pairs of elements of S and morphisms of C which can be paired by the action live in the pullback set S λ× sMor(C) (the fiber product):

S λ× sMor(C) pr 1 pr 2 S Mor(C) λ s t Obj(C) Obj(C).\array{ && S {}_\lambda \times_s Mor(C) \\ & {}^{pr_1}\swarrow && \searrow^{pr_2} \\ S && && Mor(C) \\ & \searrow^{\lambda}& & {}^{s}\swarrow && \searrow^{t} \\ && Obj(C) &&&& Obj(C) } \,.

Above we have seen that the aciton of C on S sends every element in this fiber product, which is a pair

(sρ(c)S,(cfd)Mor(C))(s \in \rho(c) \subset S, (c \stackrel{f}{\to} d) \in Mor(C))

to an element ρ(f)(s)ρ(d). So this is a map of sets ρ:S λ× sCS. But a special such map, in that it satisfies a couple of conditions. One condition is that sρ(c) is taken to ρ(d) by f:cd. This can be encoded by saying that ρ extends to a morphism of spans from the pullback span above back to S:

S λ× sMor(C) tpr 2 pt ρ Obj(C) λ S\array{ && S {}_\lambda \times_s Mor(C) \\ & \swarrow && \searrow^{t \circ pr_2} \\ pt &&\downarrow^{\rho}&& Obj(C) \\ & \nwarrow && \nearrow_{\lambda} \\ && S }

But ρ satisfies yet another compatibility condition: so far we have only used the source-target mathcing condition of the functor ρ:CSet. There is also its functoriality, i.e. its respect for composition.

But composition in the category C is itself naturally expressed in terms of morphisms of spans:

the set of composable morphisms Mor(C) t× sMor(C) is itself the tip of a span arising from composing the span of C with itself by pullback:

Mor(C) t× sMor(C) Mor(C) Mor(C) s t s t Obj(C) Obj(C) Obj(C)\array{ &&&& Mor(C) {}_t\times_s Mor(C) \\ &&& \swarrow && \searrow \\ && Mor(C) &&&& Mor(C) \\ & {}^s\swarrow && \searrow^t && {}^s\swarrow && \searrow^t \\ Obj(C) &&&& Obj(C) &&&& Obj(C) }

and the composition operation in C is a morphism from this composed span to the original span

Mor(C) t× sMor(C) spr 1 tpr 2 Obj(C) Obj(C) s t Mor(C).\array{ && Mor(C) {}_t \times_s Mor(C) \\ & {}^{s \circ pr_1}\swarrow && \searrow^{t \circ pr_2} \\ Obj(C) &&\downarrow^{\circ}&& Obj(C) \\ & {}^{s}\nwarrow && \nearrow_{t} \\ && Mor(C) } \,.

In total this gives us two different ways to map the total span with tip S λ× sMor(C) t× sMor(C) obtained by composing the anchor map span with two copies of the span of C back to the anchor map span

S λ× sMor(C) t× sMor(C) tpr 3 pr Obj(C) s λ S.\array{ && S {}_\lambda \times_s Mor(C) {}_t \times_s Mor(C) \\ & {}^{}\swarrow && \searrow^{t \circ pr_3} \\ pr &&\downarrow && Obj(C) \\ & {}^{s}\nwarrow && \nearrow_{\lambda} \\ && S } \,.

The action property of ρ, which is nothing but the functoriality of ρ in the above description, says precisely that these two morphisms coincide.

Abstractly this says that

Generalizing this slightly, it should be possible to associate an action of a category C on a category cC 0ρ(c) to a functor ρ:CCat with the expectation, that this then is just a module for C as a monad.

Revised on September 21, 2011 15:10:20 by Stephan (79.227.183.252)