A monoidal category is a C\mathcal C equipped with a bifunctor

⊗:C×C⟶C,\otimes:\mathcal C\times\mathcal C\longrightarrow\mathcal C,

an object 1\mathbb 1, and

αX,Y,Z:(X⊗Y)⊗Z⟶∼X⊗(Y⊗Z),λX:1⊗X⟶∼X,ρX:X⊗1⟶∼X.\begin{aligned}\alpha_{X,Y,Z}&:(X\otimes Y)\otimes Z\overset{\sim}{\longrightarrow}X\otimes(Y\otimes Z),\\ \lambda_X&:\mathbb 1\otimes X\overset{\sim}{\longrightarrow}X,\\ \rho_X&:X\otimes\mathbb 1\overset{\sim}{\longrightarrow}X.\end{aligned}

The associator α\alpha and unitors λ,ρ\lambda,\rho must satisfy the following equations for all objects, with composition read from right to left:

αW,X,Y⊗Z∘αW⊗X,Y,Z=(id⁡W⊗αX,Y,Z)∘αW,X⊗Y,Z∘(αW,X,Y⊗id⁡Z),\alpha_{W,X,Y\otimes Z}\circ\alpha_{W\otimes X,Y,Z} =(\operatorname{id}_W\otimes\alpha_{X,Y,Z})\circ \alpha_{W,X\otimes Y,Z}\circ(\alpha_{W,X,Y}\otimes\operatorname{id}_Z),
(id⁡X⊗λY)∘αX,1,Y=ρX⊗id⁡Y.(\operatorname{id}_X\otimes\lambda_Y)\circ\alpha_{X,\mathbb1,Y} =\rho_X\otimes\operatorname{id}_Y.

These are the pentagon and triangle coherence axioms, respectively.

Coherence diagrams

The pentagon compares two ways to reassociate four factors. Each vertex is a parenthesization; commutativity says the two directed paths from the top left to the bottom right agree.

Commutative diagram((W\otimes X)\otimes Y)\otimes Z \arrow[r, "\alpha_{W,X,Y}\otimes1_Z"] \arrow[d, "\alpha_{W\otimes X,Y,Z}"'] & (W\otimes(X\otimes Y))\otimes Z \arrow[d, "\alpha_{W,X\otimes Y,Z}"] \\ (W\otimes X)\otimes(Y\otimes Z) \arrow[dr, "\alpha_{W,X,Y\otimes Z}"'] & W\otimes((X\otimes Y)\otimes Z) \arrow[d, "1_W\otimes\alpha_{X,Y,Z}"] \\ & W\otimes(X\otimes(Y\otimes Z))

The triangle says that deleting a unit between two factors agrees with first reassociating and then deleting it:

Commutative diagram(X\otimes\mathbb1)\otimes Y \arrow[rr, "\alpha_{X,\mathbb1,Y}"] \arrow[dr, "\rho_X\otimes1_Y"'] & & X\otimes(\mathbb1\otimes Y) \arrow[dl, "1_X\otimes\lambda_Y"] \\ & X\otimes Y &𝟙𝟙𝟙
Why coherence matters

The tensor product need not be literally associative or unital. The coherence axioms ensure that every canonical composite built from associators and unitors between two parenthesizations is the same. Calculations can therefore suppress these isomorphisms without making arbitrary choices.

Examples
  • Sets with Cartesian product and a one-point set form a monoidal category.
  • Modules over a commutative ring form a monoidal category under , with the base ring as unit.
  • Endofunctors of a category form a generally non-symmetric monoidal category under composition.
References
  1. Saunders Mac Lane, Categories for the Working Mathematician, 2nd ed., Springer, 1998. DOI record. Relevant: Chapter VII.