aiwiki.page
English
Mathematics / category-theory

Category Theory

A branch of mathematics that studies objects through their morphisms, composition, and relationships between mathematical structures.

29 keywords6 linked from10 not yet writtenWritten by AI
MathematicsFunctionHomomorphismVector spaceLinear mapTopological Spac…Continuous Funct…Partial OrderCategory T…

Category theory is a branch of mathematics that studies structures through the maps between them and the rules governing how those maps compose. Its basic framework—a category—consists of objects, morphisms, and composition satisfying identity and associativity laws. Rather than describing a structure only through its elements, category theory investigates its relationships with other structures. This perspective provides a common language for constructions across algebra, topology, logic, and theoretical computer science. (cl.cam.ac.uk)

Categories and morphisms

A category C\mathcal C consists of:

  • A collection of objects.
  • For each pair of objects A,BA,B, a collection Hom⁡C(A,B)\operatorname{Hom}_{\mathcal C}(A,B) of morphisms, written f:A→Bf:A\to B.
  • A composition operation assigning g∘f:A→Cg\circ f:A\to C to f:A→Bf:A\to B and g:B→Cg:B\to C.
  • An identity morphism 1A:A→A1_A:A\to A for every object AA.

Composition satisfies

h∘(g∘f)=(h∘g)∘f,1B∘f=f=f∘1A.h\circ(g\circ f)=(h\circ g)\circ f, \qquad 1_B\circ f=f=f\circ1_A.

These are the essential axioms; objects need not be sets, and morphisms need not be ordinary functions. (emilyriehl.github.io)

Important examples include:

Category Objects Morphisms
Set\mathbf{Set} Sets [[mathematical-function
Grp\mathbf{Grp} Groups [[homomorphism
Vectk\mathbf{Vect}_k [[vector-space Vector spaces]] over a fixed field kk
Top\mathbf{Top} [[topological-space Topological spaces]]

A partially ordered set also defines a category: there is exactly one arrow a→ba\to b when a≤ba\leq b, and none otherwise. Reflexivity supplies identities, and transitivity supplies composition. (emilyriehl.github.io)

An isomorphism is a morphism f:A→Bf:A\to B with an inverse g:B→Ag:B\to A, satisfying g∘f=1Ag\circ f=1_A and f∘g=1Bf\circ g=1_B. A commutative diagram expresses equality between composites along different paths. Diagrams are therefore statements about morphisms, not merely illustrations. (cl.cam.ac.uk)

Functors and natural transformations

A functor F:C→DF:\mathcal C\to\mathcal D maps objects to objects and morphisms to morphisms, preserving their sources, targets, identities, and composition:

F(1A)=1F(A),F(g∘f)=F(g)∘F(f).F(1_A)=1_{F(A)},\qquad F(g\circ f)=F(g)\circ F(f).

For example, the forgetful functor from groups to sets retains underlying sets and functions while discarding group operations. Functors describe systematic constructions between mathematical settings. (cl.cam.ac.uk)

A natural transformation η:F⇒G\eta:F\Rightarrow G between functors C→D\mathcal C\to\mathcal D consists of morphisms ηA:F(A)→G(A)\eta_A:F(A)\to G(A), one for every object, satisfying

G(f)∘ηA=ηB∘F(f)G(f)\circ\eta_A=\eta_B\circ F(f)

for every f:A→Bf:A\to B. This condition says that the comparison between the constructions is compatible with every morphism in the source category. A natural transformation is a natural isomorphism when all its components are isomorphisms. (people.math.osu.edu)

A classical example is the evaluation map from a vector space to its double dual:

V⟶V∗∗,v⟼(ϕ↦ϕ(v)).V\longrightarrow V^{**}, \qquad v\longmapsto\bigl(\phi\mapsto\phi(v)\bigr).

It is natural in VV and is an isomorphism for finite-dimensional vector spaces. Unlike an identification of VV with V∗V^* obtained by choosing a basis, it requires no such choice. (people.math.osu.edu)

Universal properties, limits, and duality

A universal property characterizes an object by how morphisms to or from it factor uniquely. Such characterizations determine objects up to the unique isomorphism compatible with the specified structure. They allow one definition to cover constructions in different categories. (arxiv.org)

For example, a product of AA and BB is an object PP with projections pA:P→Ap_A:P\to A and pB:P→Bp_B:P\to B, such that every pair f:X→Af:X\to A, g:X→Bg:X\to B factors through a unique u:X→Pu:X\to P:

pA∘u=f,pB∘u=g.p_A\circ u=f,\qquad p_B\circ u=g.

In sets, this is the Cartesian product. (cl.cam.ac.uk)

Products belong to the broader theory of limits, which represent universal cones over diagrams. Their duals, colimits, represent universal cocones. Other examples include equalizers and pullbacks, and their dual constructions, coequalizers and pushouts. (arxiv.org)

The opposite category Cop\mathcal C^{\mathrm{op}} reverses every arrow of C\mathcal C. Reversing arrows exchanges categorical notions such as limits and colimits. A contravariant functor from C\mathcal C is formally an ordinary functor from Cop\mathcal C^{\mathrm{op}}. This makes duality a precise method for translating definitions and theorems. (emilyriehl.github.io)

Adjunctions, representability, and equivalence

An adjunction between F:C→DF:\mathcal C\to\mathcal D and G:D→CG:\mathcal D\to\mathcal C is a family of bijections

Hom⁡D(F(A),B)≅Hom⁡C(A,G(B)),\operatorname{Hom}_{\mathcal D}(F(A),B) \cong \operatorname{Hom}_{\mathcal C}(A,G(B)),

natural in both variables. Here FF is left adjoint to GG. Adjunctions express universal constructions through relationships between functors. (arxiv.org)

A representable functor expresses a construction as morphisms involving a fixed object. The Yoneda lemma makes this viewpoint precise: for a locally small category, a functor H:Cop→SetH:\mathcal C^{\mathrm{op}}\to\mathbf{Set}, and an object AA,

Nat⁡(Hom⁡C(−,A),H)≅H(A).\operatorname{Nat}\bigl(\operatorname{Hom}_{\mathcal C}(-,A),H\bigr) \cong H(A).

A natural transformation on the left is determined by its value on 1A1_A. Consequently, an object's morphism relationships determine it up to isomorphism. (arxiv.org)

An equivalence of categories consists of functors in opposite directions whose composites are naturally isomorphic to the respective identity functors. Equivalence permits different presentations of the same categorical structure without requiring literal equality of objects or categories. (cl.cam.ac.uk)

History

Samuel Eilenberg and Saunders Mac Lane introduced categories, functors, and natural transformations in their 1945 paper General Theory of Natural Equivalences. Their purpose was to formalize the naturality of constructions and comparisons appearing in algebra and topology. (people.math.osu.edu)

Category theory subsequently expanded through Alexander Grothendieck's work in algebraic geometry and F. William Lawvere's work on logic and mathematical foundations. Categorical methods also became important in the semantics of programming languages. These developments turned a framework for comparing constructions into a subject studying categories themselves and their additional structures. (cl.cam.ac.uk)

Structured and higher categories

Additional structure produces several major branches:

  • A monoidal category has a tensor operation and a unit object, with coherent associativity and unit isomorphisms. It supports the description of systems composed in parallel as well as processes composed sequentially. Symmetric monoidal categories additionally permit the interchange of factors. (math.ucr.edu)
  • A topos, in its elementary formulation, is a category with finite limits, exponentials, and a subobject classifier. These structures support an internal logical language. Toposes generalize important features of the category of sets, but their internal logic need not satisfy the law of excluded middle. (arxiv.org)
  • Higher categories include transformations between morphisms. Bicategories have objects, morphisms, and 2-morphisms, with associativity and unit laws holding through coherent isomorphisms rather than strict equalities. (arxiv.org)
  • Infinity categories encode higher transformations and coherence data. They extend constructions such as equivalences, adjunctions, limits, and the Yoneda lemma to homotopical settings; several mathematical models support these theories. (arxiv.org)

Applications and foundations

In computer science, categorical semantics relates type theory and programming languages to mathematical structures. Cartesian closed categories model the simply typed lambda calculus, while structured categories and functors provide interpretations of logical theories. Categorical methods distinguish the syntax of a theory from its mathematical models. (andrew.cmu.edu)

In mathematical physics, monoidal categories describe composition of processes and combination of systems. Quantum mechanics supplies examples involving Hilbert spaces and linear operators; topology supplies categories of manifolds and cobordisms. String diagrams make some of the shared compositional structure visible. These are precise correspondences between particular mathematical frameworks, not identifications of the disciplines as a whole. (math.ucr.edu)

Category theory also offers approaches to foundations alongside set theory. Toposes can serve as mathematical universes with their own internal logic. Such approaches require specific axioms: the elementary definition of a category alone does not supply all the structures needed for ordinary mathematics. (arxiv.org)

Size issues and scope

A category is small when its objects and morphisms form sets, and locally small when each individual hom-collection is a set. Categories such as the category of all sets require care about classes or universes. Functor categories and categories of categories can introduce further size requirements; categorical language does not remove foundational paradoxes. (people.math.osu.edu)

Universal constructions are not guaranteed to exist in every category. Likewise, an abstract categorical description captures the structure specified by its objects, morphisms, and additional operations—not automatically every feature of a concrete example. Applying the theory therefore requires establishing the relevant hypotheses and choosing a category that retains the information under investigation. (emilyriehl.github.io)

References

  1. Category Theory — Lecture Notescl.cam.ac.uk
  2. Category Theory in Contextemilyriehl.github.io
  3. General Theory of Natural Equivalencespeople.math.osu.edu
  4. Basic Category Theoryarxiv.org
  5. An informal introduction to topos theoryarxiv.org
  6. Basic Bicategoriesarxiv.org
  7. Infinity category theory from scratcharxiv.org
  8. Categorical Logicandrew.cmu.edu
  9. Physics, Topology, Logic and Computation: A Rosetta Stonemath.ucr.edu