In mathematics, a semimodule over a semiring R is an algebraic structure analogous to a module over a ring, with the exception that it forms only a commutative monoid with respect to its addition operation, as opposed to an abelian group.
Formally, a left R-semimodule consists of an additively-written commutative monoid M and a map from
R x M
r(m+n)=rm+rn
(r+s)m=rm+sm
(rs)m=r(sm)
1m=m
0Rm=r0M=0M
A right R-semimodule can be defined similarly. For modules over a ring, the last axiom follows from the others. This is not the case with semimodules.
If R is a ring, then any R-module is an R-semimodule. Conversely, it follows from the second, fourth, and last axioms that (-1)m is an additive inverse of m for all
m\inM
N
Z