## Internal Hom Functors

As Todd Trimble pointed out, things get really nice when a category is enriched *over itself*. That is, the morphisms from one object to another in themselves have the structure of an object of . This trivially the case for , because there’s a set of functions from one set to another. We also know that in there’s an abelian group of homomorphisms from one abelian group to another. We say that the category has an “internal hom functor”, because the hom functor lands back inside the category itself, rather than in the category of sets.

For the moment, let’s consider a category that is not only monoidal (which is needed to have an enriched category), but also symmetric and closed. Remember that “closed” means we have an adjunction for each object . In the set is the set of functions from to , while in it’s the abelian group of homomorphisms from to . We see that these are already the internal hom functors we’re looking for in these situations.

So in general let’s take our symmetric, monoidal, closed category , with underlying ordinary category . The adjunction between the monoidal structure and the exponential has a counit — an arrow — which corresponds to “evaluation” in both of our sample cases. That is, it takes a function and an element and gives an element . We can use this to build a category.

Start with the objects of , and define the hom-object from to as (using the exponential functor from the closed structure). We need to find arrows and , and we’ll use the adjunction to do it. For composition, we have the arrow

where the first step is the associator and the other two are evaluations. This is an element of , so the adjunction sends it to an element of , as we require. For identities, we can just use the left-unit arrow and pull the same trick. Now properties of adjoints give us the required relations to make this a category enriched over .

And finally we can check that , so the “underlying set” of is actually the set of morphisms from to in the underlying category . This justifies our suspicions that the -category we just built is in fact itself, now as a category enriched over itself.