I'm trying to figure how to study the problem of the liar and the truth teller. Here's the logic puzzle :
There are two guards and two doors. One door leads to freedom, and the other to death. One guard always lies, the other always tells the truth. They know which they are. They know where the two doors go. You do not know which guard is which or which door is which. You may ask one yes or no question. What do you ask to determine which door leads to freedom?
I have some troubles to choose the right logic to modelize this problem. I think I should use epistemic logic with Public Announcement Logic, but I don't see who is making the public announcement ? Me asking a question to a guard or the guard responding ?