{"id":584,"date":"2008-01-20T19:18:28","date_gmt":"2008-01-20T19:18:28","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2008\/01\/20\/before-groups-from-categories-a-category-refresher\/"},"modified":"2008-01-20T19:18:28","modified_gmt":"2008-01-20T19:18:28","slug":"before-groups-from-categories-a-category-refresher","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2008\/01\/20\/before-groups-from-categories-a-category-refresher\/","title":{"rendered":"Before Groups from Categories: a Category Refresher"},"content":{"rendered":"<p> So far, I&#8217;ve spent some time talking about groups and what they mean. I&#8217;ve also given a<br \/>\nbrief look at the structures that can be built by adding properties and operations to groups &#8211;<br \/>\nspecifically rings and fields.<\/p>\n<p> Now, I&#8217;m going to start over, looking at things using category theory. Today, I&#8217;ll start<br \/>\nwith a very quick refresher on category theory, and then I&#8217;ll give you a category theoretic<br \/>\npresentation of group theory. I did a whole series of articles about category theory right after I moved GM\/BM to ScienceBlogs; if you want to read more about category theory than this brief introduction, you can look at <a href=\"http:\/\/scienceblogs.com\/goodmath\/goodmath\/category_theory\/\">the category theory archives.<\/a> <\/p>\n<p> Like set theory, category theory is another one of those attempts to form a fundamental<br \/>\nabstraction with which you can build essentially any mathematical abstraction. But where sets<br \/>\ntreat the idea of <em>grouping<\/em> things together as the fundamental abstraction, category<br \/>\ntheory makes the idea of <em>mappings<\/em> between things as the fundamental abstraction.<\/p>\n<p><!--more--><\/p>\n<p> A category is thus a simple structure consisting of a collection of <em>objects<\/em>,<br \/>\nconnecting by <em>arrows<\/em> (arrows are also called <em>morphism<\/em>). For intuition, you<br \/>\ncan think of objects as sets, and arrows as functions: an arrow is a mapping from one object<br \/>\nto another, much like a function is a mapping from one set to another. (But that&#8217;s only a very<br \/>\nvague intuition: in category theory, we never consider the internal structure of the objects<br \/>\nor the arrows: the objects and arrows are the primitive atoms of category theory &#8211; and there<br \/>\nare some categories where that intuition will lead you astray.) If there&#8217;s an arrow f from<br \/>\nobject a to object b, we&#8217;ll write that as &#8220;f:a&rarr;b&#8221;.<\/p>\n<p> In some sense, the objects of a category are almost unnecessary; what we care about are<br \/>\nthe arrows. The objects are only there to give us something to connect with arrows. It&#8217;s like<br \/>\na connect-the-dots puzzle: the dots aren&#8217;t important parts of the picture: they&#8217;re just there<br \/>\nto show you where to draw the lines.<\/p>\n<p> In addition to the arrows, there&#8217;s a single fundamental operation on arrows, called<br \/>\n<em>composition<\/em>. Given two arrows f:a&rarr;b and g:b&rarr;c, we can compose f and g,<br \/>\ngetting a new arrow from a to c. We write the composition of f and g &#8220;g&ordm;f&#8221;. Arrow<br \/>\ncomposition has to meet two properties, which are going to look pretty familiar from group<br \/>\ntheory: associativity, and identity. Associativity says that<br \/>\na&ordm;(b&ordm;c)=(a&ordm;b)&ordm;c; and identity says that that for any arrow f:a&rarr;b,<br \/>\nthere are arrows 1<sub>a<\/sub> and 1<sub>b<\/sub> such that 1<sub>b<\/sub>&ordm;f = f =<br \/>\nf&ordm;1<sub>a<\/sub>. (In other words, for any arrow, there&#8217;s something you can compose it<br \/>\nwith that won&#8217;t change it.)<\/p>\n<p> Category theorists have a lot of jargon for describing arrows with additional properties.<br \/>\nThere&#8217;s a rundown of the basic ones <a href=\"http:\/\/scienceblogs.com\/goodmath\/2006\/06\/a_first_glance_at_category_the.php\">here<\/a>.<br \/>\nFor an example that&#8217;s important for looking at group theory related topics, we say than an<br \/>\narrow is <em>iso<\/em> (i.e., it is a iso-morphism) if it&#8217;s reversable &#8211; which in category<br \/>\ntheoretic terms means that if f is an iso-arrow, then there is an arrow f<sup>-1<\/sup> such<br \/>\nthat f&ordm;f<sup>-1<\/sup>=1.<\/p>\n<p> In category theory, one useful technique is diagrams. You can draw a set of objects and arrows as a diagram. The diagram is said to <em>commute<\/em> if any two paths in the diagram that have the same start and end-points compose to the same arrow. It&#8217;s important to realize that a diagram is an explanatory tool &#8211; not a proof. (That&#8217;s a common error &#8211; I can&#8217;t count how many CS papers I&#8217;ve seen that show a diagram without proving that it actually commutes!) Just because you can draw it doesn&#8217;t mean that it commutes. You&#8217;ve got to show that.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"principle-arrow.png\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_296.png?resize=120%2C115\" width=\"120\" height=\"115\" class=\"inset right\" \/><\/p>\n<p> For an example of a diagram, there&#8217;s a type of arrow between two objects A and B called a <em>principle<\/em> morphism. The idea of a principle morphism is that a morphism M from A to B is principle if and only if every self-arrow of A (or endomorphism, an arrow from A to A), composed with an arrow from A to B yields M. As a very visual thinker, I find that paragraph hard to follow. But in category theory, we can say that <em>m<\/em> is principle if and only if for every arrow x from A to A, and for every arrow y from A to B, the diagram to the right commutes.<\/p>\n<p> The key to reading diagrams is to realize that you really need to look carefully at the labels. The same object can (and often will) appear multiple times in the same diagram. But any two paths between the same objects has to be equivalent. So in the example above, the object A appears two different times. That helps make clear that we&#8217;re saying that composing an arrow from A to A with an arrow from A to B always yields m; if we only drew A once, we&#8217;d have a looped arrow on A, and two arrows from A to B. It wouldn&#8217;t be clear what we were asserting about which arrows compose with which. By drawing A twice, we&#8217;ve done something which is equivalent, but easier for a human to read.<\/p>\n<p> As I said, in category theory, we&#8217;re studying structures in terms of mappings. One of the<br \/>\nmajor tools of the field is to use higher-order mappings to study the structures of<br \/>\ncategories. If you&#8217;ve got a category with arrows, you can define a higher-order mapping called<br \/>\na <em>functor<\/em>, which is a mapping from arrows to arrows. (And it&#8217;s also an arrow in the<br \/>\ncategory of categories.) Above that, there&#8217;s something called a <em>natural<br \/>\ntransformation<\/em> which, very loosely described, is a mapping from functors to functors. The<br \/>\nidea of all of these mappings is to provide a tool for talking about structures, how they<br \/>\nwork, and what they mean. In every case, you can view a mapping as something that preserves<br \/>\nsome kind of structure. An arrow in a category is a mapping between things that have some<br \/>\nstructural similarity, and the mapping preserves that. A functor maps between arrows in a<br \/>\ncategory, preserving the structure described those arrows. A natural transformation maps<br \/>\nbetween functors, preserving the structure described by those functors.<\/p>\n<p> Since from the viewpoint of abstract algebra, we&#8217;re building sets with a bit of structure<br \/>\nto them (provided by the operations), category theory is a great tool for studying groups,<br \/>\nrings, fields, and the other things in abstract algebra.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So far, I&#8217;ve spent some time talking about groups and what they mean. I&#8217;ve also given a brief look at the structures that can be built by adding properties and operations to groups &#8211; specifically rings and fields. Now, I&#8217;m going to start over, looking at things using category theory. Today, I&#8217;ll start with a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[76,26],"tags":[],"class_list":["post-584","post","type-post","status-publish","format-standard","hentry","category-category-theory","category-group-theory"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-9q","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=584"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/584\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}