## Drying categories

February 27, 2009

Category theory is rife with commutative diagrams, such as the "naturality square",

These diagrams make me vaguely uncomfortable. I don't know what to do with them. I asked myself how to make them look like simple things such as commutative () or associative () laws; about which John Baez commented, "Alas, 1-dimensional representations of commutative diagrams are sort of like dried roses..." So here is my recipe for drying commutative diagrams:

First, I give function application and composition its own symbol. E.W. Dijkstra used (), but I'm going to generate an infinite stack of such symbols in a moment, so we'll call it (). I'm vaguely distressed by using the same symbol for composing morphisms and applying them to objects, but consideration of the type of its arguments makes it unambiguous. Diagram (1) above is "composition is associative" for morphisms acting on object ,

Along with existence of identity morphisms, that defines a category. Applying a functor to either object or morphism gets the symbol (). A functor is defined by

The requirement of mapping identities to identities follows from this with set to an identity element. Functors preserve associativity of functions (proof: apply the equation above to everything in sight in ) and identity morphisms (proof: = = ).

Natural transformations are maps between functors, and I write () for applying them. It's convenient to say that () has a higher precedence than () when . A natural transformation obeys

where is object or morphism. This reproduces the naturality square (proof: apply to ).

I can continue and define

and onwards. At any stage, the algebra continues to look like functors and natural transformations, though on more and more involved categories.

Fred Ross
February 2009
Lausanne, Switzerland

Did you enjoy that? Try one of my books:
 Nonfiction Fiction