A cogenerator in a category is an object such that the functor is faithful. This means that for any pair , if they are indistinguishable by morphisms to in the sense that
then .
One often extends this notion to a cogenerating family of objects, which is a (usually small) set of objects in such that the family is jointly faithful. This means that for any pair , if they are indistinguishable by morphisms to in the sense that
then .
In Set, the set of truth values is a cogenerator. More generally, in any well-pointed topos, the subobject classifier is a cogenerator.
The existence of a small (co)generating family is one of the conditions in one version of the adjoint functor theorem.
The concept of cogenerator is dual to that of separator, so it can also be refereed to as a coseparator.