只使用這些謂詞.....幫助轉化爲一階邏輯
child(X) X is a child
unwell(X,Y) X is unwell on day Y
location(X,Y,Z) Location of X on day Y is Z (school, park, home)
sunny(X) X is a sunny day
Generally, children do not go to school whenever they are unwell
∄x [Child(x) ∧ location(X,y,home) → Child(x) ∧ unwell(X,y)]
不知道什麼我寫是對還是錯
而且不知道,如何轉換這種行...
On sunny days Julie goes to the park, otherwise she stays at home.
將不勝感激幫助...謝謝...
這不會工作,據我所知原因....這意味着她可以回家一個晴天....!!! – John 2010-09-30 07:44:48
哦,是的!對不起,我讀錯了。我會改變我的答案。 – 2010-09-30 07:53:19
如果我寫點類似於 [sunny(Y) - > location(Julie,Y,park)] V location(Julie,Y,home) – John 2010-09-30 08:02:33