{"id":87,"date":"2006-07-25T15:42:00","date_gmt":"2006-07-25T15:42:00","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2006\/07\/25\/the-category-structure-for-linear-logic\/"},"modified":"2006-07-25T15:42:00","modified_gmt":"2006-07-25T15:42:00","slug":"the-category-structure-for-linear-logic","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2006\/07\/25\/the-category-structure-for-linear-logic\/","title":{"rendered":"The Category Structure for Linear Logic"},"content":{"rendered":"<p>So, we&#8217;re still working towards showing the relationship between linear logic and category theory. As I&#8217;ve already hinted, linear logic has something to do with certain monoidal categories. So today, we&#8217;ll get one step closer, by talking about just what kind of monoidal category. As I keep complaining, the problem with category theory is that anytime you want to do something interesting, you have to wade through a bunch of definitions to set up your structures.  I&#8217;ll do my best to keep it short and sweet; as short as it is, it&#8217;ll probably take a bit of time to sink in.<br \/>\nFirst, we need a symmetry property. A monoidal category C (with terminal object t, tensor &otimes;, and natural isomorphisms &lambda;, &rho;)  is *symmetric* if\/f for all objects a and b in C, there is a natural isomorphism &gamma;<sub>a,b<\/sub> : (a &otimes; b) &rarr; (b &otimes; a); and the categories monoidal natural isomorphism &rho; = &lambda;<sub>b<\/sub> &ordm; &gamma;<sub>b,t<\/sub> : (b &otimes; t) &rarr; b.<br \/>\nIn other words, if you reverse the arrows, but leave everything else the same, you still wind up with a monoidal category.<br \/>\nIn a similar vein: regular functors are also sometimes called *covariant* functors. If you take a functor and *reverse* the directions of all the arrows, you get what&#8217;s known an a *contravariant* functor, or *cofunctor*.<br \/>\nWe also need a *closure* property. Suppose C is a symmetric monoidal category. C is *monoidally closed* if\/f there is a functor &rArr; : C &times; C &rarr; C, such that for every object b in C, there is an isomorphism &Lambda; : (a&otimes;b &rarr; c)  &rarr; (a &rarr; (b &rArr; c)), and &Lambda; is a natural transformation for a and c. (Remember that a and c are categories here; this is a natural transformation from category to category.)<br \/>\nBasically, this just says that the tensor stays cleanly in the monoid, and there&#8217;s always a natural transformation corresponding to any use of tensor.<br \/>\nSo what these two really do is pull up some of the basic category properties (closure with respect to composition, symmetry) and apply them to categories and natural transformations themselves.<br \/>\nFinally, we need to be able to talk about what it means for a *functor* to be closed. So suppose we have a monoidally closed category, with the usual components, up to and including the &Lambda; natural transformation. A functor F : C &rarr; C is *closed* if, for all a,b in C, there is an arrow f<sub>a,b<\/sub> : b<sup>a<\/sup> &rarr; F(b)<sup>F(a)<\/sup> such that for all g : a &rarr; b, f<sub>a,b<\/sub> &ordm; &Lambda;(g&ordm; &lambda;<sub>a<\/sub>) = &Lambda;(F(g) &ordm; &lambda;<sub>F(a)<\/sub>).<br \/>\nIn simple english, what a closed functor is is a functor that can be *represented by* an arrow in the category itself. That&#8217;s what all of that gobbledygook really means.<br \/>\nSo&#8230; as a quick preview, to give you an idea of why we just waded through all of this gunk: if you take a monoidally closed category of the appropriate type, then collections of resources are going to be categories; &otimes; is the tensor to join collections of resources; and &#8220;-o&#8221; implications are the closed functors &#8220;&rArr;&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, we&#8217;re still working towards showing the relationship between linear logic and category theory. As I&#8217;ve already hinted, linear logic has something to do with certain monoidal categories. So today, we&#8217;ll get one step closer, by talking about just what kind of monoidal category. As I keep complaining, the problem with category theory is that [&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,33],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-category-theory","category-goodmath","category-logic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-1p","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/87","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=87"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}