Modules over a commutative monoid as bimodules #
A left module over a commutative monoid object has a canonical right action,
obtained by moving the scalar past the module through the braiding. The two
actions commute, so this gives a native bimodule. Module maps respect both
actions. This adapter allows balanced tensor products of modules to use
Mathlib's Bimod.TensorBimod construction rather than a second coequalizer
construction.
The construction uses the inverse braiding from the scalar to the module; in a symmetric monoidal category it is also the forward braiding in the opposite order. No colimit or closedness assumptions are needed.
Forget the right action of a bimodule, retaining its native left module.
Instances For
The left action is unchanged when forgetting the right action.
Regard modules over a commutative monoid object as bimodules. The right action moves the scalar to the left using the inverse braiding.
Instances For
A bimodule map between the canonical bimodules is determined by, and uniquely lifts, a left-module map.
Instances For
Forgetting the added right action recovers the original module functorially.
Instances For
For the regular left module, the added right action is multiplication.
Instances For
A bimodule whose right action is induced from its left action is recovered from that left module. Both comparison maps are the identity on the carrier.