Let be a complete cartesian closed category. A running example will be the category of cocommutative coalgebras over a field (which is cartesian closed and locally finitely presentable, hence complete; see the next section).
We will be studying group objects in such categories. For example, group objects in the category of cocommutative coalgebras over are precisely cocommutative Hopf algebras.
Notation: if and are morphisms in a category of products, then denotes the unique map such that and ; a similar notation extends to more general products (not just binary products).
Let be a symmetric monoidal category with tensor product and monoidal unit . For any two cocommutative comonoids with counits , , the maps
provide projection maps that exhibit as the cartesian product of and in the category of cocommutative comonoids in . Moreover, for any cartesian monoidal category there is an equivalence between the category of symmetric monoidal functors and product-preserving functors .
In the case of , cocommutative comonoids are the same as cocommutative -coalgebras. The forgetful functor creates colimits in . Since preserves colimits for any vector space , it follows that preserves colimits, i.e., cartesian products in distribute over colimits.
The category of cocommutative -coalgebras is the -completion of the category of finite-dimensional cocommutative -coalgebras, and is cocomplete, hence locally finitely presentable. The finitely presentable objects are precisely the finite-dimensional objects.
According to Gabriel-Ulmer duality, this means there is an equivalence
and moreover, by taking linear duals, there is an equivalence
where is the category of finite-dimensional commutative -algebras.
The category is complete, cocomplete, and cartesian closed.
Locally presentable categories are complete, and enjoy a strong form of an adjoint functor theorem, where a functor has a right adjoint iff it is cocontinuous. Since is locally presentable, the product functor has a right adjoint for any cocommutative coalgebra ; therefore is cartesian closed.
Exponentials in are often called measuring coalgebras.
Now let be a complete cartesian closed category. If is an arbitrary object of , the right adjoint (with left adjoint ) preserves arbitrary limits and in particular finite products. This means that the canonical map
is invertible.
It follows that if is a group object with multiplication , identity , and inverse , then is a group object. The multiplication is defined to be the composite
and the identity and inverse are defined similarly. Indeed, for any model of a Lawvere theory in , the same principle shows that carries a -model structure canonically induced from the structure on . (Proof: a -model is given precisely by a product-preserving functor , and the composite
is also product-preserving.)
If are ordinary groups, a homomorphism may be defined as a function that preserves multiplication (it may be shown that such functions also preserve the identity and inverse):
for all . The left side represents the function , or the result of applying the map
to . The right represents the function , or the result of applying the map
to . Hence the set of homomorphisms may be constructed as the equalizer of the two legs of the following triangle
The same construction applies more generally in a cartesian closed category. In particular, the “squaring map” is defined to be
Thus, in a finitely complete cartesian closed category, we may construct the object of group object homomorphisms as the equalizer displayed above. Taking , the exponential naturally forms a monoid, and the subobject becomes a submonoid.
Similarly, one may internalize automorphism objects. An automorphism on can be construed as a pair of morphisms obeying the equations , and thus we may construct a group object as an equalizer of two legs of a triangle
where is internal composition and names the identity .
Let be the composite
this map is a monomorphism and the subobject is closed under composition, i.e., the composite
factors through . Thus is a submonoid of and in fact forms a group (object).
Further, for a group the intersection or pullback of subobjects forms a subgroup of :
Suppose are groups in , and is a homomorphism, we can form the semidirect product as a purely categorical construction. The composite
corresponds (under the - adjunction) to a map
and we form a composite
which gives the multiplication for the semidirect product.