You come to a room in the maze with two doors. One leads to treasure, the other to…
- User
You come to a room in the maze with two doors. One leads to treasure, the other to certain death. Each door is guarded by an armored knight. One of the knights always tells the truth and the other always lies, but you do not know which is which. What single question would you ask a guard, in order to determine which door has the treasure behind it?
- Assistant
To determine which door leads to the treasure, you should ask one of the knights a question that involves the other knight's response. Here's the question you can ask:
"If I were to ask the other knight which door leads to the treasure, what would he say?"
Let's analyze the possible outcomes:
-
If you ask the question to the truth-telling knight:
- He will honestly tell you what the lying knight would say.
- The lying knight would point to the door leading to certain death.
- Therefore, the truth-telling knight will point to the door leading to certain death.
-
If you ask the question to the lying knight:
- He will lie about what the truth-telling knight would say.
- The truth-telling knight would point to the door leading to the treasure.
- Therefore, the lying knight will also point to the door leading to certain death.
In both cases, the knight you ask will point to the door leading to certain death. Therefore, you should choose the other door, which will lead to the treasure.
This question works because it forces the knight you ask to consider the response of the other knight, and their answer will always reveal the door you should avoid, regardless of whether you ask the truth-teller or the liar.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.