<?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>reperiendi</title>
	<atom:link href="http://reperiendi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://reperiendi.wordpress.com</link>
	<description>Mike Stay</description>
	<lastBuildDate>Mon, 02 Nov 2009 03:46:17 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='reperiendi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/16320b40708b3372fd346638ccb003ab?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>reperiendi</title>
		<link>http://reperiendi.wordpress.com</link>
	</image>
			<item>
		<title>aspen</title>
		<link>http://reperiendi.wordpress.com/2009/11/01/aspen/</link>
		<comments>http://reperiendi.wordpress.com/2009/11/01/aspen/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 03:46:17 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/2009/11/01/aspen/</guid>
		<description><![CDATA[       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=978&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br />
<a href='http://reperiendi.wordpress.com/2009/11/01/aspen/aspen/' title='aspen'><img width="150" height="103" src="http://reperiendi.files.wordpress.com/2009/11/aspen.jpg?w=150&#038;h=103" class="attachment-thumbnail" alt="" title="aspen" /></a>
<a href='http://reperiendi.wordpress.com/2009/11/01/aspen/aspen2/' title='aspen2'><img width="150" height="104" src="http://reperiendi.files.wordpress.com/2009/11/aspen2.jpg?w=150&#038;h=104" class="attachment-thumbnail" alt="" title="aspen2" /></a>
<a href='http://reperiendi.wordpress.com/2009/11/01/aspen/aspen3/' title='aspen3'><img width="84" height="150" src="http://reperiendi.files.wordpress.com/2009/11/aspen3.jpg?w=84&#038;h=150" class="attachment-thumbnail" alt="" title="aspen3" /></a>

  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/978/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/978/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/978/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=978&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/11/01/aspen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Burning bright</title>
		<link>http://reperiendi.wordpress.com/2009/10/29/burning-bright/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/29/burning-bright/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 23:02:45 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=972</guid>
		<description><![CDATA[Bengal tiger portrait shoot, with all four varieties.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=972&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.guardian.co.uk/environment/gallery/2009/apr/15/bengal-tigers-faces-photography">Bengal tiger portrait shoot</a>, with all four varieties.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/972/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/972/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/972/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=972&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/29/burning-bright/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Devils on Mars</title>
		<link>http://reperiendi.wordpress.com/2009/10/29/devils-on-mars/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/29/devils-on-mars/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 22:26:18 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=969</guid>
		<description><![CDATA[
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=969&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://reperiendi.files.wordpress.com/2009/10/deviltrails_mro.jpg"><img src="http://reperiendi.files.wordpress.com/2009/10/deviltrails_mro.jpg?w=720&#038;h=540" alt="deviltrails_mro" title="deviltrails_mro" width="720" height="540" class="aligncenter size-full wp-image-970" /></a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/969/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/969/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/969/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/969/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/969/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/969/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/969/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/969/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/969/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/969/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=969&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/29/devils-on-mars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/10/deviltrails_mro.jpg" medium="image">
			<media:title type="html">deviltrails_mro</media:title>
		</media:content>
	</item>
		<item>
		<title>Renormalization and Computation 4</title>
		<link>http://reperiendi.wordpress.com/2009/10/15/renormalization-and-computation-4/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/15/renormalization-and-computation-4/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 16:37:24 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Category theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Quantum]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=895</guid>
		<description><![CDATA[This is the fourth in a series of posts on Yuri Manin&#8217;s pair of papers.  In the previous posts, I laid out the background; this time I&#8217;ll actually get around to his result.
A homomorphism from the Hopf algebra into a target algebra is called a character.  The functor that assigns an action to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=895&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is the fourth in a <a href="http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/">series</a> of posts on Yuri Manin&#8217;s <a href="http://arxiv.org/abs/0904.4921">pair</a> of <a href="http://arxiv.org/abs/0908.3430">papers</a>.  In the previous posts, I laid out the background; this time I&#8217;ll actually get around to his result.</p>
<p>A homomorphism from the Hopf algebra into a target algebra is called a <i>character</i>.  The <a href="http://math.ucr.edu/home/baez//qg-fall2004/action.pdf">functor that assigns an action</a> to a path, whether classical or quantum, is a character.  In the classical case, it&#8217;s into the rig <img src='http://l.wordpress.com/latex.php?latex=%28%5Cmathbb%7BR%7D+%5Ccup+%5C%7B%5Cinfty%5C%7D%2C+%5Cmin%2C+%5Cinfty%2C+%2B%2C+0%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\mathbb{R} \cup \{\infty\}, \min, \infty, +, 0),' title='(\mathbb{R} \cup \{\infty\}, \min, \infty, +, 0),' class='latex' /> and we take an infimum over paths; in the quantum it&#8217;s into the rig <img src='http://l.wordpress.com/latex.php?latex=%28%5Cmathbb%7BC%7D%2C+%2B%2C+0%2C+%5Ccdot%2C+1%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\mathbb{C}, +, 0, \cdot, 1),' title='(\mathbb{C}, +, 0, \cdot, 1),' class='latex' /> and we take an integral over paths.  Moving from the quantum to the classical case is called <a href="http://reperiendi.wordpress.com/2007/01/31/dequantization-and-deformation/">Maslov dequantization</a>.  </p>
<p>Manin mentions that the runtime of a parallel program is a character akin to the classical action, with the runtime of the composition of two programs being the sum of the respective runtimes, while the runtime of two parallel programs is the maximum of the two.  A similar result holds for nearly any cost function.  He also points out that computably enumerable reals <img src='http://l.wordpress.com/latex.php?latex=%5Cmathbb%7BR%7D%5E%7Bc.e.%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mathbb{R}^{c.e.}' title='\mathbb{R}^{c.e.}' class='latex' /> form a rig <img src='http://l.wordpress.com/latex.php?latex=%28%5Cmathbb%7BR%7D%5E%7Bc.e.%7D%5Ccup+%5C%7B%5Cinfty%5C%7D%2C+%5Cmax%2C+%5Cinfty%2C+%2B%2C+0%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\mathbb{R}^{c.e.}\cup \{\infty\}, \max, \infty, +, 0).' title='(\mathbb{R}^{c.e.}\cup \{\infty\}, \max, \infty, +, 0).' class='latex' />  He examines Rota-Baxter operators as a way to generalize what &#8220;polar part&#8221; means and extend the theorems on Hopf algebra renormalization to such rigs.</p>
<p>In the second paper, he looks at my work with Calude as an example of a character.  He uses our same argument to show that lots of measures of program behavior have the property that if the measure hasn&#8217;t stopped growing after reaching a certain large amount with respect to the program size, then the density of finite values the measure could take decreases like <img src='http://l.wordpress.com/latex.php?latex=1%2F%5Clog%28t%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='1/\log(t).' title='1/\log(t).' class='latex' />  Surprisingly, though he referred to these results as cutoffs, he didn&#8217;t actually use them anywhere for doing regularization.</p>
<p>Reading between the lines, he might be suggesting something like approximating the Kolmogorov complexity that he uses later by using a time cutoff, motivated by results from our paper: there&#8217;s a constant <img src='http://l.wordpress.com/latex.php?latex=c&#038;bg=fff&#038;fg=222&#038;s=0' alt='c' title='c' class='latex' /> depending only on the programming language such that if you run the <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' />th program <span style="vertical-align:4px;"><img src='http://l.wordpress.com/latex.php?latex=cn%5E2&#038;bg=fff&#038;fg=222&#038;s=0' alt='cn^2' title='cn^2' class='latex' /></span> steps and it hasn&#8217;t stopped, then the density of times near <span style="vertical-align:4px;"><img src='http://l.wordpress.com/latex.php?latex=t+%3E+cn%5E2&#038;bg=fff&#038;fg=222&#038;s=0' alt='t &gt; cn^2' title='t &gt; cn^2' class='latex' /></span> at which it could stop is roughly <img src='http://l.wordpress.com/latex.php?latex=1%2F%5Clog%28t%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='1/\log(t).' title='1/\log(t).' class='latex' /></p>
<p>Levin suggested using a computable complexity that&#8217;s the sum of the program length and the log of the number of time steps; I suppose you could &#8220;regularize&#8221; the Kolmogorov complexity by adding <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%5Clog%28t%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda \log(t)' title='\Lambda \log(t)' class='latex' /> to the length of the program, renormalize, and then let <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> go to zero, but that&#8217;s not something Manin does.</p>
<p>Instead, he proposed two other constructions suitable for renormalization; here&#8217;s the simplest.  Given a partial computable function <img src='http://l.wordpress.com/latex.php?latex=f%3A%5Cmathbb%7BZ%7D%5E%2B%5Cto+%5Cmathbb%7BZ%7D%5E%2B%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='f:\mathbb{Z}^+\to \mathbb{Z}^+,' title='f:\mathbb{Z}^+\to \mathbb{Z}^+,' class='latex' /> define the computably enumerable <img src='http://l.wordpress.com/latex.php?latex=%5Cbar%7Bf%7D%3A%5Cmathbb%7BN%7D%5Cto%5Cmathbb%7BN%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\bar{f}:\mathbb{N}\to\mathbb{N}' title='\bar{f}:\mathbb{N}\to\mathbb{N}' class='latex' /> by <img src='http://l.wordpress.com/latex.php?latex=%5Cbar%7Bf%7D%28k%29+%3D+f%28k%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\bar{f}(k) = f(k)' title='\bar{f}(k) = f(k)' class='latex' /> if <img src='http://l.wordpress.com/latex.php?latex=f%28k%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='f(k)' title='f(k)' class='latex' /> is defined, and 0 otherwise. Now define</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5CPsi%28k%2Cf%3Bz%29+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%5Cfrac%7Bz%5En%7D%7B%5Cleft%281%2Bn%5Cbar%7Bf%7D%28k%29%5Cright%29%5E2%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \Psi(k,f;z) = \sum_{n=0}^{\infty} \frac{z^n}{\left(1+n\bar{f}(k)\right)^2}.' title='\displaystyle \Psi(k,f;z) = \sum_{n=0}^{\infty} \frac{z^n}{\left(1+n\bar{f}(k)\right)^2}.' class='latex' /></p>
<p>When <img src='http://l.wordpress.com/latex.php?latex=f%28k%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='f(k)' title='f(k)' class='latex' /> is undefined, <img src='http://l.wordpress.com/latex.php?latex=%5CPsi%28k%2Cf%3Bz%29+%3D+1%2F%281-z%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Psi(k,f;z) = 1/(1-z),' title='\Psi(k,f;z) = 1/(1-z),' class='latex' /> which has a pole at <img src='http://l.wordpress.com/latex.php?latex=z%3D1.&#038;bg=fff&#038;fg=222&#038;s=0' alt='z=1.' title='z=1.' class='latex' />  When <img src='http://l.wordpress.com/latex.php?latex=f%28k%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='f(k)' title='f(k)' class='latex' /> is defined, <img src='http://l.wordpress.com/latex.php?latex=%5CPsi%28k%2Cf%3Bz%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Psi(k,f;z)' title='\Psi(k,f;z)' class='latex' /> converges everywhere except <img src='http://l.wordpress.com/latex.php?latex=z%3D%5Cinfty.&#038;bg=fff&#038;fg=222&#038;s=0' alt='z=\infty.' title='z=\infty.' class='latex' />  Birkhoff decomposition would separate these two cases, though I&#8217;m not sure what value <img src='http://l.wordpress.com/latex.php?latex=%5CPsi_%2B%28f%2Ck%3B1%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Psi_+(f,k;1)' title='\Psi_+(f,k;1)' class='latex' /> would take or what it would mean.  </p>
<p>The other construction involves turning <img src='http://l.wordpress.com/latex.php?latex=%5Cbar%7Bf%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\bar{f}' title='\bar{f}' class='latex' /> into a permutation <img src='http://l.wordpress.com/latex.php?latex=%28x%2Cy%29+%5Cmapsto+%28x%2B%5Cbar%7Bf%7D%28y%29%2Cy%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='(x,y) \mapsto (x+\bar{f}(y),y),' title='(x,y) \mapsto (x+\bar{f}(y),y),' class='latex' /> and inventing a function that has poles when the permutation has fixpoints.</p>
<p>So Manin&#8217;s idea of renormalizing the halting problem is to do some uncomputable stuff to get an easy-to-renormalize function and then throw the Brikhoff decomposition at it; since we know the halting problem is undecidable, perhaps the fact that he didn&#8217;t come up with a new technique for extracting information about the problem is unsurprising, but after putting in so much effort to understand it, I was left rather disappointed: if you&#8217;re going to allow yourself to do uncomputable things, why not just solve the halting problem directly?</p>
<p>I must suppose that his intent was not to tackle this hard problem, but simply to play with the analogy he&#8217;d noticed; it&#8217;s what I&#8217;ve done in other papers.  And being forced to learn renormalization was exhilarating!  I have a bunch of ideas to follow up; I&#8217;ll write them up as I get a chance.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/895/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/895/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/895/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/895/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/895/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=895&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/15/renormalization-and-computation-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Renormalization and Computation 3</title>
		<link>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-3/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-3/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 15:03:22 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=879</guid>
		<description><![CDATA[This is the third in a series of posts on Yuri Manin&#8217;s recent pair of papers applying Hopf algebra renormalization to the Halting problem.  Last time I talked about the way people usually do renormalization; this time I&#8217;ll talk about the recent work by Kreimer, Connes, and others in exposing the underlying Hopf algebra [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=879&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is the third in a <a href="http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/">series</a> of <a href="http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-2/">posts</a> on Yuri Manin&#8217;s recent pair of papers applying Hopf algebra renormalization to the Halting problem.  Last time I talked about the way people usually do renormalization; this time I&#8217;ll talk about the recent work by Kreimer, Connes, and others in exposing the underlying Hopf algebra in this process.</p>
<p>A Hopf algebra is</p>
<ul>
<li>An <img src='http://l.wordpress.com/latex.php?latex=R&#038;bg=fff&#038;fg=222&#038;s=0' alt='R' title='R' class='latex' />-module for a commutative rig <img src='http://l.wordpress.com/latex.php?latex=R%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='R,' title='R,' class='latex' /> which means you can add vectors and multiply them by a scalar.</li>
<li>An algebra, which means you can take two vectors and multiply them.  This operation is associative; there&#8217;s also a unit vector that satisfies left- and right-unit laws.</li>
<li>A bialgebra, which means there&#8217;s also a coassociative comultiplication and counit, and the structures all work together.  When the tensor product is the cartesian product, the comultiplication duplicates the vector and the counit is the constant map to 1 in the base field.  Even when the tensor product isn&#8217;t the cartesian product, it can still be useful to think of it that way.</li>
<li>A bialgebra with an involution, called the antipode.</li>
</ul>
<p>A group is very like a Hopf algebra; in fact, a group object in the category of vector spaces and linear maps is a cocommutative Hopf algebra.  You can multiply group elements and there&#8217;s a multiplicative unit; you can duplicate and delete them in equations; and you can invert them.</p>
<p>It turns out that Feynman diagrams form a Hopf algebra if you poke yourself in one eye and squint.  First, a <i>cut</i> <img src='http://l.wordpress.com/latex.php?latex=C&#038;bg=fff&#038;fg=222&#038;s=0' alt='C' title='C' class='latex' /> of an oriented graph <img src='http://l.wordpress.com/latex.php?latex=g&#038;bg=fff&#038;fg=222&#038;s=0' alt='g' title='g' class='latex' /> (i.e directed graph with no parallel edges) picks an upper set <img src='http://l.wordpress.com/latex.php?latex=g%5EC&#038;bg=fff&#038;fg=222&#038;s=0' alt='g^C' title='g^C' class='latex' /> and a lower set <img src='http://l.wordpress.com/latex.php?latex=g_C&#038;bg=fff&#038;fg=222&#038;s=0' alt='g_C' title='g_C' class='latex' /> of vertices such that</p>
<ul>
<li>given an oriented wheel in the graph, its vertices either all belong to the upper set or all belong to the lower set, and</li>
<li>any edge connecting a vertex <img src='http://l.wordpress.com/latex.php?latex=v&#038;bg=fff&#038;fg=222&#038;s=0' alt='v' title='v' class='latex' /> in the upper set to a vertex <img src='http://l.wordpress.com/latex.php?latex=w&#038;bg=fff&#038;fg=222&#038;s=0' alt='w' title='w' class='latex' /> in the lower set must be directed from <img src='http://l.wordpress.com/latex.php?latex=v&#038;bg=fff&#038;fg=222&#038;s=0' alt='v' title='v' class='latex' /> to <img src='http://l.wordpress.com/latex.php?latex=w.&#038;bg=fff&#038;fg=222&#038;s=0' alt='w.' title='w.' class='latex' /></li>
</ul>
<p>Now, given a set of Feynman diagrams, consider all formal linear combinations of graph cuts.  This is a vector space because you can add these things pointwise and multiply them by a scalar.  We can make it into a bialgebra by defining multiplication to be a linear map</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+m%28g+%5Cotimes+g%27%29+%3D+g+%5Ccoprod+g%27&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle m(g \otimes g&#039;) = g \coprod g&#039;' title='\displaystyle m(g \otimes g&#039;) = g \coprod g&#039;' class='latex' /></p>
<p>with unit</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Barray%7D%7Brl%7De%3AI+%26+%5Cto+H+%5C%5C+1+%26+%5Cmapsto+0%2C+%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \begin{array}{rl}e:I &amp; \to H \\ 1 &amp; \mapsto 0, \end{array}' title='\displaystyle \begin{array}{rl}e:I &amp; \to H \\ 1 &amp; \mapsto 0, \end{array}' class='latex' /></p>
<p>and comultiplication to be a linear map</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5CDelta%28g%29+%3D+%5Csum_C+g%5EC+%5Cotimes+g_C%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \Delta(g) = \sum_C g^C \otimes g_C,' title='\displaystyle \Delta(g) = \sum_C g^C \otimes g_C,' class='latex' /></p>
<p>where <img src='http://l.wordpress.com/latex.php?latex=C&#038;bg=fff&#038;fg=222&#038;s=0' alt='C' title='C' class='latex' /> ranges over all cuts of <img src='http://l.wordpress.com/latex.php?latex=g%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='g,' title='g,' class='latex' /> with counit</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Barray%7D%7Brl%7D%5Cepsilon%3AH+%26+%5Cto+I+%5C%5C+%5Csum_g+a_g+g%26+%5Cmapsto+a_0.+%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \begin{array}{rl}\epsilon:H &amp; \to I \\ \sum_g a_g g&amp; \mapsto a_0. \end{array}' title='\displaystyle \begin{array}{rl}\epsilon:H &amp; \to I \\ \sum_g a_g g&amp; \mapsto a_0. \end{array}' class='latex' /></p>
<p>It&#8217;s graded: just count the number of vertices.  And we can turn it into a Hopf algebra by defining the antipode <img src='http://l.wordpress.com/latex.php?latex=S%3AH+%5Cto+H&#038;bg=fff&#038;fg=222&#038;s=0' alt='S:H \to H' title='S:H \to H' class='latex' /> to be a linear map such that</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cbegin%7Barray%7D%7Brl%7DS%281%29+%26+%3D+1+%5C%5C++S%28g%29+%26+%5Cdisplaystyle+%3D+-g-%5Csum_C+S%28g%5EC%29+%5Ccoprod+g_C+%5C%5C+%26+%5Cdisplaystyle+%3D+-g-%5Csum_C+g%5EC+%5Ccoprod+S%28g_C%29.%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \begin{array}{rl}S(1) &amp; = 1 \\  S(g) &amp; \displaystyle = -g-\sum_C S(g^C) \coprod g_C \\ &amp; \displaystyle = -g-\sum_C g^C \coprod S(g_C).\end{array}' title='\displaystyle \begin{array}{rl}S(1) &amp; = 1 \\  S(g) &amp; \displaystyle = -g-\sum_C S(g^C) \coprod g_C \\ &amp; \displaystyle = -g-\sum_C g^C \coprod S(g_C).\end{array}' class='latex' /></p>
<p>Each algebra homomorphism (not necessarily preserving the Hopf algebra structure) from <img src='http://l.wordpress.com/latex.php?latex=H&#038;bg=fff&#038;fg=222&#038;s=0' alt='H' title='H' class='latex' /> to an algebra <img src='http://l.wordpress.com/latex.php?latex=%5Cmathcal%7BA%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mathcal{A}' title='\mathcal{A}' class='latex' /> defines a way to assign a (generalized) probability amplitude to each diagram.  The set <img src='http://l.wordpress.com/latex.php?latex=%5Cmbox%7Bhom%7D%28H%2C+%5Cmathcal%7BA%7D%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mbox{hom}(H, \mathcal{A})' title='\mbox{hom}(H, \mathcal{A})' class='latex' /> of such homomorphisms becomes a group when we note that the functor <img src='http://l.wordpress.com/latex.php?latex=%5Cmbox%7Bhom%7D%28-%2C+%5Cmathcal%7BA%7D%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mbox{hom}(-, \mathcal{A})' title='\mbox{hom}(-, \mathcal{A})' class='latex' /> is contravariant, so the comultiplication in <img src='http://l.wordpress.com/latex.php?latex=H&#038;bg=fff&#038;fg=222&#038;s=0' alt='H' title='H' class='latex' /> gets mapped to a multiplication.</p>
<p>Next: given a complex group <img src='http://l.wordpress.com/latex.php?latex=G&#038;bg=fff&#038;fg=222&#038;s=0' alt='G' title='G' class='latex' /> (that is, a group that&#8217;s also a complex manifold so the multiplication and inverse are complex-analytic functions), a <i>Birkhoff decomposition</i> of a loop <img src='http://l.wordpress.com/latex.php?latex=%5Cphi%3AS%5E1+%5Cto+G&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi:S^1 \to G' title='\phi:S^1 \to G' class='latex' /> is an analytic continuation of the loop to</p>
<ul>
<li> a holomorphic function <img src='http://l.wordpress.com/latex.php?latex=%5Cphi_%2B&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi_+' title='\phi_+' class='latex' /> on the standard disk inside the circle</li>
<li> a holomorphic function <img src='http://l.wordpress.com/latex.php?latex=%5Cphi_-&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi_-' title='\phi_-' class='latex' /> on the complement of this disk in the projective complex plane</li>
<li> such that on the unit circle the original loop is reproduced as
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cphi+%3D+%5Cphi_%7B%2B%7D+%5Cphi_%7B-%7D%5E%7B-1%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \phi = \phi_{+} \phi_{-}^{-1},' title='\displaystyle \phi = \phi_{+} \phi_{-}^{-1},' class='latex' /></p>
<p>where the product and the inverse on the right are taken in the group <img src='http://l.wordpress.com/latex.php?latex=G.&#038;bg=fff&#038;fg=222&#038;s=0' alt='G.' title='G.' class='latex' /> Notice that <img src='http://l.wordpress.com/latex.php?latex=%5Cphi_%2B%280%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi_+(0)' title='\phi_+(0)' class='latex' /> is a well defined element of <img src='http://l.wordpress.com/latex.php?latex=G.&#038;bg=fff&#038;fg=222&#038;s=0' alt='G.' title='G.' class='latex' /></li>
</ul>
<p>Take <img src='http://l.wordpress.com/latex.php?latex=G+%3D+%5Cmbox%7Bhom%7D%28H%2C+%5Cmathbb%7BC%7D%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='G = \mbox{hom}(H, \mathbb{C}).' title='G = \mbox{hom}(H, \mathbb{C}).' class='latex' />  Now imagine our regularization parameter is a complex number <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> and we have some map <img src='http://l.wordpress.com/latex.php?latex=%5Cphi%3A%5Cmathbb%7BC%7D+%5Cto+G&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi:\mathbb{C} \to G' title='\phi:\mathbb{C} \to G' class='latex' /> that&#8217;s singular at <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%3D+0.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda = 0.' title='\Lambda = 0.' class='latex' />  Then the Connes-Kreimer theorem says that the Birkhoff decomposition always exists and gives an explicit formula.  Hopf algebra renormalization is simply rearranging the terms in the Birkhoff decomposition:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cphi_%7B%2B%7D+%3D+%5Cphi+%5Cstar+%5Cphi_%7B-%7D%5E%7B-1%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \phi_{+} = \phi \star \phi_{-}^{-1},' title='\displaystyle \phi_{+} = \phi \star \phi_{-}^{-1},' class='latex' /></p>
<p>where <img src='http://l.wordpress.com/latex.php?latex=%5Cstar&#038;bg=fff&#038;fg=222&#038;s=0' alt='\star' title='\star' class='latex' /> is the convolution product.  </p>
<p>As I understand this, <img src='http://l.wordpress.com/latex.php?latex=%5Cphi&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi' title='\phi' class='latex' /> is isomorphic to <img src='http://l.wordpress.com/latex.php?latex=%5Ctilde%7B%5Cphi%7D%3AH+%5Cto+%5Cmbox%7Bhom%7D%28%5Cmathbb%7BC%7D%2C%5Cmathbb%7BC%7D%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\tilde{\phi}:H \to \mbox{hom}(\mathbb{C},\mathbb{C}).' title='\tilde{\phi}:H \to \mbox{hom}(\mathbb{C},\mathbb{C}).' class='latex' />  Given a linear combination of graphs, <img src='http://l.wordpress.com/latex.php?latex=%5Ctilde%7B%5Cphi%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\tilde{\phi}' title='\tilde{\phi}' class='latex' /> gives you back a Laurent polynomial in <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> which you can split into terms with negative exponents (the polar part) and those with positive exponents (the renormalized part).</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/879/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=879&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Renormalization and Computation 2</title>
		<link>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-2/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-2/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 09:18:10 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[General physics]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Quantum]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=819</guid>
		<description><![CDATA[This is the second in a series of posts covering Yuri Manin&#8217;s ideas involving Hopf algebra renormalization of the Halting problem.  Last time I showed how perturbing a quantum harmonic oscillator gave a sum over integrals involving  interactions with the perturbation; we can keep track of the integrals using Feynman diagrams, though in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=819&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is the second in a series of posts covering Yuri Manin&#8217;s ideas involving Hopf algebra renormalization of the Halting problem.  <a href="http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/">Last time</a> I showed how perturbing a quantum harmonic oscillator gave a sum over integrals involving <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' /> interactions with the perturbation; we can keep track of the integrals using Feynman diagrams, though in the case of a single QHO they weren&#8217;t very interesting.  </p>
<p>One point about the QHO needs emphasis at this point.  Given a wavefunction <img src='http://l.wordpress.com/latex.php?latex=%5Cpsi+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%5Cpsi_n+%7Cn%5Crangle&#038;bg=fff&#038;fg=222&#038;s=0' alt='\psi = \sum_{n=0}^{\infty} \psi_n |n\rangle' title='\psi = \sum_{n=0}^{\infty} \psi_n |n\rangle' class='latex' /> describing the state of the QHO, it must be the case that we get <i>some</i> value when we measure the energy; so if we sum up the norms of the probability amplitudes, we should get unity:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Clangle+%5Cpsi%7C%5Cpsi+%5Crangle+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%5Clangle+n+%7C+%5Cpsi_n%5E%2A+%5Cpsi_n+%7C+n+%5Crangle+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%7C%5Cpsi_n%7C%5E2+%3D+1.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \langle \psi|\psi \rangle = \sum_{n=0}^{\infty} \langle n | \psi_n^* \psi_n | n \rangle = \sum_{n=0}^{\infty} |\psi_n|^2 = 1.' title='\displaystyle \langle \psi|\psi \rangle = \sum_{n=0}^{\infty} \langle n | \psi_n^* \psi_n | n \rangle = \sum_{n=0}^{\infty} |\psi_n|^2 = 1.' class='latex' /></p>
<p>This is called the <i>normalization</i> condition.</p>
<p>When we perturb the QHO, the states <img src='http://l.wordpress.com/latex.php?latex=%7Cn%5Crangle&#038;bg=fff&#038;fg=222&#038;s=0' alt='|n\rangle' title='|n\rangle' class='latex' /> are no longer the energy eigenvectors of the new Hamiltonian.  We can express the new eigenvectors <img src='http://l.wordpress.com/latex.php?latex=%7Cm%5Crangle&#038;bg=fff&#038;fg=222&#038;s=0' alt='|m\rangle' title='|m\rangle' class='latex' /> in terms of the old ones:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%7Cm%5Crangle+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D%5Clambda%5En+m_n%7Cn%5Crangle%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle |m\rangle = \sum_{n=0}^{\infty}\lambda^n m_n|n\rangle,' title='\displaystyle |m\rangle = \sum_{n=0}^{\infty}\lambda^n m_n|n\rangle,' class='latex' /></p>
<p>where <img src='http://l.wordpress.com/latex.php?latex=%5Clambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\lambda' title='\lambda' class='latex' /> is the strength of the perturbation, and we reexpress our wavefunction in this new basis:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cpsi+%3D+%5Csum_%7Bm%3D0%7D%5E%7B%5Cinfty%7D+%5Cpsi%27_m+%7Cm%5Crangle&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \psi = \sum_{m=0}^{\infty} \psi&#039;_m |m\rangle' title='\displaystyle \psi = \sum_{m=0}^{\infty} \psi&#039;_m |m\rangle' class='latex' /></p>
<p>Since we&#8217;re working with a new set of coefficients, we have to make sure they sum up to unity, too:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Csum_%7Bm%3D0%7D%5E%7B%5Cinfty%7D+%7C%5Cpsi%27_m%7C%5E2+%3D+1.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \sum_{m=0}^{\infty} |\psi&#039;_m|^2 = 1.' title='\displaystyle \sum_{m=0}^{\infty} |\psi&#039;_m|^2 = 1.' class='latex' /></p>
<p>This is the <i>renormalization</i> condition.  So renormalization is about making sure things sum up right once you perturb the system.</p>
<p>I want to talk about renormalization in quantum field theory; the trouble is, I don&#8217;t actually know quantum field theory, so I&#8217;ll just be writing up what little I&#8217;ve gathered from reading <a href="http://www.pha.jhu.edu/~blechman/papers/renormalization/renormalization.pdf">various</a> <a href="http://arxiv.org/abs/hep-th/0212049">things</a> and conversations with Dr. Baez.  I&#8217;ve likely got some things wrong, so please let me know and I&#8217;ll fix them.</p>
<p>A field is a function defined on spacetime.  Scalar fields are functions with a single output, whereas vector fields are functions with several outputs.  The electromagnetic field assigns a single number, called the electric field, and a vector, called the magnetic field, to every point in spacetime.  When you have two electrons and move one of them, it feels a reaction force and loses momentum; the other electron doesn&#8217;t move until the influence, traveling at the speed of light, reaches it.  Conservation of momentum says that the momentum has to be somewhere; it&#8217;s useful to consider it to be in the electromagnetic field.</p>
<p>When you take the Fourier transform of the field, you get a function that assigns values to harmonics of the field; in the case of electromagnetism, the transformed field <img src='http://l.wordpress.com/latex.php?latex=%5Cphi&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi' title='\phi' class='latex' /> assigns a value to each color <img src='http://l.wordpress.com/latex.php?latex=k&#038;bg=fff&#038;fg=222&#038;s=0' alt='k' title='k' class='latex' /> of light.  Quantizing this transformed field amounts to making <img src='http://l.wordpress.com/latex.php?latex=%5Cphi%28k%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\phi(k)' title='\phi(k)' class='latex' /> into a creation operator, just like <img src='http://l.wordpress.com/latex.php?latex=z&#038;bg=fff&#038;fg=222&#038;s=0' alt='z' title='z' class='latex' /> in the QHO example from last time.  So we have a continuum of QHOs, each indexed by a color <img src='http://l.wordpress.com/latex.php?latex=k.&#038;bg=fff&#038;fg=222&#038;s=0' alt='k.' title='k.' class='latex' />  (By the way&#8212;the zero-dimensional Fourier transform is the identity function, so the QHO example from last time can be thought of both as the field at the unique point in spacetime and the field at the unique frequency.)</p>
<p>When we move to positive-dimensional fields, we get more interesting pictures, like these from quantum electrodynamics:<br />
<img src="http://reperiendi.files.wordpress.com/2009/10/ce255550fg0010.gif?w=250&#038;h=476" alt="Feynman diagrams" title="Feynman diagrams" width="250" height="476" class="aligncenter size-full wp-image-800"><br />
Here, our coupling constant is the fine structure constant <img src='http://l.wordpress.com/latex.php?latex=%5Calpha+%3D+e%5E2%2F%5Chbar+c%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\alpha = e^2/\hbar c,' title='\alpha = e^2/\hbar c,' class='latex' /> where <img src='http://l.wordpress.com/latex.php?latex=e&#038;bg=fff&#038;fg=222&#038;s=0' alt='e' title='e' class='latex' /> is the charge of the electron.  For each vertex, we write down our coupling constant times <img src='http://l.wordpress.com/latex.php?latex=-i&#038;bg=fff&#038;fg=222&#038;s=0' alt='-i' title='-i' class='latex' /> times a delta function saying that the incoming momentum minus the outgoing momentum equals zero.  For each internal line, we write down a propagator&#8212;a function representing the transfer of momentum from one point to another; it&#8217;s a function of the four-momentum <img src='http://l.wordpress.com/latex.php?latex=k&#038;bg=fff&#038;fg=222&#038;s=0' alt='k' title='k' class='latex' />&#8212;and multiply all this stuff together.  Then we integrate over all four-momenta and get something that looks like</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cint_0%5E%5Cinfty+f%28k%29+d%5E4+k.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \int_0^\infty f(k) d^4 k.' title='\displaystyle \int_0^\infty f(k) d^4 k.' class='latex' /></p>
<p>The trouble is, this integral usually gives infinity for an answer.  We try to work around this in two steps: first, we <i>regularize</i> the integral by introducing a length scale <img src='http://l.wordpress.com/latex.php?latex=%5CLambda.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda.' title='\Lambda.' class='latex' />  This represents the point at which gravity starts being important and we need to move to a more fundamental theory.  In the quantum field theory of magnetic domains in iron crystals, the length scale is the inter-atom distance in the lattice.  Regularization makes the integral finite for <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> away from some singularity.</p>
<p>There are a few different ways of regularizing; one is to use <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> as a momentum cutoff:</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cint_0%5E%5CLambda+f%28k%29+d%5E4+k.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \int_0^\Lambda f(k) d^4 k.' title='\displaystyle \int_0^\Lambda f(k) d^4 k.' class='latex' /></p>
<p>This obviously converges, and solutions to this are always a sum of three parts:</p>
<ul>
<li>The first part diverges as <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%5Cto+%5Cinfty%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda \to \infty,' title='\Lambda \to \infty,' class='latex' /> either logarithmically or as a power of <img src='http://l.wordpress.com/latex.php?latex=%5CLambda.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda.' title='\Lambda.' class='latex' /></li>
<li>The second part is finite and independent of <img src='http://l.wordpress.com/latex.php?latex=%5CLambda.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda.' title='\Lambda.' class='latex' /></li>
<li>The third part vanishes as <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%5Cto+%5Cinfty.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda \to \infty.' title='\Lambda \to \infty.' class='latex' /></li>
</ul>
<p>Renormalization in this case amounts to getting rid of the first part.</p>
<p>These three parts represent three different length scales: at lengths larger than <img src='http://l.wordpress.com/latex.php?latex=%5CLambda%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda,' title='\Lambda,' class='latex' /> all quantum or statistical fluctuations are negligible, and we can use the mean field approximation and do classical physics.  At lengths between <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=1%2F%5CLambda%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='1/\Lambda,' title='1/\Lambda,' class='latex' /> we use QFT to calculate what&#8217;s going on.  Finally, at lengths smaller than <img src='http://l.wordpress.com/latex.php?latex=1%2F%5CLambda%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='1/\Lambda,' title='1/\Lambda,' class='latex' /> we need a new theory to describe what&#8217;s going on.  In the case of QED, the new theory is quantum gravity; string theory and loop quantum gravity are the serious contenders for the correct theory.</p>
<p>The problem with this regularization scheme is that it doesn&#8217;t preserve gauge invariance, so usually physicists use another regularization scheme, called &#8220;dimensional regularization&#8221;.  Here, we compute</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cint_0%5E%5Cinfty+f%28k%29+d%5E%5CLambda+k&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \int_0^\infty f(k) d^\Lambda k' title='\displaystyle \int_0^\infty f(k) d^\Lambda k' class='latex' /></p>
<p>which gives us an expression involving gamma functions of <img src='http://l.wordpress.com/latex.php?latex=%5CLambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda' title='\Lambda' class='latex' />, where gamma is the continuous factorial function, and then we set <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%3D+4+-+%5Cepsilon.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda = 4 - \epsilon.' title='\Lambda = 4 - \epsilon.' class='latex' />  The solutions to this are also a sum of three terms&#8212;a divergent part, a finite part, and a vanishing part&#8212;and then renormalization gets rid of the divergent part.</p>
<p>Assume we have some theory with a single free parameter <img src='http://l.wordpress.com/latex.php?latex=g&#038;bg=fff&#038;fg=222&#038;s=0' alt='g' title='g' class='latex' />.  We&#8217;d like to calculate a function <img src='http://l.wordpress.com/latex.php?latex=F%28x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x)' title='F(x)' class='latex' /> perturbatively in terms of <img src='http://l.wordpress.com/latex.php?latex=g&#038;bg=fff&#038;fg=222&#038;s=0' alt='g' title='g' class='latex' />, where <img src='http://l.wordpress.com/latex.php?latex=F&#038;bg=fff&#038;fg=222&#038;s=0' alt='F' title='F' class='latex' /> represents some physical quantity, and we know <img src='http://l.wordpress.com/latex.php?latex=F%28x_0%29+%3D+g%27&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x_0) = g&#039;' title='F(x_0) = g&#039;' class='latex' />.  We assume <img src='http://l.wordpress.com/latex.php?latex=F&#038;bg=fff&#038;fg=222&#038;s=0' alt='F' title='F' class='latex' /> takes the form</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F%28x%29+%3D+g+%2B+g%5E2+F_2%28x%29+%2B+g%5E3+F_3%28x%29+%2B+%5Ccdots&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F(x) = g + g^2 F_2(x) + g^3 F_3(x) + \cdots' title='\displaystyle F(x) = g + g^2 F_2(x) + g^3 F_3(x) + \cdots' class='latex' /></p>
<p>and assume that this definition gives us divergent integrals for the <img src='http://l.wordpress.com/latex.php?latex=F_n.&#038;bg=fff&#038;fg=222&#038;s=0' alt='F_n.' title='F_n.' class='latex' />  The first step is regularization: instead of <img src='http://l.wordpress.com/latex.php?latex=F&#038;bg=fff&#038;fg=222&#038;s=0' alt='F' title='F' class='latex' /> we have a new function</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F_%5CLambda%28x%29+%3D+g+%2B+g%5E2+F_%7B2%2C%5CLambda%7D%28x%29+%2B+g%5E3+F_%7B3%2C%5CLambda%7D%28x%29+%2B+%5Ccdots&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F_\Lambda(x) = g + g^2 F_{2,\Lambda}(x) + g^3 F_{3,\Lambda}(x) + \cdots' title='\displaystyle F_\Lambda(x) = g + g^2 F_{2,\Lambda}(x) + g^3 F_{3,\Lambda}(x) + \cdots' class='latex' /></p>
<p>Now we get to the business of renormalization!  We solve this problem at each order; if the theory is renormalizable, knowing the solution at the previous order will give us a constraint for the next order, and we can subtract off all the divergent terms in a consistent way:</p>
<ol>
<li>Order <img src='http://l.wordpress.com/latex.php?latex=g.&#038;bg=fff&#038;fg=222&#038;s=0' alt='g.' title='g.' class='latex' /></p>
<p>Here, <img src='http://l.wordpress.com/latex.php?latex=F_%5CLambda%28x%29+%3D+g+%2B+O%28g%5E2%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='F_\Lambda(x) = g + O(g^2).' title='F_\Lambda(x) = g + O(g^2).' class='latex' />  Since it&#8217;s a constant, it has to match <img src='http://l.wordpress.com/latex.php?latex=F%28x_0%29+%3D+g%27%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x_0) = g&#039;,' title='F(x_0) = g&#039;,' class='latex' /> so <img src='http://l.wordpress.com/latex.php?latex=g+%3D+g%27+%2B+O%28g%27%5E2%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='g = g&#039; + O(g&#039;^2).' title='g = g&#039; + O(g&#039;^2).' class='latex' />  In this approximation, the coupling constant takes the classical value.</li>
<li>Order <img src='http://l.wordpress.com/latex.php?latex=g%5E2.&#038;bg=fff&#038;fg=222&#038;s=0' alt='g^2.' title='g^2.' class='latex' />
<p>Let <img src='http://l.wordpress.com/latex.php?latex=g+%3D+g%27+%2B+G_2%28g%27%29+%2B+G_3%28g%27%29+%2B+%5Ccdots%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='g = g&#039; + G_2(g&#039;) + G_3(g&#039;) + \cdots,' title='g = g&#039; + G_2(g&#039;) + G_3(g&#039;) + \cdots,' class='latex' /> where <img src='http://l.wordpress.com/latex.php?latex=G_n%28g%27%29+%5Csim+O%28g%27%5En%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='G_n(g&#039;) \sim O(g&#039;^n).' title='G_n(g&#039;) \sim O(g&#039;^n).' class='latex' />  Plugging this into the definition of <img src='http://l.wordpress.com/latex.php?latex=F_%5CLambda%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='F_\Lambda,' title='F_\Lambda,' class='latex' /> we get</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F_%5CLambda%28x%29+%3D+g%27+%2B+G_2%28g%27%29+%2B+g%27%5E2+F_%7B2%2C%5CLambda%7D%28x%29+%2B+O%28g%27%5E3%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F_\Lambda(x) = g&#039; + G_2(g&#039;) + g&#039;^2 F_{2,\Lambda}(x) + O(g&#039;^3).' title='\displaystyle F_\Lambda(x) = g&#039; + G_2(g&#039;) + g&#039;^2 F_{2,\Lambda}(x) + O(g&#039;^3).' class='latex' /></p>
<p>Using <img src='http://l.wordpress.com/latex.php?latex=F%28x_0%29+%3D+g%27%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x_0) = g&#039;,' title='F(x_0) = g&#039;,' class='latex' /> we get <img src='http://l.wordpress.com/latex.php?latex=G_2%28g%27%29+%3D+-g%27%5E2F_%7B2%2C%5CLambda%7D%28x_0%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='G_2(g&#039;) = -g&#039;^2F_{2,\Lambda}(x_0),' title='G_2(g&#039;) = -g&#039;^2F_{2,\Lambda}(x_0),' class='latex' /> which diverges as <img src='http://l.wordpress.com/latex.php?latex=%5CLambda+%5Cto+%5Cinfty.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Lambda \to \infty.' title='\Lambda \to \infty.' class='latex' />  In the case of QED, this says that the charge on the electron is infinite.  While the preferred interpretation these days is that quantum gravity is a more fundamental theory that takes precedence on very small scales (a Planck length is to a proton as a proton is to a meter), when the theory was first introduced, there was no reason to think that we&#8217;d need another theory.  So the interpretation was that with an infinite charge, an electron would be able to extract an infinite amount of energy from the electromagnetic field.  Then the uncertainty principle would create virtual particles of all energies, which would exist for a time inversely proportional to the energy.  The particles can be charged, so they line up with the field and dampen the strength just like dielectrics.  In this interpretation, the charge on the electron depends on the energy of the particles you&#8217;re probing it with.</p>
<p>So to second order,</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F_%5CLambda%28x%29+%3D+g%27+%2B+g%27%5E2%5Cleft%28F_%7B2%2C%5CLambda%7D%28x%29+-+F_%7B2%2C%5CLambda%7D%28x_0%29%5Cright%29+%2B+O%28g%27%5E3%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F_\Lambda(x) = g&#039; + g&#039;^2\left(F_{2,\Lambda}(x) - F_{2,\Lambda}(x_0)\right) + O(g&#039;^3).' title='\displaystyle F_\Lambda(x) = g&#039; + g&#039;^2\left(F_{2,\Lambda}(x) - F_{2,\Lambda}(x_0)\right) + O(g&#039;^3).' class='latex' /></p>
<p>A theory is therefore only renormalizable if the divergent part of <img src='http://l.wordpress.com/latex.php?latex=F_%7B2%2C%5CLambda%7D%28x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='F_{2,\Lambda}(x)' title='F_{2,\Lambda}(x)' class='latex' /> is independent of <img src='http://l.wordpress.com/latex.php?latex=x.&#038;bg=fff&#038;fg=222&#038;s=0' alt='x.' title='x.' class='latex' />  In QED it is.  We can now define <img src='http://l.wordpress.com/latex.php?latex=F%28x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x)' title='F(x)' class='latex' /> as the limit</p>
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F%28x%29+%3D+%5Clim_%7B%5CLambda+%5Cto+%5Cinfty%7D+F_%5CLambda%28x%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F(x) = \lim_{\Lambda \to \infty} F_\Lambda(x).' title='\displaystyle F(x) = \lim_{\Lambda \to \infty} F_\Lambda(x).' class='latex' /></p>
</li>
<li>Higher orders.
<p>In a renormalizable theory, the process continues, with the counterterms entirely specified by knowing <img src='http://l.wordpress.com/latex.php?latex=F%28x_0%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='F(x_0).' title='F(x_0).' class='latex' /></li>
</ol>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/819/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/819/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/819/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=819&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/10/renormalization-and-computation-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/10/ce255550fg0010.gif" medium="image">
			<media:title type="html">Feynman diagrams</media:title>
		</media:content>
	</item>
		<item>
		<title>Renormalization and Computation 1</title>
		<link>http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:18:43 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Category theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Quantum]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=733</guid>
		<description><![CDATA[Yuri Manin recently put two papers on the arxiv applying the methods of renormalization to computation and the Halting problem.  Grigori Mints invited me to speak on Manin&#8217;s results at the weekly Stanford logic seminar because in his second paper, he expands on some of my work.
In these next few posts, I&#8217;m going to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=733&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://en.wikipedia.org/wiki/Yuri_I._Manin">Yuri Manin</a> recently put <a href="http://arxiv.org/abs/0904.4921">two</a> <a href="http://arxiv.org/abs/0908.3430">papers</a> on the arxiv applying the methods of renormalization to computation and the Halting problem.  <a href="http://www-logic.stanford.edu/mintsfest/">Grigori Mints</a> invited me to speak on Manin&#8217;s results at the weekly <a href="http://www-logic.stanford.edu/Abstracts/Seminar/Autumn09.html#Stay">Stanford logic seminar</a> because in his second paper, he expands on some of my work.</p>
<p>In these next few posts, I&#8217;m going to cover the idea of Feynman diagrams (mostly taken from the <a href="http://math.ucr.edu/home/baez/qg-spring2004/s04week07.pdf">lecture notes</a> for the spring 2004 session of John Baez&#8217;s Quantum Gravity seminar); next I&#8217;ll talk about renormalization (mostly taken from Andrew Blechman&#8217;s <a href="http://www.pha.jhu.edu/~blechman/papers/renormalization/renormalization.pdf">overview</a> and B. Delamotte&#8217;s &#8220;<a href="http://arxiv.org/abs/hep-th/0212049">hint</a>&#8221;); third, I&#8217;ll look at the Hopf algebra approach to renormalization (mostly taken from <a href="http://golem.ph.utexas.edu/category/2008/10/hopf_algebraic_renormalization.html">this post</a> by Urs Schreiber on the n-Category Café); and finally I&#8217;ll explain how Manin applies this to computation by exploiting the fact that Feynman diagrams and lambda calculus are both examples of symmetric monoidal closed categories (which John Baez and I tried to make easy to understand in our <a href="http://arxiv.org/abs/0903.0340">Rosetta stone</a> paper), together with some results on the density of halting times from my paper &#8220;<a href="http://arxiv.org/abs/cs/0610153">Most programs stop quickly or never halt</a>&#8221; with Cris Calude.  I doubt all of this will make it into the talk, but writing it up will make it clearer for me.</p>
<p>Renormalization is a technique for dealing with the divergent integrals that arise in quantum field theory.  The quantum harmonic oscillator is quantum field theory in 0+1 dimensions</a>&#8212;it describes what quantum field theory would be like if space consisted of a single point.  It doesn&#8217;t need renormalization, but I&#8217;m going to talk about it first because it introduces the notion of a Feynman diagram.</p>
<p>&#8220;Harmonic oscillator&#8221; is a fancy name for a rock on a spring.  The force exerted by a spring is proportional to how far you stretch it:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+F+%3D+kx.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle F = kx.' title='\displaystyle F = kx.' class='latex' /></p>
<p>The potential energy stored in a stretched spring is the integral of that:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+V_0+%3D+%5Cfrac%7B1%7D%7B2%7Dkx%5E2+%2B+C%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle V_0 = \frac{1}{2}kx^2 + C,' title='\displaystyle V_0 = \frac{1}{2}kx^2 + C,' class='latex' /></p>
<p>and to make things work out nicely, we&#8217;re going to choose <img src='http://l.wordpress.com/latex.php?latex=C+%3D+-1%2F2.&#038;bg=fff&#038;fg=222&#038;s=0' alt='C = -1/2.' title='C = -1/2.' class='latex' />  The total energy <img src='http://l.wordpress.com/latex.php?latex=H_0&#038;bg=fff&#038;fg=222&#038;s=0' alt='H_0' title='H_0' class='latex' /> is the sum of the potential and the kinetic energy:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+H_0+%3D+V_0+%2B+T+%3D+%5Cfrac%7B1%7D%7B2%7Dkx%5E2+%2B+%5Cfrac%7B1%7D%7B2%7Dmv%5E2+-+%5Cfrac%7B1%7D%7B2%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle H_0 = V_0 + T = \frac{1}{2}kx^2 + \frac{1}{2}mv^2 - \frac{1}{2}.' title='\displaystyle H_0 = V_0 + T = \frac{1}{2}kx^2 + \frac{1}{2}mv^2 - \frac{1}{2}.' class='latex' /></p>
<p>By choosing units so that <img src='http://l.wordpress.com/latex.php?latex=k+%3D+m+%3D+1%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='k = m = 1,' title='k = m = 1,' class='latex' /> we get</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+H_0+%3D+%5Cfrac%7Bx%5E2%7D%7B2%7D+%2B+%5Cfrac%7Bp%5E2%7D%7B2%7D+-+%5Cfrac%7B1%7D%7B2%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle H_0 = \frac{x^2}{2} + \frac{p^2}{2} - \frac{1}{2},' title='\displaystyle H_0 = \frac{x^2}{2} + \frac{p^2}{2} - \frac{1}{2},' class='latex' /></p>
<p>where <img src='http://l.wordpress.com/latex.php?latex=p&#038;bg=fff&#038;fg=222&#038;s=0' alt='p' title='p' class='latex' /> is momentum.</p>
<p>Next we quantize, getting a quantum harmonic oscillator, or QHO.  We set <img src='http://l.wordpress.com/latex.php?latex=p+%3D+-i+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+x%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='p = -i \frac{\partial}{\partial x},' title='p = -i \frac{\partial}{\partial x},' class='latex' /> taking units where <img src='http://l.wordpress.com/latex.php?latex=%5Chbar+%3D+1.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\hbar = 1.' title='\hbar = 1.' class='latex' />  Now </p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brl%7D%5Cdisplaystyle+%5Bx%2C+p%5Dx%5En+%26+%5Cdisplaystyle+%3D+xp+-+px+%5C%5C+%26+%3D+%28-+x+i+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+x%7D+%2B+i+%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial+x%7D+x%29x%5En+%5C%5C%5C+%26+%5Cdisplaystyle+%3D+-i%28nx%5En+-+%28n%2B1%29x%5En%29+%5C%5C+%26+%5Cdisplaystyle+%3D+ix%5En.%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rl}\displaystyle [x, p]x^n &amp; \displaystyle = xp - px \\ &amp; = (- x i \frac{\partial}{\partial x} + i \frac{\partial}{\partial x} x)x^n \\\ &amp; \displaystyle = -i(nx^n - (n+1)x^n) \\ &amp; \displaystyle = ix^n.\end{array}' title='\begin{array}{rl}\displaystyle [x, p]x^n &amp; \displaystyle = xp - px \\ &amp; = (- x i \frac{\partial}{\partial x} + i \frac{\partial}{\partial x} x)x^n \\\ &amp; \displaystyle = -i(nx^n - (n+1)x^n) \\ &amp; \displaystyle = ix^n.\end{array}' class='latex' /></p>
<p>If we define a new observable <img src='http://l.wordpress.com/latex.php?latex=z+%3D+%5Cfrac%7Bp+%2B+ix%7D%7B%5Csqrt%7B2%7D%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='z = \frac{p + ix}{\sqrt{2}},' title='z = \frac{p + ix}{\sqrt{2}},' class='latex' /> then </p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brl%7D+%5Cdisplaystyle+z+z%5E%2A+%26+%5Cdisplaystyle+%3D+%5Cfrac%7B%28p+%2B+ix%29%7D%7B%5Csqrt%7B2%7D%7D+%5Cfrac%7B%28p+-+ix%29%7D%7B%5Csqrt%7B2%7D%7D+%5C%5C+%26+%3D+%5Cfrac%7B1%7D%7B2%7D%28p%5E2+%2B+i%28xp+-+px%29+%2B+x%5E2%29+%5C%5C+%26+%3D+%5Cfrac%7B1%7D%7B2%7D%28p%5E2+-1+%2B+x%5E2%29+%5C%5C+%26+%3D+H_0.%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rl} \displaystyle z z^* &amp; \displaystyle = \frac{(p + ix)}{\sqrt{2}} \frac{(p - ix)}{\sqrt{2}} \\ &amp; = \frac{1}{2}(p^2 + i(xp - px) + x^2) \\ &amp; = \frac{1}{2}(p^2 -1 + x^2) \\ &amp; = H_0.\end{array}' title='\begin{array}{rl} \displaystyle z z^* &amp; \displaystyle = \frac{(p + ix)}{\sqrt{2}} \frac{(p - ix)}{\sqrt{2}} \\ &amp; = \frac{1}{2}(p^2 + i(xp - px) + x^2) \\ &amp; = \frac{1}{2}(p^2 -1 + x^2) \\ &amp; = H_0.\end{array}' class='latex' /></p>
<p>We can think of <img src='http://l.wordpress.com/latex.php?latex=z%5E%2A&#038;bg=fff&#038;fg=222&#038;s=0' alt='z^*' title='z^*' class='latex' /> as <img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bdz%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\frac{d}{dz}' title='\frac{d}{dz}' class='latex' /> and write the energy eigenvectors as polynomials in <img src='http://l.wordpress.com/latex.php?latex=z%3A&#038;bg=fff&#038;fg=222&#038;s=0' alt='z:' title='z:' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+H_0+z%5En+%3D+z+%5Cfrac%7Bd%7D%7Bdz%7D+z%5En+%3D+n+z%5En.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle H_0 z^n = z \frac{d}{dz} z^n = n z^n.' title='\displaystyle H_0 z^n = z \frac{d}{dz} z^n = n z^n.' class='latex' /></p>
<p>The creation operator <img src='http://l.wordpress.com/latex.php?latex=z&#038;bg=fff&#038;fg=222&#038;s=0' alt='z' title='z' class='latex' /> adds a photon to the mix; there&#8217;s only one way to do that, so <img src='http://l.wordpress.com/latex.php?latex=z%5Ccdot+z%5En+%3D+1+z%5E%7Bn%2B1%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='z\cdot z^n = 1 z^{n+1}.' title='z\cdot z^n = 1 z^{n+1}.' class='latex' />  The annihilation operator <img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bdz%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\frac{d}{dz}' title='\frac{d}{dz}' class='latex' /> destroys one of the photons; in the state <img src='http://l.wordpress.com/latex.php?latex=z%5En&#038;bg=fff&#038;fg=222&#038;s=0' alt='z^n' title='z^n' class='latex' />, there are <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' /> photons to choose from, so <img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bdz%7D+z%5En+%3D+n+z%5E%7Bn-1%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\frac{d}{dz} z^n = n z^{n-1}.' title='\frac{d}{dz} z^n = n z^{n-1}.' class='latex' /></p>
<p>Schrödinger&#8217;s equation says <img src='http://l.wordpress.com/latex.php?latex=i+%5Cfrac%7Bd%7D%7Bdt%7D+%5Cpsi+%3D+H_0+%5Cpsi%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='i \frac{d}{dt} \psi = H_0 \psi,' title='i \frac{d}{dt} \psi = H_0 \psi,' class='latex' /> so </p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cpsi%28t%29+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+e%5E%7B-itn%7D+a_n+z%5En.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \psi(t) = \sum_{n=0}^{\infty} e^{-itn} a_n z^n.' title='\displaystyle \psi(t) = \sum_{n=0}^{\infty} e^{-itn} a_n z^n.' class='latex' /></p>
<p>This way of representing the state of a QHO is known as the &#8220;Fock basis&#8221;.</p>
<p>Now suppose that we don&#8217;t have the ideal system, that the quadratic potential <img src='http://l.wordpress.com/latex.php?latex=V_0+%3D+%5Cfrac%7B1%7D%7B2%7Dkx%5E2+-+%5Cfrac%7B1%7D%7B2%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='V_0 = \frac{1}{2}kx^2 - \frac{1}{2}' title='V_0 = \frac{1}{2}kx^2 - \frac{1}{2}' class='latex' /> is only a good local approximation to the real potential <img src='http://l.wordpress.com/latex.php?latex=V_0+%2B+%5Clambda+V&#038;bg=fff&#038;fg=222&#038;s=0' alt='V_0 + \lambda V' title='V_0 + \lambda V' class='latex' />.  Then we can write the total as <img src='http://l.wordpress.com/latex.php?latex=H+%3D+H_0+%2B+%5Clambda+V%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='H = H_0 + \lambda V,' title='H = H_0 + \lambda V,' class='latex' /> where <img src='http://l.wordpress.com/latex.php?latex=V&#038;bg=fff&#038;fg=222&#038;s=0' alt='V' title='V' class='latex' /> is a function of position and momentum, or equivalently of <img src='http://l.wordpress.com/latex.php?latex=z&#038;bg=fff&#038;fg=222&#038;s=0' alt='z' title='z' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bdz%7D%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\frac{d}{dz},' title='\frac{d}{dz},' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=%5Clambda&#038;bg=fff&#038;fg=222&#038;s=0' alt='\lambda' title='\lambda' class='latex' /> is small.</p>
<p>Now we solve Schrödinger&#8217;s equation perturbatively.  We know that</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cpsi%28t%29+%3D+e%5E%7B-itH%7D+%5Cpsi%280%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \psi(t) = e^{-itH} \psi(0),' title='\displaystyle \psi(t) = e^{-itH} \psi(0),' class='latex' /></p>
<p>and we assume that</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+e%5E%7B-itH%7D%5Cpsi%28t%29+%5Capprox+e%5E%7B-itH_0%7D+%5Cpsi%28t%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle e^{-itH}\psi(t) \approx e^{-itH_0} \psi(t)' title='\displaystyle e^{-itH}\psi(t) \approx e^{-itH_0} \psi(t)' class='latex' /></p>
<p>so that it makes sense to solve it perturbatively.  Define</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cpsi_1%28t%29+%3D+e%5E%7BitH_0%7D+e%5E%7B-itH%7D%5Cpsi%28t%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \psi_1(t) = e^{itH_0} e^{-itH}\psi(t)' title='\displaystyle \psi_1(t) = e^{itH_0} e^{-itH}\psi(t)' class='latex' /></p>
<p>and</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+V_1%28t%29+%3D+e%5E%7BitH_0%7D+%5Clambda+V+e%5E%7B-itH_0%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle V_1(t) = e^{itH_0} \lambda V e^{-itH_0}.' title='\displaystyle V_1(t) = e^{itH_0} \lambda V e^{-itH_0}.' class='latex' /></p>
<p>After a little work, we find that</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cfrac%7Bd%7D%7Bdt%7D%5Cpsi_1%28t%29+%3D+-i+V_1%28t%29+%5Cpsi_1%28t%29%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \frac{d}{dt}\psi_1(t) = -i V_1(t) \psi_1(t),' title='\displaystyle \frac{d}{dt}\psi_1(t) = -i V_1(t) \psi_1(t),' class='latex' /></p>
<p>and integrating, we get</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle+%5Cpsi_1%28t%29+%3D+-i%5Cint_0%5Et+V_1%28t_0%29+%5Cpsi_1%28t_0%29+dt_0+%2B+%5Cpsi%280%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\displaystyle \psi_1(t) = -i\int_0^t V_1(t_0) \psi_1(t_0) dt_0 + \psi(0).' title='\displaystyle \psi_1(t) = -i\int_0^t V_1(t_0) \psi_1(t_0) dt_0 + \psi(0).' class='latex' /></p>
<p>We feed this equation back into itself recursively to get</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brl%7D%5Cdisplaystyle+%5Cpsi_1%28t%29+%26+%5Cdisplaystyle+%3D+-i+%5Cint_0%5Et+V_1%28t_0%29+%5Cleft%5B-i%5Cint_0%5E%7Bt_0%7D+V_1%28t_1%29+%5Cpsi_1%28t_1%29+dt_1+%2B+%5Cpsi%280%29+%5Cright%5D+dt_0+%2B+%5Cpsi%280%29+%5C%5C+%26+%5Cdisplaystyle+%3D+%5Cleft%5B%5Cpsi%280%29%5Cright%5D+%2B+%5Cleft%5B%5Cint_0%5Et+i%5E%7B-1%7D+V_1%28t_0%29%5Cpsi%280%29+dt_0%5Cright%5D+%2B+%5Cleft%5B%5Cint_0%5Et%5Cint_0%5E%7Bt_0%7D+i%5E%7B-2%7D+V_1%28t_0%29V_1%28t_1%29+%5Cpsi_1%28t_1%29+dt_1+dt_0%5Cright%5D+%5C%5C+%26+%5Cdisplaystyle+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%5Cint_%7Bt+%5Cge+t_0+%5Cge+%5Cldots+%5Cge+t_%7Bn-1%7D+%5Cge+0%7D+i%5E%7B-n%7D+V_1%28t_0%29%5Ccdots+V_1%28t_%7Bn-1%7D%29+%5Cpsi%280%29+dt_%7Bn-1%7D%5Ccdots+dt_0+%5C%5C+%26+%5Cdisplaystyle+%3D+%5Csum_%7Bn%3D0%7D%5E%7B%5Cinfty%7D+%28-%5Clambda+i%29%5En+%5Cint_%7Bt+%5Cge+t_0+%5Cge+%5Cldots+%5Cge+t_%7Bn-1%7D+%5Cge+0%7D+e%5E%7B-i%28t-t_0%29H_0%7D+V+e%5E%7B-i%28t_0-t_1%29H_0%7D+V+%5Ccdots+V+e%5E%7B-i%28t_%7Bn-1%7D-0%29H_0%7D+%5Cpsi%280%29+dt_%7Bn-1%7D%5Ccdots+dt_0.%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rl}\displaystyle \psi_1(t) &amp; \displaystyle = -i \int_0^t V_1(t_0) \left[-i\int_0^{t_0} V_1(t_1) \psi_1(t_1) dt_1 + \psi(0) \right] dt_0 + \psi(0) \\ &amp; \displaystyle = \left[\psi(0)\right] + \left[\int_0^t i^{-1} V_1(t_0)\psi(0) dt_0\right] + \left[\int_0^t\int_0^{t_0} i^{-2} V_1(t_0)V_1(t_1) \psi_1(t_1) dt_1 dt_0\right] \\ &amp; \displaystyle = \sum_{n=0}^{\infty} \int_{t \ge t_0 \ge \ldots \ge t_{n-1} \ge 0} i^{-n} V_1(t_0)\cdots V_1(t_{n-1}) \psi(0) dt_{n-1}\cdots dt_0 \\ &amp; \displaystyle = \sum_{n=0}^{\infty} (-\lambda i)^n \int_{t \ge t_0 \ge \ldots \ge t_{n-1} \ge 0} e^{-i(t-t_0)H_0} V e^{-i(t_0-t_1)H_0} V \cdots V e^{-i(t_{n-1}-0)H_0} \psi(0) dt_{n-1}\cdots dt_0.\end{array}' title='\begin{array}{rl}\displaystyle \psi_1(t) &amp; \displaystyle = -i \int_0^t V_1(t_0) \left[-i\int_0^{t_0} V_1(t_1) \psi_1(t_1) dt_1 + \psi(0) \right] dt_0 + \psi(0) \\ &amp; \displaystyle = \left[\psi(0)\right] + \left[\int_0^t i^{-1} V_1(t_0)\psi(0) dt_0\right] + \left[\int_0^t\int_0^{t_0} i^{-2} V_1(t_0)V_1(t_1) \psi_1(t_1) dt_1 dt_0\right] \\ &amp; \displaystyle = \sum_{n=0}^{\infty} \int_{t \ge t_0 \ge \ldots \ge t_{n-1} \ge 0} i^{-n} V_1(t_0)\cdots V_1(t_{n-1}) \psi(0) dt_{n-1}\cdots dt_0 \\ &amp; \displaystyle = \sum_{n=0}^{\infty} (-\lambda i)^n \int_{t \ge t_0 \ge \ldots \ge t_{n-1} \ge 0} e^{-i(t-t_0)H_0} V e^{-i(t_0-t_1)H_0} V \cdots V e^{-i(t_{n-1}-0)H_0} \psi(0) dt_{n-1}\cdots dt_0.\end{array}' class='latex' /></p>
<p>So here we have a sum of a bunch of terms; the <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' />th term involves <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' /> interactions with the potential interspersed with evolving freely between the interactions, and we integrate over all possible times at which those interactions could occur.</p>
<p>Here&#8217;s an example Feynman diagram for this simple system, representing the fourth term in the sum above:</p>
<p style="text-align:center;"><img src="http://reperiendi.files.wordpress.com/2009/10/3.gif?w=10&#038;h=200" alt="Three interactions with the perturbation." title="3" width="10" height="200" class="size-full wp-image-798" /></p>
<p>The lines represent evolving under the free Hamiltonian <img src='http://l.wordpress.com/latex.php?latex=H_0&#038;bg=fff&#038;fg=222&#038;s=0' alt='H_0' title='H_0' class='latex' />, while the dots are interactions with the potential <img src='http://l.wordpress.com/latex.php?latex=V&#038;bg=fff&#038;fg=222&#038;s=0' alt='V' title='V' class='latex' />.</p>
<p>As an example, let&#8217;s consider <img src='http://l.wordpress.com/latex.php?latex=V+%3D+%28z+%2B+%5Cfrac%7Bd%7D%7Bdz%7D%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='V = (z + \frac{d}{dz})' title='V = (z + \frac{d}{dz})' class='latex' /> and choose <img src='http://l.wordpress.com/latex.php?latex=%5Clambda+%3D+%5Cfrac%7B1%7D%7B%5Csqrt%7B2%7D%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\lambda = \frac{1}{\sqrt{2}}' title='\lambda = \frac{1}{\sqrt{2}}' class='latex' /> so that <img src='http://l.wordpress.com/latex.php?latex=%5Clambda+V+%3D+p.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\lambda V = p.' title='\lambda V = p.' class='latex' />  When <img src='http://l.wordpress.com/latex.php?latex=V&#038;bg=fff&#038;fg=222&#038;s=0' alt='V' title='V' class='latex' /> acts on a state <img src='http://l.wordpress.com/latex.php?latex=%5Cpsi+%3D+z%5En%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\psi = z^n,' title='\psi = z^n,' class='latex' /> we get <img src='http://l.wordpress.com/latex.php?latex=V+%5Cpsi+%3D+z%5E%7Bn%2B1%7D+%2B+nz%5E%7Bn-1%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='V \psi = z^{n+1} + nz^{n-1}.' title='V \psi = z^{n+1} + nz^{n-1}.' class='latex' />  So at each interaction, the system either gains a photon or changes phase and loses a photon.</p>
<p>A particle moving in a quadratic potential in <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' />-dimensional space gives the tensor product of <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' /> QHOs, which is QFT in a space where there are <img src='http://l.wordpress.com/latex.php?latex=n&#038;bg=fff&#038;fg=222&#038;s=0' alt='n' title='n' class='latex' /> possible harmonics.  Quantum electrodynamics (QED) amounts to considering infinitely many QHOs, one for each possible energy-momentum, which forms a continuum.  The diagrams for QED start to look more familiar:<br />
<img src="http://reperiendi.files.wordpress.com/2009/10/ce255550fg0010.gif?w=250&#038;h=476" alt="Feynman diagrams" title="Feynman diagrams" width="250" height="476" class="aligncenter size-full wp-image-800" /><br />
The vertices are interactions with the electromagnetic field.  The straight lines are electrons and the wiggly ones are photons; between interactions, they propagate under the free Hamiltonian.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/733/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=733&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/07/renormalization-and-computation-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/10/3.gif" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/10/ce255550fg0010.gif" medium="image">
			<media:title type="html">Feynman diagrams</media:title>
		</media:content>
	</item>
		<item>
		<title>Fun mechanical geometry site</title>
		<link>http://reperiendi.wordpress.com/2009/10/06/fun-mechanical-geometry-site/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/06/fun-mechanical-geometry-site/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 20:50:05 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=731</guid>
		<description><![CDATA[http://web.mat.bham.ac.uk/C.J.Sangwin/howroundcom/contents.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=731&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://web.mat.bham.ac.uk/C.J.Sangwin/howroundcom/contents.html">http://web.mat.bham.ac.uk/C.J.Sangwin/howroundcom/contents.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/731/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/731/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/731/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=731&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/06/fun-mechanical-geometry-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Transplants without rejection</title>
		<link>http://reperiendi.wordpress.com/2009/10/04/transplants-without-rejection/</link>
		<comments>http://reperiendi.wordpress.com/2009/10/04/transplants-without-rejection/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 21:36:38 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/2009/10/04/transplants-without-rejection/</guid>
		<description><![CDATA[Cured diabetes in mice via pancreas transplant, but probably works on every other organ, too.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=719&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.garvan.org.au/news-events/news/major-breakthrough-in-transplantation-immunity.html">Cured diabetes in mice</a> via pancreas transplant, but probably works on every other organ, too.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/719/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=719&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/10/04/transplants-without-rejection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Lots of math blogs</title>
		<link>http://reperiendi.wordpress.com/2009/09/30/lots-of-math-blogs/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/30/lots-of-math-blogs/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 22:35:30 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=717</guid>
		<description><![CDATA[I had no idea there were so many.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=717&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had no idea there were <a href="http://wiki.henryfarrell.net/wiki/index.php/Mathematics/Statistics">so many</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/717/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=717&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/30/lots-of-math-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Million-spider silk cloth</title>
		<link>http://reperiendi.wordpress.com/2009/09/24/million-spider-silk-cloth/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/24/million-spider-silk-cloth/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 02:58:41 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=715</guid>
		<description><![CDATA[Wired, PopFi
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=715&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.wired.com/wiredscience/2009/09/spider-silk/">Wired</a>, <a href="http://www.popfi.com/2009/09/23/spinning-silk-from-spiderwebs/">PopFi</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/715/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=715&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/24/million-spider-silk-cloth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>The Guinea Pigs&#8217; Club</title>
		<link>http://reperiendi.wordpress.com/2009/09/21/the-guinea-pigs-club/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/21/the-guinea-pigs-club/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:29:07 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/2009/09/21/the-guinea-pigs-club/</guid>
		<description><![CDATA[Stories of experimental facial reconstruction on burn victims in WWII.  Also see &#8220;Billy Bishop&#8217;s Flying School&#8220;.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=714&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Stories of experimental facial reconstruction on <a href="http://www.guardian.co.uk/weekend/page/0,,1945108,00.html">burn victims</a> in WWII.  Also see &#8220;<a href="http://www.harkavagrant.com/index.php?id=206">Billy Bishop&#8217;s Flying School</a>&#8220;.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/714/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=714&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/21/the-guinea-pigs-club/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Colorblindness cured</title>
		<link>http://reperiendi.wordpress.com/2009/09/18/colorblindness-cured/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/18/colorblindness-cured/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 19:39:40 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=701</guid>
		<description><![CDATA[Following up on my previous comments here, scientists have cured color blindness in monkeys:
Neitz’s team injected their monkeys’ eyes with viruses carrying a gene that makes L-opsin, one of three proteins released when color-detecting cone cells are hit by different wavelengths of light. Male squirrel monkeys naturally lack the L-opsin gene; like people who share [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=701&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Following up on my previous comments <a href="http://reperiendi.wordpress.com/2005/04/09/try-to-see-things-my-way/">here</a>, scientists have cured color blindness in monkeys:</p>
<blockquote><p>Neitz’s team injected their monkeys’ eyes with viruses carrying a gene that makes L-opsin, one of three proteins released when color-detecting cone cells are hit by different wavelengths of light. Male squirrel monkeys naturally lack the L-opsin gene; like people who share their condition, they’re unable to distinguish between red and green.</p>
<p>At first, the two monkeys behaved no differently than before. Though quick to earn a grape juice reward by picking out blue and yellow dots from a background of gray dots on a computer screen, they banged the screen randomly when presented with green or red dots.</p>
<p>But after five months, something clicked. The monkeys picked out red and green, again and again. At the biological level, Neitz can’t say precisely what happened — the monkeys, named Sam and Dalton, are alive and healthy, their brains unscanned and undissected — but their actions left no doubt.</p></blockquote>
<p>They think it will work identically in humans.  If so, this means that we could do the same thing for the mutant version of L-opsin that tetrachromat women have, and make anyone (even a man) into a tetrachromat.  Or, even more excitingly, a gene for infrared or ultraviolet light.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/701/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=701&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/18/colorblindness-cured/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Fun article on information theory and flu genetics</title>
		<link>http://reperiendi.wordpress.com/2009/09/12/fun-article-on-information-theory-and-flu-genetics/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/12/fun-article-on-information-theory-and-flu-genetics/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 17:13:30 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=690</guid>
		<description><![CDATA[http://www.bunniestudios.com/blog/?p=353
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=690&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.bunniestudios.com/blog/?p=353">http://www.bunniestudios.com/blog/?p=353</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/690/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=690&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/12/fun-article-on-information-theory-and-flu-genetics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>UK Prime Minister apologises for Turing&#8217;s inhumane treatment</title>
		<link>http://reperiendi.wordpress.com/2009/09/11/uk-prime-minister-apologises-for-turings-inhumane-treatment/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/11/uk-prime-minister-apologises-for-turings-inhumane-treatment/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:02:36 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=688</guid>
		<description><![CDATA[http://www.google.com/hostednews/ap/article/ALeqM5iWZDvl5h_xGDI-upBDphy_0AO_kQD9AL76SG0
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=688&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.google.com/hostednews/ap/article/ALeqM5iWZDvl5h_xGDI-upBDphy_0AO_kQD9AL76SG0">http://www.google.com/hostednews/ap/article/ALeqM5iWZDvl5h_xGDI-upBDphy_0AO_kQD9AL76SG0</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/688/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/688/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/688/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/688/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/688/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=688&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/11/uk-prime-minister-apologises-for-turings-inhumane-treatment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Microscale Star Wars</title>
		<link>http://reperiendi.wordpress.com/2009/09/11/microscale-star-wars/</link>
		<comments>http://reperiendi.wordpress.com/2009/09/11/microscale-star-wars/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 20:00:53 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=686</guid>
		<description><![CDATA[http://gizmodo.com/352245/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=686&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://gizmodo.com/352245/">http://gizmodo.com/352245/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/686/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/686/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/686/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=686&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/09/11/microscale-star-wars/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Monad for weakly monoidal categories</title>
		<link>http://reperiendi.wordpress.com/2009/08/19/monad-for-weakly-monoidal-categories/</link>
		<comments>http://reperiendi.wordpress.com/2009/08/19/monad-for-weakly-monoidal-categories/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 21:45:57 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=619</guid>
		<description><![CDATA[We&#8217;ve got free and forgetful functors   Define   Given a category  the category  has

binary trees with labeled leaves as objects and
binary trees with labeled leaves together with the natural isomorphisms from the definition of a weakly monoidal category as its morphisms.

The multiplication  collapses two layers of trees down to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=619&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We&#8217;ve got free and forgetful functors <img src='http://l.wordpress.com/latex.php?latex=L%3A%5Cmbox%7BCat%7D+%5Cto+%5Cmbox%7BWeakMonCat%7D%2C+R%3A%5Cmbox%7BWeakMonCat%7D+%5Cto+%5Cmbox%7BCat%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='L:\mbox{Cat} \to \mbox{WeakMonCat}, R:\mbox{WeakMonCat} \to \mbox{Cat}.' title='L:\mbox{Cat} \to \mbox{WeakMonCat}, R:\mbox{WeakMonCat} \to \mbox{Cat}.' class='latex' />  Define <img src='http://l.wordpress.com/latex.php?latex=T+%3D+RL%3A%5Cmbox%7BCat%7D+%5Cto+%5Cmbox%7BCat%7D.&#038;bg=fff&#038;fg=222&#038;s=0' alt='T = RL:\mbox{Cat} \to \mbox{Cat}.' title='T = RL:\mbox{Cat} \to \mbox{Cat}.' class='latex' />  Given a category <img src='http://l.wordpress.com/latex.php?latex=X%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='X,' title='X,' class='latex' /> the category <img src='http://l.wordpress.com/latex.php?latex=TX&#038;bg=fff&#038;fg=222&#038;s=0' alt='TX' title='TX' class='latex' /> has</p>
<ul>
<li>binary trees with <img src='http://l.wordpress.com/latex.php?latex=%5Cmbox%7BOb%7D%28X%29-&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mbox{Ob}(X)-' title='\mbox{Ob}(X)-' class='latex' />labeled leaves as objects and</li>
<li>binary trees with <img src='http://l.wordpress.com/latex.php?latex=%5Cmbox%7BMor%7D%28X%29-&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mbox{Mor}(X)-' title='\mbox{Mor}(X)-' class='latex' />labeled leaves together with the natural isomorphisms from the definition of a weakly monoidal category as its morphisms.</li>
</ul>
<p>The multiplication <img src='http://l.wordpress.com/latex.php?latex=%5Cmu_X%3ATTX%5Cto+TX&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mu_X:TTX\to TX' title='\mu_X:TTX\to TX' class='latex' /> collapses two layers of trees down to one.  The unit <img src='http://l.wordpress.com/latex.php?latex=%5Ceta_X%3AX+%5Cto+TX&#038;bg=fff&#038;fg=222&#038;s=0' alt='\eta_X:X \to TX' title='\eta_X:X \to TX' class='latex' /> gives a one-leaf tree.</p>
<p>An algebra of the monad is a category <img src='http://l.wordpress.com/latex.php?latex=X&#038;bg=fff&#038;fg=222&#038;s=0' alt='X' title='X' class='latex' /> together with a functor <img src='http://l.wordpress.com/latex.php?latex=h%3ATX+%5Cto+X&#038;bg=fff&#038;fg=222&#038;s=0' alt='h:TX \to X' title='h:TX \to X' class='latex' /> such that <img src='http://l.wordpress.com/latex.php?latex=h+%5Ccirc+Th+%3D+h+%5Ccirc+%5Cmu_X&#038;bg=fff&#038;fg=222&#038;s=0' alt='h \circ Th = h \circ \mu_X' title='h \circ Th = h \circ \mu_X' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=h+%5Ccirc+%5Ceta_X+%3D+X.&#038;bg=fff&#038;fg=222&#038;s=0' alt='h \circ \eta_X = X.' title='h \circ \eta_X = X.' class='latex' />  Define </p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=x+%5Cotimes_X+x%27+%3D+h%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='x \otimes_X x&#039; = h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)).' title='x \otimes_X x&#039; = h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)).' class='latex' /></p>
<p>Then the associator should be a morphism</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=a_X%3A%28x+%5Cotimes_X+x%27%29+%5Cotimes_X+x%27%27+%5Cto+x+%5Cotimes_X+%28x%27+%5Cotimes_X+x%27%27%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='a_X:(x \otimes_X x&#039;) \otimes_X x&#039;&#039; \to x \otimes_X (x&#039; \otimes_X x&#039;&#039;).' title='a_X:(x \otimes_X x&#039;) \otimes_X x&#039;&#039; \to x \otimes_X (x&#039; \otimes_X x&#039;&#039;).' class='latex' /></p>
<p>However, it isn&#8217;t immediately evident that the associator that comes from <img src='http://l.wordpress.com/latex.php?latex=%5Cotimes_%7BTX%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\otimes_{TX}' title='\otimes_{TX}' class='latex' /> does the job, since just applying <img src='http://l.wordpress.com/latex.php?latex=h&#038;bg=fff&#038;fg=222&#038;s=0' alt='h' title='h' class='latex' /> to <img src='http://l.wordpress.com/latex.php?latex=a_%7BTX%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='a_{TX}' title='a_{TX}' class='latex' /> gives</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=h%28%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%27%29%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;))' title='h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;))' class='latex' /></p>
<p>for the source instead of</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=h%28%5Ceta_X%28h%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%27%29%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(x&#039;&#039;))' title='h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(x&#039;&#039;))' class='latex' />,</p>
<p>which we get by replacing <img src='http://l.wordpress.com/latex.php?latex=%5Cotimes_X&#038;bg=fff&#038;fg=222&#038;s=0' alt='\otimes_X' title='\otimes_X' class='latex' /> with its definition above.  We need an isomorphism </p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=m%3A%28x+%5Cotimes_X+x%27%29+%5Cotimes_X+x%27%27+%5Cstackrel%7B%5Csim%7D%7B%5Cto%7D+h%28%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%27%29%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='m:(x \otimes_X x&#039;) \otimes_X x&#039;&#039; \stackrel{\sim}{\to} h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;))' title='m:(x \otimes_X x&#039;) \otimes_X x&#039;&#039; \stackrel{\sim}{\to} h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;))' class='latex' /></p>
<p>so we can define <img src='http://l.wordpress.com/latex.php?latex=a_x+%3D+m%5E%7B-1%7D+%5Ccirc+h%28a_%7BTX%7D%29+%5Ccirc+m.&#038;bg=fff&#038;fg=222&#038;s=0' alt='a_x = m^{-1} \circ h(a_{TX}) \circ m.' title='a_x = m^{-1} \circ h(a_{TX}) \circ m.' class='latex' />  Now we use the equations an algebra has to satisfy to derive this isomorphism.  Since <img src='http://l.wordpress.com/latex.php?latex=h+%5Ccirc+Th+%3D+h+%5Ccirc+%5Cmu_X%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='h \circ Th = h \circ \mu_X,' title='h \circ Th = h \circ \mu_X,' class='latex' /> the following two objects are equal:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brl%7D+%26+h%28%5Ceta_X%28h%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%27%29%29%5C%5C+%3D+%26+h%28%5Ceta_X%28h%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28h%28%5Ceta_X%28x%27%27%29%29%29%29+%5C%5C+%3D+%26+%28h+%5Ccirc+Th%29+%28+%5Ceta_%7BTX%7D%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%5Cotimes_%7BTTX%7D+%5Ceta_%7BTX%7D%28%5Ceta_X%28x%27%27%29%29+%5C%5C+%3D+%26+%28h+%5Ccirc+%5Cmu_X%29+%28+%5Ceta_%7BTX%7D%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%5Cotimes_%7BTTX%7D+%5Ceta_%7BTX%7D%28%5Ceta_X%28x%27%27%29%29+%5C%5C+%3D+%26+h%28%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%27%29%29.+%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rl} &amp; h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(x&#039;&#039;))\\ = &amp; h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(h(\eta_X(x&#039;&#039;)))) \\ = &amp; (h \circ Th) ( \eta_{TX}(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TTX} \eta_{TX}(\eta_X(x&#039;&#039;)) \\ = &amp; (h \circ \mu_X) ( \eta_{TX}(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TTX} \eta_{TX}(\eta_X(x&#039;&#039;)) \\ = &amp; h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;)). \end{array}' title='\begin{array}{rl} &amp; h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(x&#039;&#039;))\\ = &amp; h(\eta_X(h(\eta_X(x) \otimes_{TX} \eta_X(x&#039;))) \otimes_{TX} \eta_X(h(\eta_X(x&#039;&#039;)))) \\ = &amp; (h \circ Th) ( \eta_{TX}(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TTX} \eta_{TX}(\eta_X(x&#039;&#039;)) \\ = &amp; (h \circ \mu_X) ( \eta_{TX}(\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TTX} \eta_{TX}(\eta_X(x&#039;&#039;)) \\ = &amp; h((\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) \otimes_{TX} \eta_X(x&#039;&#039;)). \end{array}' class='latex' /></p>
<p>Therefore, the isomorphism <img src='http://l.wordpress.com/latex.php?latex=m&#038;bg=fff&#038;fg=222&#038;s=0' alt='m' title='m' class='latex' /> we wanted is simply equality and <img src='http://l.wordpress.com/latex.php?latex=a_X+%3D+h%28a_%7BTX%7D%29.&#038;bg=fff&#038;fg=222&#038;s=0' alt='a_X = h(a_{TX}).' title='a_X = h(a_{TX}).' class='latex' />  It also means that <img src='http://l.wordpress.com/latex.php?latex=a_X&#038;bg=fff&#038;fg=222&#038;s=0' alt='a_X' title='a_X' class='latex' /> satisfies the pentagon equation.</p>
<p>A similar derivation works for the unitors and the triangle equation.</p>
<p>A morphism of algebras is a functor <img src='http://l.wordpress.com/latex.php?latex=f%3AX+%5Cto+Y&#038;bg=fff&#038;fg=222&#038;s=0' alt='f:X \to Y' title='f:X \to Y' class='latex' /> such that <img src='http://l.wordpress.com/latex.php?latex=f+%5Ccirc+h_X+%3D+h_Y+%5Ccirc+Tf.&#038;bg=fff&#038;fg=222&#038;s=0' alt='f \circ h_X = h_Y \circ Tf.' title='f \circ h_X = h_Y \circ Tf.' class='latex' />  Now</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brll%7D+%26+f%28x+%5Cotimes_X+x%27%29+%26++%5C%5C+%3D+%26+%28f+%5Ccirc+h_X%29+%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%26+%5Cmbox%7Bby+de%7D%5Cmbox%7Bfn+of+%7D%5Cotimes_X++%5C%5C+%3D+%26+%28h_Y+%5Ccirc+Tf%29+%28%5Ceta_X%28x%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28x%27%29%29+%26+%5C%5C+%3D+%26+h_Y%28%5Ceta_X%28f%28x%29%29+%5Cotimes_%7BTX%7D+%5Ceta_X%28f%28x%27%29%29%29+%26+%5Cmbox%7Bby+%7D+T+%5C%5C+%3D+%26+f%28x%29+%5Cotimes_Y+f%28x%27%29%26+%5Cmbox%7Bby+de%7D%5Cmbox%7Bfn+of+%7D%5Cotimes_Y%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rll} &amp; f(x \otimes_X x&#039;) &amp;  \\ = &amp; (f \circ h_X) (\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) &amp; \mbox{by de}\mbox{fn of }\otimes_X  \\ = &amp; (h_Y \circ Tf) (\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) &amp; \\ = &amp; h_Y(\eta_X(f(x)) \otimes_{TX} \eta_X(f(x&#039;))) &amp; \mbox{by } T \\ = &amp; f(x) \otimes_Y f(x&#039;)&amp; \mbox{by de}\mbox{fn of }\otimes_Y\end{array}' title='\begin{array}{rll} &amp; f(x \otimes_X x&#039;) &amp;  \\ = &amp; (f \circ h_X) (\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) &amp; \mbox{by de}\mbox{fn of }\otimes_X  \\ = &amp; (h_Y \circ Tf) (\eta_X(x) \otimes_{TX} \eta_X(x&#039;)) &amp; \\ = &amp; h_Y(\eta_X(f(x)) \otimes_{TX} \eta_X(f(x&#039;))) &amp; \mbox{by } T \\ = &amp; f(x) \otimes_Y f(x&#039;)&amp; \mbox{by de}\mbox{fn of }\otimes_Y\end{array}' class='latex' /></p>
<p>and</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brll%7D+%26+f%28I_X%29+%5C%5C+%3D+%26+%28f+%5Ccirc+h_X%29+%28I_%7BTX%7D%29+%26+%5Cmbox%7Bby+de%7D%5Cmbox%7Bfn+of+%7DI_X+%5C%5C+%3D+%26+%28h_Y+%5Ccirc+Tf%29+%28I_%7BTX%7D%29+%26+%5C%5C+%3D+%26+h_Y%28I_%7BTY%7D%29+%26+%5Cmbox%7Bsince+%7DT%5Cmbox%7B+preserves+the+empty+tree%7D+%5C%5C+%3D+%26+I_Y+%26+%5Cmbox%7Bby+de%7D%5Cmbox%7Bfn+of+%7DI_Y+%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rll} &amp; f(I_X) \\ = &amp; (f \circ h_X) (I_{TX}) &amp; \mbox{by de}\mbox{fn of }I_X \\ = &amp; (h_Y \circ Tf) (I_{TX}) &amp; \\ = &amp; h_Y(I_{TY}) &amp; \mbox{since }T\mbox{ preserves the empty tree} \\ = &amp; I_Y &amp; \mbox{by de}\mbox{fn of }I_Y \end{array}' title='\begin{array}{rll} &amp; f(I_X) \\ = &amp; (f \circ h_X) (I_{TX}) &amp; \mbox{by de}\mbox{fn of }I_X \\ = &amp; (h_Y \circ Tf) (I_{TX}) &amp; \\ = &amp; h_Y(I_{TY}) &amp; \mbox{since }T\mbox{ preserves the empty tree} \\ = &amp; I_Y &amp; \mbox{by de}\mbox{fn of }I_Y \end{array}' class='latex' /></p>
<p>so we have the coherence laws for a strict monoidal functor.</p>
<p>Also,</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brll%7D+%26+f%28a_X%29+%26+%5C%5C+%3D+%26+%28f+%5Ccirc+h_X%29+%28a_%7BTX%7D%29+%26+%5Cmbox%7Bby+the+derivation+above%7D+%5C%5C+%3D+%26+%28h_Y+%5Ccirc+Tf%29+%28a_%7BTX%7D%29+%26+%5C%5C+%3D+%26+h_Y%28a_%7BTY%7D%29+%26+%5Cmbox%7Bsince+%7DT%5Cmbox%7B+preserves+the+associator%7D+%5C%5C+%3D+%26+a_Y+%26+%5Cmbox%7Bagain+by+the+derivation+above%7D%2C%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rll} &amp; f(a_X) &amp; \\ = &amp; (f \circ h_X) (a_{TX}) &amp; \mbox{by the derivation above} \\ = &amp; (h_Y \circ Tf) (a_{TX}) &amp; \\ = &amp; h_Y(a_{TY}) &amp; \mbox{since }T\mbox{ preserves the associator} \\ = &amp; a_Y &amp; \mbox{again by the derivation above},\end{array}' title='\begin{array}{rll} &amp; f(a_X) &amp; \\ = &amp; (f \circ h_X) (a_{TX}) &amp; \mbox{by the derivation above} \\ = &amp; (h_Y \circ Tf) (a_{TX}) &amp; \\ = &amp; h_Y(a_{TY}) &amp; \mbox{since }T\mbox{ preserves the associator} \\ = &amp; a_Y &amp; \mbox{again by the derivation above},\end{array}' class='latex' /></p>
<p>so it preserves the associator as well.  The unitors follow in the same way, so morphisms of these algebras are <i>strict monoidal functors that preserve the associator and unitors</i>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/619/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=619&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/08/19/monad-for-weakly-monoidal-categories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Cassiopeia&#8217;s veil</title>
		<link>http://reperiendi.wordpress.com/2009/08/13/cassiopeias-veil/</link>
		<comments>http://reperiendi.wordpress.com/2009/08/13/cassiopeias-veil/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:35:47 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=610</guid>
		<description><![CDATA[
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=610&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://reperiendi.files.wordpress.com/2009/08/img_1577.jpg"><img src="http://reperiendi.files.wordpress.com/2009/08/img_1577.jpg?w=300&#038;h=200" alt="IMG_1577" title="IMG_1577" width="300" height="200" class="aligncenter size-medium wp-image-611" /></a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/610/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/610/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/610/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/610/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/610/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=610&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/08/13/cassiopeias-veil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/08/img_1577.jpg?w=300" medium="image">
			<media:title type="html">IMG_1577</media:title>
		</media:content>
	</item>
		<item>
		<title>Around work</title>
		<link>http://reperiendi.wordpress.com/2009/08/13/around-work/</link>
		<comments>http://reperiendi.wordpress.com/2009/08/13/around-work/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:13:57 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=554</guid>
		<description><![CDATA[       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=554&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br />
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1396/' title='IMG_1396'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_13961.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1396" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1397/' title='IMG_1397'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_13971.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1397" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1398/' title='IMG_1398'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_13981.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1398" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1399/' title='IMG_1399'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_13991.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1399" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1401/' title='IMG_1401'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14011.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1401" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1402/' title='IMG_1402'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14021.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1402" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1403/' title='IMG_1403'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14031.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1403" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1408/' title='IMG_1408'><img width="150" height="75" src="http://reperiendi.files.wordpress.com/2009/08/img_14081.jpg?w=150&#038;h=75" class="attachment-thumbnail" alt="" title="IMG_1408" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1414/' title='IMG_1414'><img width="120" height="150" src="http://reperiendi.files.wordpress.com/2009/08/img_14141.jpg?w=120&#038;h=150" class="attachment-thumbnail" alt="" title="IMG_1414" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1416/' title='IMG_1416'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14161.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1416" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1417/' title='IMG_1417'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14171.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1417" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1419/' title='IMG_1419'><img width="150" height="98" src="http://reperiendi.files.wordpress.com/2009/08/img_14191.jpg?w=150&#038;h=98" class="attachment-thumbnail" alt="" title="IMG_1419" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1421/' title='IMG_1421'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14211.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1421" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1422/' title='IMG_1422'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14221.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1422" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1426/' title='IMG_1426'><img width="150" height="98" src="http://reperiendi.files.wordpress.com/2009/08/img_14261.jpg?w=150&#038;h=98" class="attachment-thumbnail" alt="" title="IMG_1426" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1427/' title='IMG_1427'><img width="150" height="98" src="http://reperiendi.files.wordpress.com/2009/08/img_14271.jpg?w=150&#038;h=98" class="attachment-thumbnail" alt="" title="IMG_1427" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1429/' title='IMG_1429'><img width="150" height="98" src="http://reperiendi.files.wordpress.com/2009/08/img_14291.jpg?w=150&#038;h=98" class="attachment-thumbnail" alt="" title="IMG_1429" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1435/' title='IMG_1435'><img width="150" height="98" src="http://reperiendi.files.wordpress.com/2009/08/img_14351.jpg?w=150&#038;h=98" class="attachment-thumbnail" alt="" title="IMG_1435" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1436/' title='IMG_1436'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14361.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1436" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1449/' title='IMG_1449'><img width="100" height="150" src="http://reperiendi.files.wordpress.com/2009/08/img_14491.jpg?w=100&#038;h=150" class="attachment-thumbnail" alt="" title="IMG_1449" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1450/' title='IMG_1450'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14501.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1450" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1452/' title='IMG_1452'><img width="100" height="150" src="http://reperiendi.files.wordpress.com/2009/08/img_14521.jpg?w=100&#038;h=150" class="attachment-thumbnail" alt="" title="IMG_1452" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1455/' title='IMG_1455'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14551.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1455" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1457/' title='IMG_1457'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14571.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1457" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1492/' title='IMG_1492'><img width="150" height="100" src="http://reperiendi.files.wordpress.com/2009/08/img_14921.jpg?w=150&#038;h=100" class="attachment-thumbnail" alt="" title="IMG_1492" /></a>
<a href='http://reperiendi.wordpress.com/2009/08/13/around-work/img_1494/' title='IMG_1494'><img width="100" height="150" src="http://reperiendi.files.wordpress.com/2009/08/img_14942.jpg?w=100&#038;h=150" class="attachment-thumbnail" alt="" title="IMG_1494" /></a>

  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/554/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=554&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/08/13/around-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Theocosmology</title>
		<link>http://reperiendi.wordpress.com/2009/07/31/theocosmology-8/</link>
		<comments>http://reperiendi.wordpress.com/2009/07/31/theocosmology-8/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 23:14:29 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Theocosmology]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/2009/07/31/theocosmology-8/</guid>
		<description><![CDATA[A little article considering the implications of the assertion that spirit is matter.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=455&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A little article considering the implications of the assertion that <a href="http://ankylodoxy.wordpress.com/2009/07/31/animism/">spirit is matter</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=455&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/07/31/theocosmology-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Where the Wild Things Are</title>
		<link>http://reperiendi.wordpress.com/2009/07/14/where-the-wild-things-are/</link>
		<comments>http://reperiendi.wordpress.com/2009/07/14/where-the-wild-things-are/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 21:48:03 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=432</guid>
		<description><![CDATA[If I were to do a movie of where the wild things are, it would be dark.  When the forest grows in his room, it&#8217;s a creepy scene: the paint bubbles up, discolors, and starts to peel; the strands of shag carpet turns into centipedes that burrow into the floor, which rots away into the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=432&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If I were to do a movie of where the wild things are, it would be dark.  When the forest grows in his room, it&#8217;s a creepy scene: the paint bubbles up, discolors, and starts to peel; the strands of shag carpet turns into centipedes that burrow into the floor, which rots away into the detrius of the forest floor.  The forest itself is dark and malicious.  Max&#8217;s wolf suit becomes real wolf skins, with a bare wolf skull for a helmet.  He&#8217;s both exhilarated and scared of his new power; he runs, and finds that he&#8217;s supernaturally fast, like a wolf. His fingernails are sharp and hard, like claws, and he leaves gashes in the trees as he runs by.</p>
<p>When he reaches the water, he summons a storm to drive him across the ocean, but as he gets nearer, it blows out of control, culminating in the water-thing:<br />
<a href="http://www.terribleyelloweyes.com/2009/05/water-thing.html"><img class="aligncenter size-full wp-image-434" title="tye_waterbeast-paint-copy" src="http://reperiendi.files.wordpress.com/2009/07/tye_waterbeast-paint-copy.jpg?w=797&#038;h=1224" alt="tye_waterbeast-paint-copy" width="797" height="1224" /></a><br />
Once Max gets past the water thing, he lands on the beach&#8211;perhaps barely surviving the storm and avoiding rocks.  Bedraggled, soaked, and exhausted, he moves from the wind-lashed shore for what seems to be shelter in the forest.  Then he hears the wild things and gets a glimpse of the terrible yellow eyes.  The dog-like thing with a horn on its nose would look something like this:</p>
<p><a href="http://www.crawley-creatures.com/conceptual/hound.htm" target="_blank">http://www.crawley-creatures.com/conceptual/hound.htm</a></p>
<p>He&#8217;s chased back to the beach when he remembers his powers, turns, and his eyes burst into a bright yellow flame; he flashes his eyes quickly at each of the attacking Wild Things, and a shock wave knocks each one back.  Then returning to the dog-like one, he stares it down and the Thing writhes in pain, yelping; the others begin to comprehend the extent of his power.  He finally quenches his eye magic, and the dog lies panting, trying to recover its strength.</p>
<p>He leads the wild things to war and conquers the entire forest.  He&#8217;s crowned with even more power, then has a night-on-bald-mountain kind of rumpus, until he chases down and kills (or just nearly?) a dog in the forest and realizes it&#8217;s his own.  Horrified, he gives the command to stop; the wild things do, but not willingly, and by morning his power has ebbed to the point that he can&#8217;t hold them at bay any more.  He flees to the boat and has just enough magic to launch himself back to the opposite shore, and the dream fades.  He finds himself awaking from a fever, with a washcloth on his forehead and some soup waiting for him.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=432&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/07/14/where-the-wild-things-are/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/07/tye_waterbeast-paint-copy.jpg" medium="image">
			<media:title type="html">tye_waterbeast-paint-copy</media:title>
		</media:content>
	</item>
		<item>
		<title>Two separate organisms on their way to becoming symbiotic</title>
		<link>http://reperiendi.wordpress.com/2009/07/06/two-separate-organisms-on-their-way-to-becoming-symbiotic/</link>
		<comments>http://reperiendi.wordpress.com/2009/07/06/two-separate-organisms-on-their-way-to-becoming-symbiotic/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 23:26:22 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=429</guid>
		<description><![CDATA[The single-celled Hatena and the algae Nephrosolmis live independent lives: Hatena has a &#8220;mouth&#8221; with which it eats smaller creatures and organic material; Nephrosolmis gets its food from sunlight.  But when Hatena eats Nephrosolmis, the algae grows inside it, discards its organelles, changes its mouth into an eyespot, and swims toward light.  The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=429&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The single-celled <a href="http://bytesizebio.net/index.php/2009/07/04/from-predator-to-plant-in-one-gulp/"><i>Hatena</i> and the algae <i>Nephrosolmis</i></a> live independent lives: <i>Hatena</i> has a &#8220;mouth&#8221; with which it eats smaller creatures and organic material; <i>Nephrosolmis</i> gets its food from sunlight.  But when <i>Hatena</i> eats <i>Nephrosolmis</i>, the algae grows inside it, discards its organelles, changes its mouth into an eyespot, and swims toward light.  The algae makes enough food to keep them both alive.  When <i>Hatena</i> reproduces, one daughter keeps all the algae, and the other goes hunting again.</p>
<p>See also <a href="http://www.plantphysiol.org/cgi/content/full/123/1/29">solar-powered sea slugs</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=429&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/07/06/two-separate-organisms-on-their-way-to-becoming-symbiotic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Functors and monads</title>
		<link>http://reperiendi.wordpress.com/2009/06/23/functors-and-monads/</link>
		<comments>http://reperiendi.wordpress.com/2009/06/23/functors-and-monads/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 21:55:12 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Category theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=387</guid>
		<description><![CDATA[In many languages you have type constructors; given a type A and a type constructor Lift, you get a new type Lift&#60;A&#62;.  A functor is a type constructor together with a function
   lift: (A -&#62; B) -&#62; (Lift&#60;A&#62; -&#62; Lift&#60;B&#62;)
that preserves composition and identities.  If h is the composition of two [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=387&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In many languages you have type constructors; given a type <code>A</code> and a type constructor <code>Lift</code>, you get a new type<code> Lift&lt;A&gt;</code>.  A functor is a type constructor together with a function</p>
<pre>   lift: (A -&gt; B) -&gt; (Lift&lt;A&gt; -&gt; Lift&lt;B&gt;)</pre>
<p>that preserves composition and identities.  If <code>h</code> is the composition of two other functions <code>g</code> and <code>f</code></p>
<pre>   h (a) = g (f (a)),</pre>
<p>then <code>lift (h)</code> is the composition of <code>lift (g)</code> and <code>lift (f)</code></p>
<pre>   lift (h) (la) = lift (g) (lift (f) (la)),</pre>
<p>where the variable <code>la</code> has the type <code>Lift&lt;A&gt;</code>.  Similarly, if h is the identity function on variables of type <code>A</code></p>
<pre>   h (a: A) = a,</pre>
<p>then <code>lift (h)</code> will be the identity on variables of type <code>Lift&lt;A&gt;</code></p>
<pre>   lift (h) (la) = la.</pre>
<h3>Examples:</h3>
<ul>
<li>Multiplication<br />
<code>Lift&lt;&gt;</code> adjoins an extra integer to any type:</p>
<pre>   Lift&lt;A&gt; = Pair&lt;A, int&gt;</pre>
<p>The function <code>lift()</code> pairs up <code>f</code> with the identity function on integers:</p>
<pre>   lift (f) = (f, id)</pre>
</li>
<li>Concatenation<br />
<code>Lift&lt;&gt;</code> adjoins an extra string to any type:</p>
<pre>   Lift&lt;A&gt; = Pair&lt;A, string&gt;</pre>
<p>The function <code>lift()</code> pairs up <code>f</code> with the identity function on strings:</p>
<pre>   lift (f) = (f, id)</pre>
</li>
<li>Composition<br />
Let <code>Env</code> be a type representing the possible states of the environment and</p>
<pre>   Effect = Env -&gt; Env</pre>
<p>Also, we&#8217;ll be explicit in the type of the identity function</p>
<pre>   id&lt;A&gt;: A -&gt; A
   id&lt;A&gt; (a) = a,</pre>
<p>so one possible <code>Effect</code> is <code>id&lt;Env&gt;</code>, the &#8220;trivial side-effect&#8221;.</p>
<p>Then <code>Lift&lt;&gt;</code> adjoins an extra side-effect to any type:</p>
<pre>   Lift&lt;A&gt; = Pair&lt;A, Effect&gt;</pre>
<p>The function <code>lift()</code> pairs up <code>f</code> with the identity on side-effects:</p>
<pre>   lift (f) = (f, id&lt;Effect&gt;)</pre>
</li>
<li>Lists<br />
The previous three examples used the Pair type constructor to adjoin an extra value.  This functor is slightly different.  Here, <code>Lift&lt;&gt;</code> takes any type <code>A</code> to a list of <code>A</code>&#8217;s:</p>
<pre>   Lift&lt;A&gt; = List&lt;A&gt;</pre>
<p>The function <code>lift()</code> is the function map():</p>
<pre>   lift = map</pre>
</li>
<li>Double negation, or the continuation passing transform<br />
In a nice type system, there&#8217;s the <code>Unit</code> type, with a single value, and there&#8217;s also the <code>Empty</code> type, with no values (it&#8217;s &#8220;uninhabited&#8221;).  The only function of type <code>X -&gt; Empty</code> is the identity function <code>id&lt;Empty&gt;</code>.  This means that we can think of types as propositions, where a proposition is true if it&#8217;s possible to construct a value of that type.  We interpret the arrow as implication, and negation can be defined as &#8220;arrowing into <code>Empty</code>&#8220;: let <code>F = Empty</code> and <code>T = F -&gt; F</code>.  Then <code>T -&gt; F = F</code> (since <code>T -&gt; F</code> is uninhabited) and <code>T</code> is inhabited since we can construct the identity function of type F -&gt; F.  Functions correspond to constructive proofs.  &#8220;Negation&#8221; of a proof is changing it into its contrapositive form:</p>
<pre>  If A then B =&gt; If NOT B then NOT A.</pre>
<p>Double negation is doing the contrapositive twice:</p>
<pre>  IF A then B =&gt; If NOT NOT A then NOT NOT B.</pre>
<p>Here, <code>Lift&lt;&gt;</code> is double negation:</p>
<pre>   Lift&lt;A&gt; = (A -&gt; F) -&gt; F.</pre>
<p>The function lift takes a proof to its double contrapositive:</p>
<pre>   lift: (A -&gt; B)   -&gt;   ((A -&gt; F) -&gt; F) -&gt; ((B -&gt; F) -&gt; F)
   lift  (f) (k1) (k2) = k1 (lambda (a) { k2 (f (a)) })</pre>
</li>
</ul>
<h2>Monads</h2>
<p>A monad is a functor together with two functions</p>
<pre>   m: Lift&lt;Lift&lt;A&gt;&gt; -&gt; Lift&lt;A&gt;
   e: A -&gt; Lift&lt;A&gt;</pre>
<p>satisfying some conditions I&#8217;ll get to in a minute.</p>
<h3>Examples:</h3>
<ul>
<li>Multiplication<br />
If you adjoin two integers, <code>m()</code> multiplies them to get a single integer:</p>
<pre>   m: Pair&lt;Pair&lt;A, int&gt;, int&gt; -&gt; Pair&lt;A, int&gt;
   m  (a, i, j)               =  (a, i * j).</pre>
<p>The function <code>e()</code> adjoins the multiplicative identity, or &#8220;unit&#8221;:</p>
<pre>   e: A   -&gt; Pair&lt;A, int&gt;
   e  (a) = (a, 1)</pre>
</li>
<li>Concatenation<br />
If you adjoin two strings, <code>m()</code> concatenates them to get a single string:</p>
<pre>   m: Pair&lt;Pair&lt;A, string&gt;, string&gt; -&gt; Pair&lt;A, string&gt;
   m  (a, s, t)                     =  (a, s + t).</pre>
<p>The function <code>e()</code> adjoins the identity for concatenation, the empty string:</p>
<pre>   e: A   -&gt; Pair&lt;A, string&gt;
   e  (a) = (a, "")</pre>
</li>
<li>Composition<br />
If you adjoin two side-effects, <code>m()</code> composes them to get a single effect:</p>
<pre>   m: Pair&lt;Pair&lt;A, Effect&gt;, Effect&gt; -&gt; Pair&lt;A, Effect&gt;
   m  (a, s, t)                     =  (a, t o s),</pre>
<p>where</p>
<pre>   (t o s) (x) = t (s (x)).</pre>
<p>The function <code>e()</code> adjoins the identity for composition, the identity function on <code>Env</code>:</p>
<pre>   e: A   -&gt; Pair&lt;A, Effect&gt;
   e  (a) = (a, id&lt;Env&gt;)</pre>
</li>
<li>Lists<br />
If you have two layers of lists, <code>m()</code> flattens them to get a single layer:</p>
<pre>   m: List&lt;List&lt;A&gt;&gt; -&gt; List&lt;A&gt;
   m = flatten</pre>
<p>The function <code>e()</code> makes any element of A into a singleton list:</p>
<pre>   e: A -&gt; List&lt;A&gt;
   e (a) = [a]</pre>
</li>
<li>Double negation, or the continuation passing transform<br />
If you have a quadruple negation, <code>m()</code> reduces it to a double negation:</p>
<pre>   m: ((((A -&gt; F) -&gt; F) -&gt; F) -&gt; F)   -&gt;  ((A -&gt; F) -&gt; F)
   m (k1) (k2) = k1 (lambda (k3) { k3 (k2) })</pre>
<p>The function <code>e()</code> is just reverse application:</p>
<pre>   e: A -&gt; (A -&gt; F) -&gt; F
   e (a) (k) = k (a)</pre>
</li>
</ul>
<p>The conditions that <code>e</code> and <code>m</code> have to satisfy are that <code>m</code> is associative and <code>e</code> is a left and right unit for <code>m</code>.  In other words, assume we have</p>
<pre>   llla: Lift&lt;Lift&lt;Lift&lt;A&gt;&gt;&gt;
   la: Lift&lt;A&gt;</pre>
<p>Then</p>
<pre>   m (lift (m) (llla))  =  m (m (llla))</pre>
<p>and</p>
<pre>   m (e (la))  =  m (lift (e) (la))  =  la</pre>
<h3>Examples:</h3>
<ul>
<li>Multiplication:<br />
There are two different ways we can use lifting with these two extra functions <code>e()</code> and <code>m()</code>.  The first is applying <code>lift()</code> to them.  When we apply <code>lift</code> to <code>m()</code>, it acts on three integers instead of two; but because</p>
<pre>   lift (m) = (m, id),</pre>
<p>it ignores the third integer:</p>
<pre>   lift (m) (a, i, j, k) = (a, i * j, k).</pre>
<p>Similarly, lifting <code>e()</code> will adjoin the multiplicative unit, but will leave the last integer alone:</p>
<pre>   lift (e) = (e, id)
   lift (e) (a, i) = (a, 1, i)</pre>
<p>The other way to use lifting with <code>m()</code> and <code>e()</code> is to apply <code><code>Lift&lt;&gt;</code></code> to their input types.  This specifies <code>A</code> as <code>Pair&lt;A', int&gt;</code>, so the <em>first</em> integer gets ignored:</p>
<pre>   m (a, i, j, k) = (a, i, j * k)
   e (a, i) = (a, i, 1)</pre>
<p>Now when we apply <code>m()</code> to all of these, we get the associativity and unit laws.  For associativity we get</p>
<pre>   m (lift (m) (a, i, j, k)) = m(a, i * j, k) = (a, i * j * k)
   m (m (a, i, j, k)) = m(a, i, j * k) = (a, i * j * k)</pre>
<p>and for unit, we get</p>
<pre>   m (lift (e) (a, i)) = m (a, 1, i) = (a, 1 * i) = (a, i)
   m (e (a, i)) = m (a, i, 1) = (a, i * 1) = (a, i)</pre>
</li>
<li>Concatenation<br />
There are two different ways we can use lifting with these two extra functions <code>e()</code> and <code>m()</code>.  The first is applying <code>lift()</code> to them.  When we apply lift to <code>m()</code>, it acts on three strings instead of two; but because</p>
<pre>   lift (m) = (m, id),</pre>
<p>it ignores the third string:</p>
<pre>   lift (m) (a, s, t, u) = (a, s + t, u).</pre>
<p>Similarly, lifting <code>e()</code> will adjoin the empty string, but will leave the last string alone:</p>
<pre>   lift (e) = (e, id)
   lift (e) (a, s) = (a, "", s)</pre>
<p>The other way to use lifting with <code>m()</code> and <code>e()</code> is to apply <code>Lift&lt;&gt;</code> to their input types.  This specifies <code>A</code> as <code>Pair&lt;A', string&gt;</code>, so the <em>first</em> string gets ignored:</p>
<pre>   m (a, s, t, u) = (a, s, t + u)
   e (a, s) = (a, s, 1)</pre>
<p>Now when we apply <code>m()</code> to all of these, we get the associativity and unit laws.  For associativity we get</p>
<pre>   m (lift (m) (a, s, t, u)) = m(a, s + t, u) = (a, s + t + u)
   m (m (a, s, t, u)) = m(a, s, t + u) = (a, s + t + u)</pre>
<p>and for unit, you get</p>
<pre>   m (lift (e) (a, s)) = m (a, "", s) = (a, "" + s) = (a, s)
   m (e (a, s)) = m (a, s, "") = (a, s + "") = (a, s)</pre>
</li>
<li>Composition<br />
There are two different ways we can use lifting with these two extra functions <code>e()</code> and <code>m()</code>.  The first is applying <code>lift()</code> to them.  When we apply lift to <code>m()</code>, it acts on three effects instead of two; but because</p>
<pre>   lift (m) = (m, id&lt;Effect&gt;),</pre>
<p>it ignores the third effect:</p>
<pre>   lift (m) (a, s, t, u) = (a, t o s, u).</pre>
<p>Similarly, lifting <code>e()</code> will adjoin the identity function, but will leave the last string alone:</p>
<pre>   lift (e) = (e, id&lt;Effect&gt;)
   lift (e) (a, s) = (a, id&lt;Env&gt;, s)</pre>
<p>The other way to use lifting with <code>m()</code> and <code>e()</code> is to apply <code>Lift&lt;&gt;</code> to their input types.  This specifies <code>A</code> as <code>Pair&lt;A', Effect&gt;</code>, so the <em>first</em> effect gets ignored:</p>
<pre>   m (a, s, t, u) = (a, s, u o t)
   e (a, s) = (a, s, id&lt;Env&gt;)</pre>
<p>Now when we apply <code>m()</code> to all of these, we get the associativity and unit laws.  For associativity we get</p>
<pre>   m (lift (m) (a, s, t, u)) = m(a, t o s, u) = (a, u o t o s)
   m (m (a, s, t, u)) = m(a, s, u o t) = (a, u o t o s)</pre>
<p>and for unit, you get</p>
<pre>   m (lift (e) (a, s)) = m (a, id&lt;Env&gt;, s) = (a, s o id&lt;Env&gt;) = (a, s)
   m (e (a, s)) = m (a, s, id&lt;Env&gt;) = (a, id&lt;Env&gt; o s) = (a, s)</pre>
</li>
<li>Lists<br />
There are two different ways we can use lifting with these two extra functions <code>e()</code> and <code>m()</code>.  The first is applying <code>lift()</code> to them.  When we apply lift to <code>m()</code>, it acts on three layers instead of two; but because</p>
<pre>   lift (m) = map (m),</pre>
<p>it ignores the third (outermost) layer:</p>
<pre>     lift (m) ([[[a, b, c], [], [d, e]], [[]], [[x], [y, z]]])
   = [[a, b, c, d, e], [], [x, y, z]]</pre>
<p>Similarly, lifting <code>e()</code> will make singletons, but will leave the outermost layer alone:</p>
<pre>   lift (e) ([a, b, c]) = [[a], [b], [c]]</pre>
<p>The other way to use lifting with <code>m()</code> and <code>e()</code> is to apply <code>Lift&lt;&gt;</code> to their input types.  This specifies <code>A</code> as <code>List&lt;A'&gt;</code>, so the *innermost* layer gets ignored:</p>
<pre>     m ([[[a, b, c], [], [d, e]], [[]], [[x], [y, z]]])
   = [[a, b, c], [], [d, e], [], [x], [y, z]]

   e ([a, b, c]) = [[a, b, c]]</pre>
<p>Now when we apply <code>m()</code> to all of these, we get the associativity and unit laws.  For associativity we get</p>
<pre>     m (lift (m) ([[[a, b, c], [], [d, e]], [[]], [[x], [y, z]]]))
   = m([[a, b, c, d, e], [], [x, y, z]])
   = [a, b, c, d, e, x, y, z]

     m (m ([[[a, b, c], [], [d, e]], [[]], [[x], [y, z]]]))
   = m([[a, b, c], [], [d, e], [], [x], [y, z]])
   = [a, b, c, d, e, x, y, z]</pre>
<p>and for unit, we get</p>
<pre>   m (lift (e) ([a, b, c])) = m ([[a], [b], [c]]) = [a, b, c]
   m (e ([a, b, c])) = m ([[a], [b], [c]]) = [a, b, c]</pre>
</li>
</ul>
<h2>Monads in Haskell style, or &#8220;Kleisli arrows&#8221;</h2>
<p>Given a monad <code>(Lift, lift, m, e)</code>, a Kleisli arrow is a function</p>
<pre>   f: A -&gt; Lift&lt;B&gt;,</pre>
<p>so the <code>e()</code> function in a monad is already a Kleisli arrow.  Given</p>
<pre>   g: B -&gt; Lift&lt;C&gt;</pre>
<p>we can form a new Kleisli arrow</p>
<pre>   (g &gt;&gt;= f): A -&gt; Lift&lt;C&gt;
   (g &gt;&gt;= f) (a) = m (lift (g) (f (a))).</pre>
<p>The operation &gt;&gt;= is called &#8220;bind&#8221; by the Haskell crowd.  You can think of it as composition for Kleisli arrows; it&#8217;s associative, and <code>e()</code> is the identity for bind.  <code>e()</code> is called &#8220;return&#8221; in that context.  Sometimes code is less complicated with bind and return instead of <code>m</code> and <code>e</code>.</p>
<p>If we have a function <code>f: A -&gt; B</code>, we can turn it into a Kleisli arrow by precomposing with <code>e()</code>:</p>
<pre>   (e o f): A -&gt; Lift&lt;B&gt;
   (e o f) (a) = e (f (a)) = return (f (a)).</pre>
<h3>Example:</h3>
<ul>
<li>Double negation, or the continuation passing style transform<br />
We&#8217;re going to (1) show that the CPS transform of a function takes a continuation and applies that to the result of the function.  We&#8217;ll also (2) show that for two functions <code>r, s</code>,</p>
<pre>     CPS (s o r)    =    CPS (s) &gt;&gt;= CPS (r),</pre>
<p>(1) To change a function <code>f: A -&gt; B</code> into a Kleisli arrow (i.e. continuized function)<code> CPS (f): A -&gt; (B -&gt; X) -&gt; X</code>, we just compose with <code>e</code>&#8212;or in the language of Haskell, we <code>return</code> the result:</p>
<pre>     CPS (f) (a) (k)
   = return (f (a)) (k)
   = (e o f) (a) (k)
   = e (f (a)) (k)
   = k (f (a))</pre>
<p>(2) Given two Kleisli arrows</p>
<pre>   f: A -&gt; (B -&gt; F) -&gt; F</pre>
<p>and</p>
<pre>   g: B -&gt; (C -&gt; F) -&gt; F,</pre>
<p>we can bind them:</p>
<pre>     (g &gt;&gt;= f) (a) (k)
   = m (lift (g) (f (a))) (k)                                // defn of bind
   = lift (g) (f (a)) (lambda (k3) { k3 (k) })               // defn of m
   = f (a) (lambda (b) { (lambda (k3) { k3 (k) }) (g (b)) }) // defn of lift
   = f (a) (lambda (b) { g (b) (k) }),                       // application</pre>
<p>which is just what we wanted.</p>
<p>In particular, if <code>f</code> and <code>g</code> are really just continuized functions</p>
<pre>   f = (e o r)
   g = (e o s)</pre>
<p>then</p>
<pre>     (g &gt;&gt;= f) (a) (k)
   = f (a) (lambda (b) { g (b) (k) })             // by above
   = (e o r) (a) (lambda (b) { (e o s) (b) (k) }) // defn of f and g
   = (e o r) (a) (lambda (b) { k (s (b)) })       // defn of e
   = (e o r) (a) (k o s)                          // defn of composition
   = (k o s) (r (a))                              // defn of e
   = k (s (r (a)))                                // defn of composition
   = (e o (s o r)) (a) (k)                        // defn of e
   = CPS (s o r) (a) (k)                          // defn of CPS</pre>
<p>so</p>
<pre>   CPS (s) &gt;&gt;= CPS (r)    =    CPS (s o r).</pre>
</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=387&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/06/23/functors-and-monads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>The first 220 milliseconds of an https connection</title>
		<link>http://reperiendi.wordpress.com/2009/06/12/the-first-220-milliseconds-of-an-https-connection/</link>
		<comments>http://reperiendi.wordpress.com/2009/06/12/the-first-220-milliseconds-of-an-https-connection/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:02:27 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=385</guid>
		<description><![CDATA[http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=385&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html">http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/385/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=385&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/06/12/the-first-220-milliseconds-of-an-https-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>My talk at Perimeter Institute</title>
		<link>http://reperiendi.wordpress.com/2009/06/11/my-talk-at-perimeter-institute/</link>
		<comments>http://reperiendi.wordpress.com/2009/06/11/my-talk-at-perimeter-institute/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:30:57 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=382</guid>
		<description><![CDATA[I spent last week at the Perimeter Institute, a Canadian institute founded by Mike Lazaridis (CEO of RIM, maker of the BlackBerry) that sponsors research in cosmology, particle physics, quantum foundations, quantum gravity, quantum information theory, and superstring theory.  The conference, Categories, Quanta, Concepts, was organized by Bob Coecke and Andreas Döring.  There [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=382&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I spent last week at the <a href="http://www.perimeterinstitute.ca/">Perimeter Institute</a>, a Canadian institute founded by <a href="http://en.wikipedia.org/wiki/Mike_Lazaridis">Mike Lazaridis</a> (CEO of RIM, maker of the BlackBerry) that sponsors research in cosmology, particle physics, quantum foundations, quantum gravity, quantum information theory, and superstring theory.  The conference, <a href="http://www.perimeterinstitute.ca/Events/Categories,_Quanta,_Concepts/Categories,_Quanta,_Concepts_(CQC)/">Categories, Quanta, Concepts</a>, was organized by <a href="http://www.comlab.ox.ac.uk/people/bob.coecke/">Bob Coecke</a> and <a href="http://www3.imperial.ac.uk/theoreticalphysics/people/postdocs">Andreas Döring</a>.  There were lots of great talks, all of which can be found <a href="http://pirsa.org/C09008">online</a>, and lots of good discussion and presentations, which unfortunately can&#8217;t.  (But see <a href="http://theoreticalatlas.wordpress.com/2009/06/08/my-talk-at-categories-quanta-concepts/">Jeff Morton&#8217;s comments</a>.)  <a href="http://pirsa.org/09060022/">My talk</a> was on the <a href="http://arxiv.org/abs/0903.0340">Rosetta Stone paper</a> I co-authored with <a href="http://math.ucr.edu/home/baez">Dr. Baez</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=382&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/06/11/my-talk-at-perimeter-institute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8216;t Hooft, Baez on becoming a good theoretical physicist</title>
		<link>http://reperiendi.wordpress.com/2009/04/24/t-hooft-baez-on-becoming-a-good-theoretical-physicist/</link>
		<comments>http://reperiendi.wordpress.com/2009/04/24/t-hooft-baez-on-becoming-a-good-theoretical-physicist/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 07:34:48 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=379</guid>
		<description><![CDATA[Nobel Laureate Gerard &#8216;t Hooft: Stuff you need to know in order to do theoretical physics, with links to sites &#38; papers that teach it
My advisor, John Baez:  How to teach stuff, Lists of good books for learning the necessary math &#38; physics
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=379&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Nobel Laureate Gerard &#8216;t Hooft: <a href="http://www.phys.uu.nl/~thooft/theorist.html">Stuff you need to know in order to do theoretical physics, with links to sites &amp; papers that teach it</a></p>
<p>My advisor, John Baez:  <a href="http://math.ucr.edu/home/baez/teaching.html">How to teach stuff</a>, <a href="http://math.ucr.edu/home/baez/books.html">Lists of good books for learning the necessary math &amp; physics</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=379&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/04/24/t-hooft-baez-on-becoming-a-good-theoretical-physicist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Good object oriented coding practices = object-capability security</title>
		<link>http://reperiendi.wordpress.com/2009/04/07/good-object-oriented-coding-practices-object-capability-security/</link>
		<comments>http://reperiendi.wordpress.com/2009/04/07/good-object-oriented-coding-practices-object-capability-security/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 19:51:59 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=376</guid>
		<description><![CDATA[


OOP idea
Corresponding attribute of the
Principle of least authority


Separation of duties
Separation of Authority


Information hiding
Integrity


Message passing
Authorization


Dependency injection
Authority injection



An analogy from Mike Samuel, the Caja Tech Lead.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=376&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><table border="1">
<tbody>
<tr>
<td>OOP idea</td>
<td>Corresponding attribute of the<br />
Principle of least authority</td>
</tr>
<tr>
<td>Separation of duties</td>
<td>Separation of Authority</td>
</tr>
<tr>
<td><a href="http://en.wikipedia.org/wiki/Information_hiding">Information hiding</a></td>
<td><a href="http://en.wikipedia.org/wiki/Encapsulation_(computer_science)">Integrity</a></td>
</tr>
<tr>
<td><a href="http://en.wikipedia.org/wiki/Message_passing#Influences_on_other_programming_models">Message passing</a></td>
<td>Authorization</td>
</tr>
<tr>
<td><a href="http://en.wikipedia.org/wiki/Dependency_injection">Dependency injection</a></td>
<td>Authority injection</td>
</tr>
</tbody>
</table>
<p>An analogy from Mike Samuel, the Caja Tech Lead.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=376&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/04/07/good-object-oriented-coding-practices-object-capability-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Great flash tutorial</title>
		<link>http://reperiendi.wordpress.com/2009/04/02/great-flash-tutorial/</link>
		<comments>http://reperiendi.wordpress.com/2009/04/02/great-flash-tutorial/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 19:42:13 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=374</guid>
		<description><![CDATA[http://www.kongregate.com/labs
Also http://www.kongregate.com/forums/11/topics/23746 for doing it all with free tools.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=374&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.kongregate.com/labs">http://www.kongregate.com/labs</a></p>
<p>Also <a href="http://www.kongregate.com/forums/11/topics/23746">http://www.kongregate.com/forums/11/topics/23746</a> for doing it all with free tools.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/374/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/374/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/374/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=374&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/04/02/great-flash-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>One-liner webserver</title>
		<link>http://reperiendi.wordpress.com/2009/03/30/one-liner-webserver/</link>
		<comments>http://reperiendi.wordpress.com/2009/03/30/one-liner-webserver/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 23:51:21 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=369</guid>
		<description><![CDATA[mkfifo backpipe; while true; do head -1 backpipe &#124; (echo -n .; cut -f2 -d\ ) &#124; xargs -L1 cat &#124; nc -l 8080 &#62; backpipe; done;
This is for a mac; for netcat on linux you&#8217;d say nc -l -p 8080.  Note that this is in no way secure!  A directory traversal attack [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=369&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p><code>mkfifo backpipe; while true; do head -1 backpipe | (echo -n .; cut -f2 -d\ ) | xargs -L1 cat | nc -l 8080 &gt; backpipe; done;</code></p></blockquote>
<p>This is for a mac; for netcat on linux you&#8217;d say <code>nc -l -p 8080</code>.  Note that this is in no way secure!  A directory traversal attack is the most obvious one; there&#8217;s probably an injection attack, too.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=369&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/03/30/one-liner-webserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Syntactic string diagrams</title>
		<link>http://reperiendi.wordpress.com/2009/01/24/syntactic-string-diagrams/</link>
		<comments>http://reperiendi.wordpress.com/2009/01/24/syntactic-string-diagrams/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 06:02:47 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=335</guid>
		<description><![CDATA[I hit on the idea of making lambda a node in a string diagram, where its inputs are an antivariable and a term in which the variable is free, and its output is the same term, but in which the variable is bound.  This allows a string diagram notation for lambda calculus that is much [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=335&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I hit on the idea of making lambda a node in a string diagram, where its inputs are an antivariable and a term in which the variable is free, and its output is the same term, but in which the variable is bound.  This allows a string diagram notation for lambda calculus that is much closer to the syntactical description than the stuff in our <a href="http://math.ucr.edu/home/baez/rosetta.pdf">Rosetta Stone paper</a>.  Doing it this way makes it easy to also do <a href="http://en.wikipedia.org/wiki/Pi-calculus">pi calculus</a> and <a href="http://www-sop.inria.fr/meije/personnel/Gerard.Boudol/popl97-abstract.html">blue calculus</a>.</p>
<p>There are two types, V (for variable) and T (for term).  I&#8217;ve done untyped lambda calculus, but it&#8217;s straightforward to add subscripts to the types V and T to do typed lambda calculus.  </p>
<p>There are six function symbols:</p>
<ul>
<li><img src='http://l.wordpress.com/latex.php?latex=%5Clambda%3AV%5E%2A+%5Ctimes+T+%5Cto+T.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\lambda:V^* \times T \to T.' title='\lambda:V^* \times T \to T.' class='latex' />  Lambda takes an antivariable and a term that may use the corresponding variable.</li>
<li><img src='http://l.wordpress.com/latex.php?latex=%5Ccap%3A1+%5Cto+V%5E%2A+%5Ctimes+T.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\cap:1 \to V^* \times T.' title='\cap:1 \to V^* \times T.' class='latex' />  This turns an antivariable &#8220;x&#8221; introduced by lambda into the term &#8220;x&#8221;.</li>
<li><img src='http://l.wordpress.com/latex.php?latex=A%3AT+%5Ctimes+T+%5Cto+T.&#038;bg=fff&#038;fg=222&#038;s=0' alt='A:T \times T \to T.' title='A:T \times T \to T.' class='latex' /> (Application) This takes <img src='http://l.wordpress.com/latex.php?latex=f&#038;bg=fff&#038;fg=222&#038;s=0' alt='f' title='f' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' /> and produces <img src='http://l.wordpress.com/latex.php?latex=f%28x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='f(x)' title='f(x)' class='latex' />.</li>
<li><img src='http://l.wordpress.com/latex.php?latex=%7B%5Crm+swap%7D%3AT+%5Ctimes+T+%5Cto+T+%5Ctimes+T&#038;bg=fff&#038;fg=222&#038;s=0' alt='{\rm swap}:T \times T \to T \times T' title='{\rm swap}:T \times T \to T \times T' class='latex' /></li>
<li><img src='http://l.wordpress.com/latex.php?latex=%21%3AT+%5Cto+1&#038;bg=fff&#038;fg=222&#038;s=0' alt='!:T \to 1' title='!:T \to 1' class='latex' /></li>
<li><img src='http://l.wordpress.com/latex.php?latex=%5CDelta%3AT+%5Cto+T+%5Ctimes+T.&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Delta:T \to T \times T.' title='\Delta:T \to T \times T.' class='latex' />  These two mean we can duplicate and delete terms.</li>
</ul>
<p>The <img src='http://l.wordpress.com/latex.php?latex=%5Cbeta-%5Ceta&#038;bg=fff&#038;fg=222&#038;s=0' alt='\beta-\eta' title='\beta-\eta' class='latex' /> rule is the real meat of the computation.  The &#8220;P&#8221; is an arbitrary subdiagram.  The effect is replacing the &#8220;A&#8221; application node with the &#8220;P&#8221; subdiagram, modulo some wiring.</p>
<p>I label the upwards arrows out of lambdas with a variable name in parentheses; this is just to assist in matching up the syntactical representation with the string diagram.</p>
<p>In the example, I surround part of the diagram with a dashed line; this is the part to which the <img src='http://l.wordpress.com/latex.php?latex=%5Cbeta-%5Ceta&#038;bg=fff&#038;fg=222&#038;s=0' alt='\beta-\eta' title='\beta-\eta' class='latex' /> rule applies.  Within that, I surround part with a dash-dot line; this is the subdiagram P in the rule.</p>
<p>When I do blue calculus this way, there are a few more function symbols and the relations aren&#8217;t confluent, but the flavor is very much the same.</p>
<div id="attachment_336" class="wp-caption alignnone" style="width: 1034px"><img class="size-full wp-image-336" title="String diagrams for untyped lambda calculus" src="http://reperiendi.files.wordpress.com/2009/01/lambda-calculus.jpg?w=1024&#038;h=1372" alt="String diagrams for untyped lambda calculus" width="1024" height="1372" /><p class="wp-caption-text">String diagrams for untyped lambda calculus</p></div><br />
<div id="attachment_337" class="wp-caption alignnone" style="width: 1034px"><img class="size-full wp-image-337" title="An example calculation" src="http://reperiendi.files.wordpress.com/2009/01/lambda-calc-example.jpg?w=1024&#038;h=1339" alt="An example calculation" width="1024" height="1339" /><p class="wp-caption-text">An example calculation</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=335&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/01/24/syntactic-string-diagrams/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/01/lambda-calculus.jpg" medium="image">
			<media:title type="html">String diagrams for untyped lambda calculus</media:title>
		</media:content>

		<media:content url="http://reperiendi.files.wordpress.com/2009/01/lambda-calc-example.jpg" medium="image">
			<media:title type="html">An example calculation</media:title>
		</media:content>
	</item>
		<item>
		<title>Imaginary time</title>
		<link>http://reperiendi.wordpress.com/2009/01/09/imaginary-time/</link>
		<comments>http://reperiendi.wordpress.com/2009/01/09/imaginary-time/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 20:50:28 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[General physics]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=294</guid>
		<description><![CDATA[


Statics (geometric = no time):



[xlength]
x coordinate



[X]
proportionality constant



[ylength]
y coordinate



[ylength / xlength]
slope



[X ylength^2 / xlength^2]
proportional to curvature



[X ylength^2 / xlength^2]
original shape




[X ylength^2 / xlength]
distortion


Statics (with energy):



[xlength]
x coordinate



[mass xlength / time^2]
force due to stretching spring by dx



[ylength]
y coordinate



[ylength / xlength]
slope at s



[mass ylength^2 / time^2 xlength]
stretching energy density



[mass ylength^2 / time^2 xlength]
gravitational energy density




[mass ylength^2 / time^2]
energy (dS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=294&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><table border="0">
<tbody>
<tr>
<td><span style="text-decoration:underline;">Statics (geometric = no time):</span></td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=s&#038;bg=fff&#038;fg=222&#038;s=0' alt='s' title='s' class='latex' /></td>
<td>[xlength]</td>
<td>x coordinate</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=m&#038;bg=fff&#038;fg=222&#038;s=0' alt='m' title='m' class='latex' /></td>
<td>[X]</td>
<td>proportionality constant</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=q%28s%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='q(s)' title='q(s)' class='latex' /></td>
<td>[ylength]</td>
<td>y coordinate</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=v%28s%29+%3D+%5Cfrac%7Bdq%28s%29%7D%7Bds%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='v(s) = \frac{dq(s)}{ds}' title='v(s) = \frac{dq(s)}{ds}' class='latex' /></td>
<td>[ylength / xlength]</td>
<td>slope</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=T%28s%29+%3D+%5Cint+mv%28s%29+dv%28s%29+%3D+mv%28s%29%5E2%2F2&#038;bg=fff&#038;fg=222&#038;s=0' alt='T(s) = \int mv(s) dv(s) = mv(s)^2/2' title='T(s) = \int mv(s) dv(s) = mv(s)^2/2' class='latex' /></td>
<td>[X ylength^2 / xlength^2]</td>
<td>proportional to curvature</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=V%28s%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='V(s)' title='V(s)' class='latex' /></td>
<td>[X ylength^2 / xlength^2]</td>
<td>original shape</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=S+%3D+%5Cint+%28T+%2B+V%29%28s%29+ds&#038;bg=fff&#038;fg=222&#038;s=0' alt='S = \int (T + V)(s) ds' title='S = \int (T + V)(s) ds' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+%5Cint+%5Cleft%5B+%5Cfrac%7Bm%7D%7B2%7D+%5Cleft%28%5Cfrac%7Bdq%28s%29%7D%7Bds%7D%5Cright%29%5E2+%2B+V%28s%29+%5Cright%5D+ds&#038;bg=fff&#038;fg=222&#038;s=0' alt='= \int \left[ \frac{m}{2} \left(\frac{dq(s)}{ds}\right)^2 + V(s) \right] ds' title='= \int \left[ \frac{m}{2} \left(\frac{dq(s)}{ds}\right)^2 + V(s) \right] ds' class='latex' /></td>
<td>[X ylength^2 / xlength]</td>
<td>distortion</td>
</tr>
<tr>
<td><span style="text-decoration:underline;">Statics (with energy):</span></td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=s&#038;bg=fff&#038;fg=222&#038;s=0' alt='s' title='s' class='latex' /></td>
<td>[xlength]</td>
<td>x coordinate</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=F&#038;bg=fff&#038;fg=222&#038;s=0' alt='F' title='F' class='latex' /></td>
<td>[mass xlength / time^2]</td>
<td>force due to stretching spring by dx</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=q%28s%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='q(s)' title='q(s)' class='latex' /></td>
<td>[ylength]</td>
<td>y coordinate</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=v%28s%29+%3D+%5Cfrac%7Bdq%28s%29%7D%7Bds%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='v(s) = \frac{dq(s)}{ds}' title='v(s) = \frac{dq(s)}{ds}' class='latex' /></td>
<td>[ylength / xlength]</td>
<td>slope at s</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=T%28s%29+%3D+%5Cint+Fv%28s%29+dv%28s%29+%3D+Fv%28s%29%5E2%2F2&#038;bg=fff&#038;fg=222&#038;s=0' alt='T(s) = \int Fv(s) dv(s) = Fv(s)^2/2' title='T(s) = \int Fv(s) dv(s) = Fv(s)^2/2' class='latex' /></td>
<td>[mass ylength^2 / time^2 xlength]</td>
<td>stretching energy density</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=V%28s%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='V(s)' title='V(s)' class='latex' /></td>
<td>[mass ylength^2 / time^2 xlength]</td>
<td>gravitational energy density</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=S+%3D+%5Cint+%28T+%2B+V%29%28s%29+ds&#038;bg=fff&#038;fg=222&#038;s=0' alt='S = \int (T + V)(s) ds' title='S = \int (T + V)(s) ds' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+%5Cint+%5Cleft%5B+%5Cfrac%7BF%7D%7B2%7D+%5Cleft%28%5Cfrac%7Bdq%28s%29%7D%7Bds%7D%5Cright%29%5E2+%2B+V%28s%29+%5Cright%5D+ds&#038;bg=fff&#038;fg=222&#038;s=0' alt='= \int \left[ \frac{F}{2} \left(\frac{dq(s)}{ds}\right)^2 + V(s) \right] ds' title='= \int \left[ \frac{F}{2} \left(\frac{dq(s)}{ds}\right)^2 + V(s) \right] ds' class='latex' /></td>
<td>[mass ylength^2 / time^2]</td>
<td>energy (dS = 0 at equilibrium)</td>
</tr>
<tr>
<td><span style="text-decoration:underline;">Dynamics (<img src='http://l.wordpress.com/latex.php?latex=%5Cunderline%7Bs+%5Cmapsto+t%2C+ds+%5Cmapsto+i%5C%2C+dt%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\underline{s \mapsto t, ds \mapsto i\, dt}' title='\underline{s \mapsto t, ds \mapsto i\, dt}' class='latex' />):</span></td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=t&#038;bg=fff&#038;fg=222&#038;s=0' alt='t' title='t' class='latex' /></td>
<td>[time]</td>
<td>time</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=m&#038;bg=fff&#038;fg=222&#038;s=0' alt='m' title='m' class='latex' /></td>
<td>[mass]</td>
<td>mass</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=q%28t%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='q(t)' title='q(t)' class='latex' /></td>
<td>[ylength]</td>
<td>y coordinate</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=v%28t%29+%3D+%5Cfrac%7Bdq%28t%29%7D%7Bi+dt%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='v(t) = \frac{dq(t)}{i dt}' title='v(t) = \frac{dq(t)}{i dt}' class='latex' /></td>
<td>[ylength / i time]</td>
<td>i * velocity</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=T%28t%29+%3D+mv%28t%29%5E2%2F2+&#038;bg=fff&#038;fg=222&#038;s=0' alt='T(t) = mv(t)^2/2 ' title='T(t) = mv(t)^2/2 ' class='latex' /></td>
<td>[mass ylength^2 / time^2]</td>
<td>kinetic energy</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=V%28t%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='V(t)' title='V(t)' class='latex' /></td>
<td>[mass ylength^2 / time^2]</td>
<td>potential energy</td>
</tr>
<tr>
<td><img src='http://l.wordpress.com/latex.php?latex=S+%3D+%5Cint+%28T+%2B+V%29%28t%29+%28i+dt%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='S = \int (T + V)(t) (i dt)' title='S = \int (T + V)(t) (i dt)' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+%5Cint+%5Cleft%5B+%5Cfrac%7Bm%7D%7B2%7D+%5Cleft%28%5Cfrac%7Bdq%28t%29%7D%7Bi+dt%7D%5Cright%29%5E2+%2B+V%28t%29+%5Cright%5D+%28i+dt%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='= \int \left[ \frac{m}{2} \left(\frac{dq(t)}{i dt}\right)^2 + V(t) \right] (i dt)' title='= \int \left[ \frac{m}{2} \left(\frac{dq(t)}{i dt}\right)^2 + V(t) \right] (i dt)' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%3D+-i+%5Cint+%5Cleft%5B+%5Cfrac%7Bm%7D%7B2%7D+%5Cleft%28%5Cfrac%7Bdq%28t%29%7D%7Bdt%7D%5Cright%29%5E2+-+V%28t%29+%5Cright%5D+dt&#038;bg=fff&#038;fg=222&#038;s=0' alt='= -i \int \left[ \frac{m}{2} \left(\frac{dq(t)}{dt}\right)^2 - V(t) \right] dt' title='= -i \int \left[ \frac{m}{2} \left(\frac{dq(t)}{dt}\right)^2 - V(t) \right] dt' class='latex' /></td>
<td>[mass ylength^2 / i time]</td>
<td>i * action</td>
</tr>
</tbody>
</table>
<p>See also <a href="http://www.ugcs.caltech.edu/~toby/notes/time.pdf">Toby Bartels</a>&#8216; sci.physics post.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=294&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2009/01/09/imaginary-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Caja on Yahoo!</title>
		<link>http://reperiendi.wordpress.com/2008/12/16/caja-on-yahoo/</link>
		<comments>http://reperiendi.wordpress.com/2008/12/16/caja-on-yahoo/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 23:21:47 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=192</guid>
		<description><![CDATA[Here at Google, I&#8217;m working on an open-source project called Caja.  The name is Spanish for box or vault, and is pronounced &#8220;KA-hah&#8221;.
The general idea of Caja could be summed up as &#8220;virtual iFrames&#8221;.  An iFrame is a little webpage stuck inside a bigger one, like a gadget in iGoogle or YAP.  Web browsers use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=192&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here at Google, I&#8217;m working on an open-source project called <a title="Caja homepage" href="http://code.google.com/p/google-caja/" target="_blank">Caja</a>.  The name is Spanish for <em>box</em> or <em>vault</em>, and is pronounced &#8220;KA-hah&#8221;.</p>
<p>The general idea of Caja could be summed up as &#8220;virtual iFrames&#8221;.  An iFrame is a little webpage stuck inside a bigger one, like a gadget in <a href="http://www.google.com/ig" target="_blank">iGoogle</a> or <a href="http://developer.yahoo.com/yap/" target="_blank">YAP</a>.  Web browsers use a security policy called the &#8220;same-domain policy&#8221;, which means that only a web page that came from Google&#8217;s servers should be allowed to cause changes to your Google-hosted data: you don&#8217;t want to allow the <a href="http://abowman.com/google-modules/turtle/" target="_blank">&#8220;pet turtle&#8221; gadget</a> to delete all your email.  So the way iGoogle protects your email is by putting the turtle gadget on a different domain, http://gmodules.com.</p>
<p style="text-align:left;">The same-domain policy does a good job of making it hard for gadgets to work together and a mediocre job of insulating mutually suspicious gadgets from each other; <a href="http://en.wikipedia.org/wiki/Cross-site_scripting" target="_blank">cross-site scripting (XSS)</a> is a constant threat for any web site.  Making sure you properly sanitize every use of user-supplied information is like trying to avoid getting a cold while surrounded by forty sniffling kindergarteners.</p>
<p style="text-align:left;">Also, even if you do manage to prevent XSS entirely, iFrames do nothing to prevent redirecting the page: it&#8217;s trivial for a gadget to tell your web browser to go to a page that looks like the Google login page, but really sends your password to the bad guys.  All it has to do is include this line of code:</p>
<p style="text-align:center;"><span style="font-family:courier;">&lt;script&gt;window.top.location = &#8220;http://www.evil.com/phishing.html&#8221;;&lt;/script&gt;</span></p>
<p style="text-align:left;">Caja addresses all these issues.  On a gadget site like YAP, instead of sending your web browser a page with a bunch of iFrames, each of which causes your web browser to fetch a gadget, Yahoo&#8217;s server fetches the gadgets first and <em>rewrites them</em> with Caja, inserting code that looks at every operation the gadget tries to do.  It also replaces the objects that code usually has access to, like <span style="font-family:courier;">window</span> above, and replaces them with fake ones.  The fake <span style="font-family:courier;">window</span> object doesn&#8217;t have a working <span style="font-family:courier;">top.location</span> property, so the gadget can&#8217;t redirect the page.  The DOM objects sanitize strings passed to <span style="font-family:courier;">innerHTML</span> and remove script blocks, so XSS is impossible.  By letting two gadgets see the same variable, they can communicate with each other.  Outgoing links are rewritten so that they pass through Yahoo&#8217;s proxy server, where the links can be checked in real time for malware.</p>
<p style="text-align:left;">With the lauch of <a href="http://developer.yahoo.net/blog/archives/2008/12/myyahoo.html" target="_blank">My Yahoo!</a> and <a href="http://developer.yahoo.net/blog/archives/2008/12/mailapplications.html" target="_blank">Yahoo! Mail</a> gadgets, we&#8217;ve got 275 million users.  The best part is that we&#8217;re hardly mentioned anywhere: it&#8217;s so unobtrusive, that developers don&#8217;t even notice the restrictions.  (But you can read about <a href="http://developer.yahoo.com/yap/guide/caja-support.html" target="_blank">Caja on Yahoo&#8217;s site</a>.)  iGoogle&#8217;s sandbox also allows you to play with Caja today; it should go live next month, and we&#8217;re hoping to get Caja into several other Google properties as the year progresses.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=192&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/12/16/caja-on-yahoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Myths about Mormon Church support of Prop 8</title>
		<link>http://reperiendi.wordpress.com/2008/12/02/mormon-church-support-of-prop-8/</link>
		<comments>http://reperiendi.wordpress.com/2008/12/02/mormon-church-support-of-prop-8/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:57:47 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=288</guid>
		<description><![CDATA[http://www.meridianmagazine.com/critics/081202false.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=288&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.meridianmagazine.com/critics/081202false.html">http://www.meridianmagazine.com/critics/081202false.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=288&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/12/02/mormon-church-support-of-prop-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>How to misread Lord of the Rings</title>
		<link>http://reperiendi.wordpress.com/2008/11/14/how-to-misread-lord-of-the-rings/</link>
		<comments>http://reperiendi.wordpress.com/2008/11/14/how-to-misread-lord-of-the-rings/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 18:44:06 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=284</guid>
		<description><![CDATA[This was a great piece by Andrew Rilstone, that, except for on archive.org, seems to have disappeared from the internet.  So here it is again.
How to Mis-read Lord of the Rings
1: Do Balrogs have wings?
No. The Balrog is a creature of ‘shadow’, which you never get a good look at. Tolkien’s very detailed description of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=284&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This was a great piece by <a href="http://andrewrilstone.blogspot.com/">Andrew Rilstone</a>, that, except for on <a href="http://web.archive.org/web/20020203184619/http://www.aslan.demon.co.uk/misreading-LOTR.htm">archive.org</a>, seems to have disappeared from the internet.  So here it is again.<span id="more-284"></span></p>
<h1>How to Mis-read Lord of the Rings</h1>
<h2>1: Do Balrogs have wings?</h2>
<p>No. The Balrog is a creature of ‘shadow’, which you never get a good look at. Tolkien’s very detailed description of it says that it is ‘of man-shape, maybe, but greater.’ He says that ‘the shadow reached about it like two vast wings’. This has given careless readers the impression that the Balrog actually had wings: in fact, we are just intended to imagine indistinct, wing-like, swirling darkness.</p>
<h2>2: The Grotesque Adventure of the Green Goblin</h2>
<p>I remember, I remember, when I was eight or nine, going and staying with my Auntie in Warrington. This was back when British TV was still balkanized, so there was a totally different set of kids TV shows to watch. Including…including…hang on, can this be true…a cartoon of Spiderman.</p>
<p>It wasn’t actually very good, apart from the theme tune, but it blew my mind away. I’d got to know Spiderman from an obscure blotting paper comic that turned up one week in three in the newsagent: my relatives used to have to scour the neighborhood to find a copy. No one but me had heard of Spiderman. So to see it on telly…in the public domain. For a moment, heady exhilaration (what freaked me more than anything was that minor characters like J Jonah Jameson were there, badly animated as life); and then, slightly aggrieved disappointment: if Spiderman is on TV, then Spiderman is in the public domain. He’s no longer my special friend. Soon, everyone will have heard of him.</p>
<p>The director of the Spiderman TV series was, as everyone knows, a young animator named Ralph Bakeshi, who a few years later, would be making a valiant but disastrous attempt to turn Lord of the Rings into an animated feature.</p>
<p>His balrog had wings.</p>
<h2>3: Do Balrogs have wings?</h2>
<p>Yes. When Gandalf confronts the Balrog on the bridge, Tolkien distinctly says that ‘its wings were spread from wall to wall’. This is what the young people call a no-brainer.</p>
<h2>4: What did J.R.R Tolkien have to say about the Lord of the Rings movie?</h2>
<p>‘A perceptive admirer (as distinct from a great admirer) of the book would never have attempted to dramatize it. Naturally, only the simpler ingredients…are capable of presentation in this form. The play is, on the lower level of drama, tolerably good fun, especially for those who have not read the book.’</p>
<p>Essay on Fairy Stories, referring to A.A Milne&#8217;s adaptation of Wind in the Willows.</p>
<h2>5: Nine Onion Rings For The Elven Kings</h2>
<p>It’s been a weird month. You can’t pick up a paper without some high-powered journalist or lit crit guy pontificating about Lord of the Rings. Something which was once a rather secret pleasure, enjoyed by me and half a dozen of my geekier class mates is now in the public domain: you can talk about it at parties without people giving you a funny look, or saying ‘Isn’t that the one about the kids going native on the desert island?’ Heck, members of the general public know who Glorfindel is.</p>
<p>Seeing pictures of Frodo at on Burger King. It couldn’t feel stranger if this months subject for discussion on Late Review was ‘that story about the toy red Indian and the teddy bear that Andrew made up in his head when he was nine and never told anybody about.’</p>
<p>Hey, guys! Lord of the Rings is my personal fantasy world. Get out of it, will you?</p>
<h2>6: Do Balrogs have wings?</h2>
<p>No. Considering how wide the cavern is supposed to be, they would have to be ruddy big wings to literally stretch from wall to wall. It’s a metaphor, dammit.</p>
<h2>7: The Lord of the Rings/Is one of those things/If you like it you do/If you don’t, then you boo</h2>
<p>There are Tolkien fans who are horrified—traumatized, almost—by the very idea of a movie adaptation of their favorite book. As always, Usenet is my source of unbiased critical analysis.</p>
<p>On rec.arts.books.tolkien one may hear a <a href="http://groups.google.co.uk/group/rec.arts.books.tolkien/msg/8304ffc579afcb2f">mad person</a> asserting, and I quote:</p>
<p>‘The film must be judged SOLELY by a standard of absolute fidelity to the book, any deviation whatsoever constituting conclusive proof the very creation of the film was indefensible. No, I don&#8217;t expect to get through to you. But I&#8217;m RIGHT.’</p>
<p>Another <a href="http://groups.google.co.uk/group/rec.arts.books.tolkien/msg/6287b0e9c89bc75b">mad person</a> calls for a boycott of the movie because (among other reasons) thinking you can adapt the film in less than a hundred hours is tantamount to sacrilege.</p>
<p>But at the other end of the spectrum there seem to be people who are offended by the very existence of fantasy. A sensible arts critic, <a href="http://www.guardian.co.uk/Archive/Article/0,4273,4326748,00.html">Mark Lawson</a>, affects to be very surprised that he has received death threats over his stated dislike of the Lord of the Rings. In the next sentence he pretends that he thinks that it is a children’s book, that it is derived from Norse mythology, and that he can’t remember how to spell the word ‘orc’.</p>
<p>A letter writer in the Guardian uses extreme ingenuity to prove that the book is <a href="http://www.guardian.co.uk/Archive/Article/0,4273,4328269,00.html">anti-Semitic</a>, and <a href="http://books.guardian.co.uk/print/0,,4082495-99943,00.html">Phillip Pullman</a>, who should know better, continues to trot out the tired old line that all the characters are either completely good or completely evil. (To which the only possible response is ‘Well, then, you obviously didn’t get as far as the end of the first volume, did you?’)</p>
<p>It is indeed a very strange thing that people should send Lawson death threats over his opinion of a book. But it is also a very strange thing that Lawson and others should feel unable le to comment on the book without sneering about it.</p>
<p>What is it about this innocent little text which engenders such extreme reactions? Not that Lord of the Rings is without its flaws: but ‘too much description of scenery’, ‘over-use of flashbacks’ and ‘clumsy handling of the back-story’ don’t seem to be to be grounds for declaring a fatwah against it.</p>
<p>I would like to believe in Ursula Le Guin&#8217;s theory, in the essay ‘Why Americans are afraid of Dragons’: that we are dealing with an extreme sort of a literary Puritanism. The people who hate Lord of the Rings are bad people, capitalists, people who think that we should jolly well stay at home and make our first million rather than waste our time with clap trap about imaginary worlds. But this doesn’t seem to me to meet the case: some of the virulent haters of Lord of the Rings are great lovers of ‘straight’ books, and it is hard to see why reading stories about the lives of people who never lived is a notably more constructive activity (from the ‘puritan’ point of view) than reading about worlds which never existed. And it doesn’t explain quite why the demented fanaticism of the fan and the equally demented fanaticism of the detractor are so clearly mirror images of each other.</p>
<h2>8: Do Balrogs have wings?</h2>
<p>No. Let’s go through this slowly, shall we. Gandalf kills the balrog by causing it to fall from the bridge. After the fall of Gondolin, Glorfindel kills a different balrog by causing it to fall from a pinnacle of rock. This is a very strange way of killing creatures that can fly.</p>
<h2>9: What did C.S Lewis have to say about the Lord of the Rings movie?</h2>
<p>‘Perhaps we should not blame him. Perhaps the scene in the original was not ‘cinematic’, and the man was right, by the canons of his own art, in altering it. But it would have been better not to have chosen in the first place a story which could be adapted to the screen only by being ruined.’</p>
<p>Referring to the movie version of King Solomon’s Mines, in the essay ‘On Stories’ in the collection Of This and Other Worlds</p>
<h2>10: What’s a nazgul like you doing in a place like this?</h2>
<p>The Lord of the Rings is a strange book; it functions unlike almost any other novel. An awful lot of the anti- Lord of the Rings faction has never read any other fantasy book; an awful lot of Lord of the Rings fans have read almost nothing else. It is not surprising that the two groups find it hard to have a rational conversation.</p>
<p>The first weirdness about Lord of the Rings is that the story—the epic quest story and war story told from the point of the view of four Hobbits—is not really what the book is about. The point of the book is the pseudo-history which Tolkien spent 70 years creating and never finished. Put another way, the subject of the book is not Frodo, but ‘Middle-earth’ and the elves. Put an third way, the digressions, historical asides, poems, appendixes are really the point of the book.</p>
<p>Now, before I get any Mark Lawson style hate mail, let me explain what I mean. I am not saying that you have to have read Silmarillion, or even bothered with the appendixes, to appreciate and enjoy Lord of the Rings. When Elrond tells Frodo ‘Your choice is right, and though all the elf-friends of old, Hador and Hurin and Turin and Beren himself were gathered together, your seat should be among them.’ you don’t need to know who those people are to understand the scene. When Gandalf tells Merry that the Palantir was possibly forged by Feanor himself, you are quite entitled to respond ‘who he?’. My appreciation of Glorfindel’s role in the story may be enhanced by knowing what is meant by ‘a high elf’, or even by knowing that this is the same dude who winged a Balrog in Gondolin, but I don’t expect yours to be.</p>
<p>But I do contend that a major part of the enjoyment of the book is the sense that Tolkien is gradually building up a picture of an ancient world; a picture which hangs together, even if you don’t see the whole pattern. Reasonable chunks of the book can really only be understood—well, let’s say, fully understood—if you are prepared to flick back to the map; glance at the glossary, or skim the appendices.</p>
<p>Die hard Tolkien fans spend time in the small print, and fall in love with the whole sweeping history of Middle-earth: the Undying Lands, sunken Atlantis-like Numenor, the voyage of Earendal and Elrond’s parentage. Tolkien haters ignore these passages, assume that they are just ‘made up words’ that Tolkien is improvising for dramatic effect: or they get irritated by what they see as long passages of gobbledegook, and give up altogether. Not caring that Farimir’s ancestors came from Numenor or that Aragorn is re-enacting the story of Beren, they see only the surface story, and although they can see that it is quite a good story, they don’t quite see what all the shouting is about. In this sense, Tolkien fans and Tolkien detractors are almost literally reading different books.</p>
<p>I assume that the vast middle ground of people who read the book once and either quite liked it or didn’t like it very much understood what Tolkien was doing, admired it, but couldn’t quite be bothered to put in the work of getting the hang of it. And who can blame them.</p>
<h2>11: Do Balrogs Have Wings?</h2>
<p>When Gimil first sees the winged Nazgul, he thinks it might be a balrog. This is a very strange thing to think if he doesn’t believe the wee timorous beasties have wings.</p>
<h2>12: Elvish: The Vague Years</h2>
<p>Tolkien has a very strange, and I think very clever way of using description. As we all know, he describes the physical world with great—some might say painful—detail. We always know exactly what kinds of trees the hobbits are looking at. The writing of the novel kept being held up because Tolkien realized that he had made a dreadful mistake about the phases of the moon, and had to stop writing to find out how you would stew a rabbit on the march. But when it comes to talking about his fantasy creations, he is capable of being much vaguer. Artist after artist has floundered when trying to work out what the hell he meant when he said that the city of Minas Tirith looked like a ‘mountainous ship’. Wars have been declared about whether elves ears are pointed; and although a sort of received wisdom has grown up among Dungeons and Dragons players and other scholars that orcs have a vaguely porcine face, there’s nothing in the text to support this. In the Hobbit, Tolkien’s technique is journalistic: he tends to write as if he assumes that you know perfectly well what a dragon looks like, and don’t really need to be told. In the Lord of the Rings , he adopts a very suggestive style of description: hinting and implying and building up impressions, rather than offering solid, objective detail.</p>
<p>Fantasy artists are inclined to draw the ents as walking, talking trees: what Tolkien actually describes is</p>
<p>‘As tall as trolls they were, twelve feet or more in height, their strong bodies, stout as young trees, seemed to be clad with raiment or with hide of close fitting grey and brown. Their limbs were long and their hands had many fingers, their hair was stiff and their beards grey green as moss. …’</p>
<p>Tall, tree like men: this is a surprisingly un-specific description. Like any good author, Tolkien is making us do some of the work. We create the tree-men in our heads.</p>
<h2>13: Does it matter whether or not Balrogs have wings?</h2>
<p>I am fairly convinced that the Balrog which Tolkien describes is not the bat winged Miltonic demon of D&amp;D illustrations. The Balrog, like Gandalf, like Sauron a Maia, a supernatural, angelic or demonic being who chooses to wear a physical form for his own purposes. I think that this is what Tolkien means when characters seem to grow taller or otherwise change their appearances—he’s pointing to the extreme dualism of his world, where physical form is only the outward appearances of a more important spiritual reality.</p>
<p>The Wraiths have no bodies, but are only spirit; when Frodo is in the shadow world he can see the bright figure of Glorfindel, because Glorfindel is a high elf. There is technical writing in his notes about how exactly ‘body’ and ‘soul’ interact in the person of an elf, although I would feel out of my depth talking about them.</p>
<p>I think that what Tolkien wanted the Balrog to be was a creature of spirit, or shadow, which had an indistinct human shape. To the question ‘Did it have wings’ Tolkien might have answered ‘Yes, if it wanted to.’ Because the Balrog is intended to be literally indescribable, we all make different pictures of it in our head. Pictures which may, or may not, have wings.</p>
<p>The fan, almost without knowing it, has created his own balrog; Tolkien’s description is a hook on which to hang our own inner demons. In a rather complex way, Tolkien’s writing has become the basis for us to create (or maybe map out or discover) our own inner landscape of dream world. Maybe he’s dropping same heavy clues and allowing us to dredge up images from our Jungian Unconscious, if we happen to have one.</p>
<p>The sane human being, more used to the Jane Austens or the Virginia Woolfs—writers who tell you things, who describe properly, and who put the plot in the actual book itself, not in the footnotes and the margins—simply sees rather poor descriptions and move on.</p>
<p>The extreme anger which some people feel because a particular painted balrog does, or doesn’t have wings; or because Peter Jackson’s troll is the wrong color are, I think, really saying ‘Your balrog is not my balrog; it’s not the picture I’ve made in my head’.</p>
<p>To which the answer is ‘No, dear, of course it isn’t.’</p>
<p>Maybe the hippies were righter than we thought when they mis-read Lord of the Rings as a drug-soaked tale about alternative lifestyles.</p>
<h2>14: A Surreal Moment</h2>
<p>Monday 8th January. BBC Radio 4 is re-transmitting their accomplished audio version of Lord of the Rings to tie in with the movie. They were intending to transmit a trailer before the 7.00 PM episode of The Archers. But someone evidently flicked the wrong switch, and the two recordings overlapped.</p>
<p>Hence:</p>
<p>‘Dum dee dum dee dum dee dum ‘Beware Gandalf, the Nine Riders are Abroad!’ Dum dee dum de da-dah.’</p>
<p>I think that just about say it all, don’t you?</p>
<h2>15: Is Tolkien Actually Any Good?</h2>
<p>Tolkien was a consummate world builder; a pretty good creator of stories, and a rather poor novelist.</p>
<p>I don’t think that there is any precedent in the history of literature for Tolkien’s creation of Middle-earth. I sometimes like to imagine that a German shell went off above his head in 1917 and created a new world in a little closed off bit of his mind. He spent the next 55 years trying, unsuccessfully, to get it down on paper. If Tolkien is an artist and Middle-earth is the thing he created, then he is one of the very greatest artists who ever lived.</p>
<p>The trouble is, there is no single Tolkien text which embodies this Work of Art. You have to try to plough through a large number of imperfect works to get at it. An imperfect children’s story. An imperfect fantasy novel. Twelve volumes of very imperfect notes, or his son’s very imperfect guess about where those notes were going…</p>
<p>Tolkien’s natural idiom was, I think, just telling stories: ‘Once upon a time, this happened, and then this happened, and then this happened.’ He could do it in a high style, as with the stories which make up Quenta Silmarillion, or in a low style, as with the clutch of fairly stories—the Hobbit, Father Christmas Letters, Roverandum and what-not—which he made up for his children and pasted in, to a lesser or greater extent, to his mythology.</p>
<p>He was much less at home in the world of the modern, naturalistic novel. Considered as a novel—compared with Les Miserables or David Copperfield or anything else of comparable length—Lord of the Rings is rather poorly written, unevenly paced and with dialogue which is hard to believe in, even in the context of an ancient world.</p>
<p>The passages in Lord of the Rings which try to behave like ‘novels’—where more or less realistic characters have more or less realistic conversations in more or less realistic landscapes—are the parts of the book which work least well. The passages which go back to straight tale-telling (say ‘The King of the Golden Hall’) work far better. I believe in Theoden saying ‘Nay, Gandalf, you do not know your own skill in healing…’ far more than I believe in Merry and Pippin’s confessing to their well meaning conspiracy in book I.</p>
<p>I am therefore one of the minority who greatly prefers the Silmarillion, dense and tough going though it may be, to Lord of the Rings. It is pure chronicle tale-telling, this happened and then that happened. The hero of the story is Middle-earth, and it makes no concessions to the conventions of naturalistic, 20th century novels. In the Silmarillion, Tolkien is talking his native language.</p>
<h2>16: Harry Potter/Was Getting Hotter and Hotter/Until the Lord of the Rings/Changed Things</h2>
<p>There is a series of popular children’s books about a boy wizard. You may have heard of them. There was a film version of one of the books, which you almost certainly saw.</p>
<p>They are, in my opinion, absolute garbage of the lowest order, and I have read every one and cannot wait for volume five to come out. I even cried in the movie when Hermione told Harry that there were more important things than books and cleverness.</p>
<p>Everyone who saw the movie agreed: ‘The characters and the setting, they all look exactly how we imagined them.’ That’s because Rowling tells us what Hogwarts looks like; she does the work for us. It is therefore dead easy for a director to build her world on the screen and get actors to impersonate the characters.</p>
<p>When I read that Kenneth Brannagh is playing Gilderoy Lockhart in Chamber of Secrets, I said ‘Oh. Yes, I suppose he would be. Gilderoy Lockhart always did look exactly like Ken.’ With the possible exception of Gandalf, whose a bit of an archetype anyway, I sat through Lord of the Rings thinking ‘That is not Aragorn, but a totally different character who happens to be saying some of Strider’s lines.’</p>
<p>The very fact that it is possible to make a film of The Sorcerer’s Philosopher and not provoke Holy War among Potterites is, to me, proof of its triviality as fantasy. Real fantasy goes on in our heads, and what goes on in our heads can’t be translated to the screen.</p>
<p>Death threats on a post-card, please.</p>
<h2>17: Do Balrogs Have Wings?</h2>
<p>Toy Vault manufactures a reasonably nice range of non-movie related Lord of the Rings action figures. On the packaging of the Balrog model are clearly emblazoned the words: ‘with removable wings.’</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=284&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/11/14/how-to-misread-lord-of-the-rings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>The Dynabook</title>
		<link>http://reperiendi.wordpress.com/2008/11/07/the-dynabook/</link>
		<comments>http://reperiendi.wordpress.com/2008/11/07/the-dynabook/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 21:32:33 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=282</guid>
		<description><![CDATA[Alan Kay describes the personal computer back in 1972.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=282&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Alan Kay describes the <a href="http://www.mprove.de/diplom/gui/Kay72a.pdf">personal computer back in 1972</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=282&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/11/07/the-dynabook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>I finally understand the state transformer monad!</title>
		<link>http://reperiendi.wordpress.com/2008/10/29/i-finally-understand-the-state-transformer-monad/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/29/i-finally-understand-the-state-transformer-monad/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 05:43:06 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Category theory]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=267</guid>
		<description><![CDATA[It&#8217;s the monad arising from the currying adjunction between  and    attaches an environment  to :

This is the type of a function that takes a state of type  and outputs a result of type  and a new state of type . So  is the ability to depend on state [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=267&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s the monad arising from the currying adjunction between <img src='http://l.wordpress.com/latex.php?latex=FX+%3D+X+%5Ctimes+Y&#038;bg=fff&#038;fg=222&#038;s=0' alt='FX = X \times Y' title='FX = X \times Y' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=GZ+%3D+Y+%5Cmultimap+Z.&#038;bg=fff&#038;fg=222&#038;s=0' alt='GZ = Y \multimap Z.' title='GZ = Y \multimap Z.' class='latex' />  <img src='http://l.wordpress.com/latex.php?latex=GF&#038;bg=fff&#038;fg=222&#038;s=0' alt='GF' title='GF' class='latex' /> attaches an environment <img src='http://l.wordpress.com/latex.php?latex=Y&#038;bg=fff&#038;fg=222&#038;s=0' alt='Y' title='Y' class='latex' /> to <img src='http://l.wordpress.com/latex.php?latex=X&#038;bg=fff&#038;fg=222&#038;s=0' alt='X' title='X' class='latex' />:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=GFX+%3D+Y+%5Cmultimap+%28X+%5Ctimes+Y%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='GFX = Y \multimap (X \times Y)' title='GFX = Y \multimap (X \times Y)' class='latex' /></p>
<p>This is the type of a function that takes a state of type <img src='http://l.wordpress.com/latex.php?latex=Y&#038;bg=fff&#038;fg=222&#038;s=0' alt='Y' title='Y' class='latex' /> and outputs a result of type <img src='http://l.wordpress.com/latex.php?latex=X&#038;bg=fff&#038;fg=222&#038;s=0' alt='X' title='X' class='latex' /> and a new state of type <img src='http://l.wordpress.com/latex.php?latex=Y&#038;bg=fff&#038;fg=222&#038;s=0' alt='Y' title='Y' class='latex' />. So <img src='http://l.wordpress.com/latex.php?latex=G&#038;bg=fff&#038;fg=222&#038;s=0' alt='G' title='G' class='latex' /> is the ability to depend on state and <img src='http://l.wordpress.com/latex.php?latex=F&#038;bg=fff&#038;fg=222&#038;s=0' alt='F' title='F' class='latex' /> is the ability to change the state.</p>
<p>The natural transformation <img src='http://l.wordpress.com/latex.php?latex=%5Ceta%3AFG+%5CRightarrow+1%2C&#038;bg=fff&#038;fg=222&#038;s=0' alt='\eta:FG \Rightarrow 1,' title='\eta:FG \Rightarrow 1,' class='latex' /> is evaluation:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Ceta_X%3A%28Y+%5Cmultimap+X%29+%5Ctimes+X+%5Cto+X&#038;bg=fff&#038;fg=222&#038;s=0' alt='\eta_X:(Y \multimap X) \times X \to X' title='\eta_X:(Y \multimap X) \times X \to X' class='latex' /></p>
<p style="text-align:left;">takes a function and an input point and evaluates the function at that point.  So we get</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cmu%3AGFGF+%5CRightarrow+GF&#038;bg=fff&#038;fg=222&#038;s=0' alt='\mu:GFGF \Rightarrow GF' title='\mu:GFGF \Rightarrow GF' class='latex' /></p>
<p style="text-align:left;">by evaluating the <img src='http://l.wordpress.com/latex.php?latex=FG&#038;bg=fff&#038;fg=222&#038;s=0' alt='FG' title='FG' class='latex' /> in the middle, while the unit</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cepsilon%3A1+%5CRightarrow+GF&#038;bg=fff&#038;fg=222&#038;s=0' alt='\epsilon:1 \Rightarrow GF' title='\epsilon:1 \Rightarrow GF' class='latex' /></p>
<p style="text-align:left;">is just the curried identity on pairs:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brl%7D%5Cepsilon_X%3AX+%26+%5Cto+Y+%5Cmultimap+%28X+%5Ctimes+Y%29+%5C%5C+x+%26+%5Cmapsto+%5Clambda+y.%28x%2Cy%29%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rl}\epsilon_X:X &amp; \to Y \multimap (X \times Y) \\ x &amp; \mapsto \lambda y.(x,y)\end{array}' title='\begin{array}{rl}\epsilon_X:X &amp; \to Y \multimap (X \times Y) \\ x &amp; \mapsto \lambda y.(x,y)\end{array}' class='latex' /></p>
<p style="text-align:left;">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=267&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/29/i-finally-understand-the-state-transformer-monad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>I&#8217;m wishing</title>
		<link>http://reperiendi.wordpress.com/2008/10/29/im-wishing/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/29/im-wishing/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 19:27:30 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=264</guid>
		<description><![CDATA[Amazon books
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=264&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.amazon.com/gp/registry/wishlist/2HIBO1KFFVPGN">Amazon books</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=264&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/29/im-wishing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Wonderful talk on applying game design to app design</title>
		<link>http://reperiendi.wordpress.com/2008/10/27/wonderful-talk-on-applying-game-design-to-app-design/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/27/wonderful-talk-on-applying-game-design-to-app-design/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 17:39:13 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=261</guid>
		<description><![CDATA[I had an idea like this for training users on a capability-based UI.
http://lostgarden.com/2008/10/princess-rescuing-application-slides.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=261&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had an idea like this for training users on a capability-based UI.</p>
<p><a href="http://lostgarden.com/2008/10/princess-rescuing-application-slides.html">http://lostgarden.com/2008/10/princess-rescuing-application-slides.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=261&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/27/wonderful-talk-on-applying-game-design-to-app-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>You&#8217;ve got to believe me&#8230;</title>
		<link>http://reperiendi.wordpress.com/2008/10/21/youve-got-to-believe-me/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/21/youve-got-to-believe-me/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 17:11:56 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=254</guid>
		<description><![CDATA[http://www.overcomingbias.com/2007/10/do-we-believe-e.html
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=254&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.overcomingbias.com/2007/10/do-we-believe-e.html">http://www.overcomingbias.com/2007/10/do-we-believe-e.html</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=254&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/21/youve-got-to-believe-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>William&#8217;s witticisms</title>
		<link>http://reperiendi.wordpress.com/2008/10/18/williams-witticisms/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/18/williams-witticisms/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 04:27:13 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=251</guid>
		<description><![CDATA[I was running an I jumped over a plate an I dint crack my head!  I&#8217;n't that amazing? I went weeeooo squlksh an I falled in some applesauce.
I have a swim head.  My head pops off an I have a swim body.
(William rubs Bruce&#8217;s feet.)
Bruce: That feels good!
William: You say funny words!
Wm: Ba&#8217;guys [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=251&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was running an I jumped over a plate an I dint crack my head!  I&#8217;n't that amazing? I went weeeooo squlksh an I falled in some applesauce.</p>
<p>I have a swim head.  My head pops off an I have a swim body.</p>
<p>(William rubs Bruce&#8217;s feet.)<br />
Bruce: That feels good!<br />
William: You say funny words!</p>
<p>Wm: Ba&#8217;guys punch people.<br />
MJ: Are you a bad guy?  You kicked Aidan.<br />
Wm: Ba&#8217;guys don&#8217;t kick.</p>
<p>Marty (pretending to sword fight): ching ching! Ching!<br />
Wm: (<a href="http://www.lds.org/churchmusic/detailmusicPlayer/index.html?searchlanguage=1&amp;searchcollection=2&amp;searchseqstart=253&amp;searchsubseqstart=a&amp;searchseqend=253&amp;searchsubseqend=a" target="_blank">sings</a>)  Ching, ching, ching!  I love to ching!</p>
<p>Wm (running downstairs to us):  I&#8217;m NAKED!<br />
MJ: We noticed.<br />
Wm: Yeah.  It&#8217;s funny.  HA HA HA HA!</p>
<p>Mike (noticing Martin&#8217;s blue lip):  Did you drink the gatorade we told you not to drink?<br />
Marty: William gave it to me and said I should drink it and I drank it.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=251&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/18/williams-witticisms/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>PhD</title>
		<link>http://reperiendi.wordpress.com/2008/10/10/phd-2/</link>
		<comments>http://reperiendi.wordpress.com/2008/10/10/phd-2/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 00:48:20 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=240</guid>
		<description><![CDATA[I&#8217;ll be categorifying the lambda calculus.  The nicest way of doing this would be to develop a good notion of a 2-theory, of which &#8220;the theory of a cartesian closed category&#8221; would be one example.  It&#8217;s already known how to do this for cartesian categories: the kind of 2-theory has products itself, and has one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=240&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ll be categorifying the lambda calculus.  The nicest way of doing this would be to develop a good notion of a 2-theory, of which &#8220;the theory of a cartesian closed category&#8221; would be one example.  It&#8217;s already known how to do this for cartesian categories: the kind of 2-theory has products itself, and has one type, <img src='http://l.wordpress.com/latex.php?latex=C%3B&#038;bg=fff&#038;fg=222&#038;s=0' alt='C;' title='C;' class='latex' /> a morphism <img src='http://l.wordpress.com/latex.php?latex=C+%5Ctimes+C+%5Cto+C&#038;bg=fff&#038;fg=222&#038;s=0' alt='C \times C \to C' title='C \times C \to C' class='latex' /> for the product in C and a morphism <img src='http://l.wordpress.com/latex.php?latex=I+%5Cto+C&#038;bg=fff&#038;fg=222&#038;s=0' alt='I \to C' title='I \to C' class='latex' /> for the unit; and several 2-morphisms for the diagrams.</p>
<p>Closed categories, however, need some notion of &#8220;op,&#8221; which is contravariant.  Figuring out the nicest way of doing this will be some fun research.  Paul Mellies has some ideas.</p>
<p>Hopefully, this kind of 2-theory will also let me talk about things like the blue calculus or Tyler Close&#8217;s web calculus (where objects are web services and POST is method invocation; lambda terms are stateless objects responding to the unique &#8220;call&#8221; method) that he uses in waterken.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=240&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/10/10/phd-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>The best of the worst</title>
		<link>http://reperiendi.wordpress.com/2008/08/13/the-best-of-the-worst/</link>
		<comments>http://reperiendi.wordpress.com/2008/08/13/the-best-of-the-worst/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 22:39:45 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Fun links]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=226</guid>
		<description><![CDATA[Bad writing competition winners.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=226&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.bulwer-lytton.com/lyttony.htm" target="_blank">Bad writing competition winners.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/226/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/226/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=226&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/08/13/the-best-of-the-worst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Blue cell</title>
		<link>http://reperiendi.wordpress.com/2008/08/11/blue-cell/</link>
		<comments>http://reperiendi.wordpress.com/2008/08/11/blue-cell/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 02:17:53 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=215</guid>
		<description><![CDATA[It&#8217;s not immediately obvious how the blue calculus lets you do object references, so here&#8217;s a worked example.
I&#8217;m going to define a process, called Reference, that takes a new variable and turns it into an object reference.  Because it&#8217;s easier to type, I&#8217;m going to use \ for lambda and v for nu, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=215&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s not immediately obvious how the blue calculus lets you do object references, so here&#8217;s a worked example.</p>
<p>I&#8217;m going to define a process, called Reference, that takes a new variable and turns it into an object reference.  Because it&#8217;s easier to type, I&#8217;m going to use \ for lambda and v for nu, and when I apply a term to something other than a variable, you&#8217;re supposed to do the embedding from lambda calculus into blue calculus in your head.  I&#8217;m leaving it out because the embedding behaves the same as lambda calculus and things are confusing enough as it is.</p>
<blockquote><p>Reference = \ref.vc.( c | c = \x.(ref &lt;= Pair c (x | cx)) )</p></blockquote>
<p>Notice the Pair combinator (Pair = \xyz.zxy); it&#8217;s being applied to two processes that function like write and read, respectively, and is waiting for a third; if the third input is K, we get Kxy = x, and if it&#8217;s KI, we get KIxy = Iy = y.</p>
<p>You create an object by feeding it a variable for the reference and an initial state:</p>
<blockquote><p>Reference ref u = vc.(cu | c = \x.(ref &lt;= Pair c (x | cx)))</p></blockquote>
<p>Now if you have a reference with some state in parallel with a writer process, it updates the state:</p>
<blockquote><p>(Reference ref u | ref K w)<br />
= ( vc.(cu | c = \x.(ref &lt;= Pair c (x | cx))) | ref K w )<br />
= vc.(cu | c = \x.(ref &lt;= Pair c (x | cx)) | ref K w ) [by scope migration]<br />
= vc.(\x.(ref &lt;= Pair c (x | cx)) u | c = \x.(ref &lt;= Pair c (x | cx)) | ref K w ) [by resource fetching on c]<br />
= vc.(ref &lt;= Pair c (u | cu) | c = \x.(ref &lt;= Pair c (x | cx)) | ref K w ) [by small beta reduction on u]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | Pair c (u | cu) K w ) [by resource fetching on ref]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | K c (u | cu) w ) [by definition of Pair = \xyz.zxy]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | cw ) [by definition of K = \xy.x]<br />
= vc.(cw | c = \x.(ref &lt;= Pair c (x | cx))) [by symmetry of |]<br />
= Reference ref w</p></blockquote>
<p>Similarly, if you put it in parallel with a reader process, </p>
<blockquote><p>(Reference ref u | ref KI w x y &#8230; z )<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | K I c (u | cu) w x y &#8230; z) [by the same as above]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | I (u | cu) w x y &#8230; z) [by the definition of K]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | (u | cu) w x y &#8230; z) [by the definition of I]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | cuwxy&#8230;z) [by distributivity]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | \x.(ref &lt;= Pair c (x | cx)) uwxy&#8230;z) [by resource fetching on c]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | (ref &lt;= Pair c (u | cu)) wxy&#8230;z) [by small beta reduction on u]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | (ref &lt;= Pair c (u | cu))) [by small beta reduction on w, x, y, ..., z]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | \x.(ref &lt;= Pair c (x | cx)) u) [by extensionality]<br />
= vc.(c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z | cu) [by extensionality]<br />
= vc.(cu | c = \x.(ref &lt;= Pair c (x | cx)) | uwxy&#8230;z) [by extensionality]<br />
= (Reference ref u | uwxy&#8230;z)</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/215/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/215/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=215&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/08/11/blue-cell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Blue calculus</title>
		<link>http://reperiendi.wordpress.com/2008/08/03/blue-calculus/</link>
		<comments>http://reperiendi.wordpress.com/2008/08/03/blue-calculus/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 23:41:34 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=183</guid>
		<description><![CDATA[
The lambda calculus is a Turing-complete language, but doesn&#8217;t handle concurrency very well; in particular, there&#8217;s no concept of a reference as opposed to a value.  The lambda calculus has three productions:

The first production, , is a variable; the second is an application of one term to another; and the third is abstraction.
The beta-reduction rule [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=183&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:left;">
<p style="text-align:left;">The lambda calculus is a Turing-complete language, but doesn&#8217;t handle concurrency very well; in particular, there&#8217;s no concept of a <em>reference</em> as opposed to a <em>value</em>.  The lambda calculus has three productions:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=P+%3A%3D+x+%5C%3B%7C%5C%3B+%28P+P%29+%5C%3B%7C%5C%3B+%5Clambda+x.P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P := x \;|\; (P P) \;|\; \lambda x.P' title='P := x \;|\; (P P) \;|\; \lambda x.P' class='latex' /></p>
<p style="text-align:left;">The first production, <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' />, is a variable; the second is an application of one term to another; and the third is abstraction.</p>
<p style="text-align:left;">The beta-reduction rule says</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28%28%5Clambda+x.P%29%5C%3B+P%27%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='((\lambda x.P)\; P&#039;)' title='((\lambda x.P)\; P&#039;)' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5CDownarrow&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Downarrow' title='\Downarrow' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=P%5BP%27%2Fx%5D&#038;bg=fff&#038;fg=222&#038;s=0' alt='P[P&#039;/x]' title='P[P&#039;/x]' class='latex' /> if the variables in <img src='http://l.wordpress.com/latex.php?latex=P%27&#038;bg=fff&#038;fg=222&#038;s=0' alt='P&#039;' title='P&#039;' class='latex' /> are all free in <img src='http://l.wordpress.com/latex.php?latex=P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P' title='P' class='latex' />.</p>
<p style="text-align:left;">The part in brackets reads &#8220;with <img src='http://l.wordpress.com/latex.php?latex=P%27&#038;bg=fff&#038;fg=222&#038;s=0' alt='P&#039;' title='P&#039;' class='latex' /> replacing <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' />.&#8221;  There are different <a href="http://en.wikipedia.org/wiki/Evaluation_strategy" target="_blank">evaluation strategies</a> that one can use with the lambda calculus; one strategy that always reduces the term to its normal form if it has one is called &#8220;<a href="http://en.wikipedia.org/wiki/Lazy_evaluation" target="_blank">lazy evaluation</a>.&#8221;  With this strategy, you only reduce a term if it&#8217;s necessary to do so.</p>
<p style="text-align:left;">The <a href="http://www-sop.inria.fr/meije/personnel/Gerard.Boudol/blue.html">blue calculus</a> builds this strategy into the language.  Here is an application term in the blue calculus:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cnu+x.%28%28P%5C%3B+x%29+%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+P%27%29%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\nu x.((P\; x) \;|\; (x \Leftarrow P&#039;))' title='\nu x.((P\; x) \;|\; (x \Leftarrow P&#039;))' class='latex' /></p>
<p style="text-align:left;">Blue calculus splits application into four parts, or &#8220;processes&#8221;:</p>
<ol>
<li>a &#8220;small&#8221; application
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28P%5C%3B+x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(P\; x)' title='(P\; x)' class='latex' /></p>
<p style="text-align:left;">in which a term <img src='http://l.wordpress.com/latex.php?latex=P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P' title='P' class='latex' /> may only be applied to a variable <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' />;</p>
</li>
<li>a resource assignment
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=x+%5CLeftarrow+P&#038;bg=fff&#038;fg=222&#038;s=0' alt='x \Leftarrow P' title='x \Leftarrow P' class='latex' /></p>
<p style="text-align:left;">in which a variable <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' /> is associated to a one-time use of the term <img src='http://l.wordpress.com/latex.php?latex=P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P' title='P' class='latex' />;</p>
</li>
<li>a new variable declaration
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cnu+x.P&#038;bg=fff&#038;fg=222&#038;s=0' alt='\nu x.P' title='\nu x.P' class='latex' /></p>
<p style="text-align:left;">that introduces a new bound variable into scope; and</p>
</li>
<li>a symmetric monoidal product of terms, thought of as &#8220;parallel processes&#8221;
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=P+%5C%3B%7C%5C%3B+P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P \;|\; P' title='P \;|\; P' class='latex' /></p>
<p style="text-align:left;">The monoidal unit here is the &#8220;do-nothing&#8221; term <img src='http://l.wordpress.com/latex.php?latex=%28%5Cnu+x.x%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\nu x.x)' title='(\nu x.x)' class='latex' />.</p>
</li>
</ol>
<p style="text-align:left;">Blue calculus also splits beta reduction into two parts:</p>
<ol>
<li>a &#8220;small&#8221; beta reduction
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28%28%5Clambda+x.P%29%5C%3B+x%27%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='((\lambda x.P)\; x&#039;)' title='((\lambda x.P)\; x&#039;)' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5CDownarrow&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Downarrow' title='\Downarrow' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=P%5Bx%27%2Fx%5D&#038;bg=fff&#038;fg=222&#038;s=0' alt='P[x&#039;/x]' title='P[x&#039;/x]' class='latex' /> if <img src='http://l.wordpress.com/latex.php?latex=x%27&#038;bg=fff&#038;fg=222&#038;s=0' alt='x&#039;' title='x&#039;' class='latex' /> is free in <img src='http://l.wordpress.com/latex.php?latex=P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P' title='P' class='latex' />;</p>
</li>
<li>and a resource fetching rule that gets the value of a variable only when it&#8217;s needed
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28%5Cldots+%28%28x%5C%3By_0%29%5C%3B+y_1%29%5C%3B+%5Cldots+%5C%3By_%7Bn-1%7D%29+%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+P%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\ldots ((x\;y_0)\; y_1)\; \ldots \;y_{n-1}) \;|\; (x \Leftarrow P)' title='(\ldots ((x\;y_0)\; y_1)\; \ldots \;y_{n-1}) \;|\; (x \Leftarrow P)' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5CDownarrow&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Downarrow' title='\Downarrow' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28%5Cldots+%28%28P%5C%3B+y_0%29%5C%3B+y_1%29%5C%3B+%5Cldots+%5C%3B+y_%7Bn-1%7D%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(\ldots ((P\; y_0)\; y_1)\; \ldots \; y_{n-1})' title='(\ldots ((P\; y_0)\; y_1)\; \ldots \; y_{n-1})' class='latex' />.</p>
</li>
</ol>
<p style="text-align:left;">By splitting things up this way, the blue calculus allows patterns like nondeterministic choice.  The blue calculus term</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28x%5C%3B+y%29+%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+P%29+%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+Q%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(x\; y) \;|\; (x \Leftarrow P) \;|\; (x \Leftarrow Q)' title='(x\; y) \;|\; (x \Leftarrow P) \;|\; (x \Leftarrow Q)' class='latex' /></p>
<p style="text-align:left;">has two valid reductions,</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28P%5C%3B+y%29++%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+Q%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(P\; y)  \;|\; (x \Leftarrow Q)' title='(P\; y)  \;|\; (x \Leftarrow Q)' class='latex' /></p>
<p style="text-align:left;">or</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28Q%5C%3B+y%29++%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+P%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(Q\; y)  \;|\; (x \Leftarrow P)' title='(Q\; y)  \;|\; (x \Leftarrow P)' class='latex' />.</p>
<p style="text-align:left;">It also allows for resource contention; here, the resource assignment acts as a <a href="http://en.wikipedia.org/wiki/Mutex" target="_blank">mutex</a>:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28x%5C%3B+y%29+%5C%3B%7C%5C%3B+%28x%5C%3B+z%29+%5C%3B%7C%5C%3B+%28x%5C%3B+%5CLeftarrow+P%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(x\; y) \;|\; (x\; z) \;|\; (x\; \Leftarrow P)' title='(x\; y) \;|\; (x\; z) \;|\; (x\; \Leftarrow P)' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5CDownarrow&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Downarrow' title='\Downarrow' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28P%5C%3B+y%29+%5C%3B%7C%5C%3B+%28x%5C%3B+z%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(P\; y) \;|\; (x\; z)' title='(P\; y) \;|\; (x\; z)' class='latex' /> or <img src='http://l.wordpress.com/latex.php?latex=%28x%5C%3B+y%29+%5C%3B%7C%5C%3B+%28P%5C%3B+z%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(x\; y) \;|\; (P\; z)' title='(x\; y) \;|\; (P\; z)' class='latex' />.</p>
<p style="text-align:left;">The application term <img src='http://l.wordpress.com/latex.php?latex=%5Cnu+k.%28%28%5Clambda+x.P%29%5C%3B+k%29+%5C%3B%7C%5C%3B+%28k+%5CLeftarrow+P%27%29%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='\nu k.((\lambda x.P)\; k) \;|\; (k \Leftarrow P&#039;))' title='\nu k.((\lambda x.P)\; k) \;|\; (k \Leftarrow P&#039;))' class='latex' /> is a <em>linear</em> term. If the term <img src='http://l.wordpress.com/latex.php?latex=P&#038;bg=fff&#038;fg=222&#038;s=0' alt='P' title='P' class='latex' /> uses <img src='http://l.wordpress.com/latex.php?latex=x&#038;bg=fff&#038;fg=222&#038;s=0' alt='x' title='x' class='latex' /> more than once, then only the first usage will be able to fetch the resource: a resource assignment is consumed by the small beta rule.  However, the blue calculus also supports resource replication:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=x+%3D+P&#038;bg=fff&#038;fg=222&#038;s=0' alt='x = P' title='x = P' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5CUpdownarrow&#038;bg=fff&#038;fg=222&#038;s=0' alt='\Updownarrow' title='\Updownarrow' class='latex' /></p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28x+%5CLeftarrow+P%29+%5C%3B%7C%5C%3B+%28x+%3D+P%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='(x \Leftarrow P) \;|\; (x = P)' title='(x \Leftarrow P) \;|\; (x = P)' class='latex' /></p>
<p style="text-align:left;">This allows the blue calculus to subsume both the lambda calculus and the pi calculus in a nice way.  Blue terms are formed as follows:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=P+%3A%3D+x+%5C%3B%7C%5C%3B+%28P%5C%3B+x%29+%5C%3B%7C%5C%3B+%5Clambda+x.P+%5C%3B%7C%5C%3B+%5Cnu+x.P+%5C%3B%7C%5C%3B+%28x+%5CLeftarrow+P%29+%5C%3B%7C%5C%3B+%28x+%3D+P%29+%5C%3B%7C%5C%3B+%28P%7CP%29&#038;bg=fff&#038;fg=222&#038;s=0' alt='P := x \;|\; (P\; x) \;|\; \lambda x.P \;|\; \nu x.P \;|\; (x \Leftarrow P) \;|\; (x = P) \;|\; (P|P)' title='P := x \;|\; (P\; x) \;|\; \lambda x.P \;|\; \nu x.P \;|\; (x \Leftarrow P) \;|\; (x = P) \;|\; (P|P)' class='latex' /></p>
<p style="text-align:left;">Lambda terms embed like this:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7D+%5Bx%5D+%26+%5CRightarrow+%26+x+%5C%5C+%7E%5B%5Clambda+x.M%5D+%26+%5CRightarrow+%26+%5Clambda+x.%5BM%5D+%5C%5C+%7E%5BMN%5D+%26%5CRightarrow+%26+%5Cnu+u.%28%5BM%5Du+%5C%3B%7C%5C%3B+%28u+%3D+%5BN%5D%29%29+%5Cquad+%5Cmbox%7Bwhere+%7D+u+%5Cmbox%7B+does+not+appear+in+%7D+M+%5Cmbox%7B+or+%7D+N%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rcl} [x] &amp; \Rightarrow &amp; x \\ ~[\lambda x.M] &amp; \Rightarrow &amp; \lambda x.[M] \\ ~[MN] &amp;\Rightarrow &amp; \nu u.([M]u \;|\; (u = [N])) \quad \mbox{where } u \mbox{ does not appear in } M \mbox{ or } N\end{array}' title='\begin{array}{rcl} [x] &amp; \Rightarrow &amp; x \\ ~[\lambda x.M] &amp; \Rightarrow &amp; \lambda x.[M] \\ ~[MN] &amp;\Rightarrow &amp; \nu u.([M]u \;|\; (u = [N])) \quad \mbox{where } u \mbox{ does not appear in } M \mbox{ or } N\end{array}' class='latex' /></p>
<p style="text-align:left;">Pi terms embed like this:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7D+%5B%5Cbar%7Bu%7Dx_1%5Cldots+x_n%5D+%26+%5CRightarrow+%26+ux_1%5Cldots+x_n+%5C%5C+%7E%5Bux_1%5Cldots+x_n.P%5D+%26+%5CRightarrow+%26+%28u+%5CLeftarrow+%5Clambda+x_1%5Cldots+x_n.P%29+%5C%5C+%7E%5B%28P+%5C%3B%7C%5C%3B+Q%29%5D+%26+%5CRightarrow+%26+%28%5BP%5D+%5C%3B%7C%5C%3B+%5BQ%5D%29+%5C%5C+%7E%5B%5Cnu+u.P%5D+%26+%5CRightarrow+%26+%5Cnu+u.%5BP%5D+%5Cend%7Barray%7D&#038;bg=fff&#038;fg=222&#038;s=0' alt='\begin{array}{rcl} [\bar{u}x_1\ldots x_n] &amp; \Rightarrow &amp; ux_1\ldots x_n \\ ~[ux_1\ldots x_n.P] &amp; \Rightarrow &amp; (u \Leftarrow \lambda x_1\ldots x_n.P) \\ ~[(P \;|\; Q)] &amp; \Rightarrow &amp; ([P] \;|\; [Q]) \\ ~[\nu u.P] &amp; \Rightarrow &amp; \nu u.[P] \end{array}' title='\begin{array}{rcl} [\bar{u}x_1\ldots x_n] &amp; \Rightarrow &amp; ux_1\ldots x_n \\ ~[ux_1\ldots x_n.P] &amp; \Rightarrow &amp; (u \Leftarrow \lambda x_1\ldots x_n.P) \\ ~[(P \;|\; Q)] &amp; \Rightarrow &amp; ([P] \;|\; [Q]) \\ ~[\nu u.P] &amp; \Rightarrow &amp; \nu u.[P] \end{array}' class='latex' /></p>
<p style="text-align:left;">There are reduction rules for scope migration, associativity, distributivity, replication, and so forth; see the paper for more details.</p>
<p style="text-align:left;">The upshot of all this is that blue calculus variables are really references, and so one can build the whole theory of concurrent objects on top of it.</p>
<p style="text-align:left;">
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/183/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/183/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=183&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/08/03/blue-calculus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>PhD</title>
		<link>http://reperiendi.wordpress.com/2008/07/30/phd/</link>
		<comments>http://reperiendi.wordpress.com/2008/07/30/phd/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 16:54:21 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=188</guid>
		<description><![CDATA[&#8220;I&#8217;m pleased to let you know that the Board of Graduate Studies has approved your registration as a candidate of the degree of Doctor of Philosophy&#8230;&#8221;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=188&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8220;I&#8217;m pleased to let you know that the Board of Graduate Studies has approved your registration as a candidate of the degree of Doctor of Philosophy&#8230;&#8221;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/188/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/188/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=188&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/07/30/phd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Hou tu pranownse Inglish</title>
		<link>http://reperiendi.wordpress.com/2008/06/17/hou-tu-pranownse-inglish/</link>
		<comments>http://reperiendi.wordpress.com/2008/06/17/hou-tu-pranownse-inglish/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 23:49:42 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Fun links]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=186</guid>
		<description><![CDATA[There are rules for pronouncing American English given the spelling; there are just a lot of them, and they&#8217;re ugly.  No one&#8217;s going to get educated people to change how they spell&#8211;they&#8217;ve invested too much in learning it, and there&#8217;s too much legacy.  But the way people speak, their dialect, varies widely with geography.  So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=186&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are <a href="http://www.zompist.com/spell.html">rules for pronouncing American English</a> given the spelling; there are just a lot of them, and they&#8217;re ugly.  <a href="http://crockford.com/wrrrld/nuspelynh.html">No one&#8217;s</a> going to get educated people to change how they spell&#8211;they&#8217;ve invested too much in learning it, and there&#8217;s too much legacy.  But the way people speak, their dialect, varies widely with geography.  So why not introduce a new one that <a href="http://www.phon.ucl.ac.uk/home/mark/regeng/index.html">pronounces words as they&#8217;re written</a>?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/186/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/186/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=186&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/06/17/hou-tu-pranownse-inglish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Ankylodoxy</title>
		<link>http://reperiendi.wordpress.com/2008/06/17/ankylodoxy/</link>
		<comments>http://reperiendi.wordpress.com/2008/06/17/ankylodoxy/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 19:03:21 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Theocosmology]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=185</guid>
		<description><![CDATA[I started a blog to record my Gospel Doctrine lessons.  It&#8217;s called ankylodoxy, as opposed to orthodoxy.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=185&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I started a blog to record my Gospel Doctrine lessons.  It&#8217;s called <a href="http://ankylodoxy.wordpress.com"><em>ankylodoxy</em></a>, as opposed to <em>orthodoxy</em>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/185/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/185/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=185&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/06/17/ankylodoxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Grandpa</title>
		<link>http://reperiendi.wordpress.com/2008/06/17/grandpa/</link>
		<comments>http://reperiendi.wordpress.com/2008/06/17/grandpa/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 19:01:18 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=184</guid>
		<description><![CDATA[My grandfather, Jesse Stay, died this morning.  My cousin, Jesse Stay III, wrote up a nice eulogy, as did my sister Karen.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=184&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My grandfather, Jesse Stay, died this morning.  My cousin, Jesse Stay III, wrote up a nice <a href="http://staynalive.com/articles/2008/06/17/jesse-stay-no-its-not-my-name/">eulogy</a>, as did my sister <a href="http://karenspoetryspot.blogspot.com/2008/06/just-as-sun-by-jesse-e-stay.html">Karen</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/184/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/184/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=184&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/06/17/grandpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading list</title>
		<link>http://reperiendi.wordpress.com/2008/04/28/reading-list/</link>
		<comments>http://reperiendi.wordpress.com/2008/04/28/reading-list/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 23:34:31 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Category theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/?p=182</guid>
		<description><![CDATA[http://www.haskell.org/haskellwiki/Category_theory#Categorical_programming
http://www.cl.cam.ac.uk/~mpf23/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=182&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.haskell.org/haskellwiki/Category_theory#Categorical_programming" target="_self">http://www.haskell.org/haskellwiki/Category_theory#Categorical_programming</a></p>
<p><a href="http://www.cl.cam.ac.uk/~mpf23/" target="_self">http://www.cl.cam.ac.uk/~mpf23/</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/182/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/182/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=182&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/04/28/reading-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
		<item>
		<title>Great synesthesia FAQ</title>
		<link>http://reperiendi.wordpress.com/2008/04/03/great-synesthesia-faq/</link>
		<comments>http://reperiendi.wordpress.com/2008/04/03/great-synesthesia-faq/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 04:38:02 +0000</pubDate>
		<dc:creator>reperiendi</dc:creator>
				<category><![CDATA[Perception]]></category>

		<guid isPermaLink="false">http://reperiendi.wordpress.com/2008/04/03/great-synesthesia-faq/</guid>
		<description><![CDATA[http://www.sciam.com/article.cfm?id=more-common-questions-abo-2003-04-14&#38;print=true
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=179&subd=reperiendi&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.sciam.com/article.cfm?id=more-common-questions-abo-2003-04-14&amp;print=true" target="_blank">http://www.sciam.com/article.cfm?id=more-common-questions-abo-2003-04-14&amp;print=true</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/reperiendi.wordpress.com/179/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/reperiendi.wordpress.com/179/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/reperiendi.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/reperiendi.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/reperiendi.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/reperiendi.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/reperiendi.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/reperiendi.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/reperiendi.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/reperiendi.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/reperiendi.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/reperiendi.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=reperiendi.wordpress.com&blog=925435&post=179&subd=reperiendi&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://reperiendi.wordpress.com/2008/04/03/great-synesthesia-faq/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/151c18cc6cc3bd1bb7a0528c6ef88c77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">reperiendi</media:title>
		</media:content>
	</item>
	</channel>
</rss>