Lecture
«The Hardest Logic Puzzle Ever» (Italian: L'indovinello più difficile del mondo) is the name of a logic problem proposed by the American philosopher and logician George Boolos in the Italian newspaper La Repubblica in 1992:
|
There are three gods: A, B, and C, who are the gods of truth, lies, and chance, in some order. The god of truth always speaks truly, the god of lies always lies, and the god of chance either tells the truth or lies, which is determined by chance. It is required to determine the gods by asking 3 questions that can be answered «yes» or «no». Each question is put to only one god, but more than one question may be put to the same god. The gods understand the language but answer in their own language, in which there are 2 words, «da» and «ja», and it is not known which word means «yes» and which means «no». |
Boolos also clarifies some points of the problem:
Boolos also clarifies some points of the problem:
Other comments:
Boolos credits the logician Raymond Smullyan as the originator of the puzzle, and John McCarthy with adding to its difficulty by introducing the ambiguity of «da» and «ja». Similar puzzles appear in Smullyan's books; for example, he describes an island where half the inhabitants are zombies (who always lie) and the other half are humans (who always tell the truth). The situation is complicated by the fact that the islanders understand us perfectly well, but an ancient taboo forbids them from using foreign words. So they use the answers «bal» or «da», which mean «yes» and «no», though it is unclear which means what. There are a number of similar puzzles in the book «The Riddle of Scheherazade». All of these are variations of Smullyan's widely known knights-and-knaves puzzles.
One such puzzle was featured in the film «Labyrinth»: there are 2 doors and 2 guards, one of whom always tells the truth and the other always lies. One door leads to the castle, the other to death. The point of the puzzle is to find out which door leads to the castle by asking a single question to a single guard. In the film, Sarah asked: «Would he [the other guard] tell me that this door leads to the castle?»
Boolos proposed a solution to the puzzle in the same article in which he published the puzzle itself. He stated that with the first question we must find a god who is not the god of chance, that is, who is either the god of truth or the god of lies. There are many questions that could be asked to achieve this goal. One strategy is to use complex logical connectives within the question itself.
Boolos's question: «Does „da“ mean „yes“ if and only if you are the god of truth, and god B is the god of chance?». Another version of the question: «Is the number of true statements in the following list odd: you are the god of lies, „ja“ means „yes“, B is the god of chance?»
The solution to the puzzle can be simplified by using counterfactual conditionals . The idea behind this solution is that for any yes-or-no question Q put to the god of truth or the god of lies:
The answer will be «ja» if the correct answer to question Q is «yes», and «da» if the correct answer is «no». To prove this, one can consider the eight possible cases proposed by Boolos himself.
Using this fact, we can ask the following questions:
The remaining god is determined by elimination.
Comments