A symmetric monoidal category is compact closed if every object has a dual object. If this holds, the dual object is unique up to canonical isomorphism, and is denoted. In a bit more detail, an object is called the dual of if it is equipped with two morphisms called the unit and the counit, satisfying the equations and where are the introduction of the unit on the left and right, respectively, and is the associator. For clarity, we rewrite the above compositions diagrammatically. In order for to be compact closed, we need the following composites to equal : and :
Definition
More generally, suppose is a monoidal category, not necessarily symmetric, such as in the case of a pregroup grammar. The above notion of having a dual for each object A is replaced by that of having both a left and a right adjoint, and, with a corresponding left unit, right unit, left counit, and right counit. These must satisfy the four yanking conditions, each of which are identities: and That is, in the general case, a compact closed category is both left and right-rigid, and biclosed. Non-symmetric compact closed categories find applications in linguistics, in the area of categorial grammars and specifically in pregroup grammars, where the distinct left and right adjoints are required to capture word-order in sentences. In this context, compact closed monoidal categories are called pregroups.
Properties
Compact closed categories are a special case of monoidal closed categories, which in turn are a special case of closed categories. Compact closed categories are precisely the symmetric autonomous categories. They are also *-autonomous. Every compact closed category C admits a trace. Namely, for every morphism, one can define which can be shown to be a proper trace. It helps to draw this diagrammatically:
Examples
The canonical example is the category FdVect with finite-dimensional vector spaces as objects and linear maps as morphisms. Here is the usual dual of the vector space. The category of finite-dimensional representations of any group is also compact closed. The category Vect, with all vector spaces as objects and linear maps as morphisms, is not compact closed; it is symmetric monoidal closed.
Simplex category
The augmented simplex category can be used to construct an example of non-symmetric compact closed category. The augmented simplex category is the category of finite ordinals ; its morphisms are order-preserving maps. We make it into a monoidal category by moving to the arrow category, so the objects are morphisms of the original category, and the morphisms are commuting squares. Then the tensor product of the arrow category is the original composition operator. The left and right adjoints are the min and max operators; specifically, for a monotone mapf one has the rightadjoint and the left adjoint The left and right units and counits are: One of the yanking conditions is then The others follow similarly. The correspondence can be made clearer by writing the arrow instead of, and using for function composition.
A monoidal category that is not symmetric, but otherwise obeys the duality axioms above, is known as a rigid category. A monoidal category where every object has a left dual is also sometimes called a leftautonomous category. A monoidal category where every object has both a left and a right dual is sometimes called an autonomous category. An autonomous category that is also symmetric is then a compact closed category.