tag:blogger.com,1999:blog-3722233.post46406362859076525..comments2024-04-20T13:30:48.050-05:00Comments on Computational Complexity: The Unexpected Hanging Paradox-any seriosu math their?Lance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-3722233.post-45076301526715861572011-11-28T17:06:48.893-06:002011-11-28T17:06:48.893-06:00I believe that the paradox does not exist for any ...I believe that the paradox does not exist for any day except the last day, Friday. On Friday morning, the prisoner deduces for certain that he must be hung that day but he can't be hung that day as per the judge's decree. If the prisoner is hung or not hung, the judge's decree, as stated, is not being carried out. This failure only applies to one day, Friday!<br /><br />To erroneously pick up the earlier days, the prisoner engages in a REVERSE Mathematical Inductive Process in the future. He jumps to a FUTURE time, Thursday at noon of the following week. Shortly after noon that day, he becomes aware that Thursday is not going to be the day of the hanging. He knows the Friday can't be the day either as deduced correctly above. Now he attempts to apply Mathematical induction on the other days.<br /><br />Mathematical induction is proven to work when you make a deduction that works for the test case and then proceed forward in a falling dominoes manner picking up all future cases. From this point, on a future Thursday, if he deduced events which will occur AFTER that Thursday, he would be okay and the inductive process would produce correct results.<br /><br />However, in this case, he stays in the future and runs his inductive process back towards present time! Reverse induction works once in a while but in the general case it does not always work. As the prisoner runs his inductive process backwards towards present time, the information which he obtained on various later days is no longer with him. In particular, he moves backward before the Thursday, a week or so in the future, where he learned that the judges decree would fail on Friday. That knowledge which occurred just after noon was not known in the time period in which the inductive process is run backwords. The decision that Friday is eliminated is not yet known in those earlier days and yet THIS AS YET UNKNOWN DATA IS STILL BEING APPLIED AS IT IS KNOWN. The reverse inductive process must fail as it assumes a not yet known fact to be true.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-75861293939235492932011-02-28T12:49:22.035-06:002011-02-28T12:49:22.035-06:00We have an induction, so the conclusion is going t...We have an induction, so the conclusion is going to be determined by the base case, i.e., what happens at 1pm on Friday, the final day. Specify that and everything else becomes clear.<br /><br />There are two variables: what the prisoner knows/expects and whether he is hanged or not.<br /><br />If the prisoner *must* be hanged, then the prisoner will know it is going to happen when 1pm on Friday rolls around. Does he get hanged? This is the base case. <br /><br />If he gets hanged at 1pm on Friday then the premise that it can't happen if the prisoner knows/expects it to happen is violated. If he is set free then the premise that he must be hanged is violated. The paradox is then revealed to be an obvious contradiction of premises which renders our base case undefined.<br /><br />(Note that if the judge tosses a coin or simply frees the prisoner on Friday then the induction also breaks down because on each day the prisoner has no way of knowing whether he will ultimately be hanged.)JKUhttp://www.MMvsAM.comnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-87724565109175701362009-09-25T22:08:08.515-05:002009-09-25T22:08:08.515-05:00Seems to me the judge is counting on the prisoner ...Seems to me the judge is counting on the prisoner using the logic stated in the problem and assuming he would not be hanged on Thursday. Since he was hanged on Thursday the prisoner is surprised by the hanging because he had concluded he would not be hanged on Thursday. The judge was making a prediction of the surprise by assuming the prisoner would use false reasoning about his chances of being hung on a patricular day.Robert Bynumnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-49430236980105781372009-07-17T20:42:56.591-05:002009-07-17T20:42:56.591-05:00I've come up with my own solution which is not...I've come up with my own solution which is not on wikipedia. Forgive me if it's already been mentioned here. Firstly the statement is not contradictory. Second here are the assumptions I'm using: The judge means that (1) "The prisoner will be executed next week on a weekday and the date will not be deducible using this statement.",(2) the prisoner knows the judges statement to be true and will know it to be true all of next week. The judges statement is not a paradox. The paradox lies with the prisoner's argument. The prisoners first point is that if he survives until Thursday he will know the date of his execution is Friday based on axiom 1. However, if he can deduce the date from axiom 1 then axiom 1 contradicts itself because it states that he cannot deduce the date. Therefore the rest of his argument is false. So, the judges statement is true but the prisoners argument is false because it is contradictory for axiom 1 to be true and him to survive until thursday.Irishmanlukehttps://www.blogger.com/profile/09623037086533460339noreply@blogger.comtag:blogger.com,1999:blog-3722233.post-10639214191249242452008-10-18T16:03:00.000-05:002008-10-18T16:03:00.000-05:00I don't think it's a mathematical problem, for the...I don't think it's a mathematical problem, for the following reason: <BR/><BR/>The judge states that the prisoner will be surprised. Surprise entails not knowing an outcome ahead of time. The judge is saying, in effect, that he or she knows that the prisoner will NOT know the outcome, at the time. So the judge knows what the prisoner will be thinking in the future! Hence the judge is claiming clairvoyant and telepathic powers!<BR/><BR/>Well, you might say that the prisoner is a logician (or listens to his logician lawyer), so he will definitely know that he can't be executed. Why? Because the impossibility of execution is provable (the puzzle provides the proof). Hence the judge need not be clairvoyant. "The truth is out there", and all we need to do is discover it through proof.<BR/><BR/>But I feel that a proof is an article of persuasion, not an absolute. Aren't proofs artifacts of the human mind, which has its own idiosyncratic ways? Can't we conceive of aliens who might think differently? Someone may persuade herself of some idea, and yet change her mind.<BR/><BR/>AlejoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-47544108230539392892008-10-15T03:07:00.000-05:002008-10-15T03:07:00.000-05:00As with all things, the problem is resolved by "ex...As with all things, the problem is resolved by "expectation of death".<BR/><BR/>(Meta-physicians live for week-ends.)<BR/><BR/>-tAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-56244680163187474422008-10-11T21:41:00.000-05:002008-10-11T21:41:00.000-05:00A long time ago, Yoram Mosesand I wrote an article...A long time ago, Yoram Moses<BR/>and I wrote an article on this<BR/>(see http://www.cs.cornell.edu/Info/People/halpern/papers/surprise-test.pdf). We provided three translation of the puzzle into a mathematical formalism. Roughly speaking, the idea was that the judge is telling you that you won't be able to prove, from what he tells you, at 9 AM on the day you'll be hanged, that you will hang that day. In the first translation, you deduce an inconsistency, and every single day you and prove that you will hang that day (so you're not suprised when you do). In the second, you can' ptove anything.<BR/>The third translation is the most mathematically interesting, since it involves self-reference in a serious way. It is true iff it is false. Bottom line: I think there is some serious math here, and it involves giving truth values to self-referential sentences. It's thus related to, but different from, Godel's proof and other paradoxes involving self-reference.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-24676846262489834922008-10-11T11:57:00.000-05:002008-10-11T11:57:00.000-05:00Peter, thank you for that fine link to Timothy Y. ...Peter, thank you for that fine link to Timothy Y. Chow's outstanding article.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-69087853885197235332008-10-10T01:56:00.000-05:002008-10-10T01:56:00.000-05:00Let me point out that Timothy Chow (recent invento...Let me point out that Timothy Chow (recent inventor of almost-natural proofs) wrote a <A HREF="http://www-math.mit.edu/~tchow/unexpected.pdf" REL="nofollow"> survey paper</A> on the paradox that was published in Amer. Math. Monthly. So arguably, the paradox itself qualifies as serious math.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-8451116717307812472008-10-08T05:44:00.000-05:002008-10-08T05:44:00.000-05:00It's kind of a quiet thread ... so I'll suggest an...It's kind of a quiet thread ... so I'll suggest an ancient mathematical paradox that (arguably) parallels the Unexpected Hanging, namely, Zeno's Paradox. <BR/><BR/>The parallel with the Unexpected Hanging Paradox is simply this: in Zeno's Paradox, the tortoise was surprised when Achilles passed him.<BR/><BR/>Are there any similar surprises in modern-day mathematics? Surely. One surprise that broadly impacts us engineers is the surprising amenability of many large-scale systems (both classical and quantum) to efficient simulation. <BR/><BR/>For example, our present mathematical understanding of density functional theory (DFT) is roughly on a par with Zeno's understanding of limits and continua. We know that DFT works well, but we don't understand why in any satisfyingly fundamental way.<BR/><BR/>From this point of view, paradoxical surprises sometimes indicate that the starting postulates of a mathematical discipline need to be clarified and deepened.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-12354007547108322072008-10-07T06:48:00.000-05:002008-10-07T06:48:00.000-05:00Usually in mathematics we are surprised and gratif...Usually in mathematics we are surprised and gratified when unexpected mathematical structure is unveiled. <BR/><BR/>But sometimes this expectation is frustrated, and this frustration can be viewed as the common element in the liar paradox, the Berry paradox, and the hanging paradox, in the sense that these paradoxes point to the (unexpected) <I>absence</I> of (computable) structure.<BR/><BR/>So another way to phrase this question is, what are some examples of mathematical proofs that seem counter-intuitive because they demonstrate that an expected mathematical structure is in fact nonexistent and/or noncomputable?<BR/><BR/>At mathematically simple level, one familiar example is the paradox of the gambler's ruin: we expect to be able to exploit "runs of luck" at the roulette table, but in fact no such strategy exists.<BR/><BR/>These issues arise frequently in simulation theory, which (broadly conceived) includes attempts to predict the behavior of "the hanging judge."Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-36606135003996900112008-10-06T19:13:00.000-05:002008-10-06T19:13:00.000-05:00as someone else mentioned, the literature on repea...as someone else mentioned, the literature on repeated games uses this line of reasoning quite often. a canonical example is repeated prisoner's dilemma.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-78683574031334729842008-10-06T18:45:00.000-05:002008-10-06T18:45:00.000-05:00Its a paradox because "surprise" is not defined. ...Its a paradox because "surprise" is not defined. If the judge tells you you'll be killed in one of 5 days, then how can you be surprised when its anyone of them?<BR/><BR/>Do you mean surprised relative to the choice of days? Even that's not well defined: you can have a 20% expectation of getting killed on the first day. If it doesn't happen, then you can have a 25% expectation on the second day etc. What is the threshold for surprise?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-61078691933971692312008-10-06T18:06:00.000-05:002008-10-06T18:06:00.000-05:00Isn't the induction just a distraction? You don't ...Isn't the induction just a distraction? You don't need it. The judge tells you you'll be killed this week, and it will be a surprise. You deduce it can't be on Friday. The judge has you killed on friday, and its a surprise.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-64073863806339862072008-10-06T18:04:00.000-05:002008-10-06T18:04:00.000-05:00I think an essential difference of this question w...I think an essential difference of this question with the other two you mentioned is its use of subjective knowledge, not language. Therefore, I think the curious math problem will probably come from game theory, AI, ... or something like that.<BR/><BR/>For the paradox, it is completely obvious that the prisoner reasoning is not correct. The first step in the argument is problematic, because he assumes that he will be killed tomorrow, and then argues that he will know that (which is not true), so he will not be killed tomorrow.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-35936972553314738602008-10-06T15:15:00.000-05:002008-10-06T15:15:00.000-05:00Isn't it clear? Having made such a claim, the judg...Isn't it clear? Having made such a claim, the judge is obviously irrational and thus cannot be involved in iterated reasoning about knowledge.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-20265077281165152972008-10-06T15:04:00.000-05:002008-10-06T15:04:00.000-05:00My take: You have to take into account the possibi...My take: You have to take into account the possibility that the judge lies and the prisoner is not hung. In fact this is the conclusion of the lawyer.<BR/><BR/>Now the lawyer's logic can't be applied since not being hung on Friday simply means the judge lied. And everything the judge said was true: The prisoner was hung and surprised when it happened.Lance Fortnowhttps://www.blogger.com/profile/06752030912874378610noreply@blogger.comtag:blogger.com,1999:blog-3722233.post-59151614688079498412008-10-06T12:29:00.000-05:002008-10-06T12:29:00.000-05:00I'd be curious to hear people's resolution of the ...I'd be curious to hear people's resolution of the paradox.<BR/><BR/>For me, I think it boils down to the fact that "surprise" is ill-defined, and any attempts to formally define it either make the initial statement obviously false or obviously true.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-43671847844116128092008-10-06T10:49:00.000-05:002008-10-06T10:49:00.000-05:00The unexpected hanging paradox wikipedia page link...The unexpected hanging paradox wikipedia page links to <A HREF="http://en.wikipedia.org/wiki/Centipede_game" REL="nofollow">Centipede game</A>, which does seem to qualify as serious math. A's optimal strategy can't pass in the last round, so B's optimal strategy can't pass in the 2nd-to-last round, and so on.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3722233.post-57412006798639033792008-10-06T10:21:00.000-05:002008-10-06T10:21:00.000-05:00It's just Gödel's theorem! "I will hang you tomor...It's just Gödel's theorem! "I will hang you tomorrow. You can not consistently prove that I will hang you tomorrow." is pretty much the same as "Bill Gasarch cannot prove that this sentence is true." or "This sentence has no proof in ZFC."JeffEhttps://www.blogger.com/profile/17633745186684887140noreply@blogger.com