Category
A Category consists of a collection of
where there is a definition for
- 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.
Examples of Categories
The Category of Proofs
- Objects: Propositions
- Arrows: Proofs
Set Categories
Functional Programming Type Categories
Vector Space Categories
- Objects: Vector Spaces
- Arrows: Linear Transformation