News for hackers. Stuff that matters.
Re:A liar who always lies says "All my hats are green." by from-nibly on Monday December 09, 2024 @01:32PM (#42368977)
No that doesn't mean anything. Tests and books can be wrong.
Re:A liar who always lies says "All my hats are green." by jldugger on Monday December 09, 2024 @02:56PM (#42369880)
Well, part of the coursework, and probably the hardest part, is about translating natural language problems into formal logic statements, ie:

"The liar says All my hats are green" becomes "¬∀x|x∈hat,OWNS(x) (GREEN(x))" or similar.

And then from there you can also translate the five provided answers and try to find a contradiction.