Help out Aladdin

Logic Level 1

Aladdin finds two trunks A and B in a cave. He knows that each of them either contains a treasure or a fatal trap. On trunk A is written: “At least one of these two trunks contains a treasure.” On trunk B is written: “In A there’s a fatal trap.” Aladdin knows that either both the inscriptions are true, or they are both false. Can Aladdin choose a trunk being sure that he will find a treasure? If this is the case, which trunk should he open?

None contains a treasure B Insufficient information A

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.

3 solutions

Ivan Koswara
Jul 15, 2014

If B's statement is false, then A has a treasure and hence A's statement is true. But it's impossible for the two statements to have different truth values. Thus B's statement is true, and consequently A's statement is true because the two statements must have equal truth values.

So A has a fatal trap, but there is at least one treasure among them. Thus B has the treasure.

Babo Jee
Jan 17, 2021

Solution. Let’s consider a propositional language where a =“Trunk A contains the treasure” and b =“Trunk B contains the treasure”. 17 Propositional Logic + Obviously¬a =“Trunkacontainsatrap”(andsimilarlyfor¬b),sinceeach trunk either contains a treasure or a trap (exclusive or). Let’s formalize what Aladdin knows: • Formalization of the inscriptions: a∨b “At least one of these two trunks contains a treasure.” ¬a “A contains a trap” • Formalization of the problem: 1. “either both the inscriptions are true, or they are both false” (a∨b) ↔¬a What we can do is to verify whether there is any interpretation satisfying the formula in 1. : • The only interpretation satisfying 1. is: v(a) = F and v(b) = T • Thus Aladdin can open trunk B, being sure that it contains a treasure.

Sonali Srivastava
Jul 21, 2014

It is said that either both the statements are correct or both are false.Since we know that one contains treasure n other trap hence we can say that both the statements are correct hence the statement that A has a trap is correct so Aladdin opens B.

no we don't know that one has treasure for sure.

Mudit Garg - 5 years, 8 months ago

Ivan Koswara, I did not understand the statement "it's impossible for the two statements to have different truth values" why two statements can't have different truth values?

Omais Ahmed - 4 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...