nLab
closed category

Contents

Contents

Idea

A category CC is closed if for any pair a,ba, b of objects the collection of morphisms from aa to bb can be regarded as forming itself an object of CC.

This object is often denoted hom(a,b)hom(a,b) or [a,b][a,b] or similar and often addressed as the internal hom-object or simply the internal hom.

A familiar kind of closed categories are closed monoidal categories. However, there is also a definition of closed category that does not require the category to already be monoidal. A monoidal structure \otimes, if it exists, can then be universally characterized as an (enriched) left adjoint to the internal-hom, dual to the above characterization of internal-homs as right adjoints to \otimes; see below.

Although it may seem that in general the closed structure is less intuitive to work with than the monoidal structure, in some cases it is in fact more obvious what the correct internal-homs are than what the correct tensor product is, so the latter was originally defined as an adjoint to the former. This is the case for the Gray tensor product and the projective tensor product, for example, and was probably the case for abelian groups (the original notion of tensor product) as well.

Definition

Basic definition

A closed category is a category CC together with the following data:

  • A functor [,]:C op×CC[-,-] : C^{op} \times C \to C, called the internal hom-functor.

  • An object ICI\in C called the unit object.

  • A natural isomorphism i:Id C[I,]i\colon Id_C \cong [I,-].

  • A transformation j X:I[X,X]j_X\colon I \to [X,X], extranatural in XX.

  • A transformation L YZ X:[Y,Z][[X,Y],[X,Z]]L^X_{Y Z} \colon [Y,Z] \to [ [X,Y],[X,Z]], natural in YY and ZZ and extranatural in XX.

which is required to satisfy the following axioms.

  • The following diagram commutes for any X,YX,Y.

    I j Y [Y,Y] j [X,Y] L YY X [[X,Y],[X,Y]]\array{I & \overset{j_Y}{\to} & [Y,Y]\\ & _{\mathllap{j_{[X,Y]}}}\searrow & \downarrow^{L^X_{Y Y}}\\ & & [ [X,Y],[X,Y]]}
  • The following diagram commutes for any X,YX,Y.

    [X,Y] L XY X [[X,X],[X,Y]] i [X,Y] [j X,1] [I,[X,Y]]\array{[X,Y] & \overset{L^X_{X Y}}{\to} & [ [X,X],[X,Y]]\\ & _{\mathllap{i_{[X,Y]}}}\searrow & \downarrow^{[j_X,1]}\\ & & [I,[X,Y]]}
  • The following diagram commutes for any Y,ZY,Z.

    [Y,Z] L YZ I [[I,Y],[I,Z]] [1,i Z] [i Y,1] [Y,[I,Z]]\array{[Y,Z] & \overset{L^I_{Y Z}}{\to} & [ [I,Y],[I,Z]]\\ & _{\mathllap{[1,i_Z]}}\searrow & \downarrow^{[i_Y,1]}\\ & & [Y,[I,Z]]}
  • The following diagram commutes for any X,Y,U,VX,Y,U,V.

    [U,V] L UV Y [[Y,U],[Y,V]] L UV X [[X,U],[X,V]] [1,L YV X] L [X,U],[X,V] [X,Y] [[[X,Y],[X,U]],[[X,Y],[X,V]]] [L YU X,1] [[Y,U],[[X,Y],[X,V]]]\array{[U,V] & \overset{L^Y_{U V}}{\to} & [ [Y,U],[Y,V]]\\ ^{L^X_{U V}}\downarrow && \\ [ [X,U],[X,V]] & & \downarrow^{[1,L^X_{Y V}]} \\ ^{L^{[X,Y]}_{[X,U],[X,V]}}\downarrow && \\ [ [ [X,Y],[X,U]],[ [X,Y],[X,V]]] & \underset{[L^X_{Y U},1]}{\to} & [ [Y,U],[ [X,Y],[X,V]]]}
  • Finally, the map γ:C(X,Y)C(I,[X,Y])\gamma\colon C(X,Y) \to C(I,[X,Y]) defined by f[1,f](j X)f \mapsto [1,f](j_X) is a bijection.

Tobias Fritz: I suspect there is a variant of the definition involving a transformation R XY Z:[X,Y][[Y,Z],[X,Z]]R^Z_{X Y} \colon [X,Y] \to [ [Y,Z],[X,Z]] rather than LL. Is this correct? If so, how do these two definitions relate? Can one of them be expressed in terms of the other? Or is there a refined definition which comprises both LL and RR?

Discussion

The Eilenberg-Kelly definition

The above definition is the one used in LaPlaza and Manzyuk. It differs slightly from Eilenberg-Kelly’s original definition, which omitted the axiom involving γ\gamma but assumed an “underlying-set-functor” U:CSetU\colon C \to Set as part of the structure, with an axiom asserting that U([X,Y])=C(X,Y)U([X,Y]) = C(X,Y) (naturally, i.e. as a strict equality of functors C op×CSetC^{op}\times C\to Set) and that the resulting isomorphism

C(X,X)=U([X,X])Ui [X,X]U([I,[X,X]])=C(I,[X,X]) C(X,X) = U([X,X]) \overset{U i_{[X,X]}}{\to} U([I,[X,X]]) = C(I,[X,X])

sends 1 X1_X to j Xj_X. (This is then essentially a definition of j Xj_X, so that it could be omitted from the definition.)

The two are essentially equivalent, and the one given here is perhaps a little simpler, as well as obeying the principle of equivalence. To be precise, every closed category in the sense of Eilenberg-Kelly is also one in the above sense, and conversely every closed category in the above sense is isomorphic to one in the sense of Eilenberg-Kelly. The latter has the same objects and internal-homs, but new hom-sets C^(X,Y)C(I,[X,Y])\hat{C}(X,Y) \coloneqq C(I,[X,Y]), and underlying-set functor U(X)C(I,X)U(X) \coloneqq C(I,X) (note that this is different from C^(I,X)=C(I,[I,X])\hat{C}(I,X) = C(I,[I,X])). See Manzyuk for the proof.

Omitting units: prounital closed categories

The fact (discussed below) that closed categories, in the above sense, are equivalent to closed multicategories with unit, suggests that there ought to be a version of closed categories that don’t necessarily have a unit object II. In fact in this case the definition becomes simpler because we can omit all the ii‘s and jj’s, but there is an additional wrinkle that we have to include “left evaluation” as a new operation. Furthermore, it seems that we have to use the Eilenberg-Kelly version of the definition, not the LaPlaza one; the “underlying set” functor U:CSetU:C\to Set corresponds to the nullary homsets C(;)C(;-) of a multicategory.

A prounital closed category is a category CC together with the following data:

  • A functor [,]:C op×CC[-,-] : C^{op} \times C \to C, called the internal hom-functor.

  • A functor U:CSetU : C \to Set.

  • A transformation L YZ X:[Y,Z][[X,Y],[X,Z]]L^X_{Y Z} \colon [Y,Z] \to [ [X,Y],[X,Z]], natural in YY and ZZ and extranatural in XX.

  • A transformation ev:U(X)C([X,Y],Y)ev : U(X) \cdot C([X,Y], Y), natural in XX and extranatural in YY.

which is required to satisfy the following axioms.

  • U([X,Y])=C(X,Y)U([X,Y]) = C(X,Y) strictly and naturally, i.e. U[,]=C(,)U \circ [-,-] = C(-,-) as functors C op×CSetC^{op}\times C\to Set. (Note that this can be phrased in accord with the principle of equivalence by considering U:CSetU : C \to Set as a displayed category over SetSet.)

  • For any X,YCX,Y\in C we have U(L YY X)(1 Y)=1 [X,Y]U(L^X_{Y Y})(1_Y) = 1_{[X,Y]}. (Note that L YY X:[X,X][[X,Y],[X,Y]]L^X_{Y Y} : [X,X] \to [ [X,Y],[X,Y]], so U(L YY X)(1 Y):C(X,X)C([X,Y],[X,Y])U(L^X_{Y Y})(1_Y) : C(X,X) \to C([X,Y],[X,Y]).)

  • For any X,YCX,Y\in C the composite [X,Y]L XY X[[X,X],[X,Y]]ev 1 X[X,Y][X,Y] \xrightarrow{L^X_{X Y}} [ [X,X],[X,Y]] \xrightarrow{ev_{1_X}} [X,Y] is the identity.

  • The following diagram commutes for any X,Y,U,VX,Y,U,V.

    [U,V] L UV Y [[Y,U],[Y,V]] L UV X [[X,U],[X,V]] [1,L YV X] L [X,U],[X,V] [X,Y] [[[X,Y],[X,U]],[[X,Y],[X,V]]] [L YU X,1] [[Y,U],[[X,Y],[X,V]]]\array{[U,V] & \overset{L^Y_{U V}}{\to} & [ [Y,U],[Y,V]]\\ ^{L^X_{U V}}\downarrow && \\ [ [X,U],[X,V]] & & \downarrow^{[1,L^X_{Y V}]} \\ ^{L^{[X,Y]}_{[X,U],[X,V]}}\downarrow && \\ [ [ [X,Y],[X,U]],[ [X,Y],[X,V]]] & \underset{[L^X_{Y U},1]}{\to} & [ [Y,U],[ [X,Y],[X,V]]]}
  • Some axiom(s) relating LL to evev. For instance, for any xU(X)x\in U(X) the following diagram should commute:

    [Y,Z] L YZ X [[X,Y],[X,Z]] [ev x,Z] [[X,Y],ev x] [[X,Y],Z]\array{ [Y,Z] & \overset{L^X_{Y Z}}{\to} & [ [X,Y],[X,Z]]\\ & _{[ev_x,Z]}\searrow & \downarrow^{[ [X,Y],ev_x]} \\ && [ [X,Y],Z]}

The second and third axioms, plus naturality of evev, should imply a more general form of the second axiom: for any f:XYf:X\to Y, the composite [Y,Z]L YZ X[[X,Y],[X,Z]]ev f[X,Z][Y,Z] \xrightarrow{L^X_{Y Z}} [ [X,Y],[X,Z]] \xrightarrow{ev_f} [X,Z] equals the functorial action [f,Z][f,Z].

I haven’t worked out exactly what axioms are required here.

Symmetric and cartesian versions

A symmetric closed category is additionally equipped with natural isomorphisms C Z XY:[X,[Y,Z]][Y,[X,Z]]C^{X Y}_Z : [X,[Y,Z]] \cong [Y,[X,Z]] satisfying appropriate axioms; see deSchipper75 and DayLaPlaza78. These should correspond to symmetric multicategories.

Similarly, a “cartesian closed category” (there is an unfortunate terminological clash with cartesian closed category) should furthermore have morphisms K Y X:Y[X,Y]K^X_Y : Y\to [X,Y] and T Y X:[X,[X,Y]][X,Y]T^X_Y : [X,[X,Y]]\to [X,Y] satisfying appropriate axioms. They should correspond to cartesian multicategories. The relation to combinatory logic suggests that it should also be possible to axiomatize the cartesian case by replacing LL, CC, and TT with a single family of morphisms S YZ X:[X,[Y,Z]][[X,Y],[X,Z]]S^X_{Y Z} : [X,[Y,Z]]\to [ [X,Y],[X,Z]].

I don’t know of anywhere that the details are worked out for the cartesian case.

Examples

  • Any closed monoidal category gives a closed category, by simply forgetting the tensor product and remembering only the internal-hom. Most examples seem to be of this sort (in fact, as discussed below, every closed category arises as the full subcategory of a closed monoidal category). However, as remarked above it, is often the case that the closed structure is “primary” and the tensor product is defined as a left adjoint to it (see below). For instance:

    • In the category Ab of abelian groups the internal-hom [X,Y][X,Y] is the set of group homomorphisms XYX\to Y with the pointwise addition, giving a closed category.

    • More generally, for any commutative theory TT, the category of TT-algebras has an internal-hom [X,Y][X,Y] that is the set of TT-algebra maps with the pointwise operations (this is again a TT-algebra by commutativity).

    • In the category 2Cat of strict 2-categories, the internal-hom [X,Y][X,Y] can be taken to be the category of strict 2-functors XYX\to Y and pseudo, lax, or oplax natural transformations between them, giving three closed categories.

    • In the category UnifUnif of uniform spaces the internal-hom [X,Y][X,Y] can be taken to be the set of uniformly continuous functions XYX\to Y with either the uniformity of uniform convergence or of pointwise convergence, giving two closed categories.

    In all these examples there is a corresponding tensor product, but its construction is much less intuitive, being essentially defined by a sort of adjoint functor theorem or initial lift that gives little information about what it actually looks like.

  • Any multicategory which has a unit, i.e. an object II such that C(;Y)C(I;Y)C(;Y) \cong C(I;Y) naturally, and is closed in the sense that for any Y,ZY,Z there is an object [Y,Z][Y,Z] with natural isomorphisms C(X 1,,X n,Y;Z)C(X 1,,X n;[Y,Z])C(X_1,\dots,X_n,Y;Z) \cong C(X_1,\dots,X_n; [Y,Z]), gives rise to a closed category. Conversely, from any closed category we can construct a multicategory of this sort, by defining the multimaps as C(X 1,,X n;Z)=C(I,[X 1,,[X n,Z]])C(X_1,\dots,X_n; Z) = C(I, [X_1,\dots,[X_n,Z]]). Thus closed categories are essentially equivalent to closed unital multicategories.

Properties

The closed enrichment context

The closed structure on a category 𝒱 0\mathcal{V}_0 is an enrichment context 𝒱\mathcal{V} relative to which we can define a category of V-enriched categories. From this point of view, a closed structure is more natural than a monoidal structure since most (if not all) of this structure is forced if one insists for an enrichment context 𝒱\mathcal{V} for which 𝒱 0\mathcal{V}_0 is self-enriched, that is, isomorphic to the underlying category 𝒱 0 e\mathcal{V}^e_0 of some 𝒱\mathcal{V}-enriched category 𝒱 e\mathcal{V}^e. See category of V-enriched categories for details.

Reconstruction of monoidal structure

Suppose CC is a closed category such that the functor [A,[B,]]:CC[A,[B,-]] : C \to C is representable as a CC-enriched functor. This means we have an object ABA\otimes B and a CC-natural isomorphism

[A,[B,X]][AB,X]. [A,[B,X]] \cong [A\otimes B,X].

Then CC is a (closed) monoidal category. See Eilenberg–Kelly (1965) for details.

Note that although this is analogous to the fact that a monoidal category with right adjoints to tensor product is a closed category, the requisite hypothesis is stronger. When CC is given as monoidal, we need only SetSet-natural isomorphisms of hom-sets C(AB,X)C(A,[B,X])C(A\otimes B,X) \cong C(A,[B,X]) to make it closed, whereas when CC is closed we need the above CC-natural isomorphism of internal hom-objects to make it monoidal.

Embedding into closed monoidal categories

By a result due to Miguel LaPlaza (1977), every closed category embeds fully and faithfully into a closed monoidal category by a strong closed functor, i.e., one respecting closed structure up to suitably coherent isomorphism, and this closed functor is also strong monoidal if the original closed category is closed monoidal. In particular, this functor is defined as the composition q=ypq = y \circ p of the functor

p:CE opp : C \to E^\op

sending an object XCX \in C to the object (endofunctor) [X,]E=[C,C][X,-] \in E = [C,C], together with the Yoneda embedding y:E op[E,Set]y : E^\op \to [E, Set]. The closed monoidal structure on the presheaf category [E,Set][E,Set] is given by Day convolution, using the monoidal structure of the category of endofunctors EE (see closed monoidal structure on presheaves over a monoidal category?).

An alternative embedding was also sketched by Day (1974), and later studied by Day and LaPlaza (1978) in the case of symmetric closed categories. This embedding is based on the fact that the construction of a closed monoidal category of presheaves does not actually require the base category to be monoidal: it suffices for it to be a promonoidal category?, and any closed category gives rise to such a promonoidal structure (perhaps a “lax” one with noninvertible associativity). So, instead of using the category of copresheaves on the monoidal category of endofunctors [[C,C],Set][ [C,C],Set] as in (LaPlaza 1977), the embedding in (Day 1974) and (Day and LaPlaza 1978) uses [C,Set][C,Set] itself. One can then restrict to a small subcategory AA of [C,Set][C,Set] and compose further with a restricted version of its Yoneda embedding in order to obtain an embedding of CC into a closed monoidal category that also preserves certain colimits in CC.

Monadicity and 2-categories

Since the notion of closed category involves a contravariant functor and extranatural transformations, it cannot be expected to be 2-monadic over the 2-category Cat. It is, however, 2-monadic over the 2-category Cat gCat_g of categories, functors, and natural isomorphisms, the core of Cat. In this way we obtain a 2-category ClCatClCat of closed categories, strong closed functors, and closed natural transformations. One can also define a notion of non-strong, or “lax,” closed functor; although these do not seemingly arise from the 2-monad in question, they generalize lax monoidal functors between closed monoidal categories.

Extension systems

There is a notion that is related to a bicategory in the same way that a closed category is related to a monoidal category, i.e. a horizontal categorification of a closed category. It has a set of “objects”, for any two objects A,BA,B a category (A,B)\mathcal{B}(A,B), and internal-hom functors like those in a closed bicategory?. It was defined by Street under the name extension system, although our page extension system is about an unrelated concept with the same name.

References

Closed categories were first defined here:

Their coherence theorem was considered in terms of Kelly-Mac Lane graphs in

They were shown to be equivalent to closed unital multicategories here:

  • Oleksandr Manzyuk, Closed categories vs. closed multicategories, arXiv, 2009

You can get some of the idea from a post by Owen Biesel at the nn-Café.

LaPlaza’s theorem on embedding closed categories in closed monoidal categories is given in

The alternative embedding of closed categories based on promonoidal Day convolution is discussed in

  • Brian Day, An embedding theorem for closed categories, Lecture Notes in Mathematics 420 (1974), 55-64.

  • B. J. Day and M. L. Laplaza, On Embedding Closed Categories, Bull. Austral. Math. Soc. 18 (1978), 357-371.

The latter uses the notion of symmetric closed category, which was first defined in

  • W.J. de Schipper, Symmetric closed categories (Mathematical Centre Tracts, 64. Mathematisch Centrum, Amsterdam, 1975)

The generalization to a bicategory-like notion (“extension systems”) appears in

  • Ross Street, Elementary cosmoi I, Category Seminar (Proc. Sem., Sydney, 1972/1973), 134–180, Lecture Notes in Math., vol. 420, Springer, Berlin, 1974.

Last revised on July 30, 2018 at 08:18:26. See the history of this page for a list of all contributions to it.