Footnotes:
The Surprise Examination
Page last updated 03 May 2021
For readers unfamiliar with this paradox, the surprise examination puzzle can be summarized as:
A teacher announces to his student that an examination will be held on some day during the following week, and moreover that the examination will be a surprise. The student initially assumes that the teacher’s pronouncement is correct and he tries to analyze it. He first considers the case where the exam is on the last day of the week. If so, then on the previous night, he would be able to predict that the exam would occur on the following day, and the exam would not be a surprise; so the surprise exam cannot occur on the last day. But then the surprise exam cannot occur on the second to last day either, for in that case the student knows that the surprise exam cannot be on the last day, so he would be able to predict on the night before the second to last day of the week that the exam could only occur on that second to last day. Similarly, the student concludes that a surprise exam cannot occur on any other day of the week either. But when the exam occurs (perhaps on Wednesday), the student cannot be expecting it and so it is a surprise and the teacher’s pronouncement was true after all. Where is the error in the student’s reasoning?
Rather than present a long discourse on this paradox, I shall go straight into a logical analysis of it since, as Timothy Chow has said in his article PDF The Surprise Examination or Unexpected Hanging Paradox (Footnote: Timothy Y Chow, “The surprise examination or unexpected hanging paradox” The American Mathematical Monthly 105.1 (1998) pp 41-51.) there are already about 100 articles that have been written on it, but without any clear agreement as to how to deal with it. If the reader wants further background reading, I would suggest using Chow’s article initially as it gives a good overview of the different approaches that have been made to the paradox. I have not included a list of references to other articles on the paradox as Chow provides a comprehensive list in his online article as in the above link.
Many of the articles have attempted an analysis which turns out to be horrendously complicated and, as shown below, quite unnecessarily so. Chow’s analysis has the advantage that it is not overly complicated. However, I do not consider that he has provided a completely correct analysis of the paradox. He follows an analysis previously made by Fitch (Footnote:
Frederic B. Fitch, “A Goedelized formulation of the prediction paradox” American Philosophical Quarterly 1.2 (1964) pp 161-164.
Fitch’s version is:
where the problem is reduced to two days, and
and
The reduction to two days is for simplification only and can be expanded to several days, though this would become rather unwieldy.
Chow notes that there is an objection to his and Fitch’s version, that:
“A related objection rests on the observation that if the teacher had not announced the exam to the class but had simply decided in secret to give a surprise exam, then no paradox would have occurred. Therefore the trouble cannot be attributed solely to the propositional content of the teacher’s announcement; the act of announcing it to the students must play a crucial role. The purely logical analysis seems to ignore this.”
But this failure to account for this factor can be easily fixed. We can note that there are at least two logic systems to be considered in this situation, the overall logic system of the teacher, and the logic system of the student. If we presume that the teacher who makes the pronouncement about the exam intends his pronouncement to be meaningful, then the day of the exam will not be unprovable by himself and will not be a surprise to him. Chow’s expression does not account for this at all.
But even if we constrict Chow’s expressions to the student’s logic system, the expression does not reflect the actual situation, since it does not include the case where the exam does not occur on the first day. But that could be the case, and for that case the negation of
I postulate that for a strictly logical analysis, the following statement is a more correct reflection of the common informal presentation of the paradox, where the following statement is taken to be the teacher’s statement to the student: (Footnote: Apologies for an error in the previous version of this section which does not affect the overall conclusion.)
where
For convenience in the following we shall at times refer to
Using
Clearly there is a contradiction, since then we would have that the student proves
and again we have a contradiction, so the statement
At his point, most commentators assume that the statement
or, for convenience,
which can be shown to be logically equivalent to:
Clearly, as before, in the student’s system
That leaves the possibility of
which is equivalent to:
which is equivalent to:
which is equivalent to:
From within his system, the student has no further information on
is true, and this is the same as:
But we also know that, regardless of whether the negation of
is true, since we are told that the teacher must have the exam occur on day one or day two. The two assertions (a) and (b) are mutually incompatible, and hence we have a logical contradiction.
Hence the teacher’s statement
“The conclusion that has been so far reached, therefore, is that the ‘paradoxical’ prediction is paradoxical only in the rather weak sense of being self-contradictory, and that anyone uttering such a prediction is merely uttering a logically false statement.”) (Footnote:
Chow says in his analysis that:
“We can now imitate the students’ argument to show that
The Cause of the Contradiction
The cause of the contradiction is easily seen, which is that for a valid logical system, the system cannot express the notion of the provability of its own statements. In reality, when we postulate that the statement
is a valid statement of the student’s logical system, where
Conflation of levels of language is probably the commonest cause of paradoxical self-referential expressions, and in most cases it results in a statement that appears to directly reference itself. In some cases, however, as in this case, the self-reference is not a case of the statement appearing to directly reference itself. In this case, assuming that
On the other hand, we can consider the teacher’s statement
The real world situation
Of course, the reality is that humans do not act as strict logic systems that simply reject all statements that are contradictory. Instead, humans almost invariably assume that every statement addressed to them is intended to have some sort of valid meaning. So the student will attempt to make a best guess at whether the teacher intended the statement to be meaningful, whether the teacher intended it to be true and what the intention of the teacher was when he made the statement. This means that the question of whether the teacher’s statement is meaningful or true in the real world situation has no singular correct answer. In reality, most students would assume from the teacher’s statement that it is true that there will be an exam on one of the two days, and if the exam did not occur on the first day, then they would not be surprised by its occurrence on the second day. And on the morning of the first day, they would consider that there is a 50% chance of the exam occurring on that day, and hence would not be completely surprised if it occurred on that day. One can of course continue to argue the fine points of possible interpretations almost endlessly but it is not intended to do so here.
The application of Gödel coding
Note that the addition by Fitch and Chow of Gödel numbering and associated material is completely extraneous and irrelevant and only serves to introduce further confusion. After all, if the original pronouncement is contradictory for the student, then adding Gödel numbering and associated material to purportedly show that the pronouncement is contradictory actually shows nothing at all.
However, both Fitch and Chow make claims in their application of Gödel coding which should not pass without mention. Chow rejects the notion that by applying logical analysis we can prevent any self-reference to evade paradoxes, since, he claims, “it is possible in mathematics to formalize certain kinds of self-referential statements.” He supports this viewpoint by appealing to Gödel’s proof of incompleteness and similar proofs. (Footnote: These proofs can all be shown to be flawed see The Flaw in Gödel’s proof of his Incompleteness theorem and Errors in Incompleteness Proofs.) In his article he refers to his analysis of the paradox which incorporates Gödel coding and which results in a contradiction. But then Chow states:
“… although self-reference is not illegitimate in all circumstances, it is illegitimate here because this particular self-referential statement is self-contradictory.”
Here Chow appears to be claiming that it is acceptable to use any theory which allows self-reference, provided that we don’t uncover any contradictory statements in it. But it is well known that simply because no-one has discovered any contradictory statement in a given theory, that doesn’t mean that there cannot be any contradictory statements in that theory.
It would appear that Chow is claiming that since incompleteness proofs include self-reference and because no-one will admit to there being any contradictions involved in such proofs, then self-reference is sometimes acceptable in logical systems. It is surprising how people can continue to engage in convoluted attempts to explain away conundrums rather than continue to search for the root cause of the conundrum.
A simple analysis shows that Fitch and Chow both completely misunderstand the principle behind Gödel coding and its application. The principle is that given a relationship
Fitch and Chow simply throw in some Gödel coding and some number-theoretic relations into their original expressions, but they also leave some parts of that expression uncoded, thus creating a mish-mash of conflation of part meta-language, part coded number-theoretic system and part original expression. The result is a nonsensical absurdity. The root of this failure to understand the necessity for a clear delineation of what is coded and what is not coded can perhaps be laid at the foot of Gödel’s original incompleteness paper, where there is an illogical conflation of levels of language, caused by the unproven illogical assumption that the formal system itself can express the Gödel numbering function, whereas it is a function that is defined in a language that is a meta-language to the formal system. For more on this see The Flaw in Gödel’s proof of his Incompleteness theorem.
Other paradoxes
Rationale: Every logical argument must be defined in some language, and every language has limitations. Attempting to construct a logical argument while ignoring how the limitations of language might affect that argument is a bizarre approach. The correct acknowledgment of the interactions of logic and language explains almost all of the paradoxes, and resolves almost all of the contradictions, conundrums, and contentious issues in modern philosophy and mathematics.
Site Mission
Please see the menu for numerous articles of interest. Please leave a comment or send an email if you are interested in the material on this site.
Interested in supporting this site?
You can help by sharing the site with others. You can also donate at where there are full details.