Logic Symbols Expressions Symbolized Modal Logic □ It is necessary that ... ◊ It is possible that ... Deontic Logic O It is obligatory that ... P It is permitted that ... F
It is forbidden that ...
Temporal Logic G It will always be the case that ... F It will be the case that ... H It has always been the case that ... P
It was the case that ...
Epistemic Logic KA A knows that ... EG Every A ∈ G knows that ... CG It is common knowledge in G that ...
The most familiar logics in the modal family are constructed from a weak logic called K (after Saul Kripke). Under the narrow reading, modal logic concerns necessity and possibility. A variety of different systems may be developed for such logics using K as a foundation.
∃X
(philosopher(X) & F king(X))
-
Someone who is now a philosopher will be a king at some
future time
∃X F(philosopher(X) & king(X))
-
There now exists someone who will at some future time be both
a philosopher and a king
F∃X (philosopher(X) & F king(X))
-
There will exist someone who is a philosopher and later will
be a king
F∃X (philosopher(X) & king(X))
-
There will exist someone who is at the same time both a
philosopher and a king
A king, wishing to know which of his three advisers is the wisest, paints a white spot on each of their foreheads, tells them the spots are black or white and that there is at least one white spot, and asks them to tell him the color of their own spots. After a time the first wise man says, "I do not know whether I have a white spot". The second, hearing this, also says he does not know. The third (truly!) wise man then responds, "My spot must be white".
Two persons, Sally and Paul, find themselves in a room, of which they do not know the dimensions breadth b and length l, both integers. Sally is told (in secret) the sum of the two integers, and Paul is told (again in secret) their product. It is common knowledge among them that Sally knows the sum and Paul the product, as well as the constraint that 2 <= b <= l <= 99. At this point, the following dialogue arises:
Paul: I don't know the numbers.
Sally: I knew you didn't know. I don't know either.
Paul: Now I know the numbers.
Sally: Now I know them too.
What are the numbers?