<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: Fixed Point Datatypes</title>
	<atom:link href="http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/feed/" rel="self" type="application/rss+xml" />
	<link>http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/</link>
	<description>Thoughts from my splattered grey matter.</description>
	<lastBuildDate>Fri, 02 Sep 2011 16:26:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Albert Y. C. Lai</title>
		<link>http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/#comment-9</link>
		<dc:creator><![CDATA[Albert Y. C. Lai]]></dc:creator>
		<pubDate>Wed, 09 Jul 2008 19:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://braincrater.wordpress.com/?p=8#comment-9</guid>
		<description><![CDATA[Today on a math IRC channel I saw the question

&quot;what is sqrt(6+sqrt(6+... ?&quot;

It is an instance of a rather popular kind of exercises in calculus.

Letting f(x) = sqrt(6 + x), the question asks

&quot;what is f(f(... ?&quot;

The solution is to first ensure that the sequence s0 = some starting point, s1 = f(s0), s2 = f(s1), ... converges, then find out what it converges to, by solving x = sqrt(6+x), i.e., x = f(x).

I think it illustrates a strong analogy between calculus fixed points and programming fixed points, including the self-application part &quot;what is f(f(... ?&quot;]]></description>
		<content:encoded><![CDATA[<p>Today on a math IRC channel I saw the question</p>
<p>&#8220;what is sqrt(6+sqrt(6+&#8230; ?&#8221;</p>
<p>It is an instance of a rather popular kind of exercises in calculus.</p>
<p>Letting f(x) = sqrt(6 + x), the question asks</p>
<p>&#8220;what is f(f(&#8230; ?&#8221;</p>
<p>The solution is to first ensure that the sequence s0 = some starting point, s1 = f(s0), s2 = f(s1), &#8230; converges, then find out what it converges to, by solving x = sqrt(6+x), i.e., x = f(x).</p>
<p>I think it illustrates a strong analogy between calculus fixed points and programming fixed points, including the self-application part &#8220;what is f(f(&#8230; ?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web design</title>
		<link>http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/#comment-8</link>
		<dc:creator><![CDATA[web design]]></dc:creator>
		<pubDate>Wed, 09 Jul 2008 14:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://braincrater.wordpress.com/?p=8#comment-8</guid>
		<description><![CDATA[Type algebra is the hot new thing, it seems. What with this and all the zipper / type calculus hackery of late.]]></description>
		<content:encoded><![CDATA[<p>Type algebra is the hot new thing, it seems. What with this and all the zipper / type calculus hackery of late.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bradenshep</title>
		<link>http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/#comment-5</link>
		<dc:creator><![CDATA[bradenshep]]></dc:creator>
		<pubDate>Tue, 08 Jul 2008 04:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://braincrater.wordpress.com/?p=8#comment-5</guid>
		<description><![CDATA[Thanks for the comment.

I&#039;m not sure how much of this is semantics and how much is content, but:

When I refer to self-application, I meant taking a type like Pair a b and using Pair a b again for b: Pair a (Pair a b). Perhaps self-application isn&#039;t the right term for that. I think it mostly comes from when I was first learning about fixpoints, this &quot;self-application&quot; leap was what made it slip into focus for me. I couldn&#039;t figure out how fix could take an arbitrary function and find a fixpoint of it while I was thinking about it from the f(x) = x viewpoint.

I do understand the point about a_n converging to 0, and thinking about the constant functor definitely improved my understanding.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the comment.</p>
<p>I&#8217;m not sure how much of this is semantics and how much is content, but:</p>
<p>When I refer to self-application, I meant taking a type like Pair a b and using Pair a b again for b: Pair a (Pair a b). Perhaps self-application isn&#8217;t the right term for that. I think it mostly comes from when I was first learning about fixpoints, this &#8220;self-application&#8221; leap was what made it slip into focus for me. I couldn&#8217;t figure out how fix could take an arbitrary function and find a fixpoint of it while I was thinking about it from the f(x) = x viewpoint.</p>
<p>I do understand the point about a_n converging to 0, and thinking about the constant functor definitely improved my understanding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Elkins</title>
		<link>http://braincrater.wordpress.com/2008/07/07/fixed-point-datatypes/#comment-4</link>
		<dc:creator><![CDATA[Derek Elkins]]></dc:creator>
		<pubDate>Tue, 08 Jul 2008 03:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://braincrater.wordpress.com/?p=8#comment-4</guid>
		<description><![CDATA[The notion of fixpoint in programming is the same as in &quot;calculus&quot; (or better algebra).  If F is a functor, then G is it&#039;s fixed point if F(G) ~ G where ~ is being used for isomorphic to.  Just as in algebra or calculus, one way (that need not always work) at arriving at a fixed point is via iteration.  Let&#039;s take f(x) = x^2 as an example.  The sequence a_0 = 1/2 and a_n = f(a_{n-1}) converges to 0, one of the fixed points of x^2.  There is nothing inherent about self-application in the programming notion of fixed point and in fact none of your examples have any self-application.  There is a definite relationship between recursion and fixed points, though fixed points aren&#039;t inextricably linked to recursion.  For example the constant functor for any constant or the identity functor both have fixed points as well as the functor PA=AxA (namely P1) and other examples.]]></description>
		<content:encoded><![CDATA[<p>The notion of fixpoint in programming is the same as in &#8220;calculus&#8221; (or better algebra).  If F is a functor, then G is it&#8217;s fixed point if F(G) ~ G where ~ is being used for isomorphic to.  Just as in algebra or calculus, one way (that need not always work) at arriving at a fixed point is via iteration.  Let&#8217;s take f(x) = x^2 as an example.  The sequence a_0 = 1/2 and a_n = f(a_{n-1}) converges to 0, one of the fixed points of x^2.  There is nothing inherent about self-application in the programming notion of fixed point and in fact none of your examples have any self-application.  There is a definite relationship between recursion and fixed points, though fixed points aren&#8217;t inextricably linked to recursion.  For example the constant functor for any constant or the identity functor both have fixed points as well as the functor PA=AxA (namely P1) and other examples.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
