In
category theory, a span, roof or correspondence is a generalization of the notion of
relation between two
objects of a
category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization, categories in cognitive science, information science and generally
* Category of being
* ''Categories'' (Aristotle)
* Category (Kant)
* Categories (Peirce) ...
. When the category has all
pullbacks (and satisfies a small number of other conditions), spans can be considered as
morphism
In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphis ...
s in a
category of fractions.
The notion of a span is due to
Nobuo Yoneda
was a Japanese mathematician and computer scientist.
In 1952, he graduated the Department of Mathematics, the Faculty of Science, the University of Tokyo, and obtained his Bachelor of Science. That same year, he was appointed Assistant Professo ...
(1954) and
Jean Bénabou (1967).
Formal definition
A span is a
diagram
A diagram is a symbolic representation of information using visualization techniques. Diagrams have been used since prehistoric times on walls of caves, but became more prevalent during the Enlightenment. Sometimes, the technique uses a three ...
of type
i.e., a diagram of the form
.
That is, let Λ be the category (-1 ← 0 → +1). Then a span in a category ''C'' is a
functor
In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, an ...
''S'' : Λ → ''C''. This means that a span consists of three objects ''X'', ''Y'' and ''Z'' of ''C'' and morphisms ''f'' : ''X'' → ''Y'' and ''g'' : ''X'' → ''Z'': it is two maps with common ''domain''.
The
colimit
In category theory, a branch of mathematics, the abstract notion of a limit captures the essential properties of universal constructions such as products, pullbacks and inverse limits. The dual notion of a colimit generalizes constructions su ...
of a span is a
pushout.
Examples
* If ''R'' is a relation between
sets ''X'' and ''Y'' (i.e. a
subset
In mathematics, set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset o ...
of ''X'' × ''Y''), then ''X'' ← ''R'' → ''Y'' is a span, where the maps are the projection maps
and
.
* Any object yields the trivial span ''A'' ← ''A'' → ''A,'' where the maps are the identity.
* More generally, let
be a morphism in some category. There is a trivial span ''A'' ← ''A'' → ''B'', where the left map is the identity on ''A,'' and the right map is the given map ''φ''.
* If ''M'' is a
model category
In mathematics, particularly in homotopy theory, a model category is a category with distinguished classes of morphisms ('arrows') called ' weak equivalences', 'fibrations' and ' cofibrations' satisfying certain axioms relating them. These abstrac ...
, with ''W'' the set of
weak equivalences, then the spans of the form
where the left morphism is in ''W,'' can be considered a generalised morphism (i.e., where one "inverts the weak equivalences"). Note that this is not the usual point of view taken when dealing with model categories.
Cospans
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
i.e., a diagram of the form
.
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
Limit or Limits may refer to:
Arts and media
* ''Limit'' (manga), a manga by Keiko Suenobu
* ''Limit'' (film), a South Korean film
* Limit (music), a way to characterize harmony
* "Limit" (song), a 2016 single by Luna Sea
* "Limits", a 2019 ...
of a cospan is a
pullback
In mathematics, a pullback is either of two different, but related processes: precomposition and fiber-product. Its dual is a pushforward.
Precomposition
Precomposition with a function probably provides the most elementary notion of pullback: ...
.
An example of a cospan is a
cobordism
In mathematics, cobordism is a fundamental equivalence relation on the class of compact manifolds of the same dimension, set up using the concept of the boundary (French '' bord'', giving ''cobordism'') of a manifold. Two manifolds of the same ...
''W'' between two
manifold
In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an n-dimensional manifold, or ''n-manifold'' for short, is a topological space with the property that each point has a ...
s ''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
In mathematics, specifically category theory, a subcategory of a category ''C'' is a category ''S'' whose objects are objects in ''C'' and whose morphisms are morphisms in ''C'' with the same identities and composition of morphisms. Intuitively ...
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
*
Binary relation
In mathematics, a binary relation associates elements of one set, called the ''domain'', with elements of another set, called the ''codomain''. A binary relation over Set (mathematics), sets and is a new set of ordered pairs consisting of ele ...
*
Pullback (category theory)
In category theory, a branch of mathematics, a pullback (also called a fiber product, fibre product, fibered product or Cartesian square) is the limit of a diagram consisting of two morphisms and with a common codomain. The pullback is often ...
*
Pushout (category theory)
In category theory, a branch of mathematics, a pushout (also called a fibered coproduct or fibered sum or cocartesian square or amalgamated sum) is the colimit of a diagram consisting of two morphisms ''f'' : ''Z'' → ''X'' and ''g'' : ''Z' ...
*
Cobordism
In mathematics, cobordism is a fundamental equivalence relation on the class of compact manifolds of the same dimension, set up using the concept of the boundary (French '' bord'', giving ''cobordism'') of a manifold. Two manifolds of the same ...
References
* {{nlab, id=span
*Yoneda, Nobuo, On the homology theory of modules. ''J. Fac. Sci. Univ. Tokyo Sect. I'',7 (1954), 193–227.
*Bénabou, Jean, Introduction to Bicategories, Lecture Notes in Mathematics 47, Springer (1967), pp.1-77
Functors