A (small) cocategory is a category internal to , the opposite category of Set.
More generally, if is finitely cocomplete, there is a notion of cocategory internal to , namely a comonad in the bicategory of cospans in .
If is a cocategory object in , then by homming out of , one obtains a limit-preserving functor . Under reasonable conditions, the adjoint functor theorem conversely implies that all limit-preserving functors are obtained in this way.
Let be a category with pullbacks. A cocategory is a category object internal to category , consisting of:
structure morphisms:
cosource and cotarget morphisms ;
counit ;
cocomposition (comultiplication) morphism ;
such that the following properties are satisfied, expressing the usual category laws:
Cocomposition (or comultiplication) is the operation that takes a morphism in a cocategory and produces a pair of composable morphisms with
represented collectively as a morphism called the cocomposite of .
Intuitively, a single arrow is “split” into two arrows, dually to the composition morphism that “merges” two arrows into one.
In enriched category theory, for a monoidal category the cocomposition operation on a -enriched cocategory is, for each 3-tuple of objects of , a morphism
in .
This reduces to the above definition in the case that Set. The cocomposition morphism sends any morphism to a pair of composable morphisms
In the context of formal logic, particularly in linear logic and type theories with costructural rules, cocomposition is the cocategorical semantics for the contraction rule, realized categorically as diagonal (comultiplicative) maps on objects or morphisms.
Many interval objects are cocategory objects. For example, the arrow category is a cocategory object in .
Any coalgebra object is a cocategory object. This includes corings, Hopf algebroids, cogroupoids?, etc.
In , every cocategory object is a coproduct of copies of the trivial cocategory object and the cocategory object where the two points are distinct. These represent the discrete category functor and the codiscrete category functors , respectively.
Peter LeFanu Lumsdaine, A Small Observation on Co-categories [arXiv:0902.4743]
Vasileios Aravantinos-Sotiropoulos, and Christina Vasilakopoulou, Sweedler theory for double categories [arXiv:2408.03180]
Presentation slides on -cocategories and cocomposition:
Last revised on February 27, 2026 at 10:23:49. See the history of this page for a list of all contributions to it.