Category Theory is the study of abstractions of composition, otherwise known as Categories.

Understanding What Categories Are

Set Theory Composition

In order to understand what Categories (abstractions of composition) are, we first need to understand how Composition works in Set Theory. Note that set theory composition is a particular Category.

Composition

The act of combining the application of multiple Functions into one function.

PeopleIntegersBooleansAgeGreaterThan18±AgeidGreaterThan18
  • Age is a function that maps People to Integers
  • GreaterThan18 is a function that maps Integers to Booleans
  • GreaterThan18 Age is the Composition of the above functions that maps People to Booleans
    • It is equivalent to applying Age, then applying GreaterThan18
    • It can be thought of as: GreaterThan18 follows Age
    • GreaterThan18 Age = Age(GreaterThan18(…))
  • id is the Identity Morphism, which is depicted above to map People to People
    • It exists for all sets, but is omitted for the others
Link to original

Categories

In Category Theory, the above functionality is generalized through Categories.

Category

A Category consists of a collection of

where there is a definition for

ABCMabMbc±MabidMbc
  • is a Morphism from to
  • is a Morphism from to
  • is the Composition of the above morphisms that maps to
    • It is equivalent to applying , then applying
    • It can be thought of as: follows
    • Composition is Associative
  • id is the Identity Morphism, which is depicted above to map to
    • It exists for all Objects, but is intentionally omitted for and
  • Think of a Category as a generalized version of Elements, Functions, and Operations in Set Theory.
Link to original

Morphisms

Morphism

An abstraction of a process or relationship between Objects, a more generalized version of a Function, that acts as a Structure-preserving Map

Link to original

The Identity Morphism

Identity Morphism

The morphism mapping Object a Category to itself

  • Every object has a identity morphism

Consider the identity of category

  • Depending on the context, the subscript may not be neccessary

Identity Composition

Composing with the identity has no effect.

XXX'idM±id=MM
Link to original

Composition

Composition

ABCMabMbc±MabMbc
  • is a Morphism from to
  • is a Morphism from to
  • is the Composition of the above functions that maps to
    • It is equivalent to applying , then applying
    • It can be thought of as: follows
    • Composition is Associative
Link to original

Comparison

  • In category theory, we study objects not by looking inside of them, but by analyzing the arrows betweeen them and other objects; by studying their relationships to other objects in the category. In fact, we cannot look inside the objects, because we have not defined the properties of that object. We only know objects by the arrows they emit and receive. If we were to “look inside” an object, we would have to define it as a specific object, like a set or something, which would lose the generality of the category, which doesn’t neccessarily need to have a set there. The whole point of CT is that it is very generalized.
  • Imagine a group of people, where arrows between the people indicates A is a friend of B. We cannot look inside the people to see their personality, traits, etc, but we can determine who is most popular just from looking at the arrows.

Isomorphism

Isomorphism

Formal Definition

An Isomorphism is a kind of Morphism between objects in a Category that is Invertible.

Let be a Morphism and be objects

Isomorphism Facts

  • Isomorphisms are unique
  • If there exists an isomorphism between objects, then those objects are isomorphic with each other
  • If and are isomorphic, then
  • When objects are isomorphic, we can say that they have the same internal structure, without having to actually look inside the objects
  • For example, as Vector Spaces: (not as Algebraic Fields though)

Isomorphism of Categories

Categories contain Objects, and Objects can be anything, including Categories!

  • Functors connect Categories
  • Morphisms connect Objects
  • Our Objects are Categories
  • Thus, our morphisms are functors The Objects of a Categories being Categories themselves, is just a special case of Category. Therefore, the same general Formal Definition applies. However, it can also be reexpressed in terms of functors, where are categories, and is a functor.

Size Intuition

  • When there is a notion of size, this invertibility can be thought of as a Bijective Morphism between a pair of Objects; a relationship where one object can be converted and restored to and from another object.
  • A Bijective Homomorphism.

Consider the Arrows to and from category to , that are Bijective because and have the size

ABfABidAf¡1ABidB
Link to original

Equivalence

Equivalence

Formal Definition

Let and be Categories, Let and are equivalent”, Let be a Functor

Link to original

Adjunction

Adjunction

Formal Definition

Adjunction is a relationship only between Functors. Only functors can be Adjoint to each other.

  • Let and be Categories
  • Let and be Functors.
    • Left Adjoint (Functor)
    • Right Adjoint (Functor)
  • Let
  • Let
Link to original

Universal Construction

Construction

A process for building new Mathematical Objects from existing ones.

Link to original

Universal Property

A rigourous way of saying that a specific Construction is the quintessential way of satisfying a a certain condition, that all other Objects satisfying said condition must obey.

Link to original

Commutative Diagram

A Category diagram where all paths of arrows lead to the same result.

Link to original

Universal Construction

A Construction that satisfies a Universal Property

  • Can be applied to expose relationships existing in other Categories
Link to original

Universal Objects

Universal Object

An Object that has a Universal Property

Link to original

Terminal Object

todo

Link to original

Initial Object

todo

Link to original

Product Object

todo

Link to original

Projection

todo

Link to original

Sum Object

todo

Link to original

Exponential Object

todo

Link to original