If
M and
N are
R-
S-bimodules, then a map is a
bimodule homomorphism if it is both a homomorphism of left
R-modules and of right
S-modules. An
R-
S-bimodule is actually the same thing as a left module over the ring , where
Sop is the
opposite ring of
S (where the multiplication is defined with the arguments exchanged). Bimodule homomorphisms are the same as homomorphisms of left modules. Using these facts, many definitions and statements about modules can be immediately translated into definitions and statements about bimodules. For example, the
category of all is
abelian, and the standard
isomorphism theorems are valid for bimodules. There are however some new effects in the world of bimodules, especially when it comes to the
tensor product: if
M is an and
N is an , then the tensor product of
M and
N (taken over the ring
S) is an in a natural fashion. This tensor product of bimodules is
associative (
up to a unique canonical
isomorphism), and one can hence construct a category whose objects are the rings and whose morphisms are the bimodules. This is in fact a
2-category, in a canonical way – 2 morphisms between
M and
N are exactly bimodule homomorphisms, i.e. functions : f: M \rightarrow N that satisfy • f(m+m') = f(m)+ f(m') • f(r.m.s) = r.f(m).s, for , , and . One immediately verifies the interchange law for bimodule homomorphisms, i.e. : (f'\otimes g')\circ (f\otimes g) = (f'\circ f)\otimes(g'\circ g) holds whenever either (and hence the other) side of the equation is defined, and where \circ is the usual composition of homomorphisms. In this interpretation, the category is exactly the
monoidal category of with the usual
tensor product over
R the tensor product of the category. In particular, if
R is a
commutative ring, every left or right
R-module is canonically an , which gives a monoidal embedding of the category into . The case that
R is a
field K is a motivating example of a symmetric monoidal category, in which case , the
category of vector spaces over
K, with the usual tensor product giving the monoidal structure, and with unit
K. We also see that a
monoid in is exactly an
R-algebra. Furthermore, if
M is an and
L is an , then the
set of all
S-module homomorphisms from
M to
L becomes a in a natural fashion. These statements extend to the
derived functors
Ext and
Tor.
Profunctors can be seen as a categorical generalization of bimodules. Note that bimodules are not at all related to
bialgebras. == See also ==