Can you solve the three gods riddle Alex Gendler

Created by logician Raymond Smullyan

and popularized by his colleague
George Boolos,

this riddle has been called the hardest
logic puzzle ever.

You and your team have crash-landed
on an ancient planet.

The only way off is to appease
its three alien overlords,

Tee, Eff, and Arr,

by giving them the correct artifacts.

Unfortunately, you don’t
know who is who.

From an inscription, you learn that you
may ask three yes or no questions,

each addressed to any one lord.

Tee’s answers are always true,

Eff’s are always false,

and Arr’s answer is random each time.

But there’s a problem.

You’ve deciphered the language enough
to ask any question,

but you don’t know which of the two
words ‘ozo’ and ‘ulu’ means yes

and which means no.

How can you still figure out
which alien is which?

Pause here if you want
to figure it out for yourself!

Answer in: 3

2

1

At first, this puzzle seems not just hard,
but downright impossible.

What good is asking a question

if you can neither understand the answer
nor know if it’s true?

But it can be done.

The key is to carefully formulate
our questions

so that any answer
yields useful information.

First of all, we can get around
to not knowing what ‘ozo’ and ‘ulu’ mean

by including the words themselves
in the questions,

and secondly, if we load each question
with a hypothetical condition,

whether an alien is lying or not
won’t actually matter.

To see how that could work,

imagine our question
is whether two plus two is four.

Instead of posing it directly,

we say, “If I asked you whether
two plus two is four,

would you answer ‘ozo’?”

If ‘ozo’ means yes
and the overlord is Tee,

it truthfully replies, “ozo.”

But what if we ask Eff?

Well, it would answer “ulu,”
or no to the embedded question,

so it lies and replies ‘ozo’ instead.

And if ‘ozo’ actually means no,

then the answer to
our embedded question is ‘ulu,’

and both Tee and Eff still reply ‘ozo,’

each for their own reasons.

If you’re confused about why this works,

the reason involves logical structure.

A double positive and a double negative
both result in a positive.

Now, we can be sure that asking
either Tee or Eff a question put this way

will yield ‘ozo’
if the hypothetical question is true

and ‘ulu’ if it’s false

regardless of what
each word actually means.

Unfortunately,
this doesn’t help us with Arr.

But don’t worry, we can use our first
question to identify one alien lord

that definitely isn’t Arr.

Then we can use the second to find out
whether its Tee or Eff.

And once we know that,

we can ask it to identify
one of the others.

So let’s begin.

Ask the alien in the middle,

“If I asked you whether the overlord on
my left is Arr, would you answer ‘ozo’?”

If the reply is ‘ozo,’
there are two possibilities.

You could already be talking to Arr,
in which case the answer is meaningless.

But otherwise, you’re talking to either
Tee or Eff,

and as we know,

getting ‘ozo’ from either one means
your hypothetical question was correct,

and the left overlord is indeed Arr.

Either way, you can be sure the alien
on the right is not Arr.

Similarly, if the answer is ‘ulu,’

then you know the alien
on the left can’t be Arr.

Now go to the overlord you’ve determined
isn’t Arr and ask,

“If I asked ‘are you Eff?’
would you answer ‘ozo’?”

Since you don’t have to worry about
the random possibility,

either answer will
establish its identity.

Now that you know whether its
answers are true or false,

ask the same alien whether the center
overlord is Arr.

The process of elimination will identify
the remaining one.

The satisfied overlords help you
repair your ship

and you prepare for takeoff.

Allowed one final question, you ask
Tee if it’s a long way to Earth,

and he answers “ozo.”

Too bad you still don’t know
what that means.

这个谜语由逻辑学家 Raymond Smullyan 创建,

并由他的同事
George Boolos 推广,

被称为有史以来最难的
逻辑谜题。

你和你的团队坠毁
在一个古老的星球上。

唯一的办法是安抚
它的三个外星霸主

Tee、Eff 和 Arr

,给他们正确的神器。

不幸的是,你不
知道谁是谁。

从铭文中,您了解到您
可以提出三个是或否问题,

每个问题都针对任何一位领主。

Tee 的答案总是正确的,

Eff 的总是错误的

,Arr 的答案每次都是随机的。

但是有一个问题。

您已经破译了
足以提出任何问题的语言,

但您不知道
“ozo”和“ulu”这两个词中的哪个表示是

,哪个表示否。

你怎么还能弄清楚
哪个外星人是哪个?

如果您想
自己弄清楚,请在此处暂停!

答案:3

2

1

起初,这个谜题似乎不仅很难,
而且完全不可能。

如果您既无法理解答案也不知道答案是否正确,那么问一个问题有
什么用?

但这是可以完成的。

关键是要仔细制定
我们的问题,

以便任何答案都能
产生有用的信息。

首先,我们可以通过在问题中包含单词本身
来避免不知道“ozo”和“ulu”的含义

,其次,如果我们
用假设条件加载每个问题,

外星人是否在撒谎
其实没关系。

为了看看它是如何工作的,

想象我们的问题
是二加二是否等于四。

我们不直接摆出姿势,

而是说:“如果我问你
二加二是否等于四,

你会回答‘ozo’吗?”

如果“ozo”的意思是“是”
并且霸主是 Tee,

它会如实回答“ozo”。

但是如果我们问 Eff 呢?

好吧,它会对嵌入的问题回答“ulu”或“否”

所以它会撒谎并回答“ozo”。

如果“ozo”实际上意味着不,

那么
我们嵌入问题的答案是“ulu”

,Tee 和 Eff 仍然回答“ozo”,

每个人都有自己的原因。

如果您对为什么这样做感到困惑

,原因涉及逻辑结构。

双重肯定和双重否定
都会导致肯定。

现在,我们可以肯定,
以这种方式问 Tee 或 Eff 一个问题,

如果假设问题是真的

,将产生“ozo”,如果它是假的,则

无论
每个单词的实际含义如何,都会产生“ulu”。

不幸的是,
这对 Arr 没有帮助。

不过不用担心,我们可以使用第一个
问题来确定一个

绝对不是 Arr 的外星领主。

然后我们可以使用第二个来
找出它是 Tee 还是 Eff。

一旦我们知道这一点,

我们就可以要求它识别
其他人之一。

那么让我们开始吧。

问中间的外星人:

“如果我问你
我左边的霸主是不是Arr,你会回答’ozo’吗?”

如果回答是“ozo”,
则有两种可能性。

您可能已经在与 Arr 交谈,
在这种情况下,答案毫无意义。

但除此之外,您正在与
Tee 或 Eff 交谈

,正如我们所知,

从任何一个中获得“ozo”意味着
您的假设问题是正确的,

而左边的霸主确实是 Arr。

无论哪种方式,您都可以确定
右边的外星人不是 Arr。

同样,如果答案是“ulu”,

那么你就知道左边的外星人
不可能是 Arr。

现在去找你确定
不是 Arr 的霸主,问:

“如果我问‘你是 Eff 吗?’
你会回答’ozo’吗?”

由于您不必
担心随机可能性,因此

任何一个答案都会
确定其身份。

既然你知道它的
答案是真是假,那就

问同一个外星人,中心
霸主是不是 Arr。

消除过程将
识别剩余的一个。

满意的霸主帮助你
修理你的船

,你准备起飞。

允许最后一个问题,你问
Tee 到地球是否很远

,他回答“ozo”。

可惜你还不
知道那是什么意思。