<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gyre&#38;Gimble</title>
	<atom:link href="http://sixwingedseraph.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixwingedseraph.wordpress.com</link>
	<description>Math, language, and other things that might appear in the wabe.</description>
	<lastBuildDate>Tue, 13 Dec 2011 21:15:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sixwingedseraph.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/88735ca6f379f9bb60a2aef24cbab95e?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Gyre&#38;Gimble</title>
		<link>http://sixwingedseraph.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sixwingedseraph.wordpress.com/osd.xml" title="Gyre&#38;Gimble" />
	<atom:link rel='hub' href='http://sixwingedseraph.wordpress.com/?pushpress=hub'/>
		<item>
		<title>This blog has moved, but some stuff has been left behind.</title>
		<link>http://sixwingedseraph.wordpress.com/2011/09/09/2288/</link>
		<comments>http://sixwingedseraph.wordpress.com/2011/09/09/2288/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 14:25:24 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=2288</guid>
		<description><![CDATA[This blog has moved to a new location: http://www.abstractmath.org/Word%20Press/ During the move, most links were trashed and so were some posts.  Most of the difficulty occurred in a long sequence of posts about turning definitions into mathematical objects.  Because of this, I have retained those files here on the old site until I can merge [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=2288&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog has moved to a new location: <a href="http://www.abstractmath.org/Word%20Press/">http://www.abstractmath.org/Word%20Press/</a></p>
<p>During the move, most links were trashed and so were some posts.  Most of the difficulty occurred in a long sequence of posts about turning definitions into mathematical objects.  Because of this, <strong>I have retained those files here on the old site until I can merge them into one long article.</strong>  Once I do this, this website will disappear.</p>
<p>All the other articles on the site have been trashed.  They are all on the new site.  Some of the links in the articles published before 2010 have not yet been repaired.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/2288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/2288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/2288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=2288&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2011/09/09/2288/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 9</title>
		<link>http://sixwingedseraph.wordpress.com/2009/11/07/definitions-into-mathematical-objects-9-2/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/11/07/definitions-into-mathematical-objects-9-2/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 22:41:51 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[cartesian closed]]></category>
		<category><![CDATA[evaluation]]></category>
		<category><![CDATA[function space]]></category>
		<category><![CDATA[object oriented programming]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=1371</guid>
		<description><![CDATA[This is the ninth post in a series, continuing TDMO1,  TDMO2,  TDMO3,  TDMO4, TDMO5, TDMO6, TDMO7 and TDMO8.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me.  This post tells how to sketch cartesian closed categories and gives an example of a form. Cartesian closed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1371&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the ninth post in a series, continuing <a href="../2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>,  <a href="../2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>,  <a href="../2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a>,  <a href="../2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a>,<a href="../2009/09/04/definitions-into-mathematical-objects-5/"> TDMO5</a>, <a href="../2009/09/22/definitions-into-mathematical-objects-6/">TDMO6, </a><a href="../2009/09/25/definitions-into-mathematical-objects-7/">TDMO7</a> and <a href="http://sixwingedseraph.wordpress.com/2009/10/14/definitions-into-mathematical-objects-8/">TDMO8</a>.  This series builds up to an explanation of the concept of <strong>form </strong>in the paper <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.  This post tells how to sketch cartesian closed categories and gives an example of a form.</p>
<h3>Cartesian closed categories</h3>
<p>A <strong>Cartesian closed category</strong> is a category <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' /> with the following structure:</p>
<ul>
<li><img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' /> has binary products.</li>
<li>For each pair of objects <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B' title='B' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' />, there is an object <img src='http://s0.wp.com/latex.php?latex=B%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B^A' title='B^A' class='latex' /> and an arrow <img src='http://s0.wp.com/latex.php?latex=text%7Beval%7D%3AB%5EAtimes+Ato+B&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{eval}:B^Atimes Ato B' title='text{eval}:B^Atimes Ato B' class='latex' />.  <img src='http://s0.wp.com/latex.php?latex=B%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B^A' title='B^A' class='latex' /> is an <strong>exponential object</strong>.</li>
<li>For each triple of objects <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B' title='B' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='C' title='C' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' />, there is a map <img src='http://s0.wp.com/latex.php?latex=lambda%3Atext%7BHom%7D%28Btimes+A%2C+C%29to+text%7BHom%7D%28B%2CC%5EA%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='lambda:text{Hom}(Btimes A, C)to text{Hom}(B,C^A)' title='lambda:text{Hom}(Btimes A, C)to text{Hom}(B,C^A)' class='latex' /> such that for every arrow <img src='http://s0.wp.com/latex.php?latex=f%3ABtimes+Ato+C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f:Btimes Ato C' title='f:Btimes Ato C' class='latex' />, the diagram below commutes:</li>
</ul>
<p><img class="aligncenter size-full wp-image-1386" title="CCCDiagrams1" src="http://sixwingedseraph.files.wordpress.com/2009/10/cccdiagrams1.jpg?w=780" alt="CCCDiagrams1"   />(lameval)</p>
<ul>
<li>For any arrow <img src='http://s0.wp.com/latex.php?latex=g%3ABto+C%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='g:Bto C^A' title='g:Bto C^A' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=lambda%28text%7Beval%7Dcirc%28gtimestext%7BId%7D%5BA%5D%29%29%3Dg&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='lambda(text{eval}circ(gtimestext{Id}[A]))=g' title='lambda(text{eval}circ(gtimestext{Id}[A]))=g' class='latex' />.</li>
</ul>
<p>It follows that <img src='http://s0.wp.com/latex.php?latex=lambda&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='lambda' title='lambda' class='latex' /> is a natural isomorphism of homsets.</p>
<p>Going from <img src='http://s0.wp.com/latex.php?latex=f%3ABtimes+Ato+C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f:Btimes Ato C' title='f:Btimes Ato C' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=lambda+f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='lambda f' title='lambda f' class='latex' /> is called <strong>currying </strong>or <strong>partial application. </strong>You can curry a multivariable function all the way down to a constant.  The inverse process is usually called <strong>uncurrying</strong>.   It constitutes getting rid of entries in the codomain of a function that are function spaces by <em>adding variables</em> to the function. I suggest using<strong> blanding</strong> instead of &#8220;uncurrying&#8221;.</p>
<h3>The FL sketch for cartesian closed categories</h3>
<p>The FL sketch for CCC&#8217;s (which I will call <strong>CCCSk</strong>) is spelled out in detail in <a style="color:#0062a0;text-decoration:none;" href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">GBLS</a>. I will mention some of the constructions here.  I will use many of them in the next section to give an example of a form.</p>
<p><strong>Objects and arrows<br />
</strong></p>
<p>The arrows needed are spelled out in Sections 7.2 and  7.6 of <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">GBLS</a>.  Here I mention</p>
<ul>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Bunit%7D%3Atext%7Bob%7Dtotext%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{unit}:text{ob}totext{ar}' title='text{unit}:text{ob}totext{ar}' class='latex' /> that formally picks out the identity arrow of an object.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Btwovf%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{twovf}' title='text{twovf}' class='latex' />, the formal set of functions of two variables, in other words arrows of the form <img src='http://s0.wp.com/latex.php?latex=f%3ABtimes+Ato+C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f:Btimes Ato C' title='f:Btimes Ato C' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Barrow%7D%3Atext%7Btwovf%7Dtotext%7Bob%7D%5Ef&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{arrow}:text{twovf}totext{ob}^f' title='text{arrow}:text{twovf}totext{ob}^f' class='latex' /> that picks out the arrow <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f' title='f' class='latex' /> itself.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Btsource%7D%3Atext%7Btwovf%7Dtotext%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{tsource}:text{twovf}totext{ob}' title='text{tsource}:text{twovf}totext{ob}' class='latex' /> that picks out the source <img src='http://s0.wp.com/latex.php?latex=Btimes+A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='Btimes A' title='Btimes A' class='latex' /> of a two-variable function <img src='http://s0.wp.com/latex.php?latex=f%3ABtimes+Ato+C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f:Btimes Ato C' title='f:Btimes Ato C' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Bcurry%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{curry}' title='text{curry}' class='latex' />, the formal set of curried functions from <img src='http://s0.wp.com/latex.php?latex=B+to+C%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B to C^A' title='B to C^A' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Bcsource%7D%3Atext%7Bcurry%7Dtotext%7Bob%7D%5EB&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{csource}:text{curry}totext{ob}^B' title='text{csource}:text{curry}totext{ob}^B' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=text%7Bctarget%7D%3Atext%7Bcurry%7Dtotext%7Bob%7D%5E%7BC%5EA%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ctarget}:text{curry}totext{ob}^{C^A}' title='text{ctarget}:text{curry}totext{ob}^{C^A}' class='latex' /> that pick out the source and target of a curried function <img src='http://s0.wp.com/latex.php?latex=g%3ABto+C%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='g:Bto C^A' title='g:Bto C^A' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Bfs%7D%3Atext%7Bob%7D%5EBtimestext%7Bob%7D%5EAtotext%7Bob%7D%5E%7BB%5EA%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{fs}:text{ob}^Btimestext{ob}^Atotext{ob}^{B^A}' title='text{fs}:text{ob}^Btimestext{ob}^Atotext{ob}^{B^A}' class='latex' /> that picks out the function space <img src='http://s0.wp.com/latex.php?latex=B%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B^A' title='B^A' class='latex' /> of two objects <img src='http://s0.wp.com/latex.php?latex=B&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='B' title='B' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=text%7Bar%7D_2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ar}_2' title='text{ar}_2' class='latex' />, the formal set of composable pairs of arrows in the FL sketch for categories, defined by this pullback diagram:</li>
</ul>
<p><img class="aligncenter size-full wp-image-1414" title="CatAr2Def" src="http://sixwingedseraph.files.wordpress.com/2009/11/catar2def1.jpg?w=780" alt="CatAr2Def"   />(Ar2Def)</p>
<p>For the purposes of the example below, I need  <img src='http://s0.wp.com/latex.php?latex=text%7Bbsource%7D%3Atext%7Btwovf%7Dtotext%7Bob%7D%5EBtimestext%7Bob%7D%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{bsource}:text{twovf}totext{ob}^Btimestext{ob}^A' title='text{bsource}:text{twovf}totext{ob}^Btimestext{ob}^A' class='latex' /> as defined by this diagram:<img class="aligncenter size-full wp-image-1405" title="CCCTSourceDef" src="http://sixwingedseraph.files.wordpress.com/2009/11/ccctsourcedef.jpg?w=780" alt="CCCTSourceDef"   />(Bsource)</p>
<p>In an object-oriented program built on this work, this would be a <em>derived method.</em>.</p>
<p>One of the limit cones in CCCSk defines <img src='http://s0.wp.com/latex.php?latex=text%7Bcurry%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{curry}' title='text{curry}' class='latex' /> and in particular gives <img src='http://s0.wp.com/latex.php?latex=text%7Bfs%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{fs}' title='text{fs}' class='latex' /> the properties it needs:</p>
<p><img class="aligncenter size-full wp-image-1401" title="CCCurryDiagram" src="http://sixwingedseraph.files.wordpress.com/2009/10/cccurrydiagram1.jpg?w=780" alt="CCCurryDiagram"   />(Curry)</p>
<p>The commutative diagram below should have been included in the FL sketch for categories in Section 7.2 of GLBS.   It gives the composite of a composable pair the right source and target.</p>
<p><img class="aligncenter size-full wp-image-1415" title="CatCompCompat" src="http://sixwingedseraph.files.wordpress.com/2009/11/catcompcompat.jpg?w=780" alt="CatCompCompat"   />(Compreq)</p>
<h3>Representing reflexive function spaces</h3>
<p>An object <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' /> of a cartesian closed category is <strong>reflexive </strong>if there are arrows <img src='http://s0.wp.com/latex.php?latex=I%3AA%5EAto+A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='I:A^Ato A' title='I:A^Ato A' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=J%3AAto+A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='J:Ato A^A' title='J:Ato A^A' class='latex' /> such that</p>
<p><img class="aligncenter size-full wp-image-1421" title="ReflexiveFSRetractDiagram" src="http://sixwingedseraph.files.wordpress.com/2009/11/reflexivefsretractdiagram.jpg?w=780" alt="ReflexiveFSRetractDiagram"   />(ret)</p>
<p>commutes.  That means  <img src='http://s0.wp.com/latex.php?latex=A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A^A' title='A^A' class='latex' /> is a <strong>retract </strong>of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />.  <img src='http://s0.wp.com/latex.php?latex=A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A^A' title='A^A' class='latex' /> is called  a <strong>reflexive function space. </strong>RFS&#8217;s  are the theoretical basis for programming languages which have &#8220;functions as first class objects&#8221;.</p>
<p>So a sketch for RFS&#8217;s would be defined by a limit cone over  the diagram below.  I have always shown the cones in blue before, but GBLS does not show cones at all, and it isn&#8217;t necessary to show them.</p>
<p><img class="aligncenter size-full wp-image-1431" title="ReflexiveConeBase" src="http://sixwingedseraph.files.wordpress.com/2009/11/reflexiveconebase.jpg?w=780" alt="ReflexiveConeBase"   />(ReflFSConeBase)</p>
<p>To specify a reflexive function space you would have to give  an object <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' /> and two arrows <img src='http://s0.wp.com/latex.php?latex=I%3AA%5EAto+A%2C+J%3AAto+A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='I:A^Ato A, J:Ato A^A' title='I:A^Ato A, J:Ato A^A' class='latex' /> that satisfies Diagram (lameval) above, so the mandatory projections would be to <img src='http://s0.wp.com/latex.php?latex=text%7Bob%7D%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ob}^A' title='text{ob}^A' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=text%7Bar%7D%5EI&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ar}^I' title='text{ar}^I' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=text%7Bar%7D%5EJ&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ar}^J' title='text{ar}^J' class='latex' />.  The projection to <img src='http://s0.wp.com/latex.php?latex=text%7Bob%7D%5E%7BA%5EA%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ob}^{A^A}' title='text{ob}^{A^A}' class='latex' /> is induced by Diagram (Curry) above, the projection to <img src='http://s0.wp.com/latex.php?latex=text%7Bar%7D%5E%7B%3CJ%2CI%3E%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ar}^{&lt;J,I&gt;}' title='text{ar}^{&lt;J,I&gt;}' class='latex' /> by Diagram (Ar2Def), and the projection to <img src='http://s0.wp.com/latex.php?latex=text%7Bob%7D%5EAtimes+text%7Bob%7D%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{ob}^Atimes text{ob}^A' title='text{ob}^Atimes text{ob}^A' class='latex' /> follows from the fact that it is the vertex of the product cone shown.  The other projections exist by composition.</p>
<p>Let&#8217;s call the vertex of this cone <img src='http://s0.wp.com/latex.php?latex=text%7Brfs%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{rfs}' title='text{rfs}' class='latex' /> for &#8220;reflexive function space&#8221;.  Note that <em>all the objects and arrows in this diagram exist in the FL sketch for cartesian closed categories</em><em>.<br />
</em></p>
<p>Now you can check (or forget all the constructions above and just <strong><em></em></strong>Put Your Hands On The Monitor And Believe) that in a model <img src='http://s0.wp.com/latex.php?latex=M&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M' title='M' class='latex' /> of the FL sketch for CCC&#8217;s, <img src='http://s0.wp.com/latex.php?latex=M%28text%7Brfs%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(text{rfs})' title='M(text{rfs})' class='latex' /> would be the set of reflexive function spaces together with specified inclusion <img src='http://s0.wp.com/latex.php?latex=I%3AA%5EAto+A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='I:A^Ato A' title='I:A^Ato A' class='latex' /> and retraction <img src='http://s0.wp.com/latex.php?latex=J%3AAto+A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='J:Ato A^A' title='J:Ato A^A' class='latex' />.</p>
<p><strong>Non-surprise: </strong>In any model of the FL sketch for CCC&#8217;s in the category of sets, <img src='http://s0.wp.com/latex.php?latex=M%28text%7Brfs%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(text{rfs})' title='M(text{rfs})' class='latex' /> will be the <em>empty set. </em>It is well known that for any set <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />  the function space <img src='http://s0.wp.com/latex.php?latex=A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A^A' title='A^A' class='latex' /> has cardinality properly bigger that the cardinality of <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />, so there can be no inclusion of <img src='http://s0.wp.com/latex.php?latex=A%5EA&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A^A' title='A^A' class='latex' /> into <img src='http://s0.wp.com/latex.php?latex=A&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='A' title='A' class='latex' />.</p>
<p>Nevertheless, <img src='http://s0.wp.com/latex.php?latex=M%28text%7Brfs%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(text{rfs})' title='M(text{rfs})' class='latex' /> is a <em>perfectly well defined set</em>.  It just turns out to be empty.</p>
<h3>Forms</h3>
<p>Forms are defined formally in <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">GBLS</a>.  This series of posts is supposed to give you an intuitive idea or understanding of form.  Well, we can make a form for reflexive function spaces out of the work done above.  Some terminology:</p>
<p><strong>Constructor space</strong></p>
<p>The sketch CCCSk for cartesian closed categories is a <strong>constructor space. </strong>A constructor space must be an FL-sketch that &#8220;contains&#8221; and is &#8220;generated&#8221; (see GBLS, Chapter 6.1) by the FL sketch for categories, and indeed CCCSk is built from the FL sketch for categories by adjoining some objects and arrows, cones and commutative diagrams <em>that all exist already in the FL Cattheory for categories</em> <em> </em>(see<em> </em><a href="../2009/09/22/definitions-into-mathematical-objects-6/">TDMO6</a>).  So a constructor space <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}' title='text{C}' class='latex' /> has models we can call  <strong>C-categories. </strong> In particular a model for CCCSk in sets is a cartesian closed category.  In previous posts I have constructed constructor spaces for categories with finite products and categories with finite limits.</p>
<p>Constructor spaces construct doctrines, in the one-dimensional case and with restrictions I will mention in a later post.</p>
<p>For any constructor space <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}' title='text{C}' class='latex' /> , take an object <img src='http://s0.wp.com/latex.php?latex=F&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='F' title='F' class='latex' /> in the FL Cattheory of <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}' title='text{C}' class='latex' />   and adjoin a new arrow <img src='http://s0.wp.com/latex.php?latex=f%3A1to+F&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f:1to F' title='f:1to F' class='latex' /> where 1 is the terminal object.  <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f' title='f' class='latex' />  is what we call a <strong>C-form</strong> and<strong> </strong><img src='http://s0.wp.com/latex.php?latex=text%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}' title='text{C}' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='f' title='f' class='latex' /> as a freely adjoined arrow is called <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D_f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}_f' title='text{C}_f' class='latex' />.</p>
<p>A <strong>model </strong>of a <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}' title='text{C}' class='latex' />-form &#8220;in a C-category <img src='http://s0.wp.com/latex.php?latex=cal%7BK%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='cal{K}' title='cal{K}' class='latex' />&#8220;  means that <img src='http://s0.wp.com/latex.php?latex=cal%7BK%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='cal{K}' title='cal{K}' class='latex' /> is a model of <img src='http://s0.wp.com/latex.php?latex=text%7BC%7D_f&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{C}_f' title='text{C}_f' class='latex' />  This means that in  <img src='http://s0.wp.com/latex.php?latex=cal%7BK%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='cal{K}' title='cal{K}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=M%28F%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(F)' title='M(F)' class='latex' /> is <em>nonempty.</em></p>
<p>The CCC-form for reflexive function spaces is then a global element of the node <img src='http://s0.wp.com/latex.php?latex=text%7Brfs%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{rfs}' title='text{rfs}' class='latex' /> of CCCSk as constructed above for some CCC.  There are no models in the category of sets, but there are many toposes (and many other CCC&#8217;s) that do have models, such as the realizability topos.</p>
<p>I have lots of miscellaneous comments and explanations to make about the idea of form which must wait for another post.</p>
<h3>References</h3>
<p>[1] Charles Wells (1990), <a href="http://www.cwru.edu/artsci/math/wells/pub/pdf/GCSketch.pdf">A generalization of the concept of sketch</a>.</p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:2607px;width:1px;height:1px;">(see <a href="http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/">TDMO6</a>) (see <a href="http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/">TDMO6</a>)</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/1371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/1371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/1371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1371&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/11/07/definitions-into-mathematical-objects-9-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/cccdiagrams1.jpg" medium="image">
			<media:title type="html">CCCDiagrams1</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/11/catar2def1.jpg" medium="image">
			<media:title type="html">CatAr2Def</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/11/ccctsourcedef.jpg" medium="image">
			<media:title type="html">CCCTSourceDef</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/cccurrydiagram1.jpg" medium="image">
			<media:title type="html">CCCurryDiagram</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/11/catcompcompat.jpg" medium="image">
			<media:title type="html">CatCompCompat</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/11/reflexivefsretractdiagram.jpg" medium="image">
			<media:title type="html">ReflexiveFSRetractDiagram</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/11/reflexiveconebase.jpg" medium="image">
			<media:title type="html">ReflexiveConeBase</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 8</title>
		<link>http://sixwingedseraph.wordpress.com/2009/10/14/definitions-into-mathematical-objects-8/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/10/14/definitions-into-mathematical-objects-8/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 01:19:09 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[binary product]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[cone]]></category>
		<category><![CDATA[diagram]]></category>
		<category><![CDATA[finite limits]]></category>
		<category><![CDATA[initial algebra]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[sheaf]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=1128</guid>
		<description><![CDATA[This is the eighth post in a series, continuing TDMO1, TDMO2, TDMO3, TDMO4,TDMO5, TDMO6 and TDMO7.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me.  This post tells how to sketch categories with finite products. Categories with finite products We gave an FL sketch for categories in TDMO7.  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1128&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the eighth post in a series, continuing <a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, <a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>, <a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a>, <a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a>,<a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/">TDMO5</a>, <a style="color:#0062a0;text-decoration:none;" href="http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/">TDMO6</a> and <a href="http://sixwingedseraph.wordpress.com/2009/09/25/definitions-into-mathematical-objects-7/">TDMO7</a>.  This series builds up to an explanation of the concept of <strong>form </strong>in the paper <a style="color:#0062a0;text-decoration:none;" href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.  This post tells how to sketch categories with finite products.</p>
<h2>Categories with finite products</h2>
<p>We gave an FL sketch for categories in <a href="../2009/09/25/definitions-into-mathematical-objects-7/">TDMO7</a>.  The sketch has (among others) objects the formal set (Note 2) of objects <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{ob}' title='&#92;text{ob}' class='latex' />, the formal set of arrows <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{ar}' title='&#92;text{ar}' class='latex' /> and the formal set of composable pairs of arrows <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bar%7D_2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{ar}_2' title='&#92;text{ar}_2' class='latex' />, as well as arrows</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bsource%7D%2C+%5Cmathbf%7Btarget%7D%3A%5Cmathbf%7Bar%7D%5Clongrightarrow%5Cmathbf%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{source}, &#92;mathbf{target}:&#92;mathbf{ar}&#92;longrightarrow&#92;mathbf{ob}' title='&#92;mathbf{source}, &#92;mathbf{target}:&#92;mathbf{ar}&#92;longrightarrow&#92;mathbf{ob}' class='latex' /> that formally pick the source and target of an arrow and</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bcomp%7D%3A%5Cmathbf%7Bar_2%7D%5Clongrightarrow%5Cmathbf%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{comp}:&#92;mathbf{ar_2}&#92;longrightarrow&#92;mathbf{ar}' title='&#92;mathbf{comp}:&#92;mathbf{ar_2}&#92;longrightarrow&#92;mathbf{ar}' class='latex' /> that picks out the composite of a pair of arrows.</p>
<p>A category has finite <a href="http://en.wikipedia.org/wiki/Product_%28category_theory%29">products</a> (is an <strong>FP category</strong>) if it has terminal objects and binary products.  <a href="//arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf&quot;&gt;Graph-Based Logic and Sketches&lt;/a&gt;">GBLS</a> describes the construction of the FL sketch for categories with finite products in section 7.3, which spells out how you sketch the set of terminal objects and the set of binary product cones.  I will give a more detailed discussion of how to do binary product cones here and introduce the annotation notation we use.</p>
<h3>Syntax and semantics</h3>
<p>We must distinguish between the <strong>FL sketch for FP categories</strong> and its models, which <em>are</em> <strong>FP categories</strong>.  A <em>diagram in the FL sketch</em> will be in black (the color for <em>syntax)</em> and a <em>diagram in a category with finite products</em> will be green (the color for <em>semantics)</em>.  In both syntax and semantics, projection arrows may be blue and arrows that exist uniquely (fill-in arrows) may be red.</p>
<h3>Product diagrams</h3>
<p>A product diagram in an FP category looks like this:</p>
<p><img class="aligncenter size-full wp-image-1273" title="ProductCone" src="http://sixwingedseraph.files.wordpress.com/2009/10/productcone.jpg?w=780" alt="ProductCone"   />(Diagram <img src='http://s0.wp.com/latex.php?latex=%5CLambda&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Lambda' title='&#92;Lambda' class='latex' />)</p>
<p>But a diagram can look like that <em>without being a product diagram. </em>You have to <em>say </em>that it is a product diagram.  (Note [1].)  This means that for any cone to the same pair of objects</p>
<p><img class="aligncenter size-full wp-image-1270" title="AnyCone" src="http://sixwingedseraph.files.wordpress.com/2009/10/anycone.jpg?w=780" alt="AnyCone"   /></p>
<p>(Diagram <img src='http://s0.wp.com/latex.php?latex=%5CGamma&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Gamma' title='&#92;Gamma' class='latex' />)</p>
<p>there is a unique arrow <em>h</em> making this diagram commute:</p>
<h3><img class="aligncenter size-full wp-image-1274" title="FiaDiagram" src="http://sixwingedseraph.files.wordpress.com/2009/10/fiadiagram1.jpg?w=780" alt="FiaDiagram"   /></h3>
<p>(Diagram <strong>F</strong>)</p>
<h3>FL sketch for FP categories</h3>
<p>To get the FL sketch for FP categories, you start with the sketch for categories and add some objects and arrows.  The ones listed below are the objects and arrows needed for sketching the set of binary cones and finite-product cones.  Others are needed for the terminal object (much easier).</p>
<p><strong>Objects</strong></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bcone%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{cone}' title='&#92;text{cone}' class='latex' />, the formal set of cones of the form <img src='http://s0.wp.com/latex.php?latex=%5CLambda&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Lambda' title='&#92;Lambda' class='latex' />.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bfid%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{fid}' title='&#92;text{fid}' class='latex' />, the formal set of fill-in diagrams (diagrams of the form of <strong>F</strong> above).</p>
<p><strong>Arrows<br />
</strong></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bprod%7D%3A%5Ctext%7Bob%7D%5Ctimes%5Ctext%7Bob%7D%5Crightarrow%5Ctext%7Bcone%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{prod}:&#92;text{ob}&#92;times&#92;text{ob}&#92;rightarrow&#92;text{cone}' title='&#92;text{prod}:&#92;text{ob}&#92;times&#92;text{ob}&#92;rightarrow&#92;text{cone}' class='latex' />, that picks out the product cone over a pair of objects.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bsoco%7D%3A%5Ctext%7Bfid%7D%5Crightarrow%5Ctext%7Bcone%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{soco}:&#92;text{fid}&#92;rightarrow&#92;text{cone}' title='&#92;text{soco}:&#92;text{fid}&#92;rightarrow&#92;text{cone}' class='latex' />, that picks out the source cone of a fill-in arrow.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Btaco%7D%3A%5Ctext%7Bfid%7D%5Crightarrow%5Ctext%7Bcone%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{taco}:&#92;text{fid}&#92;rightarrow&#92;text{cone}' title='&#92;text{taco}:&#92;text{fid}&#92;rightarrow&#92;text{cone}' class='latex' />, that picks out the target cone of a fill-in arrow.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bufid%7D%3A%5Ctext%7Bcone%7D%5Crightarrow%5Ctext%7Bfid%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{ufid}:&#92;text{cone}&#92;rightarrow&#92;text{fid}' title='&#92;text{ufid}:&#92;text{cone}&#92;rightarrow&#92;text{fid}' class='latex' />, that takes a cone to the unique fill-in diagram that has the cone as source cone.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bfia%7D%3A%5Ctext%7Bfid%7D%5Crightarrow%5Ctext%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{fia}:&#92;text{fid}&#92;rightarrow&#92;text{ar}' title='&#92;text{fia}:&#92;text{fid}&#92;rightarrow&#92;text{ar}' class='latex' /> that formally picks out the fill-in arrow in a fill-in diagram.</p>
<p><strong>Specification for the formal set of cones</strong></p>
<p>The FL sketch for FP categories contains this limit cone, which requires that the two arrows in a cone have the same source. Note that I have named the projections lproj and rproj.</p>
<p><img class="aligncenter size-full wp-image-1301" title="ConeDef" src="http://sixwingedseraph.files.wordpress.com/2009/10/conedef1.jpg?w=780" alt="ConeDef"   /></p>
<p>(Diagram <strong>ConeSpec</strong>)</p>
<p><strong>Annotations</strong></p>
<p>This cone is <em>annotated </em>according to a system that is spelled out precisely in GBLS.  The annotation of this diagram refers to cone <img src='http://s0.wp.com/latex.php?latex=%5CGamma&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Gamma' title='&#92;Gamma' class='latex' /> above.  Some perspectives on this situation:</p>
<ol>
<li>The annotations allow you to chase the diagram.  For example, if <img src='http://s0.wp.com/latex.php?latex=%5CGamma&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Gamma' title='&#92;Gamma' class='latex' /> is a member of the set of cones of a model, then <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Blproj%7D%28%5CGamma%29%3Dq_1&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{lproj}(&#92;Gamma)=q_1' title='&#92;text{lproj}(&#92;Gamma)=q_1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bsource%7D%28q_1%29%3D%5Ctext%7BV%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{source}(q_1)=&#92;text{V}' title='&#92;text{source}(q_1)=&#92;text{V}' class='latex' />.</li>
<li><img src='http://s0.wp.com/latex.php?latex=%5CGamma&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;Gamma' title='&#92;Gamma' class='latex' /> is being used as the shape graph (GBLS, 2.3) for <strong>ConeSpec. </strong></li>
<li>The annotation is a section of the model thought of as a sheaf.</li>
</ol>
<p><strong>Specification for the formal set of fill-in diagrams</strong></p>
<p>This much more complicated annotated limit cone defines <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bfid%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{fid}' title='&#92;text{fid}' class='latex' />:</p>
<p><img class="aligncenter size-full wp-image-1278" title="fidcone" src="http://sixwingedseraph.files.wordpress.com/2009/10/fidcone.jpg?w=780" alt="fidcone"   /></p>
<p>I completed the annotation compared to the version in GBLS, whose partial annotation generates the rest.  The three projection arrows shown generate all the others, not shown to avoid clutter.</p>
<p>Some notes and examples:</p>
<ol>
<li>It is worthwhile checking through the conditions to see that this limit cone really does specify <strong>fid</strong>.  If you do, you will see the sketch needs a couple of commutative diagrams, found in GBLS, 7.3.2.</li>
<li>The whole diagram is commutative because of the diagrams just mentioned and the commutative diagrams of the FL sketch for categories mentioned in <a href="../2009/09/25/definitions-into-mathematical-objects-7/">TDMO7</a> (and described completely in GBLS 7.2).</li>
<li>This diagram is symmetrical in spirit, with <em>one exception: </em>The arrow <strong>prod </strong>breaks the symmetry because there is no corresponding arrow going upward.  This reflects the fact that a fill-in diagram is not symmetrical: The right hand cone is a limit cone but the left hand cone is not.</li>
<li>I suspect that the diagram could be drawn in a way that is <em>really</em> symmetrical (geometrically) in three dimensions (or four?), except for the break mentioned in (3).</li>
</ol>
<h3>What&#8217;s next</h3>
<p>We will look more briefly at the FL sketch for cartesian categories, and then it is time, finally, to define <strong>form.</strong></p>
<h3>Notes</h3>
<p><span style="font-size:9pt;" lang="EN">1. When students start taking college math, they soon discover that they have to <em>read the surrounding text </em><strong> </strong></span><strong><em><strong><span style="font-size:9pt;"> </span></strong></em></strong><span style="font-size:9pt;" lang="EN"><em> </em>to understand   what a symbolic expression means.  The   expression is no longer self-sufficient.  (The <img src='http://s0.wp.com/latex.php?latex=%5Ctimes&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;times' title='&#92;times' class='latex' /> symbol can mean multiplication of numbers, of matrices, or cross product of vectors.) When I first came across this aspect   of mathematics in a matrix theory course at <a href="http://pubs.utb.edu/utbtsc">Texas Southmost College,</a> I felt that I had been <em><a href="http://www.annebaring.com/images/pic_adameve.jpg">ejected from paradise</a>. </em></span></p>
<p><span style="font-size:9pt;" lang="EN"><em>2. </em>It is bothersome to refer to the formal <em>sets </em>of objects and of arrows, because the FL sketch for categories, as well as the FL sketch for FP categories I discuss in this post, has models in many other FL categories.  <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{ob}' title='&#92;text{ob}' class='latex' /> could be called the formal <em>object </em>of objects, and so on.  In fact I could call it the formal object of <span style="color:#008800;">objects</span>, since green is for semantics.  I expect to combine these posts into an expository paper eventually and perhaps I will carry out that practice there.  However, I foresee complications which I must contemplate first.  (Compare the device I suggested in <a href="http://sixwingedseraph.wordpress.com/2007/07/07/comma-rule-found-dysfunctional-reposted/">this post</a> on the comma rule).<br />
</span></p>
<h3>References</h3>
<ol>
<li>Atish Bagchi and Charles Wells, <em>Graph-Based Logic and Sketches</em>, draft, September 2008, on <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">ArXiv.</a></li>
<li>Michael Barr, <em><a href="http://www.numdam.org/item?id=CTGDC_1986__27_2_93_0">Models of sketches</a> </em>(1986).  Cahiers de Topologie et Géométrie Différentielle Catégorique, 27:93-107.</li>
<li>Michael Barr and Charles Wells. <em>On the limitations of sketches</em> (1992). Canadian Mathematical Bulletin, 35:287-294.</li>
<li>Michael Barr and Charles Wells, <em>Category Theory for Computing Science</em> (1999).  <a href="http://www.crm.umontreal.ca/pub/Ventes/CatalogueEng.html">Les Publications CRM</a>, Montreal (publication PM023).</li>
<li>Michael Barr and Charles Wells, <em>Toposes, Triples and Theories</em> (2005).  <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Reprints in Theory and Applications of Categories 1</a>.</li>
<li><a href="http://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8&amp;search-type=ss&amp;index=books&amp;field-author=Peter%20T.%20Johnstone">Peter T. Johnstone</a>, <em>Sketches of an Elephant: A Topos Theory Compendium,</em> <em>Volume 2 </em>(2002)<em>. </em>Oxford Logic Guides 44, Oxford  University Press, ISBN 978-0198524960.</li>
<li>Yoshiki Kinoshita, John Power, and Makoto Takeyama. <em>Sketches </em>(1997)<em>.</em> In Mathematical Foundations of Programming Semantics, Thirteenth Annual Conference, Stephen Brookes and Michael W. Mislove, editors. Elsevier.</li>
<li> A.J. Power and Charles Wells. <em>A formalism for the specification of essentially algebraic structures in 2-categories </em>(1992) Mathematical Structures in Computer Science,2:1-28.</li>
<li>Charles Wells. <a href="http://www.cwru.edu/artsci/math/wells/pub/pdf/GCSketch.pdf"><em>A generalization of the concept of sketch</em></a> (1990). Theoretical Computer Science, 70:159-178.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/1128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/1128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/1128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1128&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/10/14/definitions-into-mathematical-objects-8/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/productcone.jpg" medium="image">
			<media:title type="html">ProductCone</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/anycone.jpg" medium="image">
			<media:title type="html">AnyCone</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/fiadiagram1.jpg" medium="image">
			<media:title type="html">FiaDiagram</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/conedef1.jpg" medium="image">
			<media:title type="html">ConeDef</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/10/fidcone.jpg" medium="image">
			<media:title type="html">fidcone</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 7</title>
		<link>http://sixwingedseraph.wordpress.com/2009/09/25/definitions-into-mathematical-objects-7/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/09/25/definitions-into-mathematical-objects-7/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 21:02:23 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[cattheory]]></category>
		<category><![CDATA[composite]]></category>
		<category><![CDATA[finite limit]]></category>
		<category><![CDATA[pullback]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[theory]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=1076</guid>
		<description><![CDATA[This is the seventh post in a series, continuing TDMO1, TDMO2, TDMO3, TDMO4, TDMO5 and TDMO6.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me.  This post discusses the sketch for categories. The sketch for categories FL sketches (finite-limit sketches) makes it possible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1076&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the seventh post in a series, continuing <a href="../2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, <a href="../2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>, <a href="../2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a>, <a href="../2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a>, <a href="../2009/09/04/definitions-into-mathematical-objects-5/">TDMO5</a> and <a href="http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/">TDMO6</a>.  This series builds up to an explanation of the concept of <strong>form</strong> in the paper <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.  This post discusses the sketch for categories.</p>
<h3>The sketch for categories</h3>
<p>FL sketches (finite-limit sketches) makes it possible to construct a <strong>sketch for categories. </strong>To do this you need some <strong>nodes</strong>:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{ob}' title='&#92;mathbf{ob}' class='latex' />, which in a model will become the set of objects &#8211;  so in our &#8220;formal&#8221; terminology  is the formal set of objects.  (This terminology, by the way, is due to <a href="http://www.math.uiuc.edu/~gray/">John W. Gray</a>).</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{ar}' title='&#92;mathbf{ar}' class='latex' />, the formal set of arrows.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bar%7D_2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{ar}_2' title='&#92;mathbf{ar}_2' class='latex' />, the formal set of composable pairs of arrows.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bar%7D_3&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{ar}_3' title='&#92;mathbf{ar}_3' class='latex' />, the formal set of composable triples of arrows, needed to state the associative law.</p>
<p>It needs many <strong>arrows</strong>, some of which are:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bunit%7D%3A%5Cmathbf%7Bob%7D%5Clongrightarrow%5Cmathbf%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{unit}:&#92;mathbf{ob}&#92;longrightarrow&#92;mathbf{ar}' title='&#92;mathbf{unit}:&#92;mathbf{ob}&#92;longrightarrow&#92;mathbf{ar}' class='latex' /> that formally picks the identity arrow of an object</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bsource%7D%2C+%5Cmathbf%7Btarget%7D%3A%5Cmathbf%7Bar%7D%5Clongrightarrow%5Cmathbf%7Bob%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{source}, &#92;mathbf{target}:&#92;mathbf{ar}&#92;longrightarrow&#92;mathbf{ob}' title='&#92;mathbf{source}, &#92;mathbf{target}:&#92;mathbf{ar}&#92;longrightarrow&#92;mathbf{ob}' class='latex' /> that formally pick the source and target of an arrow.</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bcomp%7D%3A%5Cmathbf%7Bar_2%7D%5Clongrightarrow%5Cmathbf%7Bar%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{comp}:&#92;mathbf{ar_2}&#92;longrightarrow&#92;mathbf{ar}' title='&#92;mathbf{comp}:&#92;mathbf{ar_2}&#92;longrightarrow&#92;mathbf{ar}' class='latex' /> that picks out the composite of a pair of arrows.</p>
<p>&#8230;as well as many structural arrows that, for example, pick out the first arrow in a composable chain, or that picks out the pair of arrows <img src='http://s0.wp.com/latex.php?latex=%3Ch%2C+g%5Ccirc+f%3E&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&lt;h, g&#92;circ f&gt;' title='&lt;h, g&#92;circ f&gt;' class='latex' /> given a composable triple.</p>
<p><strong>Cones and diagrams<br />
</strong></p>
<p>Of course, you can&#8217;t just <em>say</em> that <img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7Bar%7D_2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{ar}_2' title='&#92;mathbf{ar}_2' class='latex' /> is the formal set of composable pairs of arrows.   What you must do is produce a cone that forces it to be that formal set.  And here it is:</p>
<p><img class="aligncenter size-full wp-image-1093" title="CompositeCone" src="http://sixwingedseraph.files.wordpress.com/2009/09/compositecone.jpg?w=780" alt="CompositeCone"   /></p>
<p>(The blue arrows are the projections, the black objects and arrows form the base diagram.  Note that the middle blue arrow is superfluous, as mentioned in <a href="http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/">TDMO5</a>.  If you drop it, you may recognize this as an ordinary <a href="http://en.wikipedia.org/wiki/Pullback_diagram">pullback diagram</a>.)</p>
<p>You need an analogous cone for <img src='http://s0.wp.com/latex.php?latex=M%28%5Cmathbf%7Bar_3%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(&#92;mathbf{ar_3})' title='M(&#92;mathbf{ar_3})' class='latex' /> and diagrams for associativity and to make the identity arrows behave right.  The details are in GLBS (reference [1]), chapter 7.</p>
<p>In a model <img src='http://s0.wp.com/latex.php?latex=M&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M' title='M' class='latex' />, the elements of <img src='http://s0.wp.com/latex.php?latex=M%28%5Cmathbf%7Bar_2%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(&#92;mathbf{ar_2})' title='M(&#92;mathbf{ar_2})' class='latex' /> are diagrams that look like this:</p>
<p><img class="aligncenter size-full wp-image-1094" title="CompositeChain2" src="http://sixwingedseraph.files.wordpress.com/2009/09/compositechain2.jpg?w=780" alt="CompositeChain2"   /></p>
<p>This green diagram is <em>in the model (semantics), </em> and the cone above is a diagram <em>in the syntax.</em> You have to make the distinction constantly in this subject. This is remarkably annoying. To help, I am systematically putting objects of the category-that-is-the-model in <span style="color:green;">green</span>, and cone projections in <span style="color:blue;">blue</span>.  <em><strong>Black and blue means syntax,  green means semantics.</strong></em></p>
<p><strong>Remarks</strong></p>
<p><img src='http://s0.wp.com/latex.php?latex=M%28%5Cmathbf%7Bar_2%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(&#92;mathbf{ar_2})' title='M(&#92;mathbf{ar_2})' class='latex' /> is the domain of the composition arrow comp.  So defining categories requires more subtlety that defining an ordinary algebra, where the domains of the ops are always cartesian products:  this domain is an equalizer.  <em><strong>To sketch categories requires the full power of finite limits, not just finite products.</strong> </em> Of course, that last sentence does not follow from anything I have said, since there might be a rascally way to use only finite products.  But there isn&#8217;t: the category of small categories is not regular (Exercise 6, page 278, of [3])  but any category of multisorted universal algebras (which are the same thing as models of FP theories) does have that property: see [2], section 8.4.</p>
<p>Nevertheless, the category of models of an FL sketch always has all sortwise (see note 1) limits and all sortwise filtered colimits. in particular initial algebras.  We will use that fact.</p>
<h3>Categories with structure</h3>
<p>Most categories with particular properties can also be sketched with FL sketches.  These include</p>
<ul>
<li>Categories with finite limits</li>
<li>Cartesian closed categories</li>
<li>Toposes</li>
<li>Symmetric monoidal categories</li>
<li>Abelian categories</li>
</ul>
<p>That&#8217;s for the next post.</p>
<h3>Note</h3>
<p>1.  Constructing a particular kind of limit or colimit  &#8220;sortwise&#8221; means that it is constructed sort by sort.  For example, if always <img src='http://s0.wp.com/latex.php?latex=M%28S%29%5Ctimes+M%28T%29+%3D+M%28S%5Ctimes+T%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(S)&#92;times M(T) = M(S&#92;times T)' title='M(S)&#92;times M(T) = M(S&#92;times T)' class='latex' />, then the category of models has sortwise products.  In most of the references the name &#8220;pointwise&#8221; is used.</p>
<h3>References</h3>
<ol>
<li>Atish Bagchi and Charles Wells, <em>Graph-Based Logic and Sketches</em>, draft, September 2008, on <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">ArXiv.</a></li>
<li>Michael Barr and Charles Wells, <em>Toposes, Triples and Theories</em> (2005).  <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Reprints in Theory and Applications of Categories 1</a>.</li>
<li>Michael Barr and Charles Wells, <em>Category Theory for Computing Science</em> (1999).  <a href="http://www.crm.umontreal.ca/pub/Ventes/CatalogueEng.html">Les Publications CRM</a>, Montreal (publication PM023).</li>
<li>Michael Barr, <em><a href="http://www.numdam.org/item?id=CTGDC_1986__27_2_93_0">Models of sketches</a> </em>(1986).  Cahiers de Topologie et Géométrie Différentielle Catégorique, 27:93-107.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/1076/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/1076/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/1076/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=1076&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/09/25/definitions-into-mathematical-objects-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/compositecone.jpg" medium="image">
			<media:title type="html">CompositeCone</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/compositechain2.jpg" medium="image">
			<media:title type="html">CompositeChain2</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 6</title>
		<link>http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 10:24:13 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[understanding math]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[presheaf]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[reflective]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=994</guid>
		<description><![CDATA[This is the sixth post in a series, continuing TDMO1, TDMO2, TDMO3, TDMO4 and TDMO5.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me.  This post discusses the cattheories of finite-product sketches and finite-limit sketches (FP sketches and FL sketches). Background An FL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=994&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the sixth post in a series, continuing <a href="../2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, <a href="../2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>, <a href="../2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a>, <a href="../2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a> and <a href="http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/">TDMO5</a>.  This series builds up to an explanation of the concept of <strong>form</strong> in the paper <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.  This post discusses the <a href="http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3#cattheory">cattheories</a> of <a href="http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4#FPSketch">finite-product sketches</a> and <a href="http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5#FLSketch">finite-limit sketches</a> (FP sketches and FL sketches).</p>
<h3><strong>Background</strong></h3>
<p>An<strong> </strong><strong>FL sketch </strong>(finite-limit sketch) is a finite graph<img src='http://s0.wp.com/latex.php?latex=mathcal%7BG%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{G}' title='mathcal{G}' class='latex' /> with a finite set <img src='http://s0.wp.com/latex.php?latex=mathcal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{D}' title='mathcal{D}' class='latex' /> of finite <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2#FC">formally commutative</a> diagrams and a finite set <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' /> of <strong>formal limit cones</strong> over finite diagrams (which are <em>not </em>usually among the formally commutative diagrams (Note 1).)</p>
<p>A <strong>model </strong>of an FL sketch in an FL category<img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='C' title='C' class='latex' /> is a digraph map into the (underlying graph of) the FL category that take the diagrams in<img src='http://s0.wp.com/latex.php?latex=mathcal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{D}' title='mathcal{D}' class='latex' /> to commutative cones and the cones in<img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' />  to limit cones.</p>
<p>The category of models of the FL sketch <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' /> in an FL category <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' /> is denoted by <img src='http://s0.wp.com/latex.php?latex=mathbf%7BMod%7Dleft%28+mathcal%7BS%7D%2Cmathcal%7BC%7D+right%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathbf{Mod}left( mathcal{S},mathcal{C} right)' title='mathbf{Mod}left( mathcal{S},mathcal{C} right)' class='latex' />.</p>
<h3><strong>FL and FP cattheories</strong></h3>
<p>The <strong>FL cattheory </strong>of a linear sketch<img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' /> is a category<img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFL%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FL}, mathcal{S})' title='text{CatTh}(text{FL}, mathcal{S})' class='latex' /> together with a  model<img src='http://s0.wp.com/latex.php?latex=text%7BG%7D%3Amathcal%7BS%7Dtotext%7BCatTh%7D%28text%7BFL%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{G}:mathcal{S}totext{CatTh}(text{FL}, mathcal{S})' title='text{G}:mathcal{S}totext{CatTh}(text{FL}, mathcal{S})' class='latex' /> with the the property that for any model <img src='http://s0.wp.com/latex.php?latex=M&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M' title='M' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' /> in a category <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='C' title='C' class='latex' />, there is a <em>unique </em>model <img src='http://s0.wp.com/latex.php?latex=M%27+&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M&#039; ' title='M&#039; ' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFL%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FL}, mathcal{S})' title='text{CatTh}(text{FL}, mathcal{S})' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=C&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='C' title='C' class='latex' /> such that</p>
<p><img class="aligncenter size-full wp-image-1034" title="GM." src="http://sixwingedseraph.files.wordpress.com/2009/09/gm.jpg?w=780" alt="GM."   /></p>
<p>commutes.  <em>G </em>is the <strong>generic model </strong>of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' />.</p>
<p>The category of models of the cattheory <img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFL%7D%2Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FL},mathcal{S})' title='text{CatTh}(text{FL},mathcal{S})' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=mathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{C}' title='mathcal{C}' class='latex' /> is denoted by <img src='http://s0.wp.com/latex.php?latex=mathbf%7BMod%7Dleft%28+text%7BCatTh%7D%28text%7BFL%7D%2Cmathcal%7BS%7D%29%2Cmathcal%7BC%7D+right%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathbf{Mod}left( text{CatTh}(text{FL},mathcal{S}),mathcal{C} right)' title='mathbf{Mod}left( text{CatTh}(text{FL},mathcal{S}),mathcal{C} right)' class='latex' />.</p>
<p>The cattheory has this universal property:</p>
<p><strong>Theorem</strong> <em> The map <img src='http://s0.wp.com/latex.php?latex=Mmapsto+GM%3Amathbf%7BMod%7Dleft%28+mathcal%7BS%7D%2Cmathcal%7BC%7D+right%29to+mathbf%7BMod%7Dleft%28+text%7BCatTh%7D%28text%7BFL%7D%2Cmathcal%7BS%7D%29%2Cmathcal%7BC%7D+right%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='Mmapsto GM:mathbf{Mod}left( mathcal{S},mathcal{C} right)to mathbf{Mod}left( text{CatTh}(text{FL},mathcal{S}),mathcal{C} right)' title='Mmapsto GM:mathbf{Mod}left( mathcal{S},mathcal{C} right)to mathbf{Mod}left( text{CatTh}(text{FL},mathcal{S}),mathcal{C} right)' class='latex' /></em></p>
<p><em>is an equivalence of categories. </em></p>
<p>(Compare the corresponding theorem in <a href="../2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a> for linear categories.)</p>
<p>This theorem forces the cattheory to be determined up to natural equivalence of categories that commutes with the generic model.  For all practical purposes, <em>a model of the sketch is thus the same thing as a model of its cattheory.</em></p>
<p>An <strong>FP sketch</strong><img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' /><strong> </strong>and its FP cattheory<img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFP%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FP}, mathcal{S})' title='text{CatTh}(text{FP}, mathcal{S})' class='latex' /> are defined in the same way, except that the finite diagrams that the cones are over have to be discrete, and it has properties analogous to those for FL sketches given above.  Note that any FP sketch or  linear sketch will also have an FL cattheory.</p>
<h3><strong>Constructing FL cattheories</strong></h3>
<p>The linear cattheory of a linear sketch is just the free category generated by the graph of the sketch, with the formally commutative diagrams forced to be commutative.  It is more complicated to prove the existence of the FL cattheory of an FL sketch.  Once you do show it exists, it follows easily from the definition that it is uniquely determined up to equivalence of categories.</p>
<p>There are two approaches to showing the existence of the FL cattheory.</p>
<h4>As a fixed point</h4>
<p>Introduce an operator on categories that adjoins diagrams that in effect add limit cones to finite diagrams that don&#8217;t already have limits.  This is done in lots of detail in sections 4.2 and 4.3 of GLBS (Reference [1]).  Starting with an FL-sketch<img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' />, the cattheory<img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFL%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FL}, mathcal{S})' title='text{CatTh}(text{FL}, mathcal{S})' class='latex' /> is the minimum fixpoint of this operator.</p>
<p>This is the computer-sciencey way of doing it.  Each arrow and commutative diagram in the theory is <em>constructed explicitly. </em>When GLBS constructs proofs, this step-by-step construction corresponds to the inductive construction of formulas and rules of inference in classical string-based logic.</p>
<h4>Embedded in a functor category</h4>
<p>Given an FL sketch <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' />, the category<img src='http://s0.wp.com/latex.php?latex=mathbf%7BMod%7Dleft%28+mathcal%7BS%7D%2Ctext%7BSet%7D+right%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathbf{Mod}left( mathcal{S},text{Set} right)' title='mathbf{Mod}left( mathcal{S},text{Set} right)' class='latex' /> of models of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}' title='mathcal{S}' class='latex' /> in the category of sets turns out to be a full reflective subcategory of the presheaf category <img src='http://s0.wp.com/latex.php?latex=text%7BSet%7D%5Emathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{Set}^mathcal{S}' title='text{Set}^mathcal{S}' class='latex' />.</p>
<p>Let&#8217;s spell out what this means: the models are finite-limit-preserving functors and the presheaf category contains all functors.  The reflectivity means that the embedding has a left adjoint, which implies that a limit of a diagram in the model category is also the limit of the diagram in the presheaf category.  The fullness means that <em>every</em> natural transformation between models is a morphism of models.</p>
<p>Using these facts you can get an embedding of <img src='http://s0.wp.com/latex.php?latex=mathcal%7BS%7D%5E%7Bop%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='mathcal{S}^{op}' title='mathcal{S}^{op}' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=text%7BSet%7D%5E%7Bmathcal%7BS%7D%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{Set}^{mathcal{S}}' title='text{Set}^{mathcal{S}}' class='latex' />; <img src='http://s0.wp.com/latex.php?latex=text%7BCatTh%7D%28text%7BFL%7D%2C+mathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='text{CatTh}(text{FL}, mathcal{S})' title='text{CatTh}(text{FL}, mathcal{S})' class='latex' /> is then the full FL subcategory generated by the image of the embedding.</p>
<p>This is worked out in detail for the FP case in [3], Chapter 4.3.  The construction is then carefully described for the FL case  in Chapter 4.4, but the proof is omitted.  It is quite analogous to the FP case.</p>
<p>I have been focusing here on the FL case because that is the foundation of the construction of forms in GBLS.</p>
<h3>Notes</h3>
<p>1.  It is a nice exercise to show that you can eliminate all the commutative subdiagrams from the base diagram of a limit cone and get the same limit.</p>
<h3>References</h3>
<ol>
<li>Atish Bagchi and Charles Wells, <em>Graph-Based Logic and Sketches</em>, draft, September 2008, on <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">ArXiv.</a></li>
<li>Michael Barr and Charles Wells, <em>Category Theory for Computing Science</em> (1999).  <a href="http://www.crm.umontreal.ca/pub/Ventes/CatalogueEng.html">Les Publications CRM</a>, Montreal (publication PM023).</li>
<li>Michael Barr and Charles Wells, <em>Toposes, Triples and Theories</em> (2005).  <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Reprints in Theory and Applications of Categories 1</a>.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/994/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/994/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/994/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=994&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/09/22/definitions-into-mathematical-objects-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/gm.jpg" medium="image">
			<media:title type="html">GM.</media:title>
		</media:content>
	</item>
		<item>
		<title>Addenda to the 1993 Sketches paper</title>
		<link>http://sixwingedseraph.wordpress.com/2009/09/15/addenda-to-the-1993-sketches-paper/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/09/15/addenda-to-the-1993-sketches-paper/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 16:51:27 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=990</guid>
		<description><![CDATA[I have uploaded here a version of my 1993 sketches paper with an addendum listing a few relevant papers written since then.  I have not kept up with the field well enough to contemplate a complete revision of the 1993 paper. I recommend that more people update their papers this way.  I did it by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=990&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have uploaded <a href="http://www.cwru.edu/artsci/math/wells/pub/pdf/sketch.pdf">here</a> a version of my 1993 sketches paper with an addendum listing a few relevant papers written since then.  I have not kept up with the field well enough to contemplate a complete revision of the 1993 paper.</p>
<p>I recommend that more people update their papers this way.  I did it by making a new PDF file with the added references and then using Acrobat to combine it with the old paper into one file.  That way I didn&#8217;t have to re-TeX the old paper, which is a good thing, since I don&#8217;t know where some of the .sty files are.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/990/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/990/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/990/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=990&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/09/15/addenda-to-the-1993-sketches-paper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 5</title>
		<link>http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 21:32:06 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=861</guid>
		<description><![CDATA[This is the fifth post in a series, continuing TDMO1, TDMO2, TDMO3 and TDMO4.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me. Note So far I have described linear sketches and FP-sketches, and I described the cattheory of a linear sketch.  FP-sketches [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=861&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the fifth post in a series, continuing <a href="../2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, <a href="../2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>, <a href="../2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a> and <a href="http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a>.  This series builds up to an explanation of the concept of <strong>form</strong> in the paper <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.</p>
<p><strong>Note </strong>So far I have described linear sketches and FP-sketches, and I described the cattheory of a linear sketch.  FP-sketches have cattheories, too.  They will be described together with the cattheories of FL-sketches (defined below) in a later post.</p>
<h3>Finite Limits</h3>
<p>A<strong> cone</strong> to a set <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{S}' title='&#92;cal{S}' class='latex' /> of objects of a category consists of an object<em> v</em> of the category and one arrow from <em>v</em> to each object in <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{S}' title='&#92;cal{S}' class='latex' />.  A finite-product diagram is a cone to such a (finite) set with the unique fill-in property I explained in <a href="../2009/07/27/definitions-into-mathematical-objects-4/">TDMO4</a>.</p>
<p>Now suppose we have a finite <strong><em>diagram</em></strong> <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{D}' title='&#92;cal{D}' class='latex' /> in a category.  I am specifically not assuming it is commutative.  A <strong>commutative cone </strong>to <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{D}' title='&#92;cal{D}' class='latex' /> is an object <em>v</em>, an arrow(called a <strong>projection) </strong> from <em>v</em> to each node of <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{D}' title='&#92;cal{D}' class='latex' />, with the additional property that each triangle formed by two projections and an arrow of the diagram must commute.  The diagram is called the <strong>base diagram </strong>of the cone.</p>
<p>Here is an example base:<img class="aligncenter size-thumbnail wp-image-876" title="PullbackBase" src="http://sixwingedseraph.files.wordpress.com/2009/09/pullbackbase.jpg?w=100&#038;h=98" alt="PullbackBase" width="100" height="98" />(a)</p>
<p>A commutative cone over this base will look like the left diagram below.<img class="aligncenter size-full wp-image-869" title="Pullbacks" src="http://sixwingedseraph.files.wordpress.com/2009/09/pullbacks1.jpg?w=780" alt="Pullbacks"   /></p>
<p>Since the triangles involving two projections have to commute, the diagonal project is <em>determined </em>by the other two.  For this reason, this particular example is almost always drawn as on the right.</p>
<p>Two other examples:  In each case all the projections are shown on the left and only the necessary ones on the right.</p>
<p><strong><img class="aligncenter size-full wp-image-871" title="Equalizers" src="http://sixwingedseraph.files.wordpress.com/2009/09/equalizers1.jpg?w=780" alt="Equalizers"   /></strong>(b)<strong><img class="aligncenter size-full wp-image-878" title="LimitCones" src="http://sixwingedseraph.files.wordpress.com/2009/09/limitcones1.jpg?w=780" alt="LimitCones"   /></strong>(c)</p>
<p>A <strong>limit cone </strong>over a diagram is a commutative cone over the diagram with the same unique-fill-in property that product cones have.  For example if this is a limit cone over diagram (a) above</p>
<p><img class="aligncenter size-full wp-image-881" title="PullbackDiagram" src="http://sixwingedseraph.files.wordpress.com/2009/09/pullbackdiagram.jpg?w=780" alt="PullbackDiagram"   />(d)</p>
<p>and the blue arrows on the left below also form a commutative cone over the same base, then there must be a <span style="color:red;">unique fill-in arrow </span>making everything commute in the diagram on the right.<img class="aligncenter size-full wp-image-870" title="PullbackSawHorse" src="http://sixwingedseraph.files.wordpress.com/2009/09/pullbacksawhorse.jpg?w=780" alt="PullbackSawHorse"   /></p>
<p>This particular shape (d) of limit cone is called a <strong>pullback diagram. </strong>A limit cone in the shape of (b) is an <strong>equalizer diagram. </strong>It turns out that if you assume that if all pullbacks and equalizers exist, then you have limit cones over <em>every </em>finite diagram for free.  Limit cones of shape (c) don&#8217;t have a common name but they will be referred to in a later post.</p>
<p>Since a finite set of objects is just a finite diagram with no arrows, product diagrams are limit diagrams.  The commutativity requirement is then vacuous.</p>
<p>A category has all finite limits is called an <strong>FL-category. </strong>An older name, which, as computer scientists say, should be <em>deprecated, </em>is a <strong>left exact category. </strong>From the remark in the previous paragraph, an FL-category is automatically an FP-category.<a name="FLSketch"></a></p>
<h3><strong> </strong>FL-Sketches</h3>
<p>An <strong>FL-sketch </strong>is a digraph together with some  specified finite formally commutative diagrams and some specified finite formal limit diagrams.  A <strong>model </strong>of an FL-sketch in a category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> is a functor from the digraph to <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> that takes the specified formally commutative diagrams to commutative diagrams and the specified formal limit diagrams to limit diagrams.</p>
<p>The first key to understanding GBLS is that all sorts of interesting kinds of categories (cartesian closed, toposes, symmetric monoidal) are models of FL-sketches.  Indeed, I betcha (lived in Minnesota a whole year) every kind of <em>n</em>-category that anyone ever defined is a model of an FL-sketch &#8212; it <em>doesn&#8217;t </em>take anything that might be called &#8220;<em>n</em>-sketches&#8221;.  However, they will have the same problem as ordinary categories in that in the category of models the structure has to be preserved on the nose.  In the case of FL-sketches for different kinds of 1-categories, the sketch&#8217;s model category is equivalent to the usual way we define categories of that kind of category.  What &#8220;equivalence&#8221; means for &#8220;every kind of <em>n</em>-category&#8221; is referred to in Reference 4.</p>
<h3>References</h3>
<ol>
<li>Atish Bagchi and Charles Wells, <em>Graph-Based Logic and Sketches</em>, draft, September 2008, on <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">ArXiv.</a></li>
<li>Michael Barr and Charles Wells, <em>Category Theory for Computing Science</em> (1999).  <a href="http://www.crm.umontreal.ca/pub/Ventes/CatalogueEng.html">Les Publications CRM</a>, Montreal (publication PM023).</li>
<li>Michael Barr and Charles Wells, <em>Toposes, Triples and Theories</em> (2005).  <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Reprints in Theory and Applications of Categories 1</a>.</li>
<li><em>n-</em>Labs, <a href="http://ncatlab.org/nlab/show/equivalence+of+categories">Equivalence of categories.</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/861/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=861&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/09/04/definitions-into-mathematical-objects-5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/pullbackbase.jpg?w=150" medium="image">
			<media:title type="html">PullbackBase</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/pullbacks1.jpg" medium="image">
			<media:title type="html">Pullbacks</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/equalizers1.jpg" medium="image">
			<media:title type="html">Equalizers</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/limitcones1.jpg" medium="image">
			<media:title type="html">LimitCones</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/pullbackdiagram.jpg" medium="image">
			<media:title type="html">PullbackDiagram</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/09/pullbacksawhorse.jpg" medium="image">
			<media:title type="html">PullbackSawHorse</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 4</title>
		<link>http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 20:22:55 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[commutative diagram]]></category>
		<category><![CDATA[cone]]></category>
		<category><![CDATA[definition]]></category>
		<category><![CDATA[FP sketch]]></category>
		<category><![CDATA[Lawvere theory]]></category>
		<category><![CDATA[metaphor]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[universal algebra]]></category>
		<category><![CDATA[universal property]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=666</guid>
		<description><![CDATA[This is the fourth post in a series, continuing TDMO1, TDMO2 and TDMO3.  This series builds up to an explanation of the concept of form in the paper Graph-Based Logic and Sketches by Atish Bagchi and me. What has happened so far I have defined special cases of sketch and the concept of the cattheory of a sketch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=666&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the fourth post in a series, continuing <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a> and <a href="http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/">TDMO3</a>.  This series builds up to an explanation of the concept of <strong>form</strong> in the paper <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a><em> </em>by Atish Bagchi and me.</p>
<h3>What has happened so far</h3>
<p>I have defined special cases of <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">sketch</a><strong> </strong>and the concept of the <a href="http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/">cattheory<strong> </strong></a>of a sketch for those cases. The special cases include</p>
<ul>
<li>The sketch is a digraph (<a href="http://www.abstractmath.org/MM/dm.pdf">DM</a>, page 218).  Then the category of models is a topos and and cattheory is the free category generated by the digraph.</li>
<li>The sketch is a digraph with some <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2#FC">formally commutative diagrams</a>.  Then the models are universal algebras of a specific type with only unary operations (Note 1) and the cattheory is the free category generated by the digraph modulo the commutative diagrams.</li>
</ul>
<p>In this post I will show how to require sketches to preserve categorical limits, starting with products.</p>
<h3>Products</h3>
<p>A (binary) <strong>product diagram </strong>in a category is a <a href="http://en.wikipedia.org/wiki/Cone_(category_theory)">cone to</a> {a,b}, in other words a diagram that looks like this</p>
<p>(1)<img class="aligncenter size-thumbnail wp-image-715" title="TwistedProductDiagram" src="http://sixwingedseraph.files.wordpress.com/2009/07/twistedproductdiagram1.jpg?w=150&#038;h=111" alt="TwistedProductDiagram" width="150" height="111" /></p>
<p>with this specific <a href="http://en.wikipedia.org/wiki/Universal_property">universal property</a>:  For <span style="color:blue;"> any other cone to {a,b}</span></p>
<p><img class="aligncenter size-thumbnail wp-image-704" title="NoFiProduct" src="http://sixwingedseraph.files.wordpress.com/2009/07/nofiproduct.jpg?w=132&#038;h=82" alt="NoFiProduct" width="132" height="82" /></p>
<p>(2)</p>
<p>there is a <span style="color:red;">unique fill-in arrow <strong>fi </strong></span>such that this diagram commutes (see Note 2):</p>
<p><img class="aligncenter size-thumbnail wp-image-703" title="FiProduct" src="http://sixwingedseraph.files.wordpress.com/2009/07/fiproduct.jpg?w=150&#038;h=96" alt="FiProduct" width="150" height="96" /></p>
<p>(3)</p>
<p>This diagram has been called a <strong>sawhorse. </strong>But like most <a href="http://www.abstractmath.org/MM/MMImagesMetaphors.htm#dangerous">metaphors</a> in math, this name is misleading.  The sawhorse is <em><strong>not symmetrical </strong></em>with respect to its two pairs of legs.  The black legs form a product cone but the <strong><em>blue legs need not be a product diagram. </em></strong>It could be called a <strong>directed sawhorse.</strong></p>
<p>Another useful way of thinking about diagram (3)  is that the construction of the fill-in arrow is like an algebraic operation whose domain is the set of diagrams of the form (2) for a fixed product diagram (1)  and whose output is the fill-in arrow.   Now ordinary algebraic operations have domain some cartesian product of sets with output in a set.  For example scalar multiplication of a real vector space is an operation <img src='http://s0.wp.com/latex.php?latex=%5Cmathbb%7BR%7D%5Ctimes+V%5Clongrightarrow+V&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbb{R}&#92;times V&#92;longrightarrow V' title='&#92;mathbb{R}&#92;times V&#92;longrightarrow V' class='latex' />.  The fill-in arrow is an operation on a set of tuples of arrows, but the domain is not the cartesian products of arrow sets; instead it is an <em><strong>equationally defined subset </strong></em>of a cartesian product of arrow sets.</p>
<p>By making the blue cone also a product diagram you get an instant proof that the resulting <span style="color:red;"><strong>fi</strong></span> is an isomorphism.  Thus &#8220;products in a category are determined up to a unique isomorphism&#8221;.</p>
<p>Reference [1], Chapter 5 gives a detailed explanation of products in categories at a rather elementary level.</p>
<h3>Finite products</h3>
<p>Finite products of more than two objects in a category can be define analogously.  However, if you assume you have all products of two objects then you automatically get all finite products of two or more elements.  It is an easy exercise to see that every category has all products of one object.  A product of no objects is a <a href="http://en.wikipedia.org/wiki/Terminal_object">terminal object</a> and that has to be assumed separately.  An example of this is the category you get if the singleton groups are untimely ripp&#8217;d from the category of groups &#8212; it has all finite products but no terminal object.</p>
<p>A category <strong>has finite products </strong>if there is a product diagram for any finite set of objects.<a name="FPSketch"></a></p>
<h3>FP sketches</h3>
<p>An <strong>FP sketch </strong>is a digraph together with some  specified formally commutative diagrams and some specified formal product diagrams.  A <strong>model </strong>of an FP sketch in a category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> is a functor from the digraph to <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> that takes the specified formally commutative diagrams to commutative diagrams and the specified formal product diagrams to product diagrams.</p>
<p>The category of all algebras for any specified type of universal algebra (with finitary operations) is  equivalant to the category of models of an FP sketch.  Chapter 4 of [2] describes an FP theory for the category of groups starting on page 126.</p>
<p>The homomorphisms in the category of models of an FP sketch must preserve the designated product diagrams on the nose.  The sketch for groups just mentioned has three designated formal product cones, for the terminal object, <img src='http://s0.wp.com/latex.php?latex=G%5E2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='G^2' title='G^2' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=G%5E3&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='G^3' title='G^3' class='latex' />.  <strong><em>This is just a technicality</em></strong> although some mathematicians make a big deal out of it.  In fact when mathematicians talk about the &#8220;category of groups&#8221; they don&#8217;t usually even say which product cone they mean by <img src='http://s0.wp.com/latex.php?latex=G%5E2&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='G^2' title='G^2' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=G%5E3&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='G^3' title='G^3' class='latex' />.  There is a neat way to handle this using categories enriched over groupoids, but never mind.</p>
<p>Next: finite limits!</p>
<h3>Notes</h3>
<ol>
<li><a name="N1"></a>Universal algebras of a specific type with only unary operations (not even constants allowed) are a topos, but in general universal algebras of a specific type (<a href="http://en.wikipedia.org/wiki/Variety_(universal_algebra)">Birkhoff varieties</a>) do not form a topos.  See <span style="color:#000000;">Johnstone, P. T., </span><span style="color:#000000;"><em>When is a variety a topos?</em></span><span style="color:#000000;"><em> </em></span><span style="color:#000000;">Algebra Universalis</span><span style="color:#000000;"> </span><span style="color:#000000;">21 </span><span style="color:#000000;">(1985), </span><span style="color:#000000;">198&#8211;212.</span></li>
<li><span style="color:#000000;">Why O Why does the conversion of these diagrams from PDF to JPEG darken the blue so it doesn&#8217;t match the text???</span></li>
</ol>
<h3>References</h3>
<ol>
<li>Michael Barr and Charles Wells, <em>Category theory for computing science</em> (1999).  <a href="http://www.crm.umontreal.ca/pub/Ventes/CatalogueEng.html">Les Publications CRM</a>, Montreal (publication PM023).</li>
<li>Michael Barr and Charles Wells, <em>Toposes, Triples and Theories</em> (2005).  <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Reprints in Theory and Applications of Categories 1</a>.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/666/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/666/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/666/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=666&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/07/27/definitions-into-mathematical-objects-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/07/twistedproductdiagram1.jpg?w=150" medium="image">
			<media:title type="html">TwistedProductDiagram</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/07/nofiproduct.jpg?w=149" medium="image">
			<media:title type="html">NoFiProduct</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/07/fiproduct.jpg?w=150" medium="image">
			<media:title type="html">FiProduct</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 3</title>
		<link>http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 01:51:28 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[commutative diagram]]></category>
		<category><![CDATA[definition]]></category>
		<category><![CDATA[directed graph]]></category>
		<category><![CDATA[equation]]></category>
		<category><![CDATA[Lawvere theory]]></category>
		<category><![CDATA[logical theory]]></category>
		<category><![CDATA[mathematical object]]></category>
		<category><![CDATA[mathematical structure]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=654</guid>
		<description><![CDATA[This is the third post in a series, continuing TDMO1 and TDMO2, aimed at explaining the concept of forms in Graph-Based Logic and Sketches. Clones and theories Sketches as I have described them so far can now describe some kinds of universal algebras, namely those with unary operations and equations.  n-ary operations and more elaborate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=654&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the third post in a series, continuing<em> <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a> </em>and <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a>, aimed at explaining the concept of <strong>forms </strong>in <em><a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a>.</em></p>
<p><strong> </strong></p>
<p><strong>Clones and theories</strong></p>
<p>Sketches as I have described them so far can now describe some kinds of <a href="http://en.wikipedia.org/wiki/Universal_algebra">universal algebras</a>, namely those with unary operations and equations.  <em>n</em>-ary operations and more elaborate constructions will come in a later post.</p>
<p>The first big construction in universal algebra is that of the <a href="http://en.wikipedia.org/wiki/Clone_(algebra)">clone</a><strong> </strong>of a <strong>type of algebra<em> </em></strong>(commonly called a <strong>signature</strong>): a specific set of <em>n</em>-ary operations for various <em>n</em> and specific equations involving those operations.  The clone is essentially all the expressions you can create from the operations, requiring two expressions to be equivalent if you can prove they are equivalent given the equations of the algebra.   (For example, in the clone for semigroups, <em>x</em>(<em>y(xy</em>)) is equivalent to (<em>xy</em>)(<em>x</em>y<em>)</em>.  On the other hand, <em>xy </em>is not equivalent to <em>yx </em>because there are noncommutative semigroups, so <em>xy = yx </em>can’t possibly follow from the equations.)</p>
<p>The <a href="http://en.wikipedia.org/wiki/Lawvere_theory">Lawvere theory</a> of the algebra is a different construction which essentially expresses the clone as a special kind of category, with models of the theory being product-preserving functors.</p>
<p>In <a href="http://en.wikipedia.org/wiki/Model_theory">model theory</a> a <strong>first-order theory </strong>is an extension of the concept of clone that allows relations other than equality, as well as the use of negation and quantifiers.  First order theories are constructed in a different way from clones and Lawvere theories but they capture the same general idea in the bigger context.<a name="cattheory"></a></p>
<p><strong>The cattheory of a sketch</strong></p>
<p>For a sketch, the idea equivalent to the clones and theories just described is that of a <strong>cattheory. </strong>(This is a new coinage.  See <strong>Terminology</strong> below.)</p>
<p>Suppose we have a <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2#LS">linear sketch</a> <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D+%3D+%28%5Cmathbf%7BG%7D%2CD%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S} = (&#92;mathbf{G},D)' title='&#92;mathcal{S} = (&#92;mathbf{G},D)' class='latex' /> where <strong>G</strong> is a digraph and <em>D</em> is a set of <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2#FC">formally commutative</a> diagrams.  The <strong>cattheory </strong>of the linear sketch, denoted by <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' />, is the free category<strong> </strong>generated by <strong>G </strong>with the condition imposed that the diagrams in <em>D </em>must become commutative.    The digraph morphism <img src='http://s0.wp.com/latex.php?latex=G%3A%5Cmathbf%7BG%7D%5Cto+%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='G:&#92;mathbf{G}&#92;to &#92;text{CatTh}(&#92;mathcal{S})' title='G:&#92;mathbf{G}&#92;to &#92;text{CatTh}(&#92;mathcal{S})' class='latex' /> that takes the nodes and arrows in <strong>G </strong>to the corresponding objects and arrows of the free category is by definition a <a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2#model">model</a> of the sketch <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' />. <em>G</em> is called the <strong>generic model </strong>of the sketch.</p>
<p>A <strong>model</strong> of the cattheory <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' /> in a category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> is simply a functor.  We don’t have to impose properties on the functor because functors automatically preserve commutative diagrams.  When we get into more complicated structures we will have to add preservation requirements on the model functor.  (See note 1.)</p>
<p>The category of models of the linear sketch <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' /> in a category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> is denoted by <img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7BMod%7D%5Cleft%28+%5Cmathcal%7BS%7D%2C%5Cmathcal%7BC%7D+%5Cright%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)' title='&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)' class='latex' />.  The category of models of the cattheory <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> is denoted by <img src='http://s0.wp.com/latex.php?latex=%5Cmathbf%7BMod%7D%5Cleft%28+%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29%2C%5Cmathcal%7BC%7D+%5Cright%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' title='&#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' class='latex' />.</p>
<p>The cattheory has this universal property:</p>
<p><strong>Theorem</strong> <em> The map <img src='http://s0.wp.com/latex.php?latex=M%5Cmapsto+GM%3A%5Cmathbf%7BMod%7D%5Cleft%28+%5Cmathcal%7BS%7D%2C%5Cmathcal%7BC%7D+%5Cright%29%5Cto+%5Cmathbf%7BMod%7D%5Cleft%28+%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29%2C%5Cmathcal%7BC%7D+%5Cright%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M&#92;mapsto GM:&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)&#92;to &#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' title='M&#92;mapsto GM:&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)&#92;to &#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' class='latex' /></em></p>
<p><em>is an equivalence of categories. </em>(Note 2).</p>
<p>This theorem forces the cattheory to be determined up to natural equivalence of categories that commutes with the generic model.  For all practical purposes, a model of the sketch is thus the same thing as a model of its cattheory.  This will remain true as we go up the hierarchy of new constructions (<em>n</em>-ary operations, limits and colimits, and other things) and is the defining property of the cattheory.   Clones, Lawvere theories and first order theories are all cattheories up to equivalence.</p>
<p><strong>How to think about cattheories</strong></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' />  may be thought of as the <em>minimal category that contains a model of <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' /></em>, the model being the generic model <em>G. </em>Every model <em>M </em>of <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' /> in any category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> must induce a unique (up to natural isomorphism) model of <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' />, simply because everything in <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' /> must be there because any category containing a model of <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' />  must have everything in <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;mathcal{S})' title='&#92;text{CatTh}(&#92;mathcal{S})' class='latex' />.</p>
<p>For example, consider the sketch for endofunctions in <em><a href="http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/">TDMO2</a></em>.    Because <em>s </em>is in the graph of the sketch, every power of <em>M</em>(<em>s</em>)<em> </em>must be in any category <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' /> containing a model <em>M </em>of the sketch.  This forces by induction a unique functor (model) from the cattheory of the sketch to <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BC%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{C}' title='&#92;mathcal{C}' class='latex' />.  (Usually the induced functor is unique only up to natural isomorphism, but this time it is rilly rilly unique.)</p>
<p><strong>Terminology</strong></p>
<p>These remarks apply in general to all kinds of sketches, not just the restricted version we are considering here.</p>
<p>The situation in the literature is confusing.</p>
<ul>
<li>In [2] and in the other books and articles by Michael Barr and/or me, we call the cattheory the <strong>theory.</strong></li>
<li>In [3], we refer to the cattheory of a finite limit sketch as a theory or as a <strong>categorial theory<em> </em></strong>in an attempt to distinguish it from some version or other of logical theory.  We said “categorial theory” instead of “categorical theory” because the latter phrase means something different to logicians.  Unfortunately, “categorial” means something different to linguists!</li>
<li>In [1], Johnstone calls the cattheory of a sketch the <strong>syntactic category.</strong></li>
<li>In [3], page 33, we refer to <strong>SynCat[ </strong><em>f </em><strong>]</strong>, where <em>f</em> is a form (generalized sketch).  Now <em>f</em> has a cattheory, but it is <em>not </em> <strong>SynCat[ </strong><em>f </em><strong>], </strong>which is the cattheory correspond to the <strong>doctrine </strong>that <em>f</em> belongs to (the type of categories it can have models in.)</li>
</ul>
<p>I am using “cattheory” so that I will have a neologism that doesn’t mean anything different to anybody.  Personally, I think we should keep using “theory”, because the theory (syntactic category in the sense of Johnstone) is ultimately the same thing (satisfies the same universal property) as the corresponding logical theory; the difference is only in the construction.</p>
<p><strong>Notes</strong></p>
<ol>
<li>When we have more structure to talk about in the models, we will have to distinguish which cattheory we are talking about for a sketch.  For the linear sketch <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BS%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{S}' title='&#92;mathcal{S}' class='latex' />we will refer to <img src='http://s0.wp.com/latex.php?latex=%5Ctext%7BCatTh%7D%28%5Ctext%7BLS%7D%2C+%5Cmathcal%7BS%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;text{CatTh}(&#92;text{LS}, &#92;mathcal{S})' title='&#92;text{CatTh}(&#92;text{LS}, &#92;mathcal{S})' class='latex' />, where “LS” refers to linear sketches.  That is the <a href="http://en.wikipedia.org/wiki/Doctrine_(mathematics)#Doctrines">doctrine</a> this particular sketch belongs to.</li>
<li>You have to say what the map <img src='http://s0.wp.com/latex.php?latex=M%5Cmapsto+GM%3A%5Cmathbf%7BMod%7D%5Cleft%28+%5Cmathcal%7BS%7D%2C%5Cmathcal%7BC%7D+%5Cright%29%5Cto+%5Cmathbf%7BMod%7D%5Cleft%28+%5Ctext%7BCatTh%7D%28%5Cmathcal%7BS%7D%29%2C%5Cmathcal%7BC%7D+%5Cright%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M&#92;mapsto GM:&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)&#92;to &#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' title='M&#92;mapsto GM:&#92;mathbf{Mod}&#92;left( &#92;mathcal{S},&#92;mathcal{C} &#92;right)&#92;to &#92;mathbf{Mod}&#92;left( &#92;text{CatTh}(&#92;mathcal{S}),&#92;mathcal{C} &#92;right)' class='latex' />does to morphisms of models, which are natural transformations (remember the models are functors.)   This is easy.</li>
</ol>
<p><strong> </strong></p>
<p><strong>References</strong></p>
<ol>
<li><em>1. </em><em>Sketches of an Elephant: A Topos Theory Compendium,</em> Volume 2 (Oxford Logic Guides 44), by <a href="http://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8&amp;search-type=ss&amp;index=books&amp;field-author=Peter%20T.%20Johnstone">Peter T. Johnstone</a>.  Oxford  University Press, ISBN 978-0198524960.</li>
<li><em>2. </em><em><a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Toposes, Triples and Theories</a></em> (online edition), by Michael Barr and Charles Wells. All references to page numbers refer to the online edition, not to the Springer volume, which should be forgotten forever.</li>
<li><em>3. </em><em>Graph-Based Logic and Sketches, </em>Atish Bagchi and Charles Wells <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">(latest draft</a> September, 2008).</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/654/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/654/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/654/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=654&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/07/01/definitions-into-mathematical-objects-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>
	</item>
		<item>
		<title>Definitions into mathematical objects 2</title>
		<link>http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/</link>
		<comments>http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 21:31:43 +0000</pubDate>
		<dc:creator>Charles Wells</dc:creator>
				<category><![CDATA[category theory]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Sketches and forms]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[commutative diagram]]></category>
		<category><![CDATA[definition]]></category>
		<category><![CDATA[directed graph]]></category>
		<category><![CDATA[equation]]></category>
		<category><![CDATA[mathematical object]]></category>
		<category><![CDATA[mathematical structure]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://sixwingedseraph.wordpress.com/?p=594</guid>
		<description><![CDATA[Introduction This post continues the discussion of sketches begun in the post Turning Definitions into Mathematical Objects (TDMO1). This series is building up to an explanation of the ideas in the monograph Graph-Based Logic and Sketches, by Atish Bagchi and me. In the previous post, I introduced the idea of a sketch, which is in its simplest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=594&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This post continues the discussion of sketches begun in the post <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">Turning Definitions into Mathematical Objects</a> (TDMO1).   This series is building up to an explanation of the ideas in the monograph <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a>, by Atish Bagchi and me.  In the previous post, I introduced the idea of a <strong>sketch</strong>, which is in its simplest form a directed graph (digraph), and a <strong>model </strong>of a sketch, which is a functor from the digraph to the category of sets.   A morphism of models is then a natural transformation between models.</p>
<p>In <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>, I described the sketch for directed graphs.  We need another example.</p>
<h4>The sketch for an endofunction</h4>
<div id="attachment_596" class="wp-caption alignleft" style="width: 56px"><img class="size-full wp-image-596" title="Loop" src="http://sixwingedseraph.files.wordpress.com/2009/06/loop.jpg?w=780" alt="Loop"   /><p class="wp-caption-text">(1)</p></div>
<p>Let <img src='http://s0.wp.com/latex.php?latex=%5Cmathcal%7BL%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;mathcal{L}' title='&#92;mathcal{L}' class='latex' /> be the digraph at the left.  It has one node<em> c </em>and one arrow <em>s</em>, whose source and target are (necessarily) <em>c</em>.   A model of this sketch is a set <em>C </em>and a function from <em>C</em> to itself.  Any such function determines a cyclic semigroup of transformations of <em>C</em>.  For later use, I want to mention the the particular model in which <em>C</em> is the set of natural numbers and s is the successor function: this is the free semigroup on one letter.</p>
<p>You may want to experiment with other digraphs as sketches.  Any digraph produces a category of models in sets.  Each such category is a category of presheaves, hence is a topos ([1], p. 67, Theorem 2.4).</p>
<h3>Imposing equations</h3>
<p>We need to expand the idea of sketch to be able to define more kinds of structure (see “Specifying more kinds of structure” in <a href="http://sixwingedseraph.wordpress.com/2009/05/08/turning-definitions-into-mathematical-objects/">TDMO1</a>).  Let’s start with equations.  Suppose we take the sketch for an endofunction and want to modify it so that <img src='http://s0.wp.com/latex.php?latex=s%5E3%3D1&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='s^3=1' title='s^3=1' class='latex' /> in every model in <strong>Set</strong>.  This means we must require that the diagram (in the category of sets) below commute for every model M.</p>
<p style="text-align:left;"><img class="aligncenter size-full wp-image-597" title="ThreeS" src="http://sixwingedseraph.files.wordpress.com/2009/06/threes.jpg?w=780" alt="ThreeS"   />To say that this diagram commutes requires that <img src='http://s0.wp.com/latex.php?latex=M%28s%29%5Ccirc+M%28s%29%5Ccirc+M%28s%29%3D%5Ctext%7Bid%7D_%7BM%28c%29%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M(s)&#92;circ M(s)&#92;circ M(s)=&#92;text{id}_{M(c)}' title='M(s)&#92;circ M(s)&#92;circ M(s)=&#92;text{id}_{M(c)}' class='latex' /> (see Note 1.)  <a name="model"></a>The obvious way to do this is to say that we require that a model is a functor from the digraph (1) to the category of sets that has the property that the image of the digraph</p>
<p style="text-align:left;"><img class="aligncenter size-full wp-image-595" title="BareTriangle" src="http://sixwingedseraph.files.wordpress.com/2009/06/baretriangle.jpg?w=780" alt="BareTriangle"   />under M is a <em>commutative diagram in the category of sets.</em> <a name="FC"></a>We say that this digraph is <a name="FC"></a><strong>formally commutative</strong>.  In general, in sketch theory, something is <strong>formally</strong> P if in every model of the sketch its image is required to be P.</p>
<p><a name="LS"></a>This gives us a more general notion of sketch which allows the specification of equations, although so far only between unary operations.   Formally, a <strong>linear sketch</strong> <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathbf%7BG%7D%2C+%5Ccal%7BD%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='(&#92;mathbf{G}, &#92;cal{D})' title='(&#92;mathbf{G}, &#92;cal{D})' class='latex' />  consists of a digraph <strong>G</strong> together with a set <img src='http://s0.wp.com/latex.php?latex=%5Ccal%7BD%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='&#92;cal{D}' title='&#92;cal{D}' class='latex' /> of zero or more formally commutative diagrams. It should be apparent that an linear sketch can specify anything that a universal algebra signature with only unary operations can specify.  But linear sketches can specify much more than that because they can specify<em> multisorted </em>algebras.</p>
<h3>Models in arbitrary categories</h3>
<p>A model in Set of  a linear sketch <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathbf%7BG%7D%2C+%5Ccal%7BD%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='(&#92;mathbf{G}, &#92;cal{D})' title='(&#92;mathbf{G}, &#92;cal{D})' class='latex' /> is a functor <img src='http://s0.wp.com/latex.php?latex=M%3A%5Cmathbf%7BG%7D%5Crightarrow%5Ctextbf%7BSet%7D&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='M:&#92;mathbf{G}&#92;rightarrow&#92;textbf{Set}' title='M:&#92;mathbf{G}&#92;rightarrow&#92;textbf{Set}' class='latex' /> with the property that M takes every diagram in   to a commutative diagram in Set.  (Note 2).</p>
<p>This definition would still be meaningful if we replaced Set by any category whatever.  So now we can talk about a  model of <img src='http://s0.wp.com/latex.php?latex=%28%5Cmathbf%7BG%7D%2C+%5Ccal%7BD%7D%29&amp;bg=ffffff&amp;fg=494949&amp;s=0' alt='(&#92;mathbf{G}, &#92;cal{D})' title='(&#92;mathbf{G}, &#92;cal{D})' class='latex' /> in any category<strong> </strong><em><strong>C</strong></em>.   For example, a model in the category of groups of the endofunction sketch above that requires the cube to be the identity function is simply a group with a specified automorphism of order 1 or 3.  Indeed, in any category of structures of a certain type, a model is a structure of that type with a specified automorphism of order 1 or 3.</p>
<p>The more elaborate sketches we construct later will still allow models in any category.  For example, a model of the sketch for groups (see reference [1], starting on page 126) in the category of Hausdorff spaces is precisely a Hausdorff topological group. Ancient cute theorem:  A model of the sketch for groups in the category of groups is an Abelian group.  That’s because the group operations must be homomorphisms!</p>
<p>Next we will look at what corresponds in universal algebra to clones.</p>
<h3>Notes</h3>
<p>1. Saying exactly what “this diagram commutes” means for any particular  exhibited diagram requires fussiness.  Chapter 2 of <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">GBLS</a> goes into excruciating detail about this.</p>
<p>2. A model of a linear sketch in the category of sets need not be a topos.</p>
<p>3. A model of a digraph (sketch without equations) in an arbitrary category is not in general a topos.  But a model of a digraph in a topos <em>is</em> a topos.</p>
<h3>References</h3>
<p>[1] Michael Barr and Charles Wells, <a href="http://www.tac.mta.ca/tac/reprints/articles/12/tr12.pdf">Toposes, Triples and Theories</a>.  All references to page numbers refer to the online edition, not to the Springer volume, which should be forgotten forever.</p>
<p>[2] Atish Bagchi and Charles Wells, <a href="http://arxiv.org/PS_cache/arxiv/pdf/0809/0809.3023v1.pdf">Graph-Based Logic and Sketches</a>.</p>
<p>[3] Charles Wells, <a href="http://www.cwru.edu/artsci/math/wells/pub/pdf/sketch.pdf">Sketches: Outline with references</a>.  Warning: This paper contains errors and omissions and will be revised Real Soon Now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixwingedseraph.wordpress.com/594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixwingedseraph.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixwingedseraph.wordpress.com/594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixwingedseraph.wordpress.com&amp;blog=6748403&amp;post=594&amp;subd=sixwingedseraph&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sixwingedseraph.wordpress.com/2009/06/05/definitions-into-mathematical-objects-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sixwingedseraph</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/06/loop.jpg" medium="image">
			<media:title type="html">Loop</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/06/threes.jpg" medium="image">
			<media:title type="html">ThreeS</media:title>
		</media:content>

		<media:content url="http://sixwingedseraph.files.wordpress.com/2009/06/baretriangle.jpg" medium="image">
			<media:title type="html">BareTriangle</media:title>
		</media:content>
	</item>
	</channel>
</rss>
