In
category theory, a branch of
mathematics, a diagram is the categorical analogue of an
indexed family in
set theory
Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concer ...
. The primary difference is that in the categorical setting one has
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 that also need indexing. An indexed
family of sets
In set theory and related branches of mathematics, a collection F of subsets of a given set S is called a family of subsets of S, or a family of sets over S. More generally, a collection of any sets whatsoever is called a family of sets, set fa ...
is a collection of sets, indexed by a fixed set; equivalently, a ''function'' from a fixed index ''set'' to the class of ''sets''. A diagram is a collection of objects and morphisms, indexed by a fixed category; equivalently, a ''functor'' from a fixed index ''category'' to some ''category''.
The universal functor of a diagram is the
diagonal functor In category theory, a branch of mathematics, the diagonal functor \mathcal \rightarrow \mathcal \times \mathcal is given by \Delta(a) = \langle a,a \rangle, which maps objects as well as morphisms. This functor can be employed to give a succinc ...
; its
right adjoint
In mathematics, specifically category theory, adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories. Two functors that stand in this relationship are kn ...
is 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 the diagram and its left adjoint is the colimit. The
natural transformation
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a na ...
from the diagonal functor to some arbitrary diagram is called a
cone
A cone is a three-dimensional geometric shape that tapers smoothly from a flat base (frequently, though not necessarily, circular) to a point called the apex or vertex.
A cone is formed by a set of line segments, half-lines, or lines co ...
.
Definition
Formally, a diagram of type ''J'' in 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) ...
''C'' is a (
covariant)
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 ...
The category ''J'' is called the index category or the scheme of the diagram ''D''; the functor is sometimes called a ''J''-shaped diagram.
[ ] The actual objects and morphisms in ''J'' are largely irrelevant; only the way in which they are interrelated matters. The diagram ''D'' is thought of as indexing a collection of objects and morphisms in ''C'' patterned on ''J''.
Although, technically, there is no difference between an individual ''diagram'' and a ''functor'' or between a ''scheme'' and a ''category'', the change in terminology reflects a change in perspective, just as in the set theoretic case: one fixes the index category, and allows the functor (and, secondarily, the target category) to vary.
One is most often interested in the case where the scheme ''J'' is a
small
Small may refer to:
Science and technology
* SMALL, an ALGOL-like programming language
* Small (anatomy), the lumbar region of the back
* ''Small'' (journal), a nano-science publication
* <small>, an HTML element that defines smaller text ...
or even
finite
Finite is the opposite of infinite. It may refer to:
* Finite number (disambiguation)
* Finite set, a set whose cardinality (number of elements) is some natural number
* Finite verb
Traditionally, a finite verb (from la, fīnītus, past partici ...
category. A diagram is said to be small or finite whenever ''J'' is.
A morphism of diagrams of type ''J'' in a category ''C'' is a
natural transformation
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a na ...
between functors. One can then interpret the category of diagrams of type ''J'' in ''C'' as the
functor category In category theory, a branch of mathematics, a functor category D^C is a category where the objects are the functors F: C \to D and the morphisms are natural transformations \eta: F \to G between the functors (here, G: C \to D is another object i ...
''C''
''J'', and a diagram is then an object in this category.
Examples
* Given any object ''A'' in ''C'', one has the constant diagram, which is the diagram that maps all objects in ''J'' to ''A'', and all morphisms of ''J'' to the identity morphism on ''A''. Notationally, one often uses an underbar to denote the constant diagram: thus, for any object
in ''C'', one has the constant diagram
.
* If ''J'' is a (small)
discrete category, then a diagram of type ''J'' is essentially just an
indexed family of objects in ''C'' (indexed by ''J''). When used in the construction of 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 ...
, the result is the
product; for the colimit, one gets the
coproduct
In category theory, the coproduct, or categorical sum, is a construction which includes as examples the disjoint union of sets and of topological spaces, the free product of groups, and the direct sum of modules and vector spaces. The cop ...
. So, for example, when ''J'' is the discrete category with two objects, the resulting limit is just the binary product.
* If ''J'' = −1 ← 0 → +1, then a diagram of type ''J'' (''A'' ← ''B'' → ''C'') is a
span
Span may refer to:
Science, technology and engineering
* Span (unit), the width of a human hand
* Span (engineering), a section between two intermediate supports
* Wingspan, the distance between the wingtips of a bird or aircraft
* Sorbitan es ...
, and its colimit is a
pushout. If one were to "forget" that the diagram had object ''B'' and the two arrows ''B'' → ''A'', ''B'' → ''C'', the resulting diagram would simply be the discrete category with the two objects ''A'' and ''C'', and the colimit would simply be the binary coproduct. Thus, this example shows an important way in which the idea of the diagram generalizes that of the
index set
In mathematics, an index set is a set whose members label (or index) members of another set. For instance, if the elements of a set may be ''indexed'' or ''labeled'' by means of the elements of a set , then is an index set. The indexing consis ...
in set theory: by including the morphisms ''B'' → ''A'', ''B'' → ''C'', one discovers additional structure in constructions built from the diagram, structure that would not be evident if one only had an index set with no relations between the objects in the index.
*
Dual
Dual or Duals may refer to:
Paired/two things
* Dual (mathematics), a notion of paired concepts that mirror one another
** Dual (category theory), a formalization of mathematical duality
*** see more cases in :Duality theories
* Dual (grammatical ...
to the above, if ''J'' = −1 → 0 ← +1, then a diagram of type ''J'' (''A'' → ''B'' ← ''C'') is a
cospan, and its limit 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: ...
.
* The index
is called "two parallel morphisms", or sometimes the
free quiver or the
walking quiver. A diagram of type
is then a
quiver
A quiver is a container for holding arrows, bolts, ammo, projectiles, darts, or javelins. It can be carried on an archer's body, the bow, or the ground, depending on the type of shooting and the archer's personal preference. Quivers were tr ...
; its limit is an
equalizer, and its colimit is a
coequalizer
In category theory, a coequalizer (or coequaliser) is a generalization of a quotient by an equivalence relation to objects in an arbitrary category. It is the categorical construction dual to the equalizer.
Definition
A coequalizer is a co ...
.
* If ''J'' is a
poset category, then a diagram of type ''J'' is a family of objects ''D''
''i'' together with a unique morphism ''f''
''ij'' : ''D''
''i'' → ''D''
''j'' whenever ''i'' ≤ ''j''. If ''J'' is
directed
Director may refer to:
Literature
* ''Director'' (magazine), a British magazine
* ''The Director'' (novel), a 1971 novel by Henry Denker
* ''The Director'' (play), a 2000 play by Nancy Hasty
Music
* Director (band), an Irish rock band
* ''D ...
then a diagram of type ''J'' is called a
direct system
In mathematics, the ind-completion or ind-construction is the process of freely adding filtered colimits to a given category ''C''. The objects in this ind-completed category, denoted Ind(''C''), are known as direct systems, they are functors fr ...
of objects and morphisms. If the diagram is
contravariant then it is called an
inverse system.
Cones and limits
A
cone
A cone is a three-dimensional geometric shape that tapers smoothly from a flat base (frequently, though not necessarily, circular) to a point called the apex or vertex.
A cone is formed by a set of line segments, half-lines, or lines co ...
with vertex ''N'' of a diagram ''D'' : ''J'' → ''C'' is a morphism from the constant diagram Δ(''N'') to ''D''. The constant diagram is the diagram which sends every object of ''J'' to an object ''N'' of ''C'' and every morphism to the identity morphism on ''N''.
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 diagram ''D'' is a
universal cone to ''D''. That is, a cone through which all other cones uniquely factor. If the limit exists in a category ''C'' for all diagrams of type ''J'' one obtains a functor
which sends each diagram to its limit.
Dually, 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 diagram ''D'' is a universal cone from ''D''. If the colimit exists for all diagrams of type ''J'' one has a functor
which sends each diagram to its colimit.
Commutative diagrams
Diagrams and functor categories are often visualized by
commutative diagrams, particularly if the index category is a finite
poset category with few elements: one draws a commutative diagram with a node for every object in the index category, and an arrow for a generating set of morphisms, omitting identity maps and morphisms that can be expressed as compositions. The commutativity corresponds to the uniqueness of a map between two objects in a poset category. Conversely, every commutative diagram represents a diagram (a functor from a poset index category) in this way.
Not every diagram commutes, as not every index category is a poset category:
most simply, the diagram of a single object with an endomorphism or with two parallel arrows (
;
) need not commute. Further, diagrams may be impossible to draw (because they are infinite) or simply messy (because there are too many objects or morphisms); however, schematic commutative diagrams (for subcategories of the index category, or with ellipses, such as for a directed system) are used to clarify such complex diagrams.
See also
*
Diagonal functor In category theory, a branch of mathematics, the diagonal functor \mathcal \rightarrow \mathcal \times \mathcal is given by \Delta(a) = \langle a,a \rangle, which maps objects as well as morphisms. This functor can be employed to give a succinc ...
*
Direct system
In mathematics, the ind-completion or ind-construction is the process of freely adding filtered colimits to a given category ''C''. The objects in this ind-completed category, denoted Ind(''C''), are known as direct systems, they are functors fr ...
*
Inverse system
References
* Now available as free on-line edition (4.2MB PDF).
* Revised and corrected free online version of ''Grundlehren der mathematischen Wissenschaften (278)'' Springer-Verlag, 1983).
* {{nlab, id=diagram
External links
Diagram Chasingat
MathWorld
''MathWorld'' is an online mathematics reference work, created and largely written by Eric W. Weisstein. It is sponsored by and licensed to Wolfram Research, Inc. and was partially funded by the National Science Foundation's National Science ...
WildCatsis a category theory package for
Mathematica
Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimi ...
. Manipulation and visualization of objects,
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, commutative diagrams, categories,
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,
natural transformation
In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a na ...
s.
Functors