All Topics  
Category theory

 

   Email Print
   Bookmark   Link






 

Category theory



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, category theory deals in an abstract way with mathematical structure
Mathematical structure

In mathematics, a structure on a Set , or more generally a intuitionistic type theory, consists of additional mathematical objects that in some manner attach to the set, making it easier to visualize or work with, or endowing the collection with meaning or significance....
s and relationships between them: it abstracts from sets and function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
s
to objects linked in diagrams by morphism
Morphism

In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
s
or arrows. Furthermore, one can distinguish between concrete categories with specified types of objects, and abstract ones that are defined only by arrows. One of the simplest examples of a category (which is a very important concept in topology
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
) is that of groupoid
Groupoid

In abstract algebra, a branch of mathematics, especially in category theory and homotopy theory, a 'groupoid' generalises the notion of group and of category in several equivalent ways....
 defined as a category whose arrows or morphisms are all invertible. Categories
Category (mathematics)

In mathematics, a category is a fundamental and abstract way to describe mathematical entities and their relationships. A category is composed of a collection of abstract "objects" of any kind, linked together by a collection of abstract "morphism" of any kind that have a few basic properties ....
 now appear in most branches of mathematics and also in some areas of theoretical computer science
Theoretical computer science

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....
 where they correspond to type
Type

Type may refer to:In philosophy:*A Type is a category of being*Type-token distinctionIn mathematics:*Type *Type theory, basis for the study of type systems...
s and mathematical physics
Mathematical physics

Mathematical physics is the scientific discipline concerned with the interface of mathematics and physics. There is no real consensus about what does or does not constitute mathematical physics....
 where they can be used to describe vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
s.






Discussion
Ask a question about 'Category theory'
Start a new discussion about 'Category theory'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, category theory deals in an abstract way with mathematical structure
Mathematical structure

In mathematics, a structure on a Set , or more generally a intuitionistic type theory, consists of additional mathematical objects that in some manner attach to the set, making it easier to visualize or work with, or endowing the collection with meaning or significance....
s and relationships between them: it abstracts from sets and function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
s
to objects linked in diagrams by morphism
Morphism

In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
s
or arrows. Furthermore, one can distinguish between concrete categories with specified types of objects, and abstract ones that are defined only by arrows. One of the simplest examples of a category (which is a very important concept in topology
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
) is that of groupoid
Groupoid

In abstract algebra, a branch of mathematics, especially in category theory and homotopy theory, a 'groupoid' generalises the notion of group and of category in several equivalent ways....
 defined as a category whose arrows or morphisms are all invertible. Categories
Category (mathematics)

In mathematics, a category is a fundamental and abstract way to describe mathematical entities and their relationships. A category is composed of a collection of abstract "objects" of any kind, linked together by a collection of abstract "morphism" of any kind that have a few basic properties ....
 now appear in most branches of mathematics and also in some areas of theoretical computer science
Theoretical computer science

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....
 where they correspond to type
Type

Type may refer to:In philosophy:*A Type is a category of being*Type-token distinctionIn mathematics:*Type *Type theory, basis for the study of type systems...
s and mathematical physics
Mathematical physics

Mathematical physics is the scientific discipline concerned with the interface of mathematics and physics. There is no real consensus about what does or does not constitute mathematical physics....
 where they can be used to describe vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
s. Category theory provides both with a unifying notion and terminology. Categories were first introduced by Samuel Eilenberg
Samuel Eilenberg

Samuel Eilenberg was a Poland and United States mathematician of Jew. He was born in Warsaw, Russian Empire and died in New York City, United States, where he had spent much of his career as a professor at Columbia University....
 and Saunders Mac Lane
Saunders Mac Lane

Saunders Mac Lane was an United States mathematician who cofounded category theory with Samuel Eilenberg....
 in 1942–45, in connection with algebraic topology
Algebraic topology

Algebraic topology is a branch of mathematics which uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant that classification theorem topological spaces up to homeomorphism....
.

Category theory has several faces known not just to specialists, but to other mathematicians. A term dating from the 1940s, "general abstract nonsense", refers to its high level of abstraction, compared to more classical branches of mathematics. Homological algebra
Homological algebra

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 and abstract algebra at the end of the 19th century, chiefly by Henri Poincar? and David Hilbert....
 is category theory in its aspect of organising and suggesting manipulations in abstract algebra
Abstract algebra

Abstract algebra is the subject area of mathematics that studies algebraic structures, such as group , ring , field , module , vector spaces, and algebra over a field....
. Diagram chasing is a visual method of arguing with abstract "arrows" joined in diagrams. Note that arrows between categories are called functor
Functor

In category theory, a branch of mathematics, a functor is a special type of mapping between categories. Functors can be thought of as morphisms in the category of small categories....
s, subject to specific defining commutativity conditions; moreover, categorical diagrams and sequences can be defined as functors (viz. Mitchell, 1965). An arrow between two functors is a natural transformation
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 of the categories involved....
 when it is subject to certain naturality or commutativity conditions. Both functors and natural transformations are key concepts in category theory, or the " real engines" of category theory. To paraphrase a famous sentence of the mathematicians who founded category theory: 'Categories were introduced to define functors, and functors were introduced to define natural transformations'. Topos theory is a form of abstract sheaf theory, with geometric origins, and leads to ideas such as pointless topology
Pointless topology

In mathematics, pointless topology is an approach to topology which avoids the mentioning of points....
. Topoi can also be considered as a specific type of category with two additional, .

Background

The study of categories
Category (mathematics)

In mathematics, a category is a fundamental and abstract way to describe mathematical entities and their relationships. A category is composed of a collection of abstract "objects" of any kind, linked together by a collection of abstract "morphism" of any kind that have a few basic properties ....
 is an attempt to axiomatically capture what is commonly found in various classes of related mathematical structures 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 (set theory)

In set theory and its applications throughout mathematics, a class is a collection of Set which can be unambiguously defined by a property that all its members share....
 Grp of groups
Group (mathematics)

In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
 consists of all objects having a "group structure". More precisely, Grp consists of all sets G endowed with a binary operation
Binary operation

In mathematics, a binary operation is a calculation involving two operands, in other words, an operation whose arity is two. Binary operations can be accomplished using either a binary function or binary operator....
 satisfying a certain set of axiom
Axiom

In traditional logic, an axiom or postulate is a proposition that is not proved or demonstrated but considered to be either self-evidence, or subject to necessary decision....
s. One can proceed to prove
Mathematical proof

In mathematics, a proof is a convincing demonstration that some mathematical statement is necessarily true. Proofs are obtained from deductive reasoning, rather than from inductive reasoning or empirical arguments....
 theorem
Theorem

In mathematics, a theorem is a statement Mathematical proof on the basis of previously accepted or established statements such as axioms.In formal mathematical logic, the concept of a theorem may be taken to mean a formula that can be formal proof according to the deductive system of a fixed formal system....
s about groups by making logical deductions from the set of axioms. For example, it is immediately proved from the axioms that the identity element
Identity element

In mathematics, an identity 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....
 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
Morphism

In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
s – 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 homomorphism
Group homomorphism

In mathematics, given two group and , a group homomorphism from to is a function h : G ? H such that for all u and v in G it holds that...
s. 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, such as the study of continuous maps (morphisms) between topological space
Topological space

Topological spaces are mathematical structures that allow the formal definition of concepts such as convergence, connected space, and Continuous function ....
s in topology
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
 (the associated category is called top), and the study of smooth function
Smooth function

In mathematical analysis, a differentiability class is a classification of function according to the properties of their derivatives. Higher order differentiability classes correspond to the existence of more derivatives....
s (morphisms) in manifold theory.

If one axiomatizes relations
Relation (mathematics)

In mathematics , a relation is a property that assigns truth values to combinations of k first-order logic. Typically, the property describes a possible connection between the components of a k-tuple....
 instead of function
Function

Function may refer to:* Function , explaining why a feature survived selection* Function , an abstract entity that associates an input to a corresponding output according to some rule...
s, one obtains the theory of allegories
Allegory (category theory)

In mathematics, in the subject of category theory, an allegory is a category that has some of the structure of the category of sets and binary relations between them....
.

Functors


Abstracting again, 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
Functor

In category theory, a branch of mathematics, a functor is a special type of mapping between categories. Functors can be thought of as morphisms in the category of small categories....
. 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.

In fact, what we have done is define a category of categories and functors – the objects are categories, and the morphisms (between categories) are functors.

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 structures. This is a fundamental idea, which first surfaced in algebraic topology
Algebraic topology

Algebraic topology is a branch of mathematics which uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant that classification theorem topological spaces up to homeomorphism....
. Difficult topological questions can be translated into algebraic questions which are often easier to solve. Basic constructions, such as the fundamental group
Fundamental group

In mathematics, more specifically algebraic topology, the fundamental group or Poincar? group is a group associated to any given pointed space that provides a way of determining when two paths, starting and ending at a fixed base point, can be continuously deformed into each other....
 or of a topological space
Topological space

Topological spaces are mathematical structures that allow the formal definition of concepts such as convergence, connected space, and Continuous function ....
, can be expressed as to the groupoid category in this way, and the concept is pervasive in algebra and its applications.

Natural transformation


Abstracting yet again, constructions are often "naturally related" – a vague notion, at first sight. This leads to the clarifying concept of natural transformation
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 of the categories involved....
, 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
General covariance

In theoretical physics, general covariance is the invariance of the form of physical laws under arbitrary Derivative coordinate transformations....
 in physics, that cuts deeper than is initially apparent.

Historical notes

In 1942–45, Samuel Eilenberg
Samuel Eilenberg

Samuel Eilenberg was a Poland and United States mathematician of Jew. He was born in Warsaw, Russian Empire and died in New York City, United States, where he had spent much of his career as a professor at Columbia University....
 and Saunders Mac Lane
Saunders Mac Lane

Saunders Mac Lane was an United States mathematician who cofounded category theory with Samuel Eilenberg....
 were the first to introduce categories, functors, and natural transformations as part of their work in topology, especially algebraic topology
Algebraic topology

Algebraic topology is a branch of mathematics which uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant that classification theorem topological spaces up to homeomorphism....
. Their work was an important part of the transition from intuitive and geometric homology
Homology (mathematics)

In mathematics , homology is a certain general procedure to associate a sequence of abelian groups or module with a given mathematical object such as a topological space or a group ....
 to axiom
Axiom

In traditional logic, an axiom or postulate is a proposition that is not proved or demonstrated but considered to be either self-evidence, or subject to necessary decision....
atic homology theory
Homology theory

In mathematics, homology theory is the axiomatic study of the intuitive geometric idea of homology of cycles on topological spaces. It can be broadly defined as the study of Homology theories on topological spaces....
. Eilenberg and Mac Lane later wrote that their goal was to understand natural transformations; in order to do that, functors had to be defined, which required categories.

Stanislaw Ulam, 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
Emmy Noether

Amalie Emmy Noether, , was a German mathematician known for her groundbreaking contributions to abstract algebra and theoretical physics. Described by Albert Einstein and others as the most important woman in the history of mathematics, she revolutionized the theories of ring , field , and algebra over a field....
 (one of Mac Lane's teachers) in formalizing abstract processes; Noether realized that in order to understand a type of mathematical structure, one needs to understand the processes preserving that structure. In order to achieve this understanding, Eilenberg and Mac Lane proposed an axiomatic formalization of the relation between structures and the processes preserving them.

The subsequent development of category theory was powered first by the computational needs of homological algebra
Homological algebra

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 and abstract algebra at the end of the 19th century, chiefly by Henri Poincar? and David Hilbert....
, and later by the axiomatic needs of algebraic geometry
Algebraic geometry

Algebraic geometry is a branch of mathematics which, as the name suggests, combines techniques of abstract algebra, especially commutative algebra, with the language and the problems of geometry....
, the field most resistant to being grounded in either axiomatic set theory or the Russell-Whitehead view of united foundations. General category theory, an extension of universal algebra
Universal algebra

Universal algebra is the field of mathematics that studies algebraic structures themselves, not examples of algebraic structures.For instance, rather than take particular groups as the object of study, in universal algebra one takes "the theory of groups" as an object of study....
 having many new features allowing for semantic flexibility and higher-order logic
Higher-order logic

In mathematics, higher-order logic is distinguished from first-order logic in a number of ways.One of these is the type of Free variables and bound variables appearing in quantifications; in first-order logic, roughly speaking, it is forbidden to quantify over Predicate s....
, came later; it is now applied throughout mathematics.

Certain categories called topoi
Topos

In mathematics, a topos is a type of category that behaves like the category of sheaf theory of Set on a topological space. For a discussion of the history of topos theory, see the article Background and genesis of topos theory....
 (singular topos) can even serve as an alternative to axiomatic set theory as a foundation of mathematics. These foundational applications of category theory have been worked out in fair detail as a basis for, and justification of, constructive mathematics
Constructivism (mathematics)

In the philosophy of mathematics, constructivism asserts that it is necessary to find a mathematical object to prove that it exists. When one assumes that an object does not exist and reductio ad absurdum, one still has not found the object and therefore not proved its existence, according to constructivists....
. More recent efforts to introduce undergraduates to categories as a foundation for mathematics include Lawvere
William Lawvere

Francis William Lawvere is a mathematician known for his work in category theory, topos and the philosophy of mathematics....
 and Rosebrugh (2003) and Lawvere and Schanuel (1997).

Categorical logic
Categorical logic

Categorical logic is a branch of category theory within mathematics, adjacent to mathematical logic but in fact more notable for its connections to theoretical computer science....
 is now a well-defined field based on type theory
Type theory

In mathematics, logic and computer science, type theory is any of several formal systems that can serve as alternatives to naive set theory, or the study of such formalisms in general....
 for intuitionistic logic
Intuitionistic logic

Intuitionistic logic, or constructivist logic, is the symbolic logic system originally developed by Arend Heyting to provide a formal basis for Luitzen Egbertus Jan Brouwer's programme of intuitionism....
s, with applications in functional programming
Functional programming

In computer science, functional programming is a programming paradigm that treats computation as the evaluation of function s and avoids program state and immutable object data....
 and domain theory
Domain theory

Domain theory is a branch of mathematics that studies special kinds of partially ordered sets commonly called domains. Consequently, domain theory can be considered as a branch of order theory....
, where a cartesian closed category
Cartesian closed category

In category theory, a category is cartesian closed if, roughly speaking, any morphism defined on a product of two objects can be naturally identified with a morphism defined on one of the factors....
 is taken as a non-syntactic description of a lambda calculus
Lambda calculus

In mathematical logic and computer science, lambda calculus, also written as ?-calculus, is a formal system designed to investigate function definition, function application and recursion....
. At the very least, category theoretic language clarifies what exactly these related areas have in common (in some abstract sense).

Categories, objects and morphisms


A category C consists of the following three mathematical entities:
  • A class
    Class (set theory)

    In set theory and its applications throughout mathematics, a class is a collection of Set which can be unambiguously defined by a property that all its members share....
     ob(C), whose elements are called objects;
  • A class hom(C), whose elements are called morphism
    Morphism

    In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
    s or maps
    Map (mathematics)

    In mathematics and related technical fields, the term map or mapping is often a synonym for Function . Thus, for example, a partial map is a partial function, and a total map is a total function....
     or arrows. 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), or Mor(a, b), or C(a, b)) to denote the hom-class of all morphisms from a to b.
  • A binary operation
    Binary operation

    In mathematics, a binary operation is a calculation involving two operands, in other words, an operation whose arity is two. Binary operations can be accomplished using either a binary function or binary operator....
     , 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
    Associativity

    In mathematics, associativity is a property that a binary operation can have. It means that, within an expression containing two or more of the same associative operators in a row, the order that the operations are performed does not matter as long as the sequence of the operands is not changed....
    : If f : a ? b, g : b ? c and h : c ? d then , and
  • Identity
    Identity (mathematics)

    In mathematics, the term identity has several different important meanings*An identity is an equality that remains true regardless of the values of any variables that appear within it, to distinguish it from an Equality which is true under more particular conditions....
    : 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 diagram
Commutative diagram

In mathematics, and especially in category theory a commutative diagram is a diagram of objects, also known as vertices, and morphisms, also known as arrows or edges, such that when selecting two objects any directed path through the diagram leads to the same result by composition....
s, with "points" (corners) representing objects and "arrows" representing morphisms. The influence of commutative diagrams has been such that "arrow" and "morphism
Morphism

In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
" are now synonymous.

Properties of morphisms

Some morphisms have important properties. A morphism f : a ? b is:
  • a monomorphism
    Monomorphism

    In the context of abstract algebra or universal algebra, a monomorphism is an Injective function homomorphism. A monomorphism from X to Y is often denoted with the notation ....
     (or monic) if fog1 = fog2 implies g1 = g2 for all morphisms g1, g2 : x ? a.
  • an epimorphism
    Epimorphism

    In category theory an epimorphism is a morphism f : X ? Y which is Cancellation property in the sense that, for all morphisms ,Epimorphisms are analogues of surjective functions, but they are not exactly the same....
     (or epic) if g1of = g2of implies g1 = g2 for all morphisms g1, g2 : b ? x.
  • an isomorphism
    Isomorphism

    In abstract algebra, an isomorphism is a bijection map f such that both f and its inverse function f −1 are homomorphisms, i.e., structure-preserving mappings....
     if there exists a morphism g : b ? a with fog = 1b and gof = 1a.
  • an endomorphism
    Endomorphism

    In mathematics, an endomorphism is a morphism from a mathematical object to itself. For example, an endomorphism of a vector space V is a linear map ?: V ? V, and an endomorphism of a group G is a group homomorphism ?: G ? G....
     if a = b. end(a) denotes the class of endomorphisms of a.
  • an automorphism
    Automorphism

    In mathematics, an automorphism is an isomorphism from a mathematical object to itself. It is, in some sense, a symmetry of the object, and a way of map the object to itself while preserving all of its structure....
     if f is both an endomorphism and an isomorphism. aut(a) denotes the class of automorphisms of a.


Functors


Functor
Functor

In category theory, a branch of mathematics, a functor is a special type of mapping between categories. Functors can be thought of as morphisms in the category of small categories....
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 F:C ? D, consists of:
  • for each object x in C, an object F(x) in D; and
  • for each morphism f : x ? y in C, a morphism F(f) : F(x) ? F(y),


such that the following two properties hold:
  • For every object x in C, F(1x) = 1F(x);
  • For all morphisms f : x ? y and g : y ? z,


A contravariant functor F: C ? D, is like a covariant functor, except that it "turns morphisms around" ("reverses all the arrows"). More specifically, every morphism f : x ? y in C must be assigned to a morphism F(f) : F(y) ? F(x) in D. In other words, a contravariant functor is a covariant functor from the opposite category
Opposite category

In category theory, a branch of mathematics, the opposite category or dual category Cop of a given category C is formed by reversing the morphisms, i.e....
 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

In mathematics, and especially in category theory a commutative diagram is a diagram of objects, also known as vertices, and morphisms, also known as arrows or edges, such that when selecting two objects any directed path through the diagram leads to the same result by composition....
:

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
Empty set

In mathematics, and more specifically set theory, the empty set is the unique Set having no members. Some axiomatic set theories assure that the empty set exists by including an axiom of empty set; in other theories, its existence can be deduced....
 or the product of two topologies
Product topology

In topology and related areas of mathematics, a product space is the cartesian product of a family of topological spaces equipped with a natural topology called the product topology....
, 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 those 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
Universal property

In various branches of mathematics, a useful construction is often viewed as the ?most efficient solution? to a certain problem. The definition of a universal property uses the language of category theory to make this notion precise....
 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
Limit (category theory)

In category theory, a branch of mathematics, the abstract notion of a limit captures the essential properties of universal constructions such as product and inverse limits....
, and can be 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 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, 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.
  • The functor category
    Functor category

    In category theory, a branch of mathematics, the functors between two given categories can themselves be turned into a category; the morphisms in this functor category are natural transformations between functors....
     DC has as objects the functors from C to D and as morphisms the natural transformations of such functors. The Yoneda lemma
    Yoneda lemma

    In mathematics, specifically in category theory, the Yoneda lemma is an abstract result on functors of the type morphisms into a fixed object....
     is one of the most famous basic results of category theory; it describes representable functors in functor categories.
  • Duality
    Dual (category theory)

    In category theory, a branch of mathematics, duality is a correspondence between properties of a category C and so-called dual properties of the opposite category Cop....
    : 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
    Adjoint functors

    In mathematics, adjoint functors are pairs of functors which stand in a particular relationship with one another, called an adjunction. The relationship of adjunction is ubiquitous in mathematics, as it rigorously reflects the intuitive notions of optimization and efficiency....
    : 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
2-category

In category theory, a 2-category is a category with "morphisms between morphisms"; that is, where each morphism itself carries the structure of a 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 transformation
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 of the categories involved....
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
Monoidal category

In mathematics, a monoidal category is a category C equipped with a bifunctorwhich is associative , and an object I which is both a left identity and right identity for ?, ....
. Bicategories
Bicategory

In mathematics, a bicategory is a concept in category theory used to extend the notion of Category to handle the cases where the composition of morphisms is not associative, but only associative up to an isomorphism....
 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
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s n, and these are called n-categories
N-category

In mathematics, n-categories are a high-order generalization of the notion of category theory. The category of n-categories n-Cat is defined by induction on n by:...
. There is even a notion of ?-category corresponding to the ordinal number
Ordinal number

In set theory, an ordinal number, or just ordinal, is the order type of a well-order. They are usually identified with hereditarily transitive sets....
 ?. For a conversational introduction to these ideas, see

See also

  • List of category theory topics
    List of category theory topics

    This is a list of category theory topics, by Wikipedia page....
  • Important publications in category theory
    List of publications in mathematics

    Algebra...
  • Glossary of category theory
    Glossary of category theory

    This is a glossary of properties and concepts in category theory in mathematics....
  • Domain theory
    Domain theory

    Domain theory is a branch of mathematics that studies special kinds of partially ordered sets commonly called domains. Consequently, domain theory can be considered as a branch of order theory....
  • Enriched category theory
    Enriched category

    In category theory and its applications to mathematics, an enriched category is a category whose hom-sets are replaced by objects from some other category, in a well-behaved manner....
  • Higher category theory
    Higher category theory

    Higher category theory is the part of category theory at a higher order, which means that some equalities are replaced by explicit morphism in order to be able to explicitly study the structure behind those equalities....
  • Timeline of category theory and related mathematics
    Timeline of category theory and related mathematics

    This is a timeline of category theory and related mathematics. By related mathematics is meant first hand* Categories of abstract algebraic structures including representation theory and universal algebra...


External links

  • Chriss Hillman, , formal introduction to Category Theory.
  • J. Adamek, H. Herrlich, G. Stecker,
  • Stanford Encyclopedia of Philosophy
    Stanford Encyclopedia of Philosophy

    The Stanford Encyclopedia of Philosophy is a Open access online encyclopedia of philosophy maintained by Stanford University. The SEP was initially developed with U.S....
    : "" -- by Jean-Pierre Marquis. Extensive bibliography.
  • with extensive resource list.
  • Baez, John, 1996,"" An informal introduction to higher order categories.
  • " a Youtube channel about category theory.* , Webpage dedicated to the use of Categories and Logic in the Foundations of Physics.
  • which generates examples of categorical constructions in the category of finite sets. Written by