Link to home
Start Free TrialLog in
Avatar of dimi67
dimi67Flag for Greece

asked on

Caesar murder logic problem

it is a problem of logic concerning who killed Julius Caesar.
I have written the logical sentences and build the truth table, but I cannot find a way to combine all these...

p: Marcus Antonius(says): Cassius or Brutus or both
q: Cassius(says): not me. Marcus Antonius is lying
r: Brutus(says): if I did it, then the other two are guilty also.

m: Marcus Antonius is guilty
c: Cassius is guilty
b: Brutus is guilty

A guilty person always lies.
A non-guilty person always tells the truth

p: c OR b OR (c AND b)
q: c’ AND m (because a guilty always lies)
r: b => (c AND m)

 
Avatar of sgvill
sgvill

not sure about the truth table, but... if marcus antonious did it, his statement being a lie and the other two being true is consistant.
Avatar of ozo
Cassius being guilty is also consistent.
ASKER CERTIFIED SOLUTION
Avatar of TommySzalapski
TommySzalapski
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dimi67

ASKER

I understand the hole concept, but what is the answer?
We have only 1 answer, or not?
The way you have defined the problem yields three possible answers. If the question implies there is one answer, then please check to make sure you haven't missed anything. If you look at the three scenarios I listed, all of them work given the criteria in your original post.
So there are three possible answers.
Avatar of dimi67

ASKER

There is one more sentence: only one of the persons is telling the truth, so, at line 5, Brutus is guilty, and what he says is false, so this is the solution...
I see. If only one is telling the truth, then there must be two guilty ones. So it's C and B (which is line 7 in the second table).
Avatar of dimi67

ASKER

yes, at line 7...thank you...