5 ms·
Like many philosophical puzzles, this one is based on mapping [torturing] ordinary language into a formally logical model. In this case "surprise" seems suspec
by brudgers 15y ago
Like many philosophical puzzles, this one is based on mapping [torturing] ordinary language into a formally logical model.
In this case "surprise" seems suspect since it is an emotional and physical response - things which are likely to be difficult to predict using formal systems.
Then of course, there is the fact that the surprise is announced before hand rather than exclaimed - "Surprise!" - at the actual event as is the case with a surprise party...and of course surprise parties often do not surprise the person for which they are planned - indeed, sometimes forewarning is a necessary part of the surprise party plan.
Just as a surprise party is rated a success based upon the general standards for parties even when the person for whom it is thrown is not actually surprised (though acting surprised is often helpful), a surprise exam is successful based upon the relevant academic criteria. One simply does not fail a surprise exam because they were expecting it.
What the professor announced was essentially, "On one day next week, there will be an exam. I am not telling you which day that will be." Whatever paradox we imagine finding is dependent on us deeming the purpose of the exam to be to cause surprise among the students, rather than getting them to study or measuring their knowledge or any of the legitimate purposes of the context.
Of course this does not make as interesting a story.
But it is hardly news that a flawed algorithm may produce flawed results.
The problem is that we are trying to treat ordinary language as if it was psuedocode.
For i = 5 to 1
i = i - 1
if i = 1
then "No Exam"
else next i
- Dylan16807 15y agoThe way to put the problem of surprise into logic is more like "On one day next week there will be an exam. It will not be possible to logically determine which day the exam is on." It's a very interesting story, you just have to preserve the core of the problem.
- brudgers 15y ago>"It will not be possible to logically determine which day the exam is on" Once that becomes a premise, the efforts of the students are of the sort who should be logically classed with: persons in a state of insanity, whose brains are so disordered and clouded by dark bilious vapors as to cause them pertinaciously to assert that they are monarchs when they are in the greatest poverty; or clothed [in gold] and purple when destitute of any covering; or that their head is made of clay, their body of glass, or that they are gourds... [Descartes]
- Dylan16807 15y agoWell at the start of the argument they're not trying to determine the day it is on, but rather trying to find one day that it is not on.
- martinflack 15y agoI think that you also have to specify whether it "will not be possible" from now, at the outset, or at a given running moment during that week. I found that to be a source of ambiguity in the problem specification as well.
- ajuc 15y agoThere are possible formal interpretations of that problem that are interesting, so people are arguing about them, instead of arguing about the proffesor intention, which is obviously what you wrote. One possible interpretation: "There will be exam this week" means (1) X is a random variable from the set {1,2,3,4,5}, with unknown distribution. "you won't know the day till the start of the exam" means, that (2) P( X=x | P(X=x | X>x-1) = 1 ) = 0 Since X <= 5 we know that P(X=5 | X>5-1) = 1. So we know that P(X=5) = 0. From this we know that P(X=4 | X>3) = 1. So P(X=4) = 0. From this we know that P(X=3 | X>2) = 1. So P(X=3) = 0. From this we know that P(X=2 | X>1) = 1. So P(X=2) = 0. From this we know that P(X=1 | X>0) = 1. So P(X=1) = 0. Contradiction. From this students could deduce that (1) or (2) assumption is wrong (logical "or"). Further implications are based on students assuming there won't be an exam, which makes the exam surprising in the end, and removes contradiction, or assuming that (2) is false, which makes all days possible, which removes contradiction. For me it's dubious reasoning - if we had contradiction once, it can't be removed by forgetting it for a while. At least that's my intuition. If I've made errors, please, correct me.
- its_so_on 15y agoplease see my other comment. Your formulation (1) is wrong, and it matters. If x is, as you say "a random variable from the set {1,2,3,4,5}, with unknown distribution" then it is true that you cannot, given the methodology of going thru days one by one, be 100% guaranteed to not be able to deduce the day of the test that you must have it that day. This is because for whatever space of possibilities (in this case 1,2,3,4,5) on the last day of the space, you can deduce (given the methodology) that it must be that day. But the teacher is not really giving you a gurantee that x is a random variable from the set {1,2,3,4,5}. the teacher is only giving you a guarantee that x is a member of the set 1,2,3,4,5. You have no idea what x is, nor how the teacher chose it. So, given the guarantees Version A 1) x is a random variable from the set (1,2,3,4,5) 2) prior to the first day (commencement) you are given a 100% guarantee that proceeding thru opening days one by one until day x, you will not be able to deduce on day x, before opening that day, that the exam will be given that day. in this case you are right: there can be no solution. but version b is different: 1) teacher guarantees x is 1 or 2 or 3 or 4 or 5. 2) prior to the first day (commencement) teacher gives 100% guarantee that proceeding thru opening days one by one until day x, you will not be able to deduce on day x, before opening that day, that the exam will be given that day. in this case you don't really know what set(s) x is a member of. The teacher could fulfill his obligation for (2) by hard-coding x to be Monday. The student could reason that "If by Friday we don't have an exam, the exam must be Friday", thinking that the space is 1,2,3,4,5. But it's not: there is no possibility the exam is on Friday, due to hard-coding the exam to be Monday, and therefore Friday is not the 'last day' the exam could be given. It's not any of the days the exam could be given. Nor is Thursday. Nor is Wednesday. Therefore, the student is simply wrong in supposing (guessing) that this is the space in which the exam is on one of the days of.