Category theory

Wikipedia link

A category is a labeled directed graph, whose nodes are called objects, and whose labelled directed edges are called arrows. The arrows are also called morphisms.

The arrows can be composed associatively. There is an identity arrow for each object.

Sets, rings and groups can be formalized in the language of category theory.

Category theory was introduced by Samuel Eilenberg and Saunders Mac Lane. They defined the concepts of categories, functors, and natural transformations They did it in 1942-45. They were studying algebraic topology. The goal was to understand the processes that preserve mathematical structure.

Category theory has practical applications in programming language theory. The usage of monads in functional programming uses category theory.

Category theory can be used as an axiomatic foundation for mathematics.

In the categories of sets, the objects are sets and the arrows are the functions from one set to another.

In theoretical computer science, there is the category of types and the category of database schemas.

In mathematical physics, there is the category of vector spaces.

In linear algebra, there is the categories of matrices.

Robert Rosen’s metabolism-repair model of autonomous living organisms uses category theory.

In the category of groups, the objects are groups and the arrows are group homomorphisms.

In topology, in the category of topological spaces, the objects are topological spaces and the arrows are continuous maps.

In manifold theory, the arrows are smooth functions.

In the category of homotopies between pointed topological spaces, the arrows are not structure preserving set functions.

The theory of allegories replaces functions with relations.

In the category of categories, the objects are categories and the arrows are functors.

Diagram chasing is a visual method of arguing with abstract arrows joined in diagrams.

Functors can dfined categorical diagrams and sequences.

A functor associates to every object of one category an object from another category, and to every morphism of one category a morphism from another category.

The idea of the category of categories first surfaced in algebraic topology.

Some topological questions can be translated into algebraic questions.

The fundamental group of a topological space can be expressed as functors to the category of groupoids.

The fundamental groupoid of a topological space can be expressed as functors to the category of groupoids.

Some diagrammatic or sequential constructions are often naturally related.

Natural transformations map functors to other functors.

An arrow between two functors is a natural transformation if it satisfies naturality or commutativity conditions.

Let be a category. Its objects are denoted and its arrows are denoted .

For and , denotes the arrows from to . They can also be denoted , or

A category theory also has a composition operation which is such that for , , , and ,

The composition operation is associative and for each , there is a unique which is such that for every and ,

Relation among arrows are often depicted using commutative diagrams.

Special morphisms include:

  • monomorphisms:
  • epimorphisms:
  • isomorphisms: There is such that and
  • endomorphisms: These are those which belong ot
  • automorphisms: These are the endormorphisms which are also isomorphisms
  • retractions: If there is such that
  • sections: If there is such that

Retractions are a subset of the epimorphisms.

Sections are a subset of the monomorphisms.

Isomorphisms are epimorphisms which are also sections.

Isomorphisms are monomorphisms which are also retractions.

Functors are arrows in the category of (small) categories.

Let and be categories.

A functor from to is such that

  • For each ,
  • Covariance : for each and and ,
  • Contravariance : for each and and ,
  • For each ,
  • For , , , ,

A functor must be either covariant or contravariant.

A contravariant functor acts as a covariant functor from the opposite category to

A natural transformation is a relation between two functors.

Functors describe natural constructions.

Natural transformations describe natural homomorphisms.

The fact that two constructions (functors) describe the same result is expressed by a natural isomorphism between the two functors.

Let and be covariant functors between two categories and , and be a natural transformation from to . is such that:

  • For each , and for every and ,

I.e computing in the world of then transforming to the world of is the same as transforming to the world of then computing in the world of .

Two functors and are naturally isomorphic if there is a natural tranformation such that for all , is an isomorphism.

Categories include sets, groups and topologies.

Most categories include special objects, and the challenge is to define these special objects using only the concepts of category theory.

These characterizations define universal properties, which can be applied to any categories.

The concepts of limits and colimits are central for the definition of universal properties.

Two categories are equivalent if they are essentially the same.

Let and be categories. The functor category $D^C$ is the category whose objects are the functros from to and the arrows are the natural transformations of these functors.

The Yodena lemma describes reprentable functors in functor categories.

For every statement true in a category , its dual is true in the dual category

A functor can be left or right adjoint to another functor that maps in the opposite direction.

A 2-category is a category with objects, morphisms, and morphisms between morphisms.

This idea can be generalized to -categories, and even -categories.

A monoidal category has only one object.

Higher-dimensional categories require exchange laws to hold.

Bicategories are a weaker notion of 2-category.

Higher-dimensional categories are part of higher-dimensional algebra.

In 1942-45, Samuel Eilenberg and Saunders Mac Lane introduced categories, functors, and natural transformations as part of their work in algebraic topology.

This allowed the transition from geometric homology to axiomatic homology theory.

The goal was to understand natural transformations.

Emmy Noether worked on formalizing abstract processes, and proposed with Mac Lane an axiomatic formalization of the relation between structures and the processes that preserve them.

The ideas underlying category theory were current in the 1930s in Poland.

Subsequent developments were powered by

  • computational needs of homological algebra
  • axiomatic needs of algebraic geometry

General category theory came later.

General category theory extends universal algebra.

General category theory has features allowing semantic flexibility and higher-order logic.

Topoi are categories which can serve as an alternative to axiomatic set theory as a foundation of mathematics.

Current work in topoi as a foundation of mathematics aims at justifying constructive mathematics.

Topos theory is a form of abstract sheaf theory.

Topos theory leads to pointless topology.

Categorical logic is based on type theory for intuitionistic logics.

Categorical logic has applications in functional programming and domain theory.

A cartesian closed category is taken as a non-syntactic description of a lambda calculus.

John Baez has a shown a link between Feynman diagrams and monoidal categories.

Topos theory has been applied to mathematical music theory by Guerino Mazzola.