<?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: &#8220;Two Generals&#8217; Problem&#8221; doesn&#8217;t make sense</title>
	<atom:link href="http://www.brainonfire.net/blog/two-generals-problem-paradox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/</link>
	<description>Tim McCormack, distilled</description>
	<lastBuildDate>Fri, 03 Feb 2012 04:07:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Wireless MAC protocols &#171; Wireless Sensor Networks, Spring 2011</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-52698</link>
		<dc:creator>Wireless MAC protocols &#171; Wireless Sensor Networks, Spring 2011</dc:creator>
		<pubDate>Tue, 12 Apr 2011 19:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-52698</guid>
		<description>[...] Here&#8217;s a link to the original paper on the limits of distributed computing which introduced a version of what has since become known as the Two General&#8217;s Problem. Some of the subtleties of this classic paradox are explored here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Here&#8217;s a link to the original paper on the limits of distributed computing which introduced a version of what has since become known as the Two General&#8217;s Problem. Some of the subtleties of this classic paradox are explored here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boarders' paradise</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-36670</link>
		<dc:creator>boarders' paradise</dc:creator>
		<pubDate>Tue, 06 Apr 2010 18:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-36670</guid>
		<description>yes, me. But I&#039;m so busy at the moment, I hope I&#039;ll get &#039;round it soon.

In the meanwhile: my text in posting 7 has been completely messed up (I know I posted it right). Tim, can you fix that?</description>
		<content:encoded><![CDATA[<p>yes, me. But I'm so busy at the moment, I hope I'll get 'round it soon.</p>
<p>In the meanwhile: my text in posting 7 has been completely messed up (I know I posted it right). Tim, can you fix that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scuroNok</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-36661</link>
		<dc:creator>scuroNok</dc:creator>
		<pubDate>Tue, 06 Apr 2010 15:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-36661</guid>
		<description>Silence has come :) Does anybody have something to say?</description>
		<content:encoded><![CDATA[<p>Silence has come :) Does anybody have something to say?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim McCormack</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-29360</link>
		<dc:creator>Tim McCormack</dc:creator>
		<pubDate>Mon, 19 Oct 2009 03:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-29360</guid>
		<description>Cha0s: Ha, I think I see where my misunderstanding lies! I thought the problem was saying &quot;an algorithm that sometimes allows consensus under these circumstances cannot exist&quot;, but what it is really saying (I think) is &quot;there is no algorithm that will always guarantee consensus.&quot;

Reactions?</description>
		<content:encoded><![CDATA[<p>Cha0s: Ha, I think I see where my misunderstanding lies! I thought the problem was saying "an algorithm that sometimes allows consensus under these circumstances cannot exist", but what it is really saying (I think) is "there is no algorithm that will always guarantee consensus."</p>
<p>Reactions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cha0s</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-27971</link>
		<dc:creator>Cha0s</dc:creator>
		<pubDate>Mon, 07 Sep 2009 10:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-27971</guid>
		<description>(forgot to check notify)</description>
		<content:encoded><![CDATA[<p>(forgot to check notify)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cha0s</title>
		<link>http://www.brainonfire.net/blog/two-generals-problem-paradox/comment-page-1/#comment-27970</link>
		<dc:creator>Cha0s</dc:creator>
		<pubDate>Mon, 07 Sep 2009 09:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brainonfire.net/2007/07/31/two-generals-problem-paradox/#comment-27970</guid>
		<description>FLP =  Michael J. Fischer, Nancy A. Lynch, and Michael S. Paterson

Gilbert is correct that this problem is closely related to binary consensus.
I originally encountered it as the coordinated attack problem with the following statement:
Two kings (k1 and k2) on either side of a great (evil) empire wish to bring down the empire. They meet and decide to assess their forces. After doing so (when the problem &quot;begins&quot;), they have a preference as to whether to attack or not. They can send each other messages (to be very specific, lets say that any message sent is sent at 8 AM on whatever day it is sent and that any message that is received arrives at 8 PM on the same day--these details are arbitrary but make no difference in the problem formulation. Even with these restrictions, the problem is insoluble). Finally, any message sent through the empire may be intercepted. There is no guarantee that any message will ever be received.

The following are the formal conditions of the problem:
1. Termination: Each king eventually must decide 0 (do not attack) or 1 (attack).
2. Agreement: The decisions (d1 and d2) of both kings must be the same.
3. Validity: Let i1 and i2 denote the preferences of k1 and k2, respectively. Then:
-if i1 and i2 are 0, d1 and d2 must be 0
-if i1 and i2 are 1, d1 and d2 must be 1

This formulation is equivalent to the first formation: though the information they need to agree on is different, the problem is the same. The following is proof of its insolubility:
Assume there exists a correct algorithm A.
Let E(a,b) be the scenario where i1 = a, i2 = b and all messages are lost. By validity (assuming A is correct), d1=d2=0 in E(0,0) and d1=d2=1 in E(1,1). E(1,1) is indistinguishable from E(1,0) for k1 (remember, no one receives any messages), so k1 decides 1 in E(1,0). Similarly, E(0,0) is indistinguishable from E(1,0) for k2, so k2 decides 0 in E(1,0). Of course this contradicts agreement as d1!=d2 in E(1,0), so A can not exist.

Remember, for A (any algorithm) to be correct, it must work for all scenarios. Here is a scenario where it does not work. Therefore, there can be no algorithm.

Interestingly, a seemingly significantly weaker form of the problem is also insoluble:
Replace condition 3 with:
3a. Weak Validity: If i1=i2=1 and no message is lost, then d1=d2=1.

The proof of this is slightly more complicated, but shows that the problem is quite insoluble.</description>
		<content:encoded><![CDATA[<p>FLP =  Michael J. Fischer, Nancy A. Lynch, and Michael S. Paterson</p>
<p>Gilbert is correct that this problem is closely related to binary consensus.<br />
I originally encountered it as the coordinated attack problem with the following statement:<br />
Two kings (k1 and k2) on either side of a great (evil) empire wish to bring down the empire. They meet and decide to assess their forces. After doing so (when the problem "begins"), they have a preference as to whether to attack or not. They can send each other messages (to be very specific, lets say that any message sent is sent at 8 AM on whatever day it is sent and that any message that is received arrives at 8 PM on the same day--these details are arbitrary but make no difference in the problem formulation. Even with these restrictions, the problem is insoluble). Finally, any message sent through the empire may be intercepted. There is no guarantee that any message will ever be received.</p>
<p>The following are the formal conditions of the problem:<br />
1. Termination: Each king eventually must decide 0 (do not attack) or 1 (attack).<br />
2. Agreement: The decisions (d1 and d2) of both kings must be the same.<br />
3. Validity: Let i1 and i2 denote the preferences of k1 and k2, respectively. Then:<br />
-if i1 and i2 are 0, d1 and d2 must be 0<br />
-if i1 and i2 are 1, d1 and d2 must be 1</p>
<p>This formulation is equivalent to the first formation: though the information they need to agree on is different, the problem is the same. The following is proof of its insolubility:<br />
Assume there exists a correct algorithm A.<br />
Let E(a,b) be the scenario where i1 = a, i2 = b and all messages are lost. By validity (assuming A is correct), d1=d2=0 in E(0,0) and d1=d2=1 in E(1,1). E(1,1) is indistinguishable from E(1,0) for k1 (remember, no one receives any messages), so k1 decides 1 in E(1,0). Similarly, E(0,0) is indistinguishable from E(1,0) for k2, so k2 decides 0 in E(1,0). Of course this contradicts agreement as d1!=d2 in E(1,0), so A can not exist.</p>
<p>Remember, for A (any algorithm) to be correct, it must work for all scenarios. Here is a scenario where it does not work. Therefore, there can be no algorithm.</p>
<p>Interestingly, a seemingly significantly weaker form of the problem is also insoluble:<br />
Replace condition 3 with:<br />
3a. Weak Validity: If i1=i2=1 and no message is lost, then d1=d2=1.</p>
<p>The proof of this is slightly more complicated, but shows that the problem is quite insoluble.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

