{"id":521,"date":"2016-06-11T02:35:18","date_gmt":"2016-06-11T02:35:18","guid":{"rendered":"http:\/\/www.laurentlessard.com\/bookproofs\/?p=521"},"modified":"2016-09-03T18:52:05","modified_gmt":"2016-09-03T23:52:05","slug":"the-blue-eyed-islanders","status":"publish","type":"post","link":"https:\/\/laurentlessard.com\/bookproofs\/the-blue-eyed-islanders\/","title":{"rendered":"The blue-eyed islanders"},"content":{"rendered":"<p>Today&#8217;s <a href=\"http:\/\/fivethirtyeight.com\/features\/solve-the-mystery-of-the-mathematical-mistakes\/\">Riddler<\/a> problem is another classic. The current incarnation of the puzzle is about error-prone mathematicians, while the classic version is about <a href=\"http:\/\/www.math.ucla.edu\/~tao\/blue.html\">blue-eyed islanders<\/a>.<\/p>\n<blockquote><p>A university has 10 mathematicians, each one so proud that, if she learns that she made a mistake in a paper, no matter how long ago the mistake was made, she resigns the next Friday. To avoid resignations, when one of them detects a mistake in the work of another, she tells everyone else but doesn\u2019t inform the mistake-maker. All of them have made mistakes, so each one thinks only she is perfect. One Wednesday, a super-mathematician, whom all respect and believe, comes to visit. She looks at all the papers and says: &#8220;Someone here has made a mistake.&#8221;<\/p>\n<p><em>What happens then? Why?<\/em><\/p><\/blockquote>\n<p>Here is the solution:<br \/>\n<a href=\"javascript:Solution('soln_blueeyes','toggle_blueeyes')\" id=\"toggle_blueeyes\">[Show Solution]<\/a><\/p>\n<div id=\"soln_blueeyes\" style=\"display: none\">\n<p>On the tenth Friday, all mathematicians will resign. To understand why this happens, we&#8217;ll use a recursive approach similar to what we did for the <a href=\"https:\/\/laurentlessard.com\/bookproofs\/the-puzzle-of-the-pirate-booty\/\">puzzle of the pirate booty<\/a>.<\/p>\n<p>For simplicity, we&#8217;ll say a mathematician is <em>flawed<\/em> if they made a mistake, and <em>perfect<\/em> otherwise. Let&#8217;s look at the world through the eyes of Alice, one of the ten mathematicians. Alice doesn&#8217;t know whether she is flawed or not. She does, however, know how many of her colleagues are flawed.<\/p>\n<p>According to the problem statement, all the mathematicians are flawed. So Alice sees that all nine of her colleagues are flawed. Let&#8217;s solve a simpler version of the problem first. What if none of Alice&#8217;s colleagues were flawed? In this case,  the news that &#8220;someone here has made a mistake&#8221; can only mean one thing: that &#8220;someone&#8221; must be Alice! So Alice will resign on Friday.<\/p>\n<p>What if exactly one of Alice&#8217;s colleagues is flawed? Two possibilities:<\/p>\n<ul>\n<li>If Alice is perfect, then the flawed mathematician will see that everyone else is perfect and resign on Friday, just as Alice would have done in the previous case when she saw her colleagues were all perfect.<\/li>\n<li>If Alice is flawed, then nothing happens on Friday. Alice then deduces that she must be flawed and resigns on the next Friday.<\/li>\n<\/ul>\n<p>What if exactly two of Alice&#8217;s colleagues are flawed? Two possibilities:<\/p>\n<ul>\n<li>If Alice is perfect, then each flawed mathematician sees one other flawed mathematician. As in the previous case, we expect them to both resign on the second Friday.<\/li>\n<li>If Alice is flawed, then nothing happens on the second Friday. In that case, Alice will know of her flaw and resign on the third Friday.<\/li>\n<\/ul>\n<p>The pattern is clear: if Alice has $k$ flawed colleagues but Alice is perfect, then the flawed mathematicians all resign on the $k^\\text{th}$ Friday. If Alice is flawed, then nothing happens on the $k^\\text{th}$ Friday, and Alice resigns on the $(k+1)^\\text{st}$ Friday (along with all the other flawed mathematicians). In particular, if all ten mathematicians are flawed as in the problem statement, they all resign on the tenth Friday.<\/p>\n<h3>But but but&#8230;<\/h3>\n<p>It seems that we have a paradox &#8212; we aren&#8217;t telling the mathematicians anything they don&#8217;t already know! Each mathematician can clearly see that they have flawed colleagues, so why should explicitly announcing this fact make any difference? The answer lies in the distinction between <em>mutual knowledge<\/em> and <em>common knowledge<\/em>. <\/p>\n<p>If everybody knows some proposition $P$ to be true, then $P$ is <em>mutual knowledge<\/em>. However, if everybody knows $P$, and everybody knows that everybody knows $P$, and everybody knows that everybody knows that everybody knows $P$, and so on, then $P$ is <em>common knowledge<\/em>. Although the fact that there is at least one flawed mathematician is mutual knowledge, it is <strong>not<\/strong> common knowledge. When the super-mathematician makes her announcement that there is at least one flawed mathematician, it becomes common knowledge, and this makes all the difference.<\/p>\n<p>Rather than giving a detailed solution, I will defer to some other existing solutions online that are already well-explained. No need to reinvent the wheel! Here are some pointers.<\/p>\n<ul>\n<li>The solution to the blue eyes puzzle <a href=\"https:\/\/xkcd.com\/solution.html\">featured on the xkcd website<\/a>.<\/li>\n<li>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Common_knowledge_(logic)\">wikipedia article on common knowledge<\/a>, which uses the blue eyes puzzle as an illustrative example.<\/li>\n<li>A <a href=\"http:\/\/math.stackexchange.com\/questions\/489308\/blue-eyes-a-logic-puzzle\/490546#490546\">post on the math stackexchange site<\/a> that gives a detailed an formal proof of result.<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s Riddler problem is another classic. The current incarnation of the puzzle is about error-prone mathematicians, while the classic version is about blue-eyed islanders. A university has 10 mathematicians, each one so proud that, if she learns that she made a mistake in a paper, no matter how long ago the mistake was made, she &hellip; <a href=\"https:\/\/laurentlessard.com\/bookproofs\/the-blue-eyed-islanders\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The blue-eyed islanders&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[29,16,17,15,2],"class_list":["post-521","post","type-post","status-publish","format-standard","hentry","category-riddler","tag-classics","tag-dynamic-programming","tag-induction","tag-recursion","tag-riddler"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/comments?post=521"}],"version-history":[{"count":19,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/521\/revisions"}],"predecessor-version":[{"id":542,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/posts\/521\/revisions\/542"}],"wp:attachment":[{"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/categories?post=521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laurentlessard.com\/bookproofs\/wp-json\/wp\/v2\/tags?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}