Mathematics Prelims

February 24, 2009

Concrete and Non-Concrete Categories (Informally)

Filed under: Category Theory — cjohnson @ 4:01 pm

The categories that naturally come to mind when trying to think up examples of a category (such as sets with functions, groups with homomorphisms, topological spaces with continuous maps, …) are sometimes called concrete categories.  These are categories where the objects are sets, usually with some additional structure (group structure, a topology, etc.), and the morphisms are well-defined functions between those sets that preserve the structure.  For example, consider Top, the category of topological spaces with continuous maps.

In the case of Top it’s easy to check that the identity map is continuous, that composition of continuous functions yields another continuous function, and function composition in general is associative.  With a continuous map, say f : S \to T, we’re taking a point s \in S and assigning it to a single point f(s) \in T (so we have a well-defined function between two sets) in such a way that if we have an open subset U \subseteq T and look at the preimage of each point in U, we get an open set in f^{-1}(U) \subseteq S.  It is in this sense that the structure of the topological space is preserved: preimages of open sets are open sets.  In the case of Grp, our morphisms are group homomorphisms, which by their very definition respect the group structure.

There are, of course, categories which are not concrete.  In the last post we saw a very simple category with three objects.  These objects aren’t sets, they’re just “things” that we decided to label A, B, and C.  The morphisms between these objects aren’t functions in any sense of the word: they don’t associate inputs with outputs, there aren’t even any “inputs” or “outputs” to speak of!  Our morphisms are literally just arrows that start at one object and end at another.  (For this reason some people simply refer to the morphisms of a category as arrows.)

The category <img src='http://l.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&bg=ffffff&fg=000000&s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' />” width=”251″ height=”215″ /></p>
<p style=

The above is about as far from a concrete category as you can get, but consider the following example from Awodey.  Let the objects of the category be sets.  For any sets A and B a morphism from A to B is any subset of A \times B (that is, any relation on A and B).  The identity relation is taken to be \{(a, a) : a \in A\}.  For composition of two relations, we say that \{(a, c)\} is the composition of \{(a, b)\} and \{(b, c)\} where (a, c) is in the set iff there is a b_0 \in B such that (a, b_0) and (b_0, c) are in the original relations.  Here are objects are sets, but the arrows are not functions.  The morphisms are collections of ordered pairs (a, b) with a \in A and b \in B.  This is not a function as we may “associate” one a \in A with several items in B.  For example, we may have a morphism \{(a, b_1), (a, b_2)\} with b_1 \neq b_2.

February 22, 2009

Category Theory – Basic Definitions

Filed under: Category Theory — cjohnson @ 10:41 pm

There are certain ideas that are common across many areas of mathematics.  Regardless of whether we’re talking about vector spaces, topological spaces, groups, or simply sets, we have some notion of a mapping between entities in that space.  In the case of sets we may require nothing more than that the maps be well-defined, whereas with groups or vector spaces we may also require that the map preserves some structure.  For example, when discussing maps between vector spaces we may require linearity (e.g., a linear transformation); for groups we may require that the map respects the group operation (homomorphisms).  In either case, we may place some other requirements on the maps that do not require the structure of the space.  In set-theoretic terms, we may concern ourselves with maps that are injective (one-to-one; for each output, there is only one input); that are surjective (there is an input that will give each possible output), or both (bijective).  The language and ideas of category theory allow us to generalize this common notion and also to explore consequences of the requirements we place on these maps.

A category \mathcal{C} is a class of objects and a class of morphisms between those objects that satisfy certain properties.  Before discussing those properties it should be noted that though in many instances morphisms will be actual maps or functions, they don’t necessarily have to be.  We may in fact think of a category simply as a directed graph, where the vertices are objects and the edges are morphisms.  Here there is no structure or mapping quality of the morphisms, they are just “arrows” that start at one object and end at another.

Collectively, the class of objects of the category \mathcal{C} is referred to as \text{Ob}(\mathcal{C}), and the class of morphisms as \text{Hom}(\mathcal{C}).  To refer to the collection of morphisms whose source is the object A and whose target is the object B, we write \text{Hom}_{\mathcal{C}}(A, B) (or just \text{Hom}(A, B) if the category \mathcal{C} is clear from the context).  The morphisms of \mathcal{C} must satisfy the following.

  1. For each A \in \text{Ob}(\mathcal{C}) there is an identity morphism from that object to itself.  That is, there is a 1_A \in \text{Hom}(A, A) with the property that for any g \in \text{Hom}(B, A) and h \in \text{Hom}(A, C) such that 1_A \circ g = g and h \circ 1_A = h.
  2. Composition of morphisms yields a morphism:  if f \in \text{Hom}(A, B) and g \in \text{Hom}(B, C), then there is a morphism, g \circ f \in \text{Hom}(A, C).
  3. Composition of morphisms is associative:  if f, g, and h are morphisms, then (f \circ g) \circ h = f \circ (g \circ h).

For example, the following diagram could be taken as the definition of a category \mathcal{C}.

The category <img src='http://l.wordpress.com/latex.php?latex=%5Cmathcal%7BC%7D&bg=ffffff&fg=000000&s=0' alt='\mathcal{C}' title='\mathcal{C}' class='latex' />” width=”251″ height=”215″ /></p>
<p style=

In this category we have three objects, A, B, and C.   In addition to the identity morphisms, we have an f \in \text{Hom}(A, B), a g \in \text{Hom}(B, C), and their composition.

Blog at WordPress.com.