自由講場

跳至

首頁
1

尾頁
   0


水晶宮

積分: 53606

至尊種植勳章 好媽媽勳章 醒目開學勳章 2011至尊種植勳章 畀面勳章 環保接龍勳章 爸B勳章


1#
發表於 08-3-18 01:43 |只看該作者
Raymond Smullyan
有甲、乙、丙三個精靈,其中一個只說真話,另外一個只說假話,還有一個隨機地決定何時說真話,何時說假話。
你可以向這三個精靈發問三條是非題,而你的任務是從他們的答案找出誰說真話,誰說假話,誰是隨機答話。
你每次可選擇任何一個精靈問話,問的問題可以取決於上一題的答案。
這個難題困難的地方是這些精靈會以「Da」或「Ja」回答,但你並不知道它們的意思,只知道其中一個字代表「對」,另外一個字代表「錯」。
你應該問那三條問題呢?
錦瑟無端五十弦,一弦一柱思華年。
莊生曉夢迷蝴蝶,望帝春心託杜鵑。
滄海月明珠有淚,藍田日暖玉生煙。
此情可待成追憶?只是當時已惘然。


侯爵府

積分: 22787

BK Milk勳章


2#
發表於 08-3-18 02:16 |只看該作者


男爵府

積分: 8693


3#
發表於 08-3-18 02:27 |只看該作者
哎呀..好難ar>>>>
幾時有答案!!




原文章由 sonic04 於 2008/3/18 01:43 發表
Raymond Smullyan
有甲、乙、丙三個精靈,其中一個只說真話,另外一個只說假話,還有一個隨機地決定何時說真話,何時說假話。
你可以向這三個精靈發問三條是非題,而你的任務是從他們的答案找出誰說真話,誰說假話,誰是隨機答話。 ...


大宅

積分: 1581


4#
發表於 08-3-18 12:46 |只看該作者
甲:只說真話
乙:只說假話
丙:視乎情況

Q1:問甲是否只說真話
Q2:問乙阿甲剛才是否說真話
Q3:問丙阿乙剛才是否說真話

對不對呢?


複式洋房

積分: 485


5#
發表於 08-3-18 13:39 |只看該作者

回覆 #4 BarryMami 的文章

The solution

Boolos states that the "first move is to find a god that you can be certain is not Random, and hence is either True or False". There are many different questions that will achieve this result. One strategy is to use complicated logical connectives in your questions (either biconditionals or some equivalent construction).

Boolos' question was:

Does 'da' mean yes if and only if you are True if and only if B is Random?

Equivalently:

Are an odd number of the following statements true: you are False, 'ja' means yes, B is Random?

The puzzle's solution can be simplified by using counterfactuals. The key to this solution is that, for any yes/no question Q, asking either True or False the question

If I asked you Q, would you say 'ja'?
results in the answer 'ja' if the truthful answer to Q is yes, and the answer 'da' if the truthful answer to Q is no. The reason this works can be seen by looking at the eight possible cases.

Assume that 'ja' means yes and 'da' means no.
True is asked and responds with 'ja'. Since he is telling the truth the truthful answer to Q is 'ja', which means yes.

True is asked and responds with 'da'. Since he is telling the truth the truthful answer to Q is 'da', which means no.

False is asked and responds with 'ja'. Since he is lying it follows that if you asked him Q he would instead answer 'da'. He would be lying, so the truthful answer to Q is 'ja', which means yes.

False is asked and responds with 'da'. Since he is lying it follows that if you asked him Q he would in fact answer 'ja'. He would be lying, so the truthful answer to Q is 'da', which means no.

Assume 'ja' means no and 'da' means yes.
True is asked and responds with 'ja'. Since he is telling the truth the truthful answer to Q is 'da', which means yes.

True is asked and responds with 'da'. Since he is telling the truth the truthful answer to Q is 'ja', which means no.

False is asked and responds with 'ja'. Since he is lying it follows that if you asked him Q he would in fact answer 'ja'. He would be lying, so the truthful answer to Q 'da', which means yes.

False is asked and responds with 'da'. Since he is lying it follows that if you asked him Q he would instead answer 'da'. He would be lying, so the truthful answer to Q is 'ja', which means no.

Using this fact, one may proceed as follows.

Ask god B, "If I asked you 'Is A Random?', would you say 'ja'?". If B answers 'ja', then either B is Random (and is answering randomly), or B is not Random and the answer indicates that A is indeed Random. Either way, C is not Random. If B answers 'da', then either B is Random (and is answering randomly), or B is not Random and the answer indicates that A is not Random. Either way, A is not Random.
Go to the god who was identified as not being Random by the previous question (either A or C), and ask him: "If I asked you 'Are you True?', would you say 'ja'?". Since he is not Random, an answer of 'ja' indicates that he is True and an answer of 'da' indicates that he is False.
Ask the same god the question: "If I asked you 'Is B Random?', would you say 'ja'?". If the answer is 'ja' then B is Random; if the answer is 'da' then the god you have not yet spoken to is Random. The remaining god can be identified by elimination.


水晶宮

積分: 53606

至尊種植勳章 好媽媽勳章 醒目開學勳章 2011至尊種植勳章 畀面勳章 環保接龍勳章 爸B勳章


6#
發表於 08-3-19 00:32 |只看該作者
先把那三位神隨意叫作A,B及C.
第一題先問A.
Q1.如果我問你B是不是鬼,你會答da,是不是?
若答da,則C非鬼.
若答ja,則B非鬼.
C非鬼和B非鬼的情況類似,所以只說一個情況.設C非鬼,則餘下兩條只問C.

Q2.da是不是yes的意思?
答da則C是神.
答ja則C是魔.
C是神:
Q3.1:如果我問你B是不是鬼,你會答da,是不是?(和Q1一樣)
da則B是鬼,所以A魔,B鬼,C神.
ja則A鬼,B魔,C神.
C是魔:
Q3.2如果我問你B是不是鬼,你會答da,是不是?(和Q1一樣)
da則B是鬼,所以A:神,B:鬼,C:魔.
ja則A:鬼,B:神,C:魔.

考慮到ABC的身份及da,ja所代表的意思.總共有12個可能.設T=神,L=魔,M=鬼,Y=是,N=非.可得:
A B C da ja
1. M T L Y N
2. M T L N Y
3. M L T Y N
4. M L T N Y
5. T M L Y N
6. T M L N Y
7 L M T Y N
8. L M T N Y
9. T L M Y N
10.T L M N Y
11.L T M Y N
12.L T M N Y
我們的問題是’ 如果我問你B是不是鬼,你會答da,是不是?’
而這問題的重點是分辨出B和C中那一個不是鬼.因此若A是鬼的話(情況1-4),B和C也不會是鬼.所以1-4可暫時不理.問題是在5-8的情況下A會答什麼呢?
例如情況5:因B是鬼,da是yes的意思及A必講真話,因此如果問A’B是不是鬼?’,他會答da,所以’ 如果我問你B是不是鬼,你會答da,是不是?’是對的,所以這問題A最後會答da.
又例如情況7:因B是鬼,A是魔及da是yes的思意,因此如果問A’B是不是鬼?’, 他會答ja,所以’如果我問你B是不是鬼,你會答da,是不是?’是錯的,但因A必講假話,因此他最後也會答da.其它情況如此類推,而最後的結論是答da則A或B是鬼,答ja則A或C是鬼.如妳還有什麼疑問就請再提出吧.
註:
神=真話精靈
魔=假話精靈
鬼=隨機精靈
錦瑟無端五十弦,一弦一柱思華年。
莊生曉夢迷蝴蝶,望帝春心託杜鵑。
滄海月明珠有淚,藍田日暖玉生煙。
此情可待成追憶?只是當時已惘然。


子爵府

積分: 11438

好媽媽勳章 醒目開學勳章


7#
發表於 08-3-19 00:56 |只看該作者
mouth: mouth:


男爵府

積分: 5678

好媽媽勳章 醒目開學勳章 環保接龍勳章


8#
發表於 08-3-19 09:03 |只看該作者


寶石宮

積分: 415537

2018父親節勳章 2018母親節勳章 2018復活節勳章 15週年勳章 親子王國15週年勳章 親子王國15週年勳章 畀面勳章 BK猜猜猜慶中秋 BK Milk勳章 hashtag影視迷勳章 最關心BB問題熱投勳章 美好大世界2017勳章 開心吸收勳章


9#
發表於 08-3-19 09:04 |只看該作者


禁止訪問

積分: 6252


10#
發表於 08-3-19 09:06 |只看該作者
提示: 作者被禁止或刪除 內容自動屏蔽
提示: 作者被禁止或刪除 內容自動屏蔽


大宅

積分: 1581


11#
發表於 08-3-20 00:45 |只看該作者

原文章由 sonic04 於 08-3-19 00:32 發表
先把那三位神隨意叫作A,B及C.
第一題先問A.
Q1.如果我問你B是不是鬼,你會答da,是不是?
若答da,則C非鬼.
若答ja,則B非鬼.
C非鬼和B非鬼的情況類似,所以只說一個情況.設C非鬼,則餘下兩條只問C.
Q2.da是不是yes的 ...


禁止訪問

積分: 32848

叻叻勳章 wyeth冷知識勳章 畀面勳章 陪月勳章


12#
發表於 08-3-20 02:12 |只看該作者
提示: 作者被禁止或刪除 內容自動屏蔽


大宅

積分: 2950


13#
發表於 08-4-18 15:10 |只看該作者
mouth: mouth: mouth:
居天下之廣居,立天下之正位,行天下之大道;得志與民由之,不得志獨行其道;富貴不能淫,貧賤不能移,威武不能屈:此之謂大丈夫。


寶石宮

積分: 406202

馬年勳章 2026勳章 2025中秋節勳章 父親節2025勳章 母親節2025勳章 2025勳章蛇年勳章 2024年龍年勳章 2023年兔年勳章 虎到金來勳章 牛年勳章 HiPP勳章(2) HiPP勳章(1) 2018父親節勳章 2018復活節勳章 15週年勳章 親子王國15週年勳章 親子王國15週年勳章 畀面勳章 醒目開學勳章 hashtag影視迷勳章 貓狗褓姆 認識瑞士牛牛第一回 美好大世界2017勳章 開心吸收勳章


14#
發表於 08-4-18 15:19 |只看該作者
我鐘意你同我講 I Love U, I Love U Too!
You are the sunshine of my life. That's why I'll always stay around. You are the apple of my eye. Forever you'll stay in my heart.


珍珠宮

積分: 30278

環保接龍勳章 hashtag影視迷勳章


15#
發表於 08-4-18 15:22 |只看該作者
一個人之所以快樂,不是因為她擁有得多, 而是因為她計較得少


侯爵府

積分: 20366


16#
發表於 08-4-18 15:40 |只看該作者


大宅

積分: 3363


17#
發表於 08-4-18 15:41 |只看該作者


男爵府

積分: 7967


18#
發表於 08-4-18 15:55 |只看該作者
[


珍珠宮

積分: 30295


19#
發表於 08-4-18 15:59 |只看該作者
有冇人可以用地球上的文字說明呀......

白兔先生, 我完完全全睇唔明你講乜, 有冇白話翻譯啊?!

定係..... 其實係我太蠢?!
♡女人想要奢侈品,其實要的是男人的捨得!
♡女人想要你出差的禮物,其實要的是男人的掛念!
♡女人想要生日禮物,其實要的是男人的心思!
♡女人想要擁抱,其實要的是男人的溫暖!
♡女人想要吵架,其實要的是男人的包容!
♡女人想要的一切,無非是要男人在乎她的感覺!


男爵府

積分: 5039

畀面勳章


20#
發表於 08-4-18 16:43 |只看該作者
原文章由 小寶貝兒 於 08-4-18 15:59 發表
有冇人可以用地球上的文字說明呀......

白兔先生, 我完完全全睇唔明你講乜, 有冇白話翻譯啊?!

定係..... 其實係我太蠢?!


yeah~我都唔明~~

首頁
1

尾頁

跳至
Presslogic Logo
Baby Kingdom Logo