nLab
module

Contents

Idea

Basic idea

The basic idea is that a module V is an object equipped with an action by a monoid A. This is closely related to the concept of a representation of a group.

A familiar example of a module is a vector space V over a field k: this is a module over k in the category Ab of abelian groups: every element in k acts on the vector space by multiplication of vectors, and this action respects the addition of vectors.

But nothing in the definition of vector space really depends on the fact that k here is a field: more generally it could be any commutative ring (or even a general rig) R. The analog of a vector space for fields replaced by rings is that of a module over the ring R.

This is the traditional and maybe most common notion of modules. But the basic notion is easily much more general.

Motivation for and role of modules: generalized vector bundles

The theory or monoids or rings and their modules, its “meaning” and usage, is naturally understood via the duality between algebra and geometry:

  1. a ring R is to be thought of as the ring of functions on some space,

  2. an R-module is to be thought of as the space of sections of a vector bundle on that space.

A classical situation where this correspondence holds precisely is topology, where

  1. the Gelfand duality theorem says that sending a compact topological space X to its C-star algebra C(X,) of continuous functions with values in the complex numbers constitutes an equivalence of categories between compact topological spaces and the opposite category of commutative C *-alegebras;

  2. the Serre-Swan theorem says that sending a Hausdorff topological complex vector bundle EX over a compact topological space to the C(X,)-module of its continuous sections establishes an equivalence of categories between that of topological complex vector bundles over X and that of finitely generated projective modules over C(X,).

In fact, as this example already shows, modules faithfully subsume vector bundles, but are in fact more general. In many contexts one regard modules as the canonical generalization of the notion of vector bundles, with better formal properties.

This identification of vector bundles with R-modules being the spaces of sections of a vector bundle on the space whose ring of functions is R is can then taken as the very definition: notably in algebraic geometry Gelfand duality is taken to “hold by definition” in that an algebraic variety is essentially by defintion the formal dual of a given ring, and the Serre-Swan theore similarly becomes the statement that the space of section of a vector bundle over a variety is equivalently given by a module over that ring. (See also at quasicoherent module for more on this).

This duality between geometry and algebra allows to re-interpret many statement about modules in terms of vector bundles. For instance

  • the direct sum of modules corresponds to fiberwise direct sum of vector bundles;

  • the extension of scalars of a module along a ring homomorphism corresponds to pullback of vector bundles along the dual map of spaces;

  • etc.

Using this disctionary for instance the notion of descent of vector bundles can be expressed in terms of monadic descent, see at Sweedler coring for discussion of this point.

More general perspectives

The notion of monoid in a monoidal category generalizes directly to that of a monoid in a 2-category, where it is called a monad. Accordingly the notion of module generalizes to this more general case, where however it is called an algebra over a monad . For more on this see Modules for monoids in 2-categories: algebras over monads below.

Apart from this direct generalization, there are two distinct and separately important perspective on the notion of module from the nPOV:

Modules for monoids in 2-categories: modules over monads

The notion of monoid generalizes straightforwardly from monoids in a monoidal category to monoids in a 2-category: for the 2-category Cat, and more generally for arbitrary 2-categories, these are called monads.

A module over a monad (see there for more details) is defined essentially exactly as that of module over a monoid. For historical reasons, a module over a monad in Cat is called an algebra over a monad, because the algebras in the sense of universal algebra can be obtained as algebras/modules over a finitary monad in Set: the modules for a free algebra monad (for certain kind of algebras) on Set, which are the composition of the free algebra functor and its right adjoint forgetful functor are exactly algebras of that type. Modules over a fixed monad (in Cat) are the objects of the Eilenberg-Moore category of the monad; in arbitrary bicategory, this category generalized to Eilenberg-Moore objects which may or may not exist.

Enriched presheaves

The action ρ of a monoid A in a closed monoidal category V may be equivalently encoded in terms of a V-enriched functor

ρ:BAV\rho : \mathbf{B}A \to V

from the delooping one-object V-enriched category BA corresponding to A to V itself.

This means that more generally it makes sense to replace BA by any V-enriched category C – regarded as the horizontal categorification of a monoid, a “monoid-oid” – and think of V-enriched functors ρ:CVV-presheaves – as modules for C.

From this perspective a C-D-bimodule is a V-enriched functor C op×DV, which is in this context known as a profunctor from C to D. The notion of the bicategory VMod of V-enriched categories, V-profunctors between these and transformations between those is then a generalization of the

Stabilized overcategories

A module N over a (commutative, unital) ring R may be encoded in another ring: the one that as an abelian group is the direct sum RN and whose product is defined by the formulas

(r 1,n 1)(r 2,n 2):=(r 1r 2,r 1n 1+r 2n 2).(r_1, n_1) \cdot (r_2,n_2) := (r_1 r_2, r_1 n_1 + r_2 n_2) \,.

This is a square-0 extension of R. It is canonically equipped with a ring homomorphism RNR which is the identity on R and sends all elements of N to 0. As such, RNR is an object in the overcategory CRing/R. But a special such object: it is in fact canonically an abelian group object in CRing/R, where the group operation (over R!) is given by addition of elements in N.

From this perspective, it makes sense for general categories C to think of the abelianization of their overcategories C/A as categories of modules over the object A.

Taken all together, this makes the fiberwise abelianization of their codomain fibration cod:[I,C]C the category of all possible modules over all objects of C.

This general perspective has a nice vertical categorification to the context of (∞,1)-categories: abelianization becomes stabilization in this context, and the fiberwise stabilization of the codomain fibration of any (∞,1)-category C is the tangent (∞,1)-category T CC.

For instance for sAlg k the (∞,1)-category of simplicial algebras over a ground field k of characteristic 0, we have that the stabilization Stab(sAlgk/A) of the over (∞,1)-category over A is equivalent to the (,1)-category AMod of A-modules.

Definition

We spell out the definition of module for

with the special classical cases of

and

Then we give more general definitions

Modules over a monoid in a monoidal category

Let (𝒱,,I) be a monoidal category and A a monoid object in 𝒱, hence an object A𝒱 equipped with a multiplication morphism

:AAA\cdot : A \otimes A \to A

and a unit element

e:IAe : I \to A

satisfying the associativity law and the unit law.

Definition

A (left) module over A in (𝒱,,I) is

  • an object N𝒱

  • equipped with a morphism

    ρ:ANN\rho : A \otimes N \to N

    in 𝒱

such that this satisfies the axioms of an action, in that the following are commuting diagrams in 𝒱:

AAN id Aρ AN id n ρ AN ρ N\array{ A \otimes A \otimes N &\stackrel{id_A \otimes \rho}{\to}& A \otimes N \\ \downarrow^{\mathrlap{\cdot \otimes id_n}} && \downarrow^{\mathrlap{\rho}} \\ A \otimes N &\stackrel{\rho}{\to}& N }

and

IN iid N AN ρ N.\array{ I \otimes N &&\stackrel{i \otimes id_N}{\to}&& A \otimes N \\ & \searrow && \swarrow_{\mathrlap{\rho}} \\ && N } \,.

Modules over a ring

A ring is (as discused there) equivalently a monoid object in the category Ab of abelian groups turned into a monoidal category by means of the tensor product of abelian groups . Accordingly a module over R is a module in (Ab,) accordin to def. 1.

We unwind what this means in terms of abelian groups regarded as sets with extra structure:

Definition

A module N over a ring R is

  1. an object N Ab, hence an abelian group;

  2. equipped with a morphism

    α:RNN\alpha : R \otimes N \to N

    in Ab; hence a function of the underlying sets that sends elements

    (r,n)rnα(r,n)(r,n) \mapsto r n \coloneqq \alpha(r,n)

    and which is a bilinear function in that it satisfies

    (r,n 1+n 2)rn 1+rn 2(r, n_1 + n_2) \mapsto r n_1 + r n_2

    and

    (r 1+r 2,n)r 1n+r 2n(r_1 + r_2, n) \mapsto r_1 n + r_2 n

    for all r,r 1,r 2R and n,n 1,n 2N;

  3. such that the diagram

    RRN RId N RN Id Rα α RN N\array{ R \otimes R \otimes N &\stackrel{\cdot_R \otimes Id_N}{\to}& R \otimes N \\ {}^{\mathllap{Id_R \otimes \alpha}}\downarrow && \downarrow^{\mathrlap{\alpha}} \\ R \otimes N &\to& N }

    commutes in Ab, which means that for all elements as before we have

    (r 1r 2)n=r 1(r 2n).(r_1 \cdot r_2) n = r_1 (r_2 n) \,.
  4. such that the diagram

    1N 1id N RN α N\array{ 1 \otimes N &&\stackrel{1 \otimes id_N}{\to}&& R \otimes N \\ & \searrow && \swarrow_{\mathrlap{\alpha}} \\ && N }

    commutes, which means that on elements as above

    1n=n.1 \cdot n = n \,.
Remark

The category of all modules over all commutative rings is Mod. It is a bifibration

ModCRingMod \to CRing

over CRing.

This fibration may be characterized intrinsically, which gives yet another way of defining R-modules. This we turn to below.

G-sets

Simpler than the traditionally default notion of a module in (Ab,), as above is that of a module in Set, equipped with its cartesian monoidal structure. (These days one may want to think of this as a notion of modules over F1.)

A monoid object in (Set,×) is just a monoid, for instance a discrete group G. A G-module in (Set,×) is simpy an action, say a group action.

Definition

For S Set and G a discrete group, a G-action of G on S is a function

ρ:G×SS\rho \colon G \times S \to S

such that

  1. the neutral element acts trivially

    *×S S (e,id S) ρ G×S\array{ * \times S &&\stackrel{\simeq}{\to}&& S \\ & {}_{(e,id_S)}\searrow && \nearrow_{\mathrlap{\rho}} \\ && G \times S }
  2. the action property holds: for all g 1,g 2G and sS we have ρ(g 1,ρ(g 2,s))=ρ(g 1g 2,s).

More on this below.

Abelian groups with G-action as modules over the group ring

If a discrete group acts, as in def. 3, on the set underlying an abelian group and acts by linear maps (abelian group homomorphisms), then this action is equivalently a module over the group ring [G] as in def. 2.

Definition

For G a discrete group, write [G] Ring for the ring

  1. whose underlying abelian group is the free abelian group on the set underlying G;

  2. whose multiplication is given on basis elements by the group operation in G.

Remark

For G a finite group an element rr of [G] is for the form

r= gGr ggr = \sum_{g \in G} r_g g

with r g. Addition is given by addition of the coefficients r g and multiplication is given by the formula

rr˜ = gG g˜G(r gr˜ g˜)gg˜ = qG( gg˜=qr gr˜ g˜)q.\begin{aligned} r \cdot \tilde r & = \sum_{g \in G} \sum_{\tilde g \in G} (r_g \tilde r_{\tilde g}) g \cdot \tilde g \\ & = \sum_{q \in G} \left( \sum_{g \tilde g = q} r_g \tilde r_{\tilde g} \right) q \end{aligned} \,.
Proposition

For A Ab an abelian group with underlying set U(A), G-actions ρ:G×U(A)U(A) such that for each element gG the function ρ(g,):U(A)U(A) is an abelian group homomorphism are equivalently [G]-module structures on A.

Proof

Since the underlying abelian group of [G] is a free by definition, a bilinear map [G]×AA is equivalently for each basis element gG a linear map AA. Similarly the module property is determined on basis elements, where it reduces manifestly to the action property of G on U(A).

Remark

This reformulation of linear G-actions in terms of modules allows to treat G-actions in terms of homological algebra. See at Ext – Relation to group cohomology.

Presheaves in enriched category theory

Equivalently (in the case where V is a closed monoidal category, where V is regarded as enriched in itself), if we regard the monoid A as a one-object 𝒱-enriched category BA, the module together with its action are given by a V-enriched functor

ρ:BAV.\rho : \mathbf{B}A \to V \,.

Correspondingly, a left module over A is a functor

ρ:(BA) opV.\rho : (\mathbf{B}A)^{\mathrm{op}} \to V \,.

In this language the concept directly generalizes to the horizontal categorification of monoids A. Let K be any V-enriched category, then V-functors ρ:KV give right modules and functors ρ:K opV give left modules over K. Accordingly, for K and L two V-enriched categories one says that V-functors

K opLVK^{op} \otimes L \to V

are K-L-bimodules, also known as profunctors or distributors from K to L.

Modules over a ring

For R a ring, write BR for the Ab-enriched category with a single object and hom-object R=BR(,).

Then a left R-module N is equivalently an Ab-enriched functor

N:BRAb.N : \mathbf{B}R \to Ab \,.

This makes manifest that the category RMod is an Ab-enriched category, namely the Ab-enriched functor category

RMod[BR,Ab].R Mod \simeq [\mathbf{B}R,Ab] \,.

The right R-modules can be considered as Ab-functors BR opAb. Then the usual tensor product (over ) MN of a right and left R-modules can be considered as a functor BR opBRAb. The coend RMN computes then to M RN.

G-Sets

Classically the notion of module is always regarded internal to Ab, so that a module is always an abelian group with extra structure. But noticing that such abelian ring modules are just enriched presheaves in Ab-enriched category theory, it makes sense to consider enriched presheaves in general V-enriched category theory as a natural generalization of the notion of module.

For that generalization the case of Set-enriched category theory plays a special basic role:

a group G (with no extra structre, i.e. just a set with group structure) is a monoid in Set. A module over G in the sense of Set-enriched functor (just an ordinary functor)

BGSet\mathbf{B}G \to Set

is nothing but a G-set: a set equipped with a G-action:

BG is the small category that is the delooping groupoid of G, which has a single object and Hom BG(,)=G. The functor BGSet takes the single object to some set S and takes each morphism (g) to an automorphism ρ(g):SS of that set, such that composition is respected. This is just a representation of G on the set S.

Of course for this story to work, G need not be a group, but could be any monoid.

In terms of stabilized overcategories

There is a general definition of modules in terms of stabilized slice-categories of the category of monoids: tangent (infinity,1)-categories.

Modules over a ring

The ordinary case of modules over rings is phrased in terms of stabilized overcategories by the following observation, which goes back at least to Jon Beck’s 1967 thesis, and is found in the important paper of Daniel Quillen; both listed below.

Proposition

Let RCRing be a commutative ring. Then there is a canonical equivalence between the category RMod of R-modules and the category Ab(CRing/R) of abelian group objects in the overcategory of CRing over R

RModAb(CRing/R).R Mod \simeq Ab(CRing/R) \,.
Proof

We first unwind what the structure of an abelian group object (p:KR) in the overcaregory CRing/R is explicitly

The unit of the abelian group object in CRing/R is a diagram

R K Id p R.\array{ R &&\to&& K \\ & {}_{\mathllap{Id}}\searrow && \swarrow_{\mathrlap{p}} \\ && R } \,.

This diagram identifies K with a ring whose underlying abelian group is the direct sum Rker(p) of some ring R with the kernel of p such that for rR and nker(p) we have rnker(p).

The product of RNR with itself in the overcategory is the fiber product over R in the original category, hence is RNN.

The addition operation on the abelian group object is therefore a morphism

RNN RN R.\array{ R \oplus N \oplus N &&\to&& R \oplus N \\ & \searrow && \swarrow \\ && R } \,.

With the above unit, the unit axiom on this operation together with the fact that the top morphism is a ring homomorphism says that this morphism is

RNNId(Id+Id)RN.R \oplus N \oplus N \stackrel{Id \oplus (Id + Id)}{\to} R \oplus N \,.

Since the ring product in the direct product ring RNN between two elements in the two copies of N vanishes, it therefore has to vanish between two elements in the same copy, too.

This says that RN is a square-0 extension of R. Conversely, for every square-0-extension we obtain an abelian group object this way.

For instance the square-0-extension of a ring R corresponding to the canonical R-module structure on R itself is the ring of dual numbers for R.

Modules over a group

Let G be a group. Taking together the above desriptions

  1. of Modules over a group as modules over the group ring

  2. of Modules over a ring as stabilized overcategories

one finds:

Proposition

The category of G-modules is equivalent to the category of abelian group objects in the slice of Ring over the group ring

GModAb(Ring /[G]).G Mod \simeq Ab(Ring_{/\mathbb{Z}[G]}) \,.

But there is also a more direct characterization along these lines, not involving the auxiliary construction of group rings.

Proposition

The category of G-modules is equivalent to the category of abelian group objects in the slice category of groups over G

GModAb(Grp /G).G Mod \simeq Ab(Grp_{/G}) \,.
Proof

The proof is analogous to that of prop. 2. One checks that a group homomorphism G^G with the structure of an abelian group object over G is a central extension of G by some abelian group A which more over is a split extension (the is the neutral element of the abelian group object) and hence is a semidirect product group G^GA. By the discussion there these are equivalently given by actions of G on A by group automorphisms. This is precisely what it means for A to carry a G-module structure.

This construction generalizes to ∞-groups. See at ∞-action the section ∞-action – G-modules.

Modules over a simplicial ring

Let sAlg k (or sAlg for short) be the (∞,1)-category of commutative simplicial algebras over a base field k.

For AsAlg k there is generally a functor

AModStab(sAlg k/A)A Mod \to Stab(sAlg_k/A)

from the stable (∞,1)-category of A-modules to the stabilization of the overcategory of sAlg. But in general this functor is neither essentially surjective nor full. If however k has characteristic 0, then this is an equivalence.

Modules over an algebra over an operad

There is a notion of algebra over an operad. The corresponding notion of modules is described at module over an algebra over an operad.

Examples

Of modules over a ring

Let R be a commutative ring.

Example

The ring R is naturally a module over itself, by regarding its multiplication map RRR as a module action RNN with NR.

Example

More generally, for n the n-fold direct sum of the abelian group underlying R is naturally a module over R

R nR nRRR nsummands.R^n \coloneqq R^{\oplus_n} \coloneqq \underbrace{R \oplus R \oplus \cdots \oplus R}_{n\;summands} \,.

The module action is componentwise:

r(r 1,r 2,,r n)=(rr 1,rr 2,rr n).r \cdot (r_1, r_2, \cdots, r_n) = (r \cdot r_1, r\cdot r_2, \cdot r \cdot r_n) \,.
Example

Even more generally, for I Set any set, the direct sum iIR is an R-module.

This is the free module (over R) on the set S.

The set I serves as the basis of a free module: a general element v iR is a formal linear combination of elements of I with coefficients in R.

For special cases of the ring R, the notion of R-module is equivalent to other notions:

Example

For R= the integers, an R-module is equivalently just an abelian group.

Example

A -module, hence an abelian group, is not a free module if it has a non-trivial torsion subgroup.

Example

For R=k a field, an R-module is equivalently a vector space over k.

Every finitely generated free k-module is a free module, hence everey finite dimensional vector space has a basis. For infinite dimensions this is true if the axiom of choice holds.

Example

For f:SR a homomorphism of rings, restriction of scalars produces R-modules f *N from S-modules N and extension of scalars produces S-modules f !N from R-modules N.

Example

For N a module and {n i} iI a set of elements, the linear span

n i iIN,\langle n_i\rangle_{i \in I} \hookrightarrow N \,,

(hence the completion of this set under addition in N and multiplication by R) is a submodule of N.

Example

Consider example 8 for the case that the module is N=R, the ring itself, as in example 1. Then a submodule is equivalently (called) an ideal of R.

Example

Let X be a topological space and let

RC(X,)R \coloneqq C(X,\mathbb{C})

be the ring of continuous functions on X with values in the complex numbers.

Given a complex vector bundle EX on X, write Γ(E) for its set of continuous sections. Since for each point xX the fiber E x of E over x is a -module (by example 6), Γ(X) is a C(X,)-module.

By the Serre-Swan theorem if X is Hausdorff and compact, then Γ(X) is a projective C(X,)-module and indeed there is an equivalence between projective C(X,)-modules and complex vector bundles over X.

More on this below in Vector bundle and modules.

Vector bundles and modules

A vector space is a vector bundle over the point. For every vector bundle EX over a space X, its collection Γ(E) of sections is a module over the monoid/ring of functions on X. When X is a ringed space, Γ(X) is usefully thought of as a sheaf of modules over the structure sheaf of X:

For describing vector bundles and their generalization it turns out that this perspective of encoding them in terms of their modules of sections is useful. For instance the category of vector bundles on a space typically fails to be an abelian category. But if instead of looking just as sheaves of modules on X that arise as sections of vector bundles one generalizes to coherent sheaves of modules then one obtains an abelian category, something like the completion of Vect(X) to an abelian category. If one further demands that the category be closed under push-forward operations, such as to obtain a bifibration of generalized vctor bundles over spaces, one arrives at the notion of quasicoherent sheaves of modules over the structure sheaf.

But it turns out that the category of quasicoherent sheaves over a test space (see there for details) is equivalent simply to the category of all modules over the (functions on) this test space. This means that quasicoherent sheaves of modules have a nice description in terms of the general-abstract-nonsense characterization of modules discussed above:

For C our (∞,1)-category of of test spaces (hence the opposite category C op our (∞,1)-category of “functions rings” on test spaces), by the above the assignment of all modules over a test space is given by

Mod:C op(,1)CatMod : C^{op} \to (\infty,1)Cat
Mod:UStab(C/U).Mod : U \mapsto Stab( C/U ) \,.

Then for X any space regarded as an ∞-stack on C, a “quasicorent -stack of modules” on X is a morphism

XMod.X \to Mod \,.

References

General

A standard textbook is

  • F.W. Anderson, K.R. Fuller, Rings and Categories of Modules, Graduate Texts in Mathematics, Vol. 13, Springer-Verlag, New York, (1992)

Lectures notes on sheaves of modules / modules over a ringed space are in

Lecture notes with an eye towards physics are in

On modules as enriched presheaves

See also the references at enriched category theory and at profunctor.

On modules as stabilized overcategories

The observation that the category of modules over a ring R is equivalent to the category of abelian group objects in the overcategory CRing/R was used by Quillen:

  • Daniel G. Quillen, On the (co-)homology of commutative rings, in Proc. Symp. on Categorical Algebra, 65 – 87, American Math. Soc., 1970.

More ‘classical’ references for this include Jon Beck’s thesis

  • Jon M. Beck, Triples, algebras and cohomology, thesis.

The fully abstract higher categorical concept in terms of stabilized overcategories and the tangent (∞,1)-category appears in

(∞,1)-modules over A-∞ algebras are discussed in section 4.2 of

Revised on May 12, 2013 10:20:08 by Tim Porter (95.147.236.160)