Categories
Categories contain:
- A collection of objects
- A collection of morphisms (also called arrows) connecting objects denoted by , where is the morphism, is the source, and is the target
- Note: and DOES NOT IMPLY
- Formally this can also be expressed as a relation between a collection of objects and a collection of morphisms
- Morphisms have a notion of composition, that being if , , then
There are three rules for categories:
- Associativity: For morphisms , , and ,
- Closed composition: If for morphisms and , exists, then there must be morphism
- Identity morphisms: For every object in a category, there must be an identity morphism