A cospan
K in a category
C is a functor K : Λop →
C; equivalently, a
contravariant functor from Λ to
C. That is, a diagram of type \Lambda^\text{op} = (-1 \rightarrow 0 \leftarrow +1), i.e., a diagram of the form Y \rightarrow X \leftarrow Z. Thus it consists of three objects
X,
Y and
Z of
C and morphisms
f :
Y →
X and
g :
Z →
X: it is two maps with common
codomain. The
limit of a cospan is a
pullback. An example of a cospan is a
cobordism W between two
manifolds
M and
N, where the two maps are the inclusions into
W. Note that while cobordisms are cospans, the category of cobordisms is not a "cospan category": it is not the category of all cospans in "the category of manifolds with inclusions on the boundary", but rather a
subcategory thereof, as the requirement that
M and
N form a partition of the boundary of
W is a global constraint. The category
nCob of finite-dimensional cobordisms is a
dagger compact category. More generally, the category
Span(
C) of spans on any category
C with finite limits is also dagger compact. == See also ==