# Category

The definition of a category in category theory evolved over time, according to the author's chosen goals and framework. Eilenberg & Mac Lane gave a purely abstract definition of a category. Others, starting with Grothendieck (1957) and Freyd (1964), elected for reasons of practicality to define categories in set-theoretic terms. I will define it as follows.

# Idea

f:xyf : x \rightarrow y

and we say that ff is a morphism from xx to yy. In a category, we can compose a morphism g:xyg: x \rightarrow y and a morphism f:yzf: y \rightarrow z to get a morphism fg:xzf \circ g : x \rightarrow z. Composition is associative and satisfies the left and right unit laws.