There are two chests. One will open if you say a true statement and the other will open if you say a false statement, but you don't know which is which!
You also know that one contains treasure and the other will release a deadly gas, but again, you don't know which.
Is it possible to make a statement that will cause only the chest with treasure to open?
Hint : Each statement is either true or false. It is not possible for a statement to be a paradox!
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This is what I came up with too.
Log in to reply
open the chest without the treasure it will open right?
Were do I challange the notion this is explained. It does not address the poison in one of the two chests.
The true chest has gold! If it's true, then the teue chest will open, giving me the gold. If it's false on the other hand, the false chest will open, thus giving me the gold as well.
Same solution here as well
This is the same solution i came up with
Log in to reply
😂😂😂😂😂😂😂😂😂😂😂😂
The gas is in the false chests!! Aw. Get it.
I think I have a more pessimistic disposition. Mine was, “The chest with the poison gas will open If I say a false statement.“
This was my thinking!
A: "The gas is in the false chest." If true, the treasure in the true chest opens. If false, the treasure is in the false chest, and that will open.
Log in to reply
This is the best solution so far I think. Great work!
"The treasure is in the true chest." Thank you for letting me find that.
Amzingly righttttt
that's what i got
Another possible answer is, "I will live if the true chest opens." If the treasure is in the true chest, then you will live when it opens. If the gas is in the true chest, then the false chest will open with the treasure inside it.
Log in to reply
That's a prediction. Are predictions logical statements?
This works too: "If I go to the other chest and say there is gold inside it, it will open"
Log in to reply
This was my approach.
That would only work if the chests were self aware. The chest would have to know which chest you were talking to. I got the impression they operated like magical machines rather than sentient beings.
there are 2 possibilities:
Neither of which you want the chest that contains the gas to be open as such you can say a double negative statement to make it true: The false statement does not open the chest that contains treasure. if possibility #1 it is false as such it opens the chest that contains treasure. if possibility #2 it is true as such it opens the chest that contains treasure.
If you say the chest that opens if I say something true has the treasure than it would open up the correct chest which is the truth and if it is false than the same outcome.
See my solution for a more generalised approach using propositional calculus
Say: "The truth box has gold and the lie box has gas." if you are wrong and the gold is in the lie chest, it will open. If you are right and the gold is in the truth box it will open.
This is about logic,is it not? Shake one of the chests If it is light it will contain the gas If it is heavy it will contain the treasure Take that chest back with you,say a random statement then if you were wrong you will not be affected by gas because the other chest is in a different realm. Or just break it open.
Log in to reply
That's not the question. The question is "Is it possible to make a statement that will cause only the chest with treasure to open?", not "Is it possible to get the treasure and survive?"
in this case is a "follow the rules" problem
That's a wonderful answer. 😂
By Logic, if you don't know which chest holds inside the treasure it's not possible to make a statement that opens only the chest with treasure.
Log in to reply
It is, because you can reference information you don't know.
Simple: Make the following statement: one of you has a treasure and one of you has deadly gas. The statement is true therefore the treasure will open. No false statement is made thus the gas chest stays closed.
Log in to reply
You don't know if the truth chest hold treasure though
You don't have to make a statement claiming to know which is which. You just have to make a statement in general. The point isn't that the treasure actually is in one of the two boxes. The point is that without knowing which one is which you can still force the treasure to open with logic rather than knowing where it is in the first place.
'The treasure is in the first chest' can also be one of the answer
Log in to reply
What if the treasure is in fact in the first chest, but it is the one that opens with a false statement?
You would die mate :p
If we discard paradoxes, there isn't a solution that 100% guarantees you to only get the treasure-containing chest to open.
Your entire basis of answering this question lies on probability, that is not logic! Or maybe you are not explaining it well...
I will not die if I don't open any chests
Log in to reply
What if the treasure is in the false chest
Simple: Make the following statement: one of you has a treasure and one of you has deadly gas. The statement is true therefore the treasure will open. No false statement is made thus the gas chest stays closed.
Log in to reply
We don't know what does the truth chest hold; so saying something true (make it easier: say "2 + 2 = 4") might open the truth chest which contains deadly gas. Then... whoops... .
How about saying, "The truth chest contains the treasure". If it does, the truth chest opens and you have the treasure, if it doesn't, your statement is false, a and the false chest which has the treasure opens.
Statement: "There is a 1/2 probability that the chest I choose at random is the one with the treasure"
Literally same statement at the first time
It seems to me that this is not a valid solution.
Let's label your sentence P. Then, if it has interpretation (is either true or false), it must be true. Assume P is false. Then you didn't say true statement, but the statement is "If P is true, then Q", which is material conditional with false antecedent, so it is true. Contradiction. Therefore, P is true. However, if antecedent is true, and conditional is true, then consequent is true as well, i.e. the chest with the treasure will open.
So far, it's as you said. But, if the treasure is in the chest that opens when false statement is said, then both chests must open, otherwise it will contradict the rules. In that case, you have also released deadly gas, thus the solution is not valid.
To sum it up, if the treasure is in the "false chest", either both chest must open, or your sentence is a paradox, not having interpretation.
I propose a simple solution: The treasure is not in the "false chest". If it is, the statement is false and so the treasure chest opens, and if it's not, the statement is true and again the treasure chest opens.
The question states that no statement can be a paradox The statement when the poison is in the true box will cause it to be false and as such the treasure box will open the statement will not be processed futher or else it will cause it to be a paradox. It's computer logic as if we allow it to be processed further it will cause it to be a paradox. Jason Dyer has also said so in his solution below.
☺
_This seems a lot simple to me_
☺:
" The treasure is in the true - chest"
-----If it's true, the true-box opens.
-----Else the false-box opens.
-----As simple as that.
In the given task is asked for an statement. I would not say that a If-sentance is right. What about this one: “The chest, opens at true, contains the treasure and the other chest, opens at false, contains the deadly gas!” Tell me what you think below. MORTIMA
Second day of thinking: I tried to get the solution statements into a formula: k(1) = (true-chest), k(2) = (false-chest), 1 = true statement, 0 = false statement, t = treasure, g = gas || k(1)s + 1 = k(0)s + 0 || != (unequal) || k(1)g + 0 = k(0)g + 1 || Tell me if it is true. I’m wondering on how to convert it into a mathematically formula. Do you have an answer? MORTIMA
same as you
You can say that the poison gas is in the false chest.
If the gas is indeed in the false chest, the statement is true and the true chest containing the gold will open. If it is false, then the gas is in the true chest and will not be released but the false chest containing the gold will open.
This comment was on youtube by EZlats
That is exactly my thinking!
Say « The treasure is in the True chest »
Hey guys, I don’t get it - why can’t you just say a blatantly true statement, like... ‘The earth is round’ or ‘Cookies are good’ and get the chest with treasure to open like that?
Log in to reply
Because if the chest that opens when you say a true statement is the one with the deadly gas, you will die, and you cannot know if this is the case.
(Tip: don't say that "The earth is round" is a true statement, flat earth followers are everywhere ;) )
My version is this " this box contains a poison gas as well as a treasure " which is always false therefore the poison box opens and then I find treasure in the other box.
Log in to reply
You don't know if the chest with the deadly gas is the one that opens with false statement. Also, even if so, it would be better to say an always true statement, like "this box contains a poison gas or a treasure", because once opened the deadly chest you are dead
Hmmmm. I'm confused 😕🤔
Solution1: "The treasure is in the truth-opening chest" If this statement were true, then it means truth-chest would open and it contains the treasure. If this statement were false, then the false-chest would open and it contains the treasure.
Solution2: "The deadly gas is in the false-opening chest." If this statement were true, then it means truth-chest would open and it contains the treasure. If this statement were false, then the false-chest would open and it contains the treasure.
Is it the chest that tells the truth, the one that will give me the treasure or does it have the treasure?
Before giving the answer, note that a statement in the form
If A, then B.
is false if and only if the hypothesis (A) is true and the conclusion (B) is false. Given this fact, only one statement is needed:
"If the truth-opening chest opens, then the treasure is inside it."
First, note that truth-opening chest cannot stay shut given the above statement.
If it did, then the hypothesis of the if-then statement (the truth-opening chest opens) would be false. However, if the hypothesis of an if-then statement is false, then the entire if-then statement is TRUE. So this is a contradiction! The truth-opening chest has to open. In addition, when this happens, the if-then statement forces the inevitable conclusion that the chest must contain the treasure. (If it contained the gas, the if-then statement would be false, yet the truth-opening chest opened meaning the if-then statement is true; this is a contradiction.)
Second, the false-opening chest cannot open given the above statement.
Suppose the false-opening chest did open. Then it would mean the if-then statement is false. The only way for it to be false is if the hypothesis is true and the conclusion is false. The hypothesis being true means the truth-opening chest opened, which also implies the original if-then statement is true. So the if-then statement is both true and false, which is a contradiction. Hence, the false-opening chest must stay shut.
A problem soon arises, though. Are the truth-opening and false-opening chests predetermined? Are the chests in which the gold and poisonous gas are also predetermined?
If so, what if the truth-opening chest had the poisonous gas, and the false-opening had the gold? Then the statement would cause a paradox, which is, according to the problem, not allowed.
The solution does not guarantee a resolution to this problem.
So if the truth-telling box doesn't open, the statement is true meaning it does open.
Given indeterminate starting conditions you've introduced a paradox which isn't allowed. Just because it isn't permitted doesn't allow you to ignore it.
In the given task is asked for an statement. I would not say that a If-sentance is right. What about this one: “The chest, opens at true, contains the treasure and the other chest, opens at false, contains the deadly gas!” Tell me what you think below. MORTIMA
I also used iff - You are true chest iff you contain poisonous gas.
I did the true chest has gold.
How about if you say "The deadly gas is in the chest that opens if I lie." ?
Same as my answer, the two statements are logically equivalent in this scenario.
Can i say.. The deadly gas is in the (false statement)box..so if that's right the right box with treasure will open and if not, the ,then the statement is false and the treasure box will open
I would make the statement, “The truthful chest has the treasure”.
This is far cleaner as a solution since it avoids any ambiguity.
There is the true chest and the false one. Which of them is truthful? @Mortima
I think you could just say "mattresses are soft" to get the treasure.
But the chest which opens when you say a true statement may release the deadly gas
All you need to say, I believe, is "The treasure is in the truth chest." If its true then the truth chest opens and you win. If the statement is false, the false box opens with the treasure inside.
A simple statement: "Truth will be rewarded."
This is a particular instance of the knights and knaves puzzle. We could reformulate it in predicate form as follows. Let T 1 ( x ) and T 2 ( x ) denote the boxes that evaluate our statement as truthful or not. Then the rules for each box can be written as: T 1 ( x ) ⇔ f a l s e T 2 ( x ) ⇔ ¬ f a l s e
The goal is to find a statement that leads to the same outcome for both rules. So our solution is to force the one box to evaluate the outcome of the other box like so: T 1 ( T 2 ( x ) ) ⇔ ¬ f a l s e T 2 ( T 1 ( x ) ) ⇔ ¬ f a l s e
Notice how, no matter which box evaluates the statement, the outcome is the same. This approach generalises the form a statement might take to solve the puzzle instead of providing one particular example.
I think Michele's solution is better, but would you accept this solution? The sentence is the whole text between the quotes:
"The sentence <The chest that contains the treasure opens for true statements.> is not a paradox in this case."
The problem description is incomplete. It sats nothing about the chests knows what it contains and can respond to statements etc
I think: this sentence is true (the sentence in the '<>' is either true or false, but not a paradox), so it opens the truth-opening chest. But it is not guaranteed that the treasure is inside.
Quite simply say that "the gas is in the box that opens when you're statement is false." If the above is true the box which opens you make a true statement will open this box must by definition contain the treasure are the gas is in the other box. If the above is false the gas is in the box that opens when a statement is true and the box that opens when the statement is false opens which must contain the treasure.
"If I say, 'The other chest has the treasure,' then the other chest will remain closed."
Case 1 : The chest that opens when you give a true statement has the treasure, and the chest that opens when you give a false statement has the poisonous gas.
Saying "The other chest has the treasure" will keep the truth chest closed because it is not true that the other chest has the treasure, and it will also keep the false chest closed because it is true that the other chest has the treasure. Saying "If I say, 'The other chest has the treasure,' then the other chest will remain closed" will then be true for both chests, so that the truth chest with the treasure opens but the false chest with the poisonous gas stays closed.
Case 2 : The chest that opens when you give a true statement has the poisonous, and the chest that opens when you give a false statement has the treasure.
Saying "The other chest has the treasure" will open the truth chest because it is true that the other chest has the treasure, and it will also open the false chest because it is not true that the other chest has the treasure. Saying "If I say, 'The other chest has the treasure,' then the other chest will remain closed" will then be false for both chests, so that the truth chest with the poisonous gas remains closed but the false chest with the treasure opens.
Here is Leon’s solution:
The false chest has the poisonous gas in it.
So if it is true, then we open the true chest. If it is false, we open the false chest. Both outcome would bring us the treasure.
"The poisonous gas is not in the chest that opens upon uttering a true statement." If this is true then the "true" chest will open to reveal the treasure. If this is false, then the poisonous gas is indeed in the "true" chest and the "false" chest will open to reveal the treasure.
You have to say a false statement that won't kill you. Saying something like, the chest which opens with a false statement has gas in it can't open the chest with the false statement and gas because it would mean that it was true. So it has to open the chest with the true statement.
Why not try to accuse that one of the chest contained the treasure? Something like " The treasure is in the chest that will open if i tell a true statement". If im correct, then the truth chess will open. If im wrong, the false chest will open, containing the treasure.
"the treasure is in the truthful chest" should work. True if the treasure is in the truthful chest, therefore that opens. False if poison is the truthful, opening the treasure again
My proposed statement:
If I make a false statement, the chest with the deadly gas will open. <br>
If it's true, then the chest with the treasure will open. If it's false, then that means that the chest holding the deadly gas only opens if I say a true statement, so the chest with the treasure should also open.
I Simply state:, "When I open any-one of these two boxes Boxes I run the risk of being killed by a poisonous gas". Since the chance I will die is 50% the statment is true and the box with the treasure will open. I could also have stated: "When I open any-one of these two boxes Boxes I have a chance of getting a treasure"......
well if you say "the true box contains the treasure" if it has the treasure you would get it because the statement would be true and if it doesn't the statement would be false so you would open the false box witch would have to contain the treasure.
Another statement can be, If this statement is false then the chest with the poisonous gas opens
Say the box on the left has the treasure if it is true the left box opens with treasure. if it is false the box on the right opens with the treasure
Just say: "The treasure is in the truth-telling chest" . If the treasure is in the truth-telling chest, it will open. If the treasure is in the false-telling chest, this false-telling chest will open then.
One of the chests contains the deadly gas
Have fun being dead
One possible answer is, " I will live if the true chest opens. " If the treasure is in the true chest, then you will live when it opens. If the gas is in the true chest, then the false chest will open with the treasure inside it.
My solution was slightly different that the common if then argument.
Mine was "This statement is true and the box with the treasure will open" My reasoning is that the entire statement is true only if both substatments are true. thus if the statement is true then the treasure box opens and I get it. If the statement is false, it would be because the treasure is in the lying box(hence You cannot both tell the truth and get the treasure) but if the statement is false, the lying box opens and I get the treasure
I think this statement does not work: firstly, it can be considered true or false in any case, and I'm not sure that such a sentence is a statement. Even if so, consider this scenario: the treasure is in the truth-telling chest and the statement is taken as false, which is possible because in this case the part "this statement is true" becomes false. So the deadly chest opens. I repeat: you can consider the statement indifferently true or false. I think this case is undetermined.
"One of these chests contains treasure" is a true statement.
Say "2+2=4"
Or "2 is even no."
Or "1=1"
The gas chest is true and you die
If I say The chest that'll open if I say a true statement contains treasure then the chest with treasure will open
Say 'the chest with the treasure opens if what I said is true
"The left box contains the treasure". If it does it opens, if not, the other box, which must contain the treasure, opens.
A part is missing. If the left box contains the treasure but opens with a false statement, the right chest (with gas, opens with true statement) opens and you die.
We first convert both chest to "True chest".
.
Consider "If i say A, u will open."
When A is true, both chest will open.
When A is false, both chest will close.
.
Eg: plug in A=(earth is round) which is true.
"If i say (earth is round), u will open."
It is easy to understand that True chest will open. But saying (earth is round), False chest will close, so say the statement "If i say A, u will open" is false, False chest will open.
Conclusion: both chest will open.
.
When A is false, similar argument deduce that both chest will close.
.
Now Plug in A=(u contain treasure)
"If i say (u contain treasure) then u will open."
Only for treasure chest, A is true to it. Only it will open.
I got the same answer as Michele Chiminazzo. “The box with the treasure opens for true statements.” The key is to refer to the box with the treasure since truth or falsity depends only on the opening rule. Stating the opening rule as true makes the truth or falsity of the statement correspond to the opening rule. In addition, the other box will not open since it must have the opposite opening rule.
Notice that identities like 2+2=4 or statements like "One chest has the treasure" are true (the problem itself says that in one chest there's the treasure, but you don't know in wich). True statements will open the truth-opening chest; but the treasure can be in the other one, so you'll die.
Conditional statements ( if ... then ... ) or statements which refers to future events (like "it will open ...") may be correct, but so logically tricky.
There's a much simpler (and elegant) way to win:
"the treasure is in the truth-opening chest"
(equivalent to Sean McCloskey answer).
If true, then the treasure is actually in the truth-opening chest and, since I said a true statement, it will open.
If false, then the treasure is in the false-opening chest and, since I said a false statement, it will open.
The statement I propose is the following. The box that opens when one says the Truth contains the treasure. 1) If this is true, then the "truth" box will open and the treasure will be inside. 2) If it is false, then it means the treasure is in the "false" box. In that case the "false" box will open which will contain the treasure.
I have another question of the same sort, "There are 2 ways one to heaven and another to hell" ( You want to go to heaven ), and there's a man on each of the gates, ( one always tells the truth, another man always lies ), they both know each other that( if I'm the truth teller, the other is a lier and the lier knows that the other guy is truth teller), You can make only one statement, ( either by asking one of them or by involving both of them to answer your question), Can you guarantee that you go to heaven?
Bonus : If no, then why?!... If yes then how?!
Post your answer in the comments!
Ask one of them, “which gate would the other man say is the gate to hell?” Go through that gate.
https://xkcd.com/246/
An alternative solution: "If I'll ask you which way leads to heaven, what will be you answer?" If I pick the truth-teller, it's easy to understand he answers with the way to heaven. If I pick the liar, his answer to "which way leads to heaven" would be the way to hell. He has to lie about his answer, so he also answers with the correct way.
My solution: the earth is round
Dab on dem flat earthers
The truthful chest opens and releases the poison gas. You die.
"One of the chests contains the treasure. "
The truthful chest opens and releases the poison gas. You die.
Just say "2 + 2 is 4"
The truthful chest opens and releases the poison gas. You die.
"One of the two boxes contains a treasure"
The truthful chest opens and releases the poison gas. You die.
Palmface (I should have read more carefully the text...)
Where can I find the exact solution for this problem????
“The gas is contained in the chest that will open to a false statement” If the gas is in the false chest, then the statement is true this the other chest (with the treasure) will open. If the gas is in the true chest, then the statement is false and the false chest (with the treasure) will open.
what about: " one of the two chests contains the treasure "?
This gives you a 50% chance of dying. I don't like those odds.
Problem Loading...
Note Loading...
Set Loading...
This is my solution, I think it is simpler than the one proposed by Jason Dyer (which rises the question asked by Siva Budaraju):
The chest with the treasure is the one that opens if I say a true statement.
If this statement is true, the chest with the treasure opens, because it is the one that opens if the statement is true. If this statement is false, the chest with the treasure opens, because it is the one that opens if the statement is false. So, in any case, the chest with the treasure will open.