
<?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/"
		>
<channel>
	<title>Comments on: Determining List Steepness in a Homomorphism</title>
	<atom:link href="http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/</link>
	<description>Research Blog of 穆信成 Shin-Cheng Mu</description>
	<lastBuildDate>Tue, 22 Nov 2011 02:09:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Mark Essel</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6687</link>
		<dc:creator>Mark Essel</dc:creator>
		<pubDate>Tue, 14 Jul 2009 18:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6687</guid>
		<description>Just had time to scan the top few paragraphs, I&#039;m interested enough to come back and do some homework. In a world with no free time, we still find time to have some fun :D</description>
		<content:encoded><![CDATA[<p>Just had time to scan the top few paragraphs, I&#8217;m interested enough to come back and do some homework. In a world with no free time, we still find time to have some fun :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cmcq</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6683</link>
		<dc:creator>cmcq</dc:creator>
		<pubDate>Sat, 11 Jul 2009 09:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6683</guid>
		<description>1) No, because s&gt;=(2^n-1)c where n is the list length. For negative c this puts a lower bound on n. For example [-8,-4,-2,-1] has s=-15, c=-1, so -15&gt;=(2^n-1)*(-1), which gives n&gt;=4.

A technique based on fixed-length inverses is very restricted: they can&#039;t compute length!

2) You don&#039;t need rationals ever: for sumcaps of two element lists you can use g(s,c)=[s-c,c]. Though personally I would not hesitate to extend the ring of numbers if it gave a simpler proof! Isn&#039;t that what proof irrelevance is all about?</description>
		<content:encoded><![CDATA[<p>1) No, because s&gt;=(2^n-1)c where n is the list length. For negative c this puts a lower bound on n. For example [-8,-4,-2,-1] has s=-15, c=-1, so -15&gt;=(2^n-1)*(-1), which gives n&gt;=4.</p>
<p>A technique based on fixed-length inverses is very restricted: they can&#8217;t compute length!</p>
<p>2) You don&#8217;t need rationals ever: for sumcaps of two element lists you can use g(s,c)=[s-c,c]. Though personally I would not hesitate to extend the ring of numbers if it gave a simpler proof! Isn&#8217;t that what proof irrelevance is all about?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shin</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6682</link>
		<dc:creator>Shin</dc:creator>
		<pubDate>Sat, 11 Jul 2009 04:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6682</guid>
		<description>Thanks for the encouragement! I&#039;ve been relying on WordPress to generate the RSS (was &lt;a href=&quot;http://www.iis.sinica.edu.tw/~scm/feed/&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; the link you tried?). What error message did you see? I&#039;ll check whether other WordPress users had the same problem.</description>
		<content:encoded><![CDATA[<p>Thanks for the encouragement! I&#8217;ve been relying on WordPress to generate the RSS (was <a href="http://www.iis.sinica.edu.tw/~scm/feed/" rel="nofollow">this</a> the link you tried?). What error message did you see? I&#8217;ll check whether other WordPress users had the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shin</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6681</link>
		<dc:creator>Shin</dc:creator>
		<pubDate>Sat, 11 Jul 2009 04:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6681</guid>
		<description>Thanks for the interesting comments, cmcq. Indeed it is harder than it looks. 

The first guess of mine (and some students here) was: &lt;code&gt;g (s, c) = [(s+c)/2, (s-c)/2]&lt;/code&gt;. Not only was that wrong (it fails for, e.g, &lt;code&gt;(8,8)&lt;/code&gt;, output of &lt;code&gt;sumcap [8]&lt;/code&gt;), but also forces us to move from integer to rational (that was why I was vague about the type of &quot;numbers&quot; in the post).

I&#039;ve been thinking: 1) is it possible to find an inverse that produces a constant-length list? 2) Can we stay within &lt;code&gt;Int&lt;/code&gt;, if the input is &lt;code&gt;Int&lt;/code&gt;? Goal 1) is essential for deriving &lt;code&gt;⊚&lt;/code&gt;, and 2) is desirable because the &lt;code&gt;⊚&lt;/code&gt; that eventually worked does operate on integers only.

You seem to have shown that goal 1) is hard to achieve. Well, perhaps the construction of list homomorphism by inverses is just not as widely applicable as we&#039;ve expected.</description>
		<content:encoded><![CDATA[<p>Thanks for the interesting comments, cmcq. Indeed it is harder than it looks. </p>
<p>The first guess of mine (and some students here) was: <code>g (s, c) = [(s+c)/2, (s-c)/2]</code>. Not only was that wrong (it fails for, e.g, <code>(8,8)</code>, output of <code>sumcap [8]</code>), but also forces us to move from integer to rational (that was why I was vague about the type of &#8220;numbers&#8221; in the post).</p>
<p>I&#8217;ve been thinking: 1) is it possible to find an inverse that produces a constant-length list? 2) Can we stay within <code>Int</code>, if the input is <code>Int</code>? Goal 1) is essential for deriving <code>⊚</code>, and 2) is desirable because the <code>⊚</code> that eventually worked does operate on integers only.</p>
<p>You seem to have shown that goal 1) is hard to achieve. Well, perhaps the construction of list homomorphism by inverses is just not as widely applicable as we&#8217;ve expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matías Giovannini</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6680</link>
		<dc:creator>Matías Giovannini</dc:creator>
		<pubDate>Sat, 11 Jul 2009 00:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6680</guid>
		<description>Great post! Shin-Cheng, your RSS feed is broken. I&#039;d love to subscribe, but unfortunately the XML parser in Firefox 3.0.x complains.</description>
		<content:encoded><![CDATA[<p>Great post! Shin-Cheng, your RSS feed is broken. I&#8217;d love to subscribe, but unfortunately the XML parser in Firefox 3.0.x complains.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cmcq</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6679</link>
		<dc:creator>cmcq</dc:creator>
		<pubDate>Fri, 10 Jul 2009 11:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6679</guid>
		<description>Wordpress ate my definition of g:
For s&lt;3c&lt;0, pick n such that s&lt;=(2^n-1)c and use g(s,c)=[s+2^(n-1)c, 2^(n-2)c, ..., 2c, c].</description>
		<content:encoded><![CDATA[<p>Wordpress ate my definition of g:<br />
For s&lt;3c&lt;0, pick n such that s&lt;=(2^n-1)c and use g(s,c)=[s+2^(n-1)c, 2^(n-2)c, ..., 2c, c].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cmcq</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6678</link>
		<dc:creator>cmcq</dc:creator>
		<pubDate>Fri, 10 Jul 2009 11:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6678</guid>
		<description>Sorry, that&#039;s wrong; both those expressions only work for s&gt;=3c. In a list of length n with rcap c, the last element must be at least c, so the second-to-last element must be at least 2c, etc. The sum is therefore at least (2^n-1)c. For c&gt;=0 this gives g(s,s)=[s] and g(s,c)=[s-c,c] for s&gt;=3c. For s&lt;3c=(2^n-1)c and use g(s,c)=[s+2^(n-1)c, 2^(n-2)c, ..., 2c, c].

Surely the definition of sumcap won&#039;t come from this inverse though!</description>
		<content:encoded><![CDATA[<p>Sorry, that&#8217;s wrong; both those expressions only work for s&gt;=3c. In a list of length n with rcap c, the last element must be at least c, so the second-to-last element must be at least 2c, etc. The sum is therefore at least (2^n-1)c. For c&gt;=0 this gives g(s,s)=[s] and g(s,c)=[s-c,c] for s&gt;=3c. For s&lt;3c=(2^n-1)c and use g(s,c)=[s+2^(n-1)c, 2^(n-2)c, ..., 2c, c].</p>
<p>Surely the definition of sumcap won&#8217;t come from this inverse though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cmcq</title>
		<link>http://www.iis.sinica.edu.tw/~scm/2009/determining-list-steepness-in-a-homomorphism/comment-page-1/#comment-6677</link>
		<dc:creator>cmcq</dc:creator>
		<pubDate>Fri, 10 Jul 2009 09:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.iis.sinica.edu.tw/~scm/?p=275#comment-6677</guid>
		<description>If you guess g(s,c)=[a,b] then a bit of algebra gives:
a = max(s-c, (s+c)/2)
b = min(c, s-c/2)

If s&gt;=3c this gives [s-c,c]
If s&lt;=3c this gives [(s+c)/2, (s-c)/2]</description>
		<content:encoded><![CDATA[<p>If you guess g(s,c)=[a,b] then a bit of algebra gives:<br />
a = max(s-c, (s+c)/2)<br />
b = min(c, s-c/2)</p>
<p>If s&gt;=3c this gives [s-c,c]<br />
If s&lt;=3c this gives [(s+c)/2, (s-c)/2]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

