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..
Doxastic Logic Bx x believes 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.
for the modal operator
"it is necessary that".
for "it is possible that"
can be defined from
by
A = ~
~A.
(A=>B) =>
(
A=>
B).
A.
A=>A
A=>
A

...
=
and

...
=
.
This amounts to the idea that iteration of the modal
operators is superfluous.
Saying that A is necessarily necessary is considered a
uselessly long-winded way of saying that A is necessary.
A=>
A
=
and 00...
=
,
where each 0 is either
or
This amounts to the idea that strings containing both
boxes and diamonds are equivalent to the last operator
in the sequence.
Saying that it is possible that A is necessary is the same
as saying that A is necessary.
and
.
The controversy can be partly resolved by recognizing that the
words "necessarily" and "possibly", have many different uses.
So the acceptability of axioms for modal logic depends on which
of these uses we have in mind.
For this reason, there is no one modal logic, but rather a whole
family of systems.

A

A=>A is
provable from (B).

A=>A says
that if A is possibly necessary, then A is the case.
and
operators
are annotated with the identifier of the agent who has
that knowledge, e.g.,
kingrule_for_ever.
A=>A, is not acceptable for
either H or G, since A does not follow from it always was the
case that A, nor from it always will be the case that
A. However, it is acceptable in a closely related temporal
logic where G is read it is and always will be, and H is
read it is and always was.
∃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?