1 Introduction

The functor that takes a ring R to its category of modules has an adjoint, provided that in addition to \(R\text {-}{\mathsf {mod}}\), one remembers the forgetful functor \(R\text {-}{\mathsf {mod}} \rightarrow {{\mathsf {A}}}{{\mathsf {b}}}\).

The adjoint sends a functor \(F : {\mathcal {D}}\rightarrow {{\mathsf {A}}}{{\mathsf {b}}}\) to its endomorphism ring of natural transformations. This fact is familiar to people working on duality results à la Tannaka.

If instead of using the self-enrichment \(\langle -, - \rangle : {{\mathsf {A}}}{{\mathsf {b}}}{}^{\text {op}}\times {{\mathsf {A}}}{{\mathsf {b}}}\rightarrow {{\mathsf {A}}}{{\mathsf {b}}}\), one uses an enrichment into symmetric sequences or bisymmetric sequences, then can be promoted to an endomorphism operad or an endomorphism properad. This is summarized in the table:

enrichment

endomorphism ring

\(\langle X,Y\rangle \)

endomorphism operad

\(\langle X^{\otimes n},Y\rangle \)

endomorphism properad

\(\langle X^{\otimes p},Y^{\otimes q}\rangle \)

In this note we study the general case, replacing \({{\mathsf {A}}}{{\mathsf {b}}}\) by a category enriched in a monoidal category . First we review representations of monoids in the context of an enriched category. Then we describe the endomorphism monoid of a functor whose target is an enriched category and show that this construction is adjoint to the representations functor.

After describing the adjunction between monoids in and functors with target , we shall study the basic properties of this adjunction, in particular in the case where the enrichment is also tensored.

In two brief appendices, we provide quick definitions of terms in enriched category theory that we need and give a few examples of contexts in which this setup holds.

The sequel, Endomorphism operads of functors [1], contains some explicit computations.

After seeing the definitions of the functors and \({\mathsf {Rep}}\) and their adjunction, the reader is encouraged to take a look at the appendix [§ B]. Some of the examples there might be surprising.

2 Monoids and their representations

Let us fix a a bicomplete monoidal category and a category enriched in :

figure a

For convenience, we shall assume given a locally large universe enlargement [§ A.1]. Because is fully faithful and monoidal, one has a fully faithful embedding of categories of monoids

figure b

In order to distinguish between the two, we shall say that a monoid in is large.

Remark 1

(Endomorphism monoid of an object) Thanks to the -enrichment of , every object has a natural endomorphism monoid [XX].

Definition 1

(Representations of monoids) Let M be a monoid. Its category of representations in

$$\begin{aligned} M\text {-}{\mathsf {rep}} \end{aligned}$$

is the large category

  • whose objects are \((X,\alpha )\) where X is an object of and \(\alpha :M\rightarrow [X,X]\) is a map of monoids and

  • whose morphisms \((X,\alpha )\rightarrow (Y,\beta )\) are maps \(f:X\rightarrow Y\) such that the following diagram commutes:

    figure c

The category of representations of M has an evident forgetful functor

that is both faithful and conservative. The assignment \(M \mapsto M\text {-}{\mathsf {rep}}\) is moreover functorial: given a morphism of monoids \(\psi : M \rightarrow N\), one has a commutative diagram

figure d

Denoting by \(\widehat{{\mathsf {Cat}}}\) the very large category of large categories, one gets a representation functor

figure e

Remark 2

(Representations of large monoids) Since we have required to be locally large, the definition of the category of representations \(M\text {-}{\mathsf {rep}}\) also makes sense for M a large monoid. Then, the large category having been fixed, the representations functor extends to the category of large monoids:

figure f

Indeed, let M be a large monoid. The cardinality of the objects of \(M\text {-}{\mathsf {rep}}\) is bounded by

Since is large and is locally large, we deduce that \(M\text {-}{\mathsf {rep}}\) has a large set of objects. Given two representations X and Y of a monoid M, one has

Hence, since has large sets of morphisms, so does \(M\text {-}{\mathsf {rep}}\).

3 The endomorphism monoid of a functor

In this section we show that the representation functor \(M \mapsto M\text {-}{\mathsf {rep}}\) has a right adjoint

figure g

It takes as inputs large categories \({\mathcal {D}}\) over and outputs the endomorphism monoid of the functor .

Remark 3

(Enriched natural transformations) Given a large category \({\mathcal {D}}\), the category of functors is naturally enriched in as follows. Given two functors , the -natural transformations from F to G are presented by the object of given by

where, following Yoneda’s original notation [2, § 4], denotes the cointegration (or end) of a functor .

Definition 2

The endomorphism monoid of a functor is

the (large) monoid of -natural transformations of F.

Remark 4

(Functoriality of ) As is the case in any 2-categorical setting, -natural transformations are compatible with ‘horizontal composition’ or ‘whiskering’:

figure h

Thus, the construction is functorial in the sense that given

figure i

one gets a morphism of large monoids

Theorem 1

The functor is right adjoint to

figure j

There are a number of examples where this setup gives interesting endomorphism monoids and interesting adjunctions [§ B].

Proof

Observe that a functor from \({\mathcal {D}}\) to \(M\text {-}{\mathsf {rep}}\) over consists of:

  • at the object level, a monoid map \(M\xrightarrow {\psi _X} [F(X),F(X)]\) for each object X of \({\mathcal {D}}\), and

  • at the morphism level, no data, since the value on morphisms is determined by being over and the functor from \(M\text {-}{\mathsf {rep}}\) to is faithful.

However, to be a functor, the collection \(\psi _X\) must satisfy a condition so that for each map f in \(\text {Hom}_{{\mathcal {D}}}(X, Y)\), the map F(f) is an M-representation map between F(X) and F(Y). This is precisely the condition for the maps \(\psi _X\) to assemble to a map . Compatibility with the M-representation structures for each object X implies that \(\psi \) is a morphism of large monoids. \(\square \)

Example 1

Let be an object of . Then the equalizer formula for the cointegral computing collapses to [XX]. So in this case recovers the ordinary endomorphism object [XX].

Example 2

Let be a morphism of , with domain X and codomain Y. Again the cointegral has a simple description via the equalizer formula; it is the pullback of [XX] and [YY] over [XY].

This is sometimes called the endomorphism monoid of f [3, 13.10].

Remark 5

(Generalized enrichments) We have taken as our fundamental input an enrichment of the category in the monoidal category . A generalization of this framework is to consider instead a lax functor

where is the bicategory whose objects are monoids in , whose morphisms are pointed bimodules, and whose 2-morphisms are maps of bimodules.

Let us present an example of such a generalized enrichment that does not fit directly in our framework. Let be a large category, seen as naturally enriched in large sets. There is a lax functor

given on objects by

$$\begin{aligned} X \longmapsto {{\,\mathrm{Aut}\,}}(X), \end{aligned}$$

which sends a map \(f : X \rightarrow Y\) to

$$\begin{aligned} {{{\,\mathrm{Hom}\,}}(X,Y)}_f :={{\,\mathrm{Hom}\,}}(X,Y)\text { pointed by }f \end{aligned}$$

and which sends the composite of two maps f and g to

$$\begin{aligned} {{{\,\mathrm{Hom}\,}}(X,Y)}_f \otimes _{{{\,\mathrm{Aut}\,}}(Y)} {{{\,\mathrm{Hom}\,}}(Y,Z)}_g \longrightarrow {{{\,\mathrm{Hom}\,}}(X,Z)}_{fg}. \end{aligned}$$

Using the same ideas, one can see how to produce a generalized enrichment out of a -enriched category via

$$\begin{aligned} X \longmapsto [X, X]. \end{aligned}$$

The cointegral defining the endomorphism monoid of a functor F has a natural extension to the generalized framework.

The generalized enrichment of our example yields the following adjunction

figure k

Of course one could—indirectly—obtain the adjunction between representations and automorphism groups by first taking the monoid of endomorphisms and then restricting to groups.

4 Small endomorphism monoids

When the domain category \({\mathcal {D}}\) of F is small, the endomorphism monoid is obviously small. We shall show that this is still the case when \({\mathcal {D}}\) is large under appropriate accessibility conditions.

Lemma 1

(Accessible reduction) Assume that the category is accessibly enriched [7], \({\mathcal {D}}\) is an accessible category and is an accessible functor.

Let \(\kappa \) be a small cardinal big enough so that \({\mathcal {D}}\) is \(\kappa \)-accessible and so that both F and \(X \mapsto [X,Y]\) commute with \(\kappa \)-filtered colimits. Let us denote by \(F^\kappa \) the restriction of F to the full subcategory \({\mathcal {D}}^\kappa \subset {\mathcal {D}}\) of \(\kappa \)-compact objects of \({\mathcal {D}}\). Then the canonical map

is an isomorphism. In particular is a (small) monoid.

Proof

Using the universal property of the cointegrals, it is enough to show the existence of compatible maps

figure l

for every \(X \in {\mathcal {D}}\), such that for every \(\kappa \)-compact \(X^\kappa \), the map \(\varphi _{X^\kappa }\) is equal to the projection map .

Since every \(X \in {\mathcal {D}}\) is canonically the \(\kappa \)-filtered colimit \(X ={{\,\mathrm{colim}\,}}_{X^\kappa \rightarrow X} X^\kappa \) of the \(\kappa \)-compact objects over it,

$$\begin{aligned}{}[F(X),F(X)] =\lim _{X^\kappa \rightarrow X}[F(X^\kappa ),F(X)]. \end{aligned}$$

Every map \(g : X^\kappa \rightarrow X\) induces a morphism

figure m

and given \(h : \underline{X}^\kappa \rightarrow X^\kappa \), one can draw a commutative diagram

figure n

where the commutation of the first square is guaranteed by the universal property of . This shows that we get a well-defined morphism \(\varphi _X\) for every \(X \in {\mathcal {D}}\).

By construction of \(\varphi _X\), the following diagram commutes

figure o

hence when g is the identity of a \(\kappa \)-compact object \(X^\kappa \), we get \(\pi _{X^\kappa } = \varphi _{X^\kappa }\) as promised.

Let \(f : X \rightarrow Y\) be a morphism in \({\mathcal {D}}\). We need to check the commutativity of the induced square

figure p

By accessibility again, one may check the equality \(f^*\varphi _Y = f_*\varphi _X\) after projection \(g^*: [F(X), F(Y)] \rightarrow [F(X^\kappa ),F(Y)]\) for every \(g : X^\kappa \rightarrow X\). Then by the commutativity of the diagrams

figure q

and

figure r

we may conclude the desired result.

Remark 6

(Accessibility of the category of representations) In view of the previous reduction lemma, one may wonder whether is an accessible functor between accessible categories whenever is accessibly enriched.

This appears to be an intricate question in general: it is still unknown whether the category of bigebras over some well-known props are actually accessible. In the particular case where is accessibly tensored (or cotensored), this question receives a positive answer. We shall give more details about this case in the next section.

Cogebras over a dg-operad over a field give an example of an accessibly enriched context [B.1.3] that is neither tensored, nor cotensored, in which \(P\text {-}{\mathsf {cog}}\) is accessible for any dg-operad P [4].

5 The case of tensored enrichment

In the case where is tensored over , the additional structure allows one to say more about the adjunction between representations and endomorphisms, particularly when the tensor structure is well-behaved.

5.1 The adjunction in the accessibly tensored case

In the case where forgetful functors are accessible, we no longer need to have jumps in sizes and we get a refined adjunction with the category of small monoids.

Proposition 1

(Accessibly tensored case) Assume that is accessibly tensored over . Then there is an adjunction

figure s

in which \({\mathsf {Acc}}\) is the very large category of large accessible categories and accessible functors.

For this one restricts the adjunction using accessible reduction [1] and the following lemmas.

Lemma 2

If is accessibly tensored, then every monoid M induces an accessible monad \({\widetilde{M}}\) on whose category of modules is canonically equivalent to \(M\text {-}{\mathsf {rep}}\) as an object of

$$\begin{aligned} M\text {-}{\mathsf {rep}} ={\widetilde{M}}\text {-}{\mathsf {mod}}. \end{aligned}$$

As a consequence, the category of representations \(M\text {-}{\mathsf {rep}}\) is accessible and the forgetful functor

figure t

is accessible.

Proof

Because the functor \(M \mapsto (M \otimes -)\) is monoidal [4], each monoid M induces an accessible monad \({\widetilde{M}}\) with underlying functor \(X \mapsto M \otimes X\). As a consequence its category of modules is accessible and the forgetful functor

figure u

is accessible.

We now claim that there is a canonical equivalence of categories above

$$\begin{aligned} M\text {-}{\mathsf {rep}} ={\widetilde{M}}\text {-}{\mathsf {mod}}, \end{aligned}$$

compatible with the forgetful functors. Let \((X,\alpha )\) be a representation of M. Then the monoid morphism \(\alpha : M \rightarrow [X, X]\) is equivalent by adjunction to an \({\widetilde{M}}\)-module structure \({\widetilde{\alpha }} : M \otimes X \rightarrow X\). Let \((Y, \beta )\) be another representation of M, then \(f : X \rightarrow Y\) is a morphism of representations if

figure v

commutes. By adjunction the top right part of the diagram is equivalent to \(M\otimes X \rightarrow X \rightarrow Y\) and the bottom left is equivalent to \(M \otimes X \rightarrow M \otimes Y \rightarrow Y\) so that the commutativity of the above square is equivalent to the commutativity of

figure w

Hence \(f : X \rightarrow Y\) is a morphism of M-representations if and only if it is a morphism of \({\widetilde{M}}\)-modules. \(\square \)

Lemma 3

Let be an accessible functor with accessible domain. Then the counit of the adjunction applied to F

figure x

is given by an accessible functor.

Proof

The top map of the diagram if accessible because the two other maps are accessible [2] and the forgetful functor is conservative. \(\square \)

Remark 7

In the accessibly tensored case, the representation functor factors through the category of accessible monads on . Using an adapted version of a result of Janelidze and Kelly [5], one can show that the adjunction factors as a composite of adjunctions

figure y

5.2 Faithfulness of \({\mathsf {Rep}}\)

The question of reconstructing a monoid M out of its category \(M\text {-}{\mathsf {rep}}\) of representations is an old one, in the Tannakian context for example  [B.2.1]. Such a result cannot be obtained in general without additional hypotheses. Instead one can look at the opportunity of recovering M as a submonoid of .

This is the question of faithfulness of the \({\mathsf {Rep}}\) functor which is of independent interest. As an example, one can view Joyal’s results on analytic monads [6] as saying in particular that the representation functor is faithful in the case where is the category of sets operadically enriched in symmetric sequences.

The representation functor \(M \mapsto M\text {-}{\mathsf {rep}}\) is a priori not faithful. A trivial example of this takes to be the empty category. A nontrivial example of independent interest is given by looking at the functor \(P \mapsto P\text {-}{\mathsf {cog}}\) mapping a dg-operad to its category of cogebras. Indeed, one can show that there exists a non-zero dg-operad without nontrivial cogebras [7]:

$$\begin{aligned} \exists ~P \ne 0, \quad P\text {-}{\mathsf {cog}} = 0. \end{aligned}$$

However, when is tensored, we get a criterion to check whether the representation functor is faithful.

Proposition 2

(Faithfulness of representations) Assume that is faithfully tensored over , then the representations functor

figure z

is faithful. Equivalently, for every monoid M, the unit map

is a monomorphism.

Proof

Let \(\phi , \psi : M \rightrightarrows N\) be two morphisms of monoids such that

figure aa

If \(\phi _{!}\) denotes the (partially defined) left adjoint to \({\text {U}}_{\phi }\) and \(\psi _{!}\) the (partially defined) left adjoint to \({\text {U}}_{\psi }\), then one has \(\phi _{!} = \psi _{!}\). Let X be an object of , because is tensored over , the monoid M acts on \(M \otimes X\) and \(M \otimes X\) is then the free representation of M induced on X. The same goes for \(N \otimes X\). As a consequence, one has

$$\begin{aligned} {\text {U}}_{\phi }\circ \phi _{!}(M \otimes X) ={\text {U}}_{\psi }\circ \psi _{!}(M \otimes X) =N \otimes X. \end{aligned}$$

Using the units of the adjunctions, one then gets that

figure ab

Since this is true for every X, we get \(\phi = \psi \). \(\square \)