{"id":32,"date":"2006-06-19T10:49:19","date_gmt":"2006-06-19T10:49:19","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/06\/19\/category-theory-natural-transformations-and-structure\/"},"modified":"2006-06-19T10:49:19","modified_gmt":"2006-06-19T10:49:19","slug":"category-theory-natural-transformations-and-structure","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2006\/06\/19\/category-theory-natural-transformations-and-structure\/","title":{"rendered":"Category Theory: Natural Transformations and Structure"},"content":{"rendered":"<p> The thing that I think is most interesting about category theory is that what it&#8217;s really fundamentally about is <em>structure<\/em>. The abstractions of category theory let you talk about structures in an elegant way; and category diagrams let you illustrate structures in a simple visual way. Morphisms express the <em>structure<\/em> of a category; functors are higher level morphisms that express the <em>structure of relationships<\/em>  between categories.<\/p>\n<p> In my last <a href=\"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/06\/more-category-theory-getting-into-functors\">category theory post<\/a>, one of the things I mentioned was how category theory lets you explain the idea of symmetry and group actions &#8211; which are a kind of structural immunity to transformation, and a definition of transformation &#8211; in a much simpler way than it could be talked about without categories.<\/p>\n<p> It turns out that symmetry transformations are just the tip of the iceberg of the kinds of structural things we can talk about using categories. In fact, as I alluded to in my last post, if we create a category of categories, we end up with functors as arrows between categories.<\/p>\n<p> What happens if we take the same kind of thing that we did to get group actions, and we pull out a level, so that instead of looking at the category of categories, focusing on arrows from the specific category of a group to the category of sets, we do it with arrows between members of the category of functors?<\/p>\n<p> We get the general concept of a <em>natural transformation<\/em>. A natural transformation is a morphism from functor to functor, which preserves the full structure of morphism composition within the categories mapped by the functors.<\/p>\n<p> Suppose we have two categories, C and D. And suppose we also have two functors, F, G : C &rarr; D. A natural transformation from F to G, which we&#8217;ll call &eta; maps every object x in C to an arrow &eta;<sub>x<\/sub> : F(x) &rarr; G(x). &eta;<sub>x<\/sub> has the property that for every arrow a : x &rarr; y in C, &eta;<sub>y<\/sub> &ordm; F(a) = G(a) &ordm; &eta;<sub>x<\/sub>.  If this is true, we call &eta;<sub>x<\/sub> the <em>component<\/em> of &eta; for (or at) x.<\/p>\n<p> That paragraph is a bit of a whopper to interpret. Fortunately, we can draw a  diagram to help illustrate what that means. The following diagram commutes if &eta; has the property described in that paragraph.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" alt=\"natural-transform.jpg\" src=\"https:\/\/i0.wp.com\/scientopia.org\/img-archive\/goodmath\/img_7.jpg?resize=183%2C122\" width=\"183\" height=\"122\" \/><\/p>\n<p> I think this is one of the places where the diagrams really help. We&#8217;re talking about a relatively straightforward property here, but it&#8217;s very confusing to write about in equational form. But given the commutative diagram, you can see that it&#8217;s not so hard: the path &eta;<sub>y<\/sub> &ordm; F(a) and the path G(a) &ordm; &eta;&lt;sub<\/sub> compose to the same thing: that is, the transformation &eta; <em>hasn&#8217;t changed the structure expressed by the morphisms<\/em>.<\/p>\n<p> And that&#8217;s precisely the point of the natural transformation: it&#8217;s a way of showing the relationships between different descriptions of structures &#8211; just the next step up the ladder. The basic morphisms of a category express the structure of the category; functors express the structure of relationships between categories; and natural transformations express the structure of relationships <em>between relationships<\/em>.<\/p>\n<p> Coming soon: a few examples of natural transformation, and then&#8230; Yoneda&#8217;s lemma. Yoneda&#8217;s lemma takes the idea we mentioned before of a group being representable by a category with one object, and generalizes all the way up from the level of a single category to the level of natural transformations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The thing that I think is most interesting about category theory is that what it&#8217;s really fundamentally about is structure. The abstractions of category theory let you talk about structures in an elegant way; and category diagrams let you illustrate structures in a simple visual way. Morphisms express the structure of a category; functors are [&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,24],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-category-theory","category-goodmath"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-w","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/32","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=32"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}