nLab
strict 2-category

Strict 2-categories

Idea

  • A strict 2-category is a directed 2-graph equipped with a composition operation on adjacent 1-cells and 2-cells which is strictly unital and associative.

  • The concept of a strict 2-category is the simplest generalization of a category to a higher category. It is the one-step categorification of the concept of a category.

The term 2-category implicitly refers to a globular structure. By contrast, double categories are based on cubes instead. The two notions are closely related, however: every strict 2-category gives rise to several strict double categories, and every double category has several underlying 2-categories.

Notice that double category is another term for 2-fold category. Strict 2-categories may be identified with those strict 2-fold/double categories whose category of vertical morphisms is discrete, or those whose category of horizontal morphisms is discrete.

(And similarly, strict globular n-categories may be identified with those n-fold categories for which all cube faces “in one direction” are discrete. A similar statement for weak n-categories is to be expected, but little seems to be known about this.)

Definition

A strict 2-category, often called simply a 2-category, is a category enriched over Cat, where Cat is treated as the 1-category of strict categories.

Similarly, a strict 2-groupoid? is a groupoid enriched over groupoids. This is also called a globular strict 2-groupoid, to emphasise the underlying geometry. The category of strict 2-groupoids is eqivalent to the category of crossed modules over groupoids. It is also equivalent to the category of (strict) double groupoids with connections.

They are also special cases of strict globular omega-groupoids, and the category of these is equivalent to the category of crossed complexes.

Details

Working out the meaning of ’Cat-enriched category’, we find that a strict 2-category K is given by

  • a collection obK of objects a,b,c,, together with
  • a hom-category K(a,b) for each a,b, and
  • a functor 1 a:1K(a,a) and a functor comp:K(b,c)×K(a,b)K(a,c) for each a,b,c

satisfying associativity and identity axioms (given here).

As for ordinary (Set-enriched) categories, an object fK(a,b) is called a morphism or 1-cell from a to b and written f:ab as usual. But given f,g:ab, it is now possible to have non-trivial arrows α:fgK(a,b), called 2-cells from f to g and written as α:fg. Because the hom-objects K(a,b) are by definition categories, 2-cells carry an associative and unital operation called vertical composition. The identities for this operation, of course, are the identity 2-cells 1 f given by the category structure on K(a,b).

The functor comp gives us an operation of horizontal composition on 2-cells. Functoriality of comp then says that given α:fg:ab and β:fg:bc, the composite comp(β,α) is a 2-cell βα:ffgg:ac. Note that the boundaries of the composite 2-cell are the composites of the boundaries of the components.

We also have the interchange law: because comp is a functor it commutes with composition in the hom-categories, so we have (writing vertical composition with and horizontal as juxtaposition):

(ββ)(αα)=(βα)(βα)(\beta' \circ \beta)(\alpha' \circ \alpha) = (\beta' \alpha') \circ (\beta \alpha)

The axioms for associativity and unitality of comp ensure that horizontal composition behaves just like composition of 1-cells in a 1-category. In particular, the action of comp on objects f,g of hom-categories (i.e. 1-cells of K) is the usual composite of morphisms.

More details

In even more detail, a strict 2-category K consists of

  • a collection ObK or Ob K of objects or 0-cells,
  • for each object a and object b, a collection K(a,b) or Hom K(a,b) of morphisms or 1-cells ab, and
  • for each object a, object b, morphism f:ab, and morphism g:ab, a collection K(f,g) or 2Hom K(f,g) of 2-morphisms or 2-cells fg or fg:ab,

equipped with

  • for each object a, an identity 1 a:aa or id a:aa,
  • for each a,b,c, f:ab, and g:bc, a composite f;g:ac or gf:ac,
  • for each f:ab, an identity 1 f:ff or Id f:ff,
  • for each f,g,h:ab, η:fg, and θ:gh, a vertical composite θη:fh,
  • for each a,b,c, f:ab, g,h:bc, and η:gh, a left whiskering ηf:gfhf, and
  • for each a,b,c, f,g:ab, h:bc, and η:fg, a right whiskering hη:hfhg,

such that

  • for each f:ab, the composites fid a and id bf each equal f,
  • for each afbgchd, the composites h(gf) and (hg)f are equal,
  • for each η:fg:ab, the vertical composites ηId f and Id gη both equal η,
  • for each fηgθhιi:ab, the vertical composites ι(θη) and (ιθ)η are equal,
  • for each afbgc, the whiskerings id gf and gid f both equal id gf,
  • for each f:ab and gηhθi:bc, the vertical composite (θf)(ηf) equals the whiskering (θη)f,
  • for each fηgθh:ab and i:bc, the vertical composite (iθ)(iη) equals the whiskering i(θη),
  • for each afbgc and η:hi:cd, the left whiskerings η(gf) and (ηg)f are equal,
  • for each f:ab, η:gh:bc, and i:cd, the whiskerings i(ηf) and (iη)f are equal,
  • for each η:fg:ab and bhcid, the right whiskerings i(hη) and (ih)η are equal, and
  • for each η:fg:ab and θ:hi:bc, the vertical composites (iη)(θf) and (θg)(hη) are equal.

The construction in the last axiom is the horizontal composite θη:hfig. It is possible (and probably more common) to take the horizontal composite as basic and the whiskerings as derived operations. This results in fewer, but more complicated, axioms.

Remarks

  • A strict 2-category is the same as a strict omega-category which is trivial in degree n3.

  • This is to be contrasted with a weak 2-category called a bicategory. In a strict 2-category composition of 1-morphisms is strictly associative and comoposition with identity morphisms strictly satisfies the required identity law. In a weak 2-category these laws may hold only up to coherent 2-morphisms.