<?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: Simple Guide to Complexity Theory</title>
	<atom:link href="http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/feed/" rel="self" type="application/rss+xml" />
	<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/</link>
	<description></description>
	<lastBuildDate>Tue, 15 Jun 2010 13:01:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Bibi</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2600</link>
		<dc:creator>Bibi</dc:creator>
		<pubDate>Tue, 02 Dec 2008 10:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2600</guid>
		<description>The problem i see with the definition of NP-hard you give (apart from its being non-standard) is that the statement &quot;problem P is NP-hard&quot; is a statement of our current knowledge, while with the standard definition, it is the statement of a mathematical truth. Maybe something like &quot;as this notion is more general than NP-completeness, when one says a problem is NP-hard, it&#039;s generally because we don&#039;t know whether it&#039;s in NP or because we know it&#039;s not in NP&quot; would make things clearer.</description>
		<content:encoded><![CDATA[<p>The problem i see with the definition of NP-hard you give (apart from its being non-standard) is that the statement &#8220;problem P is NP-hard&#8221; is a statement of our current knowledge, while with the standard definition, it is the statement of a mathematical truth. Maybe something like &#8220;as this notion is more general than NP-completeness, when one says a problem is NP-hard, it&#8217;s generally because we don&#8217;t know whether it&#8217;s in NP or because we know it&#8217;s not in NP&#8221; would make things clearer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ob</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2586</link>
		<dc:creator>ob</dc:creator>
		<pubDate>Mon, 01 Dec 2008 17:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2586</guid>
		<description>Bibi, thanks for the comments. I corrected most of the errors, although if you want to be pedantic, your statement:

&#039;the “CPU” (head) of the TM only sees one symbol (bit) per cycle. It’s hardly possible to have a smaller bandwidth.&#039;

is incorrect. There is no requirement that a turing machine operate on bits. The only requirement is that the alphabet contains a finite number of symbols. Thus I can define as many symbols as I want to have as much &quot;bandwidth&quot; as I want per step. But it seems saying &quot;infinitely fast CPU and infinite bandwidth&quot; was just confusing people, so I took it out.</description>
		<content:encoded><![CDATA[<p>Bibi, thanks for the comments. I corrected most of the errors, although if you want to be pedantic, your statement:</p>
<p>&#8216;the “CPU” (head) of the TM only sees one symbol (bit) per cycle. It’s hardly possible to have a smaller bandwidth.&#8217;</p>
<p>is incorrect. There is no requirement that a turing machine operate on bits. The only requirement is that the alphabet contains a finite number of symbols. Thus I can define as many symbols as I want to have as much &#8220;bandwidth&#8221; as I want per step. But it seems saying &#8220;infinitely fast CPU and infinite bandwidth&#8221; was just confusing people, so I took it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-11-26 &#171; My Weblog</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2466</link>
		<dc:creator>links for 2008-11-26 &#171; My Weblog</dc:creator>
		<pubDate>Thu, 27 Nov 2008 04:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2466</guid>
		<description>[...] Simple Guide to Complexity Theory &#124; Ramblings (tags: cs) [...]</description>
		<content:encoded><![CDATA[<p>[...] Simple Guide to Complexity Theory | Ramblings (tags: cs) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bibi</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2454</link>
		<dc:creator>Bibi</dc:creator>
		<pubDate>Wed, 26 Nov 2008 20:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2454</guid>
		<description>There are some problems in the definitions.

In Turing machine, infinitely fast CPU does not make sense, and infinite bandwidth is plain wrong: the &quot;CPU&quot; (head) of the TM only sees one symbol (bit) per cycle. It&#039;s hardly possible to have a smaller bandwidth.

In problem, the example given is not a decision problem, it&#039;s a meta-question on the algorithm. This makes no sense. I&#039;d advise not to use sorting as an example, as it is not easy to come up with a convincing decision problem associated with sorting. Shortest path in a graph seems better. Say &quot;instead of returning the shortest path between A and B, tell whether they are at distance at most k&quot;.

Your definition of reduction is wrong. It is generally used to prove that it is NP-hard. (By reducing from another NP-hard problem). When you do that, you don&#039;t assume that P2 is solvable in polynomial time at all. You show that you can use the solution to P2 as a solution from P1 in polynomial time, say TR(n). Then if P2 can be solved in time T2(n), P1 can be solved in time T2(n) + TR(n). So if P2 is in P, P1 too. There&#039;s no proof by contradiction going on here at all.

NP-hard is inexact: there&#039;s no hypothesis that we can&#039;t prove point 1 of NP-completeness. In particular, NP-complete problems are NP-hard.

Folks, once you have read this post, read the wp article before you go and try to impress your friends (especially around reputables universities). You might save yourselves some embarassment.</description>
		<content:encoded><![CDATA[<p>There are some problems in the definitions.</p>
<p>In Turing machine, infinitely fast CPU does not make sense, and infinite bandwidth is plain wrong: the &#8220;CPU&#8221; (head) of the TM only sees one symbol (bit) per cycle. It&#8217;s hardly possible to have a smaller bandwidth.</p>
<p>In problem, the example given is not a decision problem, it&#8217;s a meta-question on the algorithm. This makes no sense. I&#8217;d advise not to use sorting as an example, as it is not easy to come up with a convincing decision problem associated with sorting. Shortest path in a graph seems better. Say &#8220;instead of returning the shortest path between A and B, tell whether they are at distance at most k&#8221;.</p>
<p>Your definition of reduction is wrong. It is generally used to prove that it is NP-hard. (By reducing from another NP-hard problem). When you do that, you don&#8217;t assume that P2 is solvable in polynomial time at all. You show that you can use the solution to P2 as a solution from P1 in polynomial time, say TR(n). Then if P2 can be solved in time T2(n), P1 can be solved in time T2(n) + TR(n). So if P2 is in P, P1 too. There&#8217;s no proof by contradiction going on here at all.</p>
<p>NP-hard is inexact: there&#8217;s no hypothesis that we can&#8217;t prove point 1 of NP-completeness. In particular, NP-complete problems are NP-hard.</p>
<p>Folks, once you have read this post, read the wp article before you go and try to impress your friends (especially around reputables universities). You might save yourselves some embarassment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ob</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2452</link>
		<dc:creator>ob</dc:creator>
		<pubDate>Wed, 26 Nov 2008 19:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2452</guid>
		<description>Butch, good point. I&#039;ve changed it to P1 and bolded all the P&#039;s and NP&#039;s.</description>
		<content:encoded><![CDATA[<p>Butch, good point. I&#8217;ve changed it to P1 and bolded all the P&#8217;s and NP&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Butch</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2451</link>
		<dc:creator>Butch</dc:creator>
		<pubDate>Wed, 26 Nov 2008 19:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2451</guid>
		<description>Nice overview. Except that calling a problem P where we already using P as a class of problem can be confusing.</description>
		<content:encoded><![CDATA[<p>Nice overview. Except that calling a problem P where we already using P as a class of problem can be confusing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2448</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 26 Nov 2008 18:42:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2448</guid>
		<description>Time complexity T(n) refers to the number of steps it takes to solve a problem, not the amount of real time required.  T(n) remains constant, regardless of the speed of the CPU.</description>
		<content:encoded><![CDATA[<p>Time complexity T(n) refers to the number of steps it takes to solve a problem, not the amount of real time required.  T(n) remains constant, regardless of the speed of the CPU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://oscarbonilla.com/2008/11/simple-guide-to-complexity-theory/comment-page-1/#comment-2444</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 26 Nov 2008 17:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oscarbonilla.com/?p=76#comment-2444</guid>
		<description>I&#039;m not sure where the &quot;infinitely fast CPU&quot; part came in, but that would kind of defeat the point of analyzing the time complexity of the machine. Other than that, good stuff.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure where the &#8220;infinitely fast CPU&#8221; part came in, but that would kind of defeat the point of analyzing the time complexity of the machine. Other than that, good stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
