You are walking on a road, in front of you: a crossroads. At the crossroads there's a…
- User
You are walking on a road, in front of you: a crossroads. At the crossroads there's a guard post with 2 guards inside. On the guard post there's a sign that says: "Welcome to the crossroads. One path will lead you home, the other will be the end of you. You can ask the guards for directions, but beware: one always lies and the other always tells the truth. You cannot tell them apart and they'll answer only a single question." Now, what question do you ask them to make sure you make it home?
- Assistant
In this classic logic puzzle, the key is to ask a question that will give you the correct path to take, regardless of which guard is telling the truth and which one is lying. One effective question to ask is:
"If I were to ask the other guard which path leads home, what would they say?"
Here's how this works:
-
If you ask this question to the truthful guard, they will truthfully tell you what the lying guard would say. Since the lying guard always lies, they would point to the path that leads to your end. Therefore, the truthful guard will point to the dangerous path.
-
If you ask this question to the lying guard, they will lie about what the truthful guard would say. The truthful guard would point to the path that leads home, but the lying guard will claim the opposite and point to the dangerous path.
In both cases, the guard you ask will point to the dangerous path. Therefore, you should choose the other path, which will lead you home safely.
This question works because it creates a double negative in the case of the lying guard, effectively canceling out the lie and giving you the correct information indirectly.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.