Re: [請益] 誰說真話
※ 引述《luciferii (路西瓜)》之銘言:
: ※ 引述《micklin (離鄉背井的米克)》之銘言:
: : 2. 機器人永遠舉右手回答你的問題(by 原出題者)
: 你居然可以從下面這段可以推得上面這句...
: : 節錄如下:
: : 對了,忘了說。他們的回答方式是用舉手的,換言之,他們只會說"是"或"否"。
: : 什麼意思呢?如果你問其中一個機器人說:1+1=2,對不對?
: : 他會舉起右手,但我們不知道右手所指的意思是"是" 還是"否"
: : 當然三個機器人的是和否都是同邊的
: ...不是中文有問題就是邏輯有問題。
: 如果你問其中一個機器人1+1=2,他會舉起右手
: 跟
: 如果你問其中一個機器人所有問題,他都會舉起右手
: 我想具備簡單的邏輯推理就可以知道是完全不同意義。
: 還是你根本把「當然三個機器人的是和否都是同邊的」
: 以為是每個機器人自己的「是」和「否」都是舉同一邊?
: 那就不只是邏輯不好,而且連中文也不好了。
: 前面解題的人都看的懂,只有兩位看不懂,不要怪馬桶歪,請花點時間再多多修練一下。
: 不是沒人 po 答案,是你看不懂答案。
: 只有你們兩位自己在confuse題意
不想用推文回了, 太累.
當然三個機器人的是和否都是同邊的
lucifferii版友解讀成"三個機器人的是都是A side, 否都是B side"
誰告訴你的?
如果你問其中一個機器人1+1=2,他會舉起右手
跟
如果你問其中一個機器人所有問題,他都會舉起右手
我想具備簡單的邏輯推理就可以知道是完全不同意義。
我想你把自己的邏輯推理想得太強了, 人習慣把有自信的東西強化,
像小甜甜可能認為自己比林志玲還漂亮, nono也覺得自己比金城武帥, 無可厚非.
題目並沒有說問 "如果你問其中一個機器人1+1=3" 會發生什麼情形,
如果現在原出題者說, 對啊, 他也會舉右手說否, 那你不就要吃大便了?
題目也沒說可以不舉手, 結果你一直在假設不舉手 = =
你犯了先入為主的錯誤, 因為你知道題目是改編自三神問題,
所以你會認為原始精神沒變, 所以很主動的幫原出題者圓他的文字.
而且你做了很多類似推理問題, 所以你覺得這種問題本來就應該有這種機制.
當你的想法是這樣子的時候, 看這一段文字就會很自然的想成那個樣子,
這是可以體諒的, 卻是不合邏輯的, 沒有的就是沒有,
"I know what you're thinking about," said Tweedledee, "but it isn't so,
nohow. " "Contrariwise," continued Tweedledee, "if it was so, it might be;
and if it were so, it would be; but as it isn't, it ain't. That's logic."
-Lewis Carroll,Through the Looking Glass.
施主好自為之.
我不想出一個問題, 然後等你上當再來數落你, 這樣是沒有意義的.
一個老師上課都沒提過平時成績怎麼算, 每個學生卻都以為會有平時成績,
老師有說過嗎? 沒有. 但是因為其它老師都有, 所以會以為有平時成績是常識.
我上的課就偏偏不打平時成績.
回到三神問題
The puzzle: Three gods A, B, and C are called, in some order, True, False,
and Random. True always speaks truly, False always speaks falsely, but
whether Random speaks truly or falsely is a completely random matter. Your
task is to determine the identities of A, B, and C by asking three yes-no
questions; each question must be put to exactly one god. The gods
understand English, but will answer all questions in their own language,
in which the words for "yes" and "no" are "da" and "ja," in some order.
You do not know which word means which!
中文
三個神, A, B, C, 他們其中一個叫True, 另一個叫False, 另一個叫Random.
True永遠說實話, False永遠給你錯誤的答案, 而Random每次回答都不一定是正確的,
永遠是隨機的. 你的任務是要靠三個Yes-No問題來判斷出他們的身份. 每個問題只能
問一個神, 神聽得懂中英文, 但是他們卻是用他們的語言回答你, 他們對於YES-NO的
問題會回答 da 或是 ja, 但是你不知道 da 是 yes, 還是 ja 才是yes.
George Boolos 所提供的答案在下一頁
先解釋若且為若(iff), A iff B
A = true, B = true, A iff B is true
A = false, B = false, A iff B is true
A = true, B = false, A iff B is false
A = false, B = true, A iss B is false
其實就是 Not XOR ....
第一個問題問 A: Does da means yes iff, you are True iff B is Random.
如果A回答 da, 表示 A 是 True 或 False, B 是Random, C是True或False
如果A回答 ja, 表示 B 不是 Random, B是 True 或 False.
da = yes, Does da means yes iff, you are True iff B is Random.
TFR
you are True iff B is Random => false
da means yes iff false => false
=> no => ja
TRF
you are True iff B is Random => true
da means yes iff true => true
=> yes => da
FTR
you are True iff B is Random => true
da means yes iff true => true
=> yes => ja (因為A說謊)
FRT
you are True iff B is Random => false
da means yes iff false => false
=> no => da (因為A說謊)
RTF
如果A是Random, 則B與C是TF其中之一
RFT
如果A是Random, 則B與C是TF其中之一
同理, 現在換成ja=yes來看
ja = yes, Does da means yes iff, you are True iff B is Random.
TFR
you are True iff B is Random => false
da means yes iff false => true => yes => ja
TRF
you are True iff B is Random => true
da means yes iff true => false => no => da
FTR
you are True iff B is Random => true
da means yes iff true => false => no => ja (A說謊)
FRT
you are True iff B is Random => false
da means yes iff false => true => yes => da (A說謊)
RTF
如果A是Random, 則B與C是TF其中之一
RFT
如果A是Random, 則B與C是TF其中之一
第一個問題是要找出誰是T/F, 把可能的三種身份變成兩種.
不管A是True, False, 或Random,
聽到da => 可以假設C是T/F, 聽到ja, 可以假設B是T/F.
說"可以假設"而不是確定, 是因為在A為Random的情況下,
C是不是T/F並不是用da與ja來確認的, 是假設出來的, A是Random是假設的前提,
但是你會發現這個假設是harmless,
因為從A不是Random的情況下來看, da與ja的確可以推論出B是T/F或C是T/F.
第二個問題問可能是True或False的神, 假設是B:
does da means yes iff Rome is in Italy?
得到da => B = True
得到ja => B = False
da = yes, Does da means yes iff Rome is in Italy
己知 Rome is in Italy 是true
B是True
da means yes iff true => true => yes => da
B是False
da means yes iff true => true => yes => ja (B說謊)
ja = yes, Does da means yes iff Rome is in Italy
己知 Rome is in Italy 是true
B是True
da means yes iff true => false => no => da
B是False
da means yes iff true => false => no => ja (B說謊)
第三個問題問B: Does da mean yes iff A is Random?
如果B是True
得到da => A = Random, B = True, C = False
得到ja => A = False, B = True, C = Random
如果B是False
you now have the answer!!
--
http://www.cs.nctu.edu.tw/~jylin
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.185.37
※ 編輯: micklin 來自: 118.160.185.37 (09/26 16:10)
※ 編輯: micklin 來自: 118.160.185.37 (09/26 16:43)
→
09/26 16:52, , 1F
09/26 16:52, 1F
推
09/26 16:57, , 2F
09/26 16:57, 2F
討論串 (同標題文章)
本文引述了以下文章的的內容:
請益
3
15
以下文章回應了本文:
請益
5
15
完整討論串 (本文為第 33 之 43 篇):
請益
2
6
請益
1
1
請益
5
7
請益
2
4
請益
2
2
請益
5
15