Logic for Computer Scientists/Modal Logic/Axiomatics
[edit] Axiomatics
The simplest modal logics is called K and is given by the following axioms:
- All classical tautologies (and substitutions thereof)
- Modal Axioms: All formulae of the form

and the inference rules
- Modus Ponens Rule: Conclude Y from X and

- Necessitation Rule: Conclude
from X
A K derivation of X from a set S of formulae is a sequence of formulae, ending with X, each of it is an axiom of K, a member of S or follows from earlier terms by application of an inference rule. A \defined{K proof} of X is a K derivation of X from
.
As an example take the K proof of
:

There is a similar proof of the converse of this implication; hence it follows that in K we have

Note that distributivity over disjunction does not hold! (Why?)
[edit] Extensions of K
Starting from the modal logic K one can add additional axioms, yielding different logics. We list the following basic axioms:
K : 
T : 
D : 
4 : 
5 : 
B : 
Traditionally, if one adds axioms
to the logic K one calls the resulting logic
. Sometimes, however the logic is so well known, that it is referred to under another name; e.g. KT4, is called S4.
These logics can as well be characterised by certain classes of frames, because it is known that particular axioms correspond to particular restrictions on the reachability relation R of the frame. If
is a frame, then a certain axiom will be valid on
, if and only if R meets a certain restriction. Some restrictions are expressible by first-order logical formulae where the binary predicate R(x,y) represents the reachability relation:

This page may need to be 
from