Category theory formalizes

The expression , would be verbally stated as "''f'' is a morphism from ''a'' to ''b''".

The expression – alternatively expressed as , , or – denotes the ''hom-class'' of all morphisms from ''a'' to ''b''. * A

^{op} to ''D''.

_{''X''} is an isomorphism for every object ''X'' in ''C''.

^{''C''} has as objects the functors from ''C'' to ''D'' and as morphisms the natural transformations of such functors. The ^{op}. This duality, which is transparent at the level of category theory, is often obscured in applications and can lead to surprising relationships.
*

John Baez, 'A Tale of ''n''-categories' (1996).

Theory and Application of Categories

an electronic journal of category theory, full text, free, since 1995.

nLab

a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view.

The n-Category Café

essentially a colloquium on topics in category theory.

Category Theory

a web page of links to lecture notes and freely available books on category theory. * , a formal introduction to category theory. * * , with an extensive bibliography.

List of academic conferences on category theory

* — An informal introduction to higher order categories.

WildCats

is a category theory package for Mathematica. Manipulation and visualization of objects,morphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s, categories, functor
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

s, natural transformation
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dir ...

s, universal properties.
* , a channel about category theory.
* .

Video archive

of recorded talks relevant to categories, logic and the foundations of physics.

Interactive Web page

which generates examples of categorical constructions in the category of finite sets.

an instruction on category theory as a tool throughout the sciences.

Category Theory for Programmers

A book in blog form explaining category theory for computer programmers.

Introduction to category theory.

{{DEFAULTSORT:Category Theory Category theory, Higher category theory Foundations of mathematics

mathematical structure
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...

and its concepts in terms of a labeled directed graph
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a Graph (discrete mathematics), graph that is made up of a set of Vertex (graph theory), vertices connected by directed Edge (graph theory), edges often called ...

called a ''category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization
Categorization is the ability and activity to recognize shared features or similarities between the elements of the experience of the world (such as O ...

'', whose nodes are called ''objects'', and whose labelled directed edges are called ''arrows'' (or morphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s). A category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization
Categorization is the ability and activity to recognize shared features or similarities between the elements of the experience of the world (such as O ...

has two basic properties: the ability to compose the arrows associatively, and the existence of an identity
Identity may refer to:
Social sciences
* Identity (social science), personhood or group affiliation in psychology and sociology
Group expression and affiliation
* Cultural identity, a person's self-affiliation (or categorization by others ...

arrow for each object. The language of category theory has been used to formalize concepts of other high-level abstractions
Abstraction in its main sense is a conceptual process where general rules
Rule or ruling may refer to:
Human activity
* The exercise of political
Politics (from , ) is the set of activities that are associated with Decision-making, ma ...

such as sets, rings
Ring most commonly refers either to a hollow circular shape or to a high-pitched sound. It thus may refer to:
*Ring (jewellery)
A ring is a round band, usually of metal
A metal (from Ancient Greek, Greek μέταλλον ''métallon'', "mine ...

, and groups
A group is a number of people or things that are located, gathered, or classed together.
Groups of people
* Cultural group, a group whose members share the same cultural identity
* Ethnic group, a group whose members share the same ethnic identi ...

. Informally, category theory is a general theory of functions
Function or functionality may refer to:
Computing
* Function key
A function key is a key on a computer
A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern comp ...

.
Several terms used in category theory, including the term "morphism", are used differently from their uses in the rest of mathematics. In category theory, morphisms obey conditions specific to category theory itself.
Samuel Eilenberg
Samuel Eilenberg (September 30, 1913 – January 30, 1998) was a Polish-American mathematician who co-founded category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph ...

and Saunders Mac Lane
Saunders Mac Lane (4 August 1909 – 14 April 2005) was an American mathematician
A mathematician is someone who uses an extensive knowledge of mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as q ...

introduced the concepts of categories, functor
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

s, and natural transformation
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dir ...

s from 1942–45 in their study of algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...

, with the goal of understanding the processes that preserve mathematical structure.
Category theory has practical applications in programming language theory
Programming language theory (PLT) is a branch of computer science
Computer science deals with the theoretical foundations of information, algorithms and the architectures of its computation as well as practical techniques for their applica ...

, for example the usage of monads in functional programming
In functional programming
In computer science, functional programming is a programming paradigm where programs are constructed by Function application, applying and Function composition (computer science), composing Function (computer science) ...

. It may also be used as an axiomatic foundation for mathematics, as an alternative to set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), 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, i ...

and other proposed foundations.
Basic concepts

Categories represent abstractions of other mathematical concepts. Many areas of mathematics can be formalised by category theory ascategories
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization
Categorization is the human ability and activity of recognizing shared features or similarities between the elements of the experience of the world (such ...

. Hence category theory uses abstraction to make it possible to state and prove many intricate and subtle mathematical results in these fields in a much simpler way.
A basic example of a category is the category of setsIn the mathematical
Mathematics (from Greek
Greek may refer to:
Greece
Anything of, from, or related to Greece
Greece ( el, Ελλάδα, , ), officially the Hellenic Republic, is a country located in Southeast Europe. Its population is ...

, where the objects are sets and the arrows are functions from one set to another. However, the objects of a category need not be sets, and the arrows need not be functions. Any way of formalising a mathematical concept such that it meets the basic conditions on the behaviour of objects and arrows is a valid category—and all the results of category theory apply to it.
The "arrows" of category theory are often said to represent a process connecting two objects, or in many cases a "structure-preserving" transformation connecting two objects. There are, however, many applications where much more abstract concepts are represented by objects and morphisms. The most important property of the arrows is that they can be "composed", in other words, arranged in a sequence to form a new arrow.
Applications of categories

Categories now appear in many branches of mathematics, some areas oftheoretical computer science
Theoretical computer science (TCS) is a subset of general computer science
Computer science deals with the theoretical foundations of information, algorithms and the architectures of its computation as well as practical techniques for the ...

where they can correspond to types
Type may refer to:
Science and technology Computing
* Typing
Typing is the process of writing or inputting text by pressing keys on a typewriter, computer keyboard, cell phone, or calculator. It can be distinguished from other means of text inpu ...

or to database schema
The database schema is its structure described in a formal language
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), spac ...

s, and mathematical physics
Mathematical physics refers to the development of mathematical methods for application to problems in physics. The '' Journal of Mathematical Physics'' defines the field as "the application of mathematics to problems in physics and the developme ...

where they can be used to describe vector space
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). ...

s. Probably the first application of category theory outside pure mathematics was the "metabolism-repair" model of autonomous living organisms by Robert Rosen.
Utility

Categories, objects, and morphisms

The study ofcategories
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization
Categorization is the human ability and activity of recognizing shared features or similarities between the elements of the experience of the world (such ...

is an attempt to ''axiomatically'' capture what is commonly found in various classes of related mathematical structures
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...

by relating them to the ''structure-preserving functions'' between them. A systematic study of category theory then allows us to prove general results about any of these types of mathematical structures from the axioms of a category.
Consider the following example. The class
Class or The Class may refer to:
Common uses not otherwise categorized
* Class (biology), a taxonomic rank
* Class (knowledge representation), a collection of individuals or objects
* Class (philosophy), an analytical concept used differently f ...

Grp of groups
A group is a number of people or things that are located, gathered, or classed together.
Groups of people
* Cultural group, a group whose members share the same cultural identity
* Ethnic group, a group whose members share the same ethnic identi ...

consists of all objects having a "group structure". One can proceed to prove
Proof may refer to:
* Proof (truth), argument or sufficient evidence for the truth of a proposition
* Alcohol proof, a measure of an alcoholic drink's strength
Formal sciences
* Formal proof, a construct in proof theory
* Mathematical proof, a co ...

theorem
In mathematics, a theorem is a statement (logic), statement that has been Mathematical proof, proved, or can be proved. The ''proof'' of a theorem is a logical argument that uses the inference rules of a deductive system to establish that the the ...

s about groups by making logical deductions from the set of axioms defining groups. For example, it is immediately proven from the axioms that the identity element
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It h ...

of a group is unique.
Instead of focusing merely on the individual objects (e.g. groups) possessing a given structure, category theory emphasizes the morphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s – the structure-preserving mappings – ''between'' these objects; by studying these morphisms, one is able to learn more about the structure of the objects. In the case of groups, the morphisms are the group homomorphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

s. A group homomorphism between two groups "preserves the group structure" in a precise sense; informally 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, such as the study of continuous
Continuity or continuous may refer to:
Mathematics
* Continuity (mathematics), the opposing concept to discreteness; common examples include
** Continuous probability distribution or random variable in probability and statistics
** Continuous ga ...

maps (morphisms) between topological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s in topology
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities ...

(the associated category is called Top), and the study of smooth function
is a smooth function with compact support.
In mathematical analysis, the smoothness of a function (mathematics), function is a property measured by the number of Continuous function, continuous Derivative (mathematics), derivatives it has over ...

s (morphisms) in manifold theory.
Not all categories arise as "structure preserving (set) functions", however; the standard example is the category of homotopies between pointed topological spaces.
If one axiomatizes relations
Relation or relations may refer to:
General uses
*International relations, the study of interconnection of politics, economics, and law on a global level
*Interpersonal relationship, association or acquaintance between two or more people
*Public ...

instead of functions
Function or functionality may refer to:
Computing
* Function key
A function key is a key on a computer
A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern comp ...

, one obtains the theory of allegories
As a literary device, an allegory is a narrative in which a character, place, or event is used to deliver a broader message about real-world issues and occurrences. Authors have used allegory throughout history in all forms of art to illustrate ...

.
Functors

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 afunctor
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

.
Diagram chasing is a visual method of arguing with abstract "arrows" joined in diagrams. Functors are represented by arrows between categories, subject to specific defining commutativity conditions. Functors can define (construct) categorical diagrams and sequences (cf. Mitchell, 1965). A functor 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.
As a result, this defines a category ''of categories and functors'' – the objects are categories, and the morphisms (between categories) are functors.
Studying categories and functors is not just studying a class of mathematical structures and the morphisms between them but rather the ''relationships between various classes of mathematical structures''. This fundamental idea first surfaced in algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...

. Difficult ''topological'' questions can be translated into ''algebraic'' questions which are often easier to solve. Basic constructions, such as the fundamental group
In the mathematical field of algebraic topology, the fundamental group of a topological space is the group of the equivalence class
In mathematics, when the elements of some set (mathematics), set have a notion of equivalence (formalized ...

or the fundamental groupoidIn algebraic topology
250px, A torus, one of the most frequently studied objects in algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebr ...

of a topological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

, can be expressed as functors to the category of groupoid
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...

s in this way, and the concept is pervasive in algebra and its applications.
Natural transformations

Abstracting yet again, some diagrammatic and/or sequential constructions are often "naturally related" – a vague notion, at first sight. This leads to the clarifying concept ofnatural transformation
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dir ...

, 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 covarianceIn theoretical physics, general covariance, also known as diffeomorphism covariance or general invariance, consists of the invariance of the ''form'' of physical laws under arbitrary differentiable coordinate transformations. The essential idea ...

in physics, that cuts deeper than is initially apparent. An arrow between two functors is a natural transformation when it is subject to certain naturality or commutativity conditions.
Functors and natural transformations ('naturality') are the key concepts in category theory.
Categories, objects, and morphisms

Categories

A ''category'' ''C'' consists of the following three mathematical entities: * Aclass
Class or The Class may refer to:
Common uses not otherwise categorized
* Class (biology), a taxonomic rank
* Class (knowledge representation), a collection of individuals or objects
* Class (philosophy), an analytical concept used differently f ...

ob(''C''), whose elements are called ''objects'';
* A class hom(''C''), whose elements are called morphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s or maps
A map is a symbol
A symbol is a mark, sign, or word
In linguistics, a word of a spoken language can be defined as the smallest sequence of phonemes that can be uttered in isolation with semantic, objective or pragmatics, practical meani ...

or ''arrows''. Each morphism ''f'' has a ''source object a'' and ''target object b''. The expression , would be verbally stated as "''f'' is a morphism from ''a'' to ''b''".

The expression – alternatively expressed as , , or – denotes the ''hom-class'' of all morphisms from ''a'' to ''b''. * A

binary operation
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities and ...

∘, called ''composition of morphisms'', such that for any three objects ''a'', ''b'', and ''c'', we have . The composition of and is written as or ''gf'', governed by two axioms:
** Associativity
In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a Validity (logic), valid rule ...

: If , and then , and
** Identity
Identity may refer to:
Social sciences
* Identity (social science), personhood or group affiliation in psychology and sociology
Group expression and affiliation
* Cultural identity, a person's self-affiliation (or categorization by others ...

: For every object ''x'', there exists a morphism called the ''identity morphism
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It h ...

for x'', such that for every morphism , we have .
:: From the axioms, it can be proved that there is exactly one identity morphism
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It h ...

for every object. Some authors deviate from the definition just given by identifying each object with its identity morphism.
Morphisms

Relations among morphisms (such as ) are often depicted usingcommutative diagram
350px, The commutative diagram used in the proof of the five lemma.
In mathematics, and especially in category theory, a commutative diagram is a Diagram (category theory), diagram such that all directed paths in the diagram with the same start an ...

s, with "points" (corners) representing objects and "arrows" representing morphisms.
Morphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities and th ...

s can have any of the following properties. A morphism is a:
* monomorphism
In the context of abstract algebra
In algebra, which is a broad division of mathematics, abstract algebra (occasionally called modern algebra) is the study of algebraic structures. Algebraic structures include group (mathematics), groups, rin ...

(or ''monic'') if implies for all morphisms .
* epimorphism
220px
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labe ...

(or ''epic'') if implies for all morphisms .
* ''bimorphism'' if ''f'' is both epic and monic.
* isomorphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities and ...

if there exists a morphism such that .
* endomorphism
In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a group ...

if . end(''a'') denotes the class of endomorphisms of ''a''.
* automorphism
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities and t ...

if ''f'' is both an endomorphism and an isomorphism. aut(''a'') denotes the class of automorphisms of ''a''.
* retraction
In academic publishing
Academic publishing is the subfield of publishing which distributes academic research and scholarship. Most academic work is published in academic journal articles, books or thesis' form. The part of academic written o ...

if a right inverse of ''f'' exists, i.e. if there exists a morphism with .
* section
Section, Sectioning or Sectioned may refer to:
Arts, entertainment and media
* Section (music)
AABA form) in the key of C. ">Thirty-two-bar_form.html" ;"title="Rhythm changes bridge (B section of an Thirty-two-bar form">AABA form) in the key ...

if a left inverse of ''f'' exists, i.e. if there exists a morphism with .
Every retraction is an epimorphism, and every section is a monomorphism. Furthermore, the following three statements are equivalent:
* ''f'' is a monomorphism and a retraction;
* ''f'' is an epimorphism and a section;
* ''f'' is an isomorphism.
Functors

Functor
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

s 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 a category ''C'' to a category ''D'', written , consists of:
* for each object ''x'' in ''C'', an object ''F''(''x'') in ''D''; and
* for each morphism in ''C'', a morphism ,
such that the following two properties hold:
* For every object ''x'' in ''C'', ;
* For all morphisms and , .
A contravariant functor is like a covariant functor, except that it "turns morphisms around" ("reverses all the arrows"). More specifically, every morphism in ''C'' must be assigned to a morphism in ''D''. In other words, a contravariant functor acts as a covariant functor from the opposite category In category theory
Category theory formalizes mathematical structure
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), sp ...

''C''Natural transformations

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 in ''D'' such that for every morphism in ''C'', we have ; this means that the following diagram iscommutative
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spaces in which they are contained (geometry), and quantities and ...

:
The two functors ''F'' and ''G'' are called ''naturally isomorphic'' if there exists a natural transformation from ''F'' to ''G'' such that ηOther concepts

Universal constructions, limits, and colimits

Using the language of category theory, many areas of mathematical study can be categorized. Categories include sets, groups and topologies. Each category is distinguished by properties that all its objects have in common, such as theempty set #REDIRECT Empty set #REDIRECT Empty set#REDIRECT Empty set
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry ...

or the product of two topologies, yet in the definition of a category, objects are considered 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 those objects. To define the empty set without referring to elements, or the product topology without referring to open sets, one can 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.
Numerous important constructions can be described in a purely categorical way if the ''category limit'' can be developed and dualized to yield the notion of a ''colimit''.
Equivalent categories

It is a natural question to ask: under which conditions can two categories be considered ''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'', which 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. * Thefunctor categoryIn category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dire ...

''D''Yoneda lemmaIn mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ha ...

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 is true in the dual category ''C''Adjoint functors
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gen ...

: 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; this 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
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dir ...

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 transformation
In category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled dir ...

s of morphisms in the usual sense. Another basic example is to consider a 2-category with a single object; these are essentially monoidal categories
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It h ...

. Bicategories are a weaker notion of 2-dimensional categories in which the composition of morphisms is not strictly associative, but only associative "up to" an isomorphism.
This process can be extended for all natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and total order, ordering (as in "this is the ''third'' largest city in the country"). In common mathematical terminology, w ...

s ''n'', and these are called ''n''-categories. There is even a notion of '' ω-category'' corresponding to the ordinal number
In set theory
Set theory is the branch of that studies , 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 , is mostly concerned with those that ...

ω.
Higher-dimensional categories are part of the broader mathematical field of higher-dimensional algebra, a concept introduced by Ronald Brown. For a conversational introduction to these ideas, seJohn Baez, 'A Tale of ''n''-categories' (1996).

Historical notes

In 1942–45,Samuel Eilenberg
Samuel Eilenberg (September 30, 1913 – January 30, 1998) was a Polish-American mathematician who co-founded category theory
Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph ...

and Saunders Mac Lane
Saunders Mac Lane (4 August 1909 – 14 April 2005) was an American mathematician
A mathematician is someone who uses an extensive knowledge of mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as q ...

introduced categories, functors, and natural transformations as part of their work in topology, especially algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...

. Their work was an important part of the transition from intuitive and geometric homology to homological algebra
Homological algebra is the branch of mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and thei ...

. Eilenberg and Mac Lane later wrote that their goal was to understand natural transformations. That required defining functors, which required categories.
Stanislaw Ulam
Stanisław Marcin Ulam (; 13 April 1909 – 13 May 1984) was a Polish scientist in the fields of mathematics and nuclear physics. He participated in the Manhattan Project
The Manhattan Project was a research and development
R ...

, and some writing on his behalf, have claimed that related ideas were current in the late 1930s in Poland. Eilenberg was Polish, and studied mathematics in Poland in the 1930s. Category theory is also, in some sense, a continuation of the work of Emmy Noether
Amalie Emmy Noether Emmy is the '' Rufname'', the second of two official given names, intended for daily use. Cf. for example the résumé submitted by Noether to Erlangen University in 1907 (Erlangen University archive, ''Promotionsakt Emmy Noeth ...

(one of Mac Lane's teachers) in formalizing abstract processes; Noether realized that understanding a type of mathematical structure requires understanding the processes that preserve that structure (homomorphism
In algebra
Algebra (from ar, الجبر, lit=reunion of broken parts, bonesetting, translit=al-jabr) is one of the areas of mathematics, broad areas of mathematics, together with number theory, geometry and mathematical analysis, analysis. I ...

s). Eilenberg and Mac Lane introduced categories for understanding and formalizing the processes (functor
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no ge ...

s) that relate to algebraic structures (topological invariantIn topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In mathematics, topology (from the Greek language, Greek words , and ) is concerned with the properties of a mathematical object, geometric object ...

s) that characterize them.
Category theory was originally introduced for the need of homological algebra
Homological algebra is the branch of mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and thei ...

, and widely extended for the need of modern algebraic geometry
Algebraic geometry is a branch of mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and thei ...

(scheme theory
In mathematics, a scheme is a mathematical structure that enlarges the notion of algebraic variety in several ways, such as taking account of multiplicity (mathematics), multiplicities (the equations ''x'' = 0 and ''x''2 = 0 define the same algebra ...

). Category theory may be viewed as an extension of universal algebra Universal algebra (sometimes called general algebra) is the field of mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers (arithmetic and number theory), formulas and related structures (algebra), shapes and spa ...

, as the latter studies algebraic structure
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...

s, and the former applies to any kind of mathematical structure
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...

and studies also the relationships between structures of different nature. For this reason, it is used throughout mathematics. Applications to mathematical logic
Mathematical logic is the study of formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of formal sys ...

and semantics
Semantics (from grc, σημαντικός ''sēmantikós'', "significant") is the study of reference
Reference is a relationship between objects in which one object designates, or acts as a means by which to connect to or link to, another ...

( categorical abstract machine) came later.
Certain categories called topos, topoi (singular ''topos'') can even serve as an alternative to axiomatic set theory as a foundation of mathematics. A topos can also be considered as a specific type of category with two additional topos axioms. These foundational applications of category theory have been worked out in fair detail as a basis for, and justification of, Constructivism (mathematics), constructive mathematics. Topos, Topos theory is a form of abstract Sheaf (mathematics), sheaf theory, with geometric origins, and leads to ideas such as pointless topology.
Categorical logic is now a well-defined field based on type theory for intuitionistic logics, with applications in functional programming and domain theory, where a cartesian closed category is taken as a non-syntactic description of a lambda calculus. At the very least, category theoretic language clarifies what exactly these related areas have in common (in some wikt:abstract, abstract sense).
Category theory has been applied in other fields as well. For example, John Baez has shown a link between Feynman diagrams in physics and monoidal categories. Another application of category theory, more specifically: topos theory, has been made in mathematical music theory, see for example the book ''The Topos of Music, Geometric Logic of Concepts, Theory, and Performance'' by Guerino Mazzola.
More recent efforts to introduce undergraduates to categories as a foundation for mathematics include those of William Lawvere and Rosebrugh (2003) and Lawvere and Stephen Schanuel (1997) and Mirroslav Yotov (2012).
See also

* Domain theory * Enriched category, Enriched category theory * Glossary of category theory * Group theory * Higher category theory * Higher-dimensional algebra * List of publications in mathematics#Category theory, Important publications in category theory * Lambda calculus * Outline of category theory * Timeline of category theory and related mathematicsNotes

References

Citations

Sources

* * . * . * * * * * . * * * * * * * * * * * * * * Notes for a course offered as part of the MSc. in Mathematical Logic, Manchester University. * , draft of a book. * * Based on .Further reading

*External links

Theory and Application of Categories

an electronic journal of category theory, full text, free, since 1995.

nLab

a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view.

The n-Category Café

essentially a colloquium on topics in category theory.

Category Theory

a web page of links to lecture notes and freely available books on category theory. * , a formal introduction to category theory. * * , with an extensive bibliography.

List of academic conferences on category theory

* — An informal introduction to higher order categories.

WildCats

is a category theory package for Mathematica. Manipulation and visualization of objects,

Video archive

of recorded talks relevant to categories, logic and the foundations of physics.

Interactive Web page

which generates examples of categorical constructions in the category of finite sets.

an instruction on category theory as a tool throughout the sciences.

Category Theory for Programmers

A book in blog form explaining category theory for computer programmers.

Introduction to category theory.

{{DEFAULTSORT:Category Theory Category theory, Higher category theory Foundations of mathematics