nLab
comma object

The comma object of two morphisms f:AC and g:BC in a 2-category is an object (f/g) equipped with projections p:(f/g)A and q:(f/g)B and a 2-cell

Comma Square (f/g) A B C f g q p α

which is universal in the sense of a 2-limit.

Part of this (to be explicit) is the statement that for any object D, 1-morphisms p:DA, q:DB and 2-cell σ:fpgq there is a 1-morphism u:D(f/g) and isomorphisms pup, quq such that modulo these isomorphisms, we have σu=α. There is also an additional “2-dimensional universality” saying that given u:D(f/g) and v:D(f/g) and 2-cells μ:pupv and ν:quqv such that αv.fμ=gν.αu, there exists a unique 2-cell β:uv such that pβ=μ and qβ=ν. Note that the 2-dimensional property implies that in the 1-dimensional property, the 1-morphism u is unique up to unique isomorphism. A square containing a 2-cell with this property is sometimes called a comma square.

A strict comma object is analogous but has the universal property of a strict 2-limit. This means that given p, q, and σ as above, there exists a unique u:D(f/g) such that pu=p, qu=q, and σu=α. Note that any strict comma object is a comma object, but the converse is not in general true.

In Cat, a comma category is a comma object (in fact a strict one, as normally defined); these give their name to the general notion.