A cartesian monoidal category is a monoidal category whose monoidal structure is given by the category-theoretic product (and so whose unit is a terminal object). Any category with finite products can be considered as a cartesian monoidal category (as long as we have either (1) a specified product for each pair of objects, (2) a global axiom of choice, or (3) we allow the monoidal product to be an anafunctor). Note that the term cartesian category usually means a category with finite products but can also mean a finitely complete category.
Cartesian monoidal categories have a number of special and important properties, such as the existence of diagonal maps and augmentations for any object . In applications to computer science we can think of as ‘duplicating data’ and as ‘deleting’ data. These maps make any object into a comonoid. In fact, any object in a cartesian monoidal category becomes a comonoid in a unique way.
Moreover, one can show that any monoidal category equipped with suitably well-behaved diagonals and augmentations must in fact be cartesian monoidal. More precisely: suppose is a monoidal category equipped with monoidal natural transformations
and
such that the following composites are identity morphisms:
where , are the right and left unitors. Then is cartesian.
Heuristically: a monoidal category is cartesian if we can duplicate and delete data, and ‘duplicating a piece of data and then deleting one copy is the same as not doing anything’.
A related theorem describes cartesian monoidal categories as monoidal categories satisfying two properties involving the unit object. First, we say a monoidal category is semicartesian if the unit for the tensor product is terminal. If this is true, any tensor product of objects comes equipped with morphisms
given by
and
respectively, where stands for the unique morphism to the terminal object and , are the right and left unitors. We can thus ask whether and make into the product of and . If so, it is a theorem that is a cartesian monoidal category. (This theorem is probably in Eilenberg and Kelly’s paper on closed categories, but they may not have been the first to note it.)
A cartesian monoidal category which is also closed is called a cartesian closed category.