In
mathematics,
category theory deals in an abstract way with mathematical structures and relationships between them.
Categories now appear in most branches of mathematics and in some areas of
theoretical computer science and
mathematical physics, and have been a unifying notion. Categories were first introduced by
Samuel Eilenberg and
Saunders Mac Lane in 1942-1945, in connection with
algebraic topology.
Category theory has several faces known, not just to specialists, but to other mathematicians. "Generalized
abstract nonsense" refers, not entirely affectionately, to its high level of abstraction, compared to more classical branches of mathematics.
Homological algebra is category theory in its aspect of organising and suggesting calculations in
abstract algebra.
Diagram chasing is a visual method of arguing with abstract 'arrows', and has appeared in a Hollywood film, as
Jill Clayburgh proved the
snake lemma (at the start of
It's My Turn, 1980).
Topos theory is a form of abstract
sheaf theory, with geometric origins, and leads to ideas such as
pointless topology.
Background
The study of
categories is an attempt to capture what is commonly found in various classes of related mathematical structures.
Consider the following example. The
class Grp of
groups consists of all objects having a "group structure". More precisely,
Grp consists of all
sets G endowed with a
binary operation satisfying a certain set of
axioms. One can proceed to
prove theorems about groups by making logical deductions from the set of axioms. For example, it is immediately proved from the axioms that the
identity element of a group is unique.
Instead of focusing merely on the individual objects (e.g. groups) possessing a given structure, category theory emphasizes the
morphisms — the structure-preserving mappings — between these objects. It turns out that by studying these morphisms, we are able to learn more about the structure of the objects. In
the case of groups, the morphisms are the
group homomorphisms. A group homomorphism between two groups "preserves the group structure" in a precise sense — it is a "process" taking one group to another, in a way that carries along information about the structure of the first group into the second group. The study of group homomorphisms then provides a tool for studying general properties of groups and consequences of the group axioms.
A similar type of investigation occurs in many mathematical theories. The notion of a category is an
axiomatic formulation of this idea of relating mathematical structures to the structure-preserving functions between them. A systematic study of categories then allows us to prove general results from the axioms of a category.
A category is itself a type of mathematical structure, so we can look for 'processes' which preserve this structure in some sense. Such a process is called a
functor. It associates to every object of one category an object of another category; and to every morphism in the first category a morphism in the second. By studying categories and functors, we are not just studying a class of mathematical structures and the morphisms between them, we are studying the
relationships between various classes of mathematical structure. This is a fundamental idea, which first surfaced in
algebraic topology. Difficult
topological questions can be translated into
algebraic questions which are often easier to solve. Basic constructions, such as the
fundamental group of a
topological space, can be expressed as functors in this way.
Constructions are often "naturally related", a vague notion at first sight. This leads to the clarifying concept of
natural transformation, a way to "map" one functor to another. Many important constructions in mathematics can be studied in this context. 'Naturality' is a principle, like
general covariance in physics, that cuts deeper than is initially apparent.
Historical notes
Categories, functors and natural transformations were first introduced by
Samuel Eilenberg and
Saunders Mac Lane in 1942 (1945) in
topology, especially
algebraic topology, as an important part of the transition from
homology (an intuitive and geometric concept) to
homology theory, an
axiomatic approach. It has been claimed, for example by or on behalf of
Stanislaw Ulam, that comparable ideas were current in the late 1930s in the Polish school. These ideas were in some ways a continuation of the contributions of
Emmy Noether (one of Mac Lane's teachers) in formalizing abstract processes in the first half of the 20th-century. Noether realized that in order to understand a type of mathematical structure, one really needs to understand the processes preserving this structure. Eilenberg and Mac Lane gave an
axiomatic formalization of this relation between structures and the processes preserving them.
Eilenberg and Mac Lane have said that their goal was to understand natural transformations; in order to do that, functors had to be defined; and to define functors one needed categories.
The subsequent development of the theory was powered first by the computational needs of
homological algebra; and then by the axiomatic needs of
algebraic geometry, the field most resistant to the Russell-Whitehead view of united foundations. General category theory, an updated
universal algebra with many new features allowing for semantic flexibility and
higher-order logic, came later; it is now applied throughout mathematics.
Special categories called
topoi (singular
topos) can even serve as an alternative to
axiomatic set theory as the foundation of mathematics. These broadly based foundational applications of category theory are contentious; but they have been worked out in quite some detail, as a commentary on or basis for
constructive mathematics. It seems fair to say that axiomatic set theory has thus far not been replaced by the category-theoretic commentary on it, in the everyday usage of most mathematicians. The idea of bringing category theory into earlier, undergraduate teaching (signified by the difference between the
Birkhoff-Mac Lane and later
Mac Lane-Birkhoff abstract algebra texts) has hit noticeable opposition.
Categorical logic is now a well-defined field based on
type theory for
intuitionistic logics, with application to the theory of
functional programming and
domain theory, all in a setting of a
cartesian closed category as non-syntactic description of a
lambda calculus. At the very least, the use of category theory language allows one to clarify what exactly these related areas have in common (in an
abstract sense).
Categories, objects and morphisms
A
category C consists of the following three mathematical entities:
- A class ob(C) of objects;
- A class hom(C) of morphisms. Each morphism f has a unique source object a and target object b. We write f: a → b, and we say "f is a morphism from a to b". We write hom(a, b) [or Hom(a, b), or homC(a, b)] to denote the hom-class of all morphisms from a to b. (Some authors write Mor(a, b) or C(a, b).)
- A binary operation
, called composition of morphisms, such that for any three objects a, b, and c, we have hom(a, b) × hom(b, c) → hom(a, c). The composition of f: a → b and g: b → c is written as
or gf. (Some authors write fg.),
governed by two axioms:
- Associativity: If f : a → b, g : b → c and h : c → d then
, and
- Identity: For every object x, there exists a morphism 1x : x → x called the identity morphism for x, such that for every morphism f : a → b, we have
.
From these axioms, it can be proved that there is exactly one
identity morphism for every object. Some authors deviate from the definition just given by identifying each object with its identity morphism.
Relations among morphisms (such as
fg =
h) are often depicted using
commutative diagrams, with "points" (corners) representing objects and "arrows" representing morphisms. The influence of commutative diagrams has been such that "arrow" and
morphism are now
synonymous.
Some properties of morphisms
A morphism
f :
a →
b is called
- a monomorphism (or monic) if fg1 = fg2 implies g1 = g2 for all morphisms g1, g2 : x → a.
- an epimorphism (or epic) if g1f = g2f implies g1 = g2 for all morphisms g1, g2 : b → x.
- an isomorphism if there exists a morphism g : b → a with fg = 1b and gf = 1a.[1]
- an endomorphism if a = b. The class of endomorphisms of a is denoted end(a).
- an automorphism if f is both an endomorphism and an isomorphism. The class of automorphisms of a is denoted aut(a).
Functors
Functors are structure-preserving maps between categories. They can be thought of as morphisms in the category of all (small) categories.
A (
covariant)
functor F from the category
C to the category
D
- associates to each object x in C an object F(x) in D;
- associates to each morphism f : x → y a morphism F(f) : F(x) → F(y)
such that the following two properties hold:
- F(1x) = 1F(x) for every object x in C.
for all morphisms f : x → y and g : y → z.
A
contravariant functor F from
C to
D is a functor that "turns morphisms around" ("reverses all the arrows"). Specifically,
F is contravariant if whenever
f :
x →
y is a morphism in
C, then
F(
f) :
F(
y) →
F(
x). The quickest way to define a contravariant functor is as a covariant functor from the
opposite category Cop to
D.
Natural transformations and isomorphisms
A
natural transformation is a relation between two functors. Functors often describe "natural constructions" and natural transformations then describe "natural homomorphisms" between two such constructions. Sometimes two quite different constructions yield "the same" result; this is expressed by a natural isomorphism between the two functors.
If
F and
G are (covariant) functors between the categories
C and
D, then a natural transformation from
F to
G associates to every object
x in
C a morphism η
x :
F(
x) →
G(
x) in
D such that for every morphism
f :
x →
y in
C, we have η
y o F(
f) =
G(
f)
o η
x; this means that the following diagram is
commutative:

Commutative diagram defining natural transformations
The two functors
F and
G are called
naturally isomorphic if there exists a natural transformation from
F to
G such that η
x is an isomorphism for every object
x in
C.
Universal constructions, limits, and colimits
Using the language of category theory, many areas of mathematical study can be cast into appropriate categories, such as the categories of all sets, groups, topologies, and so on. These categories surely have some objects that are "special" in a certain way, such as the
empty set or the
product of two topologies. Yet, in the definition of a category, objects are considered to be atomic; i.e.,
we do not know whether an object
A is a set, a topology, or any other abstract concept. Hence, the challenge is to define special objects without referring to the internal structure of these objects. But how can we define the empty set without referring to elements, or the product topology without referring to open sets?
The solution is to characterize these objects in terms of their relations to other objects, as given by the morphisms of the respective categories. Thus the task is to find
universal properties that uniquely determine the objects of interest. Indeed, it turns out that numerous important constructions can be described in a purely categorical way. The central concept which is needed for this purpose is called categorical
limit, and can be dualized to yield the notion of a
colimit.
Equivalent categories
It is a natural question to ask, under which conditions two categories can be considered to be "essentially the same", in the sense that theorems about one category can readily be transformed into theorems about the other category. The major tool one employs to describe such a situation is called
equivalence of categories. It is given by appropriate functors between two categories. Categorical equivalence has found numerous applications in mathematics.
Further concepts and results
The definitions of categories and functors provide only the very basics of categorical algebra. Additional important topics are listed below. Although there are strong interrelations between all of these topics, the given order can be considered as a guideline for further reading.
- The functor category DC has as objects the functors from C to D and as morphisms the natural transformations of such functors. The Yoneda lemma is one of the most famous basic results of category theory; it describes representable functors in functor categories.
- Duality: Every statement, theorem, or definition in category theory has a dual which is essentially obtained by "reversing all the arrows". If one statement is true in a category C then its dual will be true in the dual category Cop. This duality, which is transparent at the level of category theory, is often obscured in applications and can lead to surprising relationships.
- Adjoint functors: A functor can be left (or right) adjoint to another functor that maps in the opposite direction. Such a pair of adjoint functors typically arises from a construction defined by a universal property; it can be seen as a more abstract and powerful view on universal properties.
Higher-dimensional categories
Many of the above concepts, especially equivalence of categories, adjoint functor pairs, and functor categories, can be situated into the context of
higher-dimensional categories. Briefly, if we consider a morphism between two objects as a "process taking us from one object to another", then higher-dimensional categories allow us to profitably generalize this by considering "higher-dimensional processes".
For example, a (strict)
2-category is a category together with "morphisms between morphisms", i.e. processes which allow us to transform one morphism into another. We can then "compose" these "bimorphisms" both horizontally and vertically, and we require a 2-dimensional "exchange law" to hold, relating the two composition laws. In this context, the standard example is
Cat, the 2-category of all (small) categories, and in this example, bimorphisms of morphisms are simply
natural transformations of morphisms in the usual sense. Another basic example is to consider a 2-category with a single object—these are essentially
monoidal categories.
Bicategories are a weaker notion of 2-dimensional categories where the composition of morphisms is not strictly associative, but only associative "up to" an isomorphism.
This process can be extended for all
natural numbers n, and these are called
n-categories. There is even a notion of
ω-category corresponding to the
ordinal number ω. For a conversational introduction to these ideas, see
Baez (1996).
See also
Notes
1.
^ Note that a morphism that is both epic and monic is not necessarily an isomorphism! For example, in the category consisting of two objects A and B, the identity morphisms, and a single morphism f from A to B, f is both epic and monic but is not an isomorphism.
References
Available online for free:
- Adámek, Jiří, Herrlich, Horst, & Strecker, George E. (1990) Abstract and concrete categories. John Wiley & Sons. ISBN 0-471-60922-6.
- Freyd, Peter J. (1964) "Abelian Categories" , Harper and Row, New York
- Barr, Michael, & Wells, Charles (2002) Toposes, triples and theories. Revised and corrected translation of Grundlehren der mathematischen Wissenschaften (Springer-Verlag, 1983).
- Leinster, Tom (2004) Higher operads, higher categories (London Math. Society Lecture Note Series 298). Cambridge Univ. Press.
- Daniele Turi: Category Theory Lecture Notes (1996-2001), based on MacLane's book "Categories for the Working Mathematician"
- Michael Barr and Charles Wells: Category Theory Lecture Notes (1999), based on their book "Category Theory for Computing Science"
Other:
- Awodey, Steve (2006) "Category Theory" (Oxford Logic Guides 49). Oxford University Press.
- Borceux, Francis (1994) Handbook of categorical algebra (Encyclopedia of Mathematics and its Applications 50-52). Cambridge Univ. Press.
- Freyd, Peter J. & Scedrov, Andre, (1990) Categories, allegories (North Holland Mathematical Library 39). North Holland.
- Hatcher, William S. (1982) The Logical Foundations of Mathematics, 2nd ed. Pergamon. Chpt. 8 is an idiosyncratic introduction to category theory, presented as a natural outgrowth of abstract algebra.
- Lawvere, William, & Schanuel, Steve (1997) Conceptual mathematics: a first introduction to categories. Cambridge University Press.
- Mac Lane, Saunders (1998) Categories for the Working Mathematician. 2nd ed. (Graduate Texts in Mathematics 5). Springer-Verlag.
- Pedicchio, Maria Cristina & Tholen, Walter (2004) Categorical foundations (Encyclopedia of Mathematics and its Applications 97). Cambridge Univ. Press.
- Taylor, Paul, 1999. Practical Foundations of Mathematics. Cambridge University Press.
External links
Mathematics (colloquially, maths or math) is the body of knowledge centered on such concepts as quantity, structure, space, and change, and also the academic discipline that studies them. Benjamin Peirce called it "the science that draws necessary conclusions".
..... Click the link for more information.
In mathematics, categories allow one to formalize notions involving abstract structure and processes that preserve structure. Categories appear in virtually every branch of modern mathematics and are a central unifying notion.
..... Click the link for more information.
Theoretical computer science is the collection of topics of computer science that focuses on the more abstract, logical and mathematical aspects of computing, such as the theory of computation, analysis of algorithms and semantics of programming languages.
..... Click the link for more information.
Mathematical physics is the scientific discipline concerned with "the application of mathematics to problems in physics and the development of mathematical methods suitable for such applications and for the formulation of physical theories.
..... Click the link for more information.
Samuel Eilenberg (September 30, 1913—January 30, 1998) was a Polish mathematician. He was born in Warsaw, Russian Empire (now Poland) and died in New York, USA where he had spent much of his career as a professor at Columbia University.
He earned his Ph.D.
..... Click the link for more information.
Saunders Mac Lane (4 August 1909, Taftville, Connecticut – 14 April 2005, San Francisco) was an American mathematician who cofounded category theory with Samuel Eilenberg.
..... Click the link for more information.
For the topology of pointwise convergence, see .
Algebraic topology is a branch of mathematics in which tools from abstract algebra are used to study topological spaces.
..... Click the link for more information. Abstract nonsense is a popular term used by mathematicians to describe certain kinds of arguments and concepts in category theory. This term is believed to have been coined by the mathematician Norman Steenrod,[1][2]
..... Click the link for more information.
Homological algebra is the branch of mathematics which studies homology in a general algebraic setting. It is a relatively young discipline, whose origins can be traced to investigations in combinatorial topology (a precursor to algebraic topology) and abstract algebra (theory of
..... Click the link for more information.
Abstract algebra is the subject area of mathematics that studies algebraic structures, such as groups, rings, fields, modules, vector spaces, and algebras. Most authors nowadays simply write algebra instead of abstract algebra.
..... Click the link for more information.
In mathematics, especially the many applications of category theory, a commutative diagram is a diagram of objects and morphisms such that, when picking two objects, one can follow any path through the diagram and obtain the same result by composition.
..... Click the link for more information.
Jill Clayburgh
Born March 30 1944 (1944--) (age 63)
New York City
Jill Clayburgh
..... Click the link for more information.
In mathematics, particularly homological algebra, the snake lemma, a statement valid in every abelian category, is the crucial tool used to construct the long exact sequences that are ubiquitous in homological algebra and its applications, for instance in algebraic topology.
..... Click the link for more information.
topos (plural "topoi" or "toposes") is a type of category that behaves like the category of sheaves of sets on a topological space. For a discussion of the history of topos theory, see the article Background and genesis of topos theory.
..... Click the link for more information.
In mathematics, a sheaf is the basic tool for expressing relationships between small regions of a space and large regions. Beginning with a topological space X, a sheaf assigns to every region (technically, open set) U of X some data F(U
..... Click the link for more information.
In mathematics, pointless topology (also called point-free or pointfree topology) is an approach to topology which avoids the mentioning of points.
General concepts
..... Click the link for more information. In mathematics, categories allow one to formalize notions involving abstract structure and processes that preserve structure. Categories appear in virtually every branch of modern mathematics and are a central unifying notion.
..... Click the link for more information.
In set theory and its applications throughout mathematics, a class is a collection of sets (or sometimes other mathematical objects) that can be unambiguously defined by a property that all its members share.
..... Click the link for more information.
group is a set with a binary operation that satisfies certain axioms, detailed below. For example, the set of integers with addition is a group. The branch of mathematics which studies groups is called group theory.
..... Click the link for more information.
SET may stand for:
- Sanlih Entertainment Television, a television channel in Taiwan
- Secure electronic transaction, a protocol used for credit card processing,
..... Click the link for more information. In mathematics, a binary operation is a calculation involving two input quantities, in other words, an operation whose arity is two. Binary operations can be accomplished using either a binary function or binary operator.
..... Click the link for more information.
axiom is a sentence or proposition that is not proved or demonstrated and is considered as self-evident or as an initial necessary consensus for a theory building or acceptation.
..... Click the link for more information.
In mathematics, a proof is a demonstration that, assuming certain axioms, some statement is necessarily true. A proof is a logical argument, not an empirical one. That is, one must demonstrate that a proposition is true in all cases before it is considered a theorem of mathematics.
..... Click the link for more information.
theorem is a statement, often stated in natural language, that can be proved on the basis of explicitly stated or previously agreed assumptions. In logic, a theorem is a statement in a formal language that can be derived by applying rules and axioms from a deductive system.
..... Click the link for more information.
identity element (or neutral element) is a special type of element of a set with respect to a binary operation on that set. It leaves other elements unchanged when combined with them. This is used for groups and related concepts.
..... Click the link for more information.
In mathematics, a morphism is an abstraction of a structure-preserving mapping between two mathematical structures.
The most common example occurs when the process is a function or map which preserves the structure in some sense.
..... Click the link for more information.
In mathematics, given two groups (
G, *) and (
H, ·), a
group homomorphism from (
G, *) to (
H, ·) is a function
h :
G →
H such that for all
u and
v in
G it holds that
-
..... Click the link for more information. functor is a special type of mapping between categories. Functors can be thought of as morphisms in the category of small categories.
Functors were first considered in algebraic topology, where algebraic objects (like the fundamental group) are associated to topological
..... Click the link for more information.
For the topology of pointwise convergence, see .
Algebraic topology is a branch of mathematics in which tools from abstract algebra are used to study topological spaces.
..... Click the link for more information. For the fundamental group of a factor see von Neumann algebra.
In mathematics, the
fundamental group is one of the basic concepts of algebraic topology.
..... Click the link for more information.