Modal Logic

Read the intro of First-order Logic for a more abstract view of how Formal Systems and Logics are defined and characterized.

Modal Logic is a class of Formal (Logic) Systems.

In general, a Modal Language is the language of Propositional Logic extended with new unary connectives – modalities. They express the notion of “possibility”.

Then, the Rules of Inference of a modal language may vary across different compositions of axioms, or conditions on frames (name for modal-structures).

This document discusses Standard/Normal Modal Logic (“K”), which defines two modalities – \lozenge (possibly) and \square (necessarily) – and its extensions.

As a Logic, Modal Logic is considered non-classical, whereas Propositional and First-order Logics are classical.

Syntax

Alphabet

Nothing remarkable;

Well-Formed Formulas

Still nothing remarkable. Read that of Propositional Logic, then add two more unary connectives, the modalities, analogous to ¬\lnot's rules. (They also the highest precedence alongside ¬\lnot.)

Semantics

Specifically, we’re discussing Kripke semantics (aka. relational semantics or frame semnatics).

An L\mathcal{L}-structure, aka. Modal / Kripke Frame, is a pair M=W,RM = \braket{W, R}:

In Graph Theory, MM is a directed graph with vertices WW and edges RR.
Intuitively, it is a map of worlds and how they’re interconnected.

Formulas are interpreted with respect to (“in”) a given world. A world represents a state of truth – i.e., the trueness of a proposition is dependent on the world it’s in.
The “neighbors” of a world (as given by RR) are the possibilities as seen from said world. This is how “necessity” and “possibility” are formally treated.

Valuations

As an L\mathcal{L}-structure can have multiple worlds, a valuation does not directly assign propositions truth values – rather, specifies which propositions are true in which worlds.

A valuation in an L\mathcal{L}-structure WM,RM\braket{W^M, R^M} is a mapping
ρ:WM×P{,} \rho : W^M \times \mathcal{P} \mapsto \{ \top, \bot \}

where ρ(w,P)= \rho(w, P) = \top \space iff  P\ P is true in world ww.

Some instead have ρ:PWM\rho : \mathcal{P} \mapsto W^M – i.e., ρ(P)\rho(P) is the set of worlds where PP is true.

Combined, we get an interpretation / relational model M=W,R,ρ\mathfrak{M} = \braket{W, R, \rho}.

Then, the evaluation of a formula at a world ww in a model M\mathfrak{M} is defined inductively.
For PPP \in \mathcal{P}; φ,ψL\varphi, \psi \in \mathcal{L}; and binary connective op\text{op},
M,wP    ρ(w,P)M,w¬φ    w⊭φM,w(φ  op  ψ)    (wφ)  op  (wψ)M,wφ    uWM:wRMuuφM,wφ    uWM:wRMuuφ \begin{align*} \mathfrak{M}, w \models P &\iff \rho(w, P) \\ \mathfrak{M}, w \models \lnot \varphi &\iff w \not \models \varphi \\ \mathfrak{M}, w \models (\varphi \;\text{op}\; \psi) &\iff (w \models \varphi) \;\text{op}\; (w \models \psi) \\ \mathfrak{M}, w \models \square \varphi &\iff \forall u \in W^\mathfrak{M} : w R^\mathfrak{M} u \rightarrow u \models \varphi \\ \mathfrak{M}, w \models \lozenge \varphi &\iff \exists u \in W^\mathfrak{M} : w R^\mathfrak{M} u \land u \models \varphi \\ \end{align*}

Alternative notation for M,wφ\mathfrak{M}, w \models \varphi (specifying both a structure and a valuation) includes M,wρφM, w \models_\rho \varphi, which is more explicit about the valuation.

The intuitive implications are clear:

Satisfaction Relation (Validity & Satisfiability)

A definition of \models as used above. It is called a satisfaction relation as it denotes the satisfaction (trueful-evaluation) of a formula under an interpretation.

Some authors use \Vdash, defined within M\mathfrak{M} as an equivalent replacement for ρ\rho, instead of the meta-language symbol \models.2
We use subscript notation, ρ\models_\rho, to achieve the same effect.

For valuation ρ\rho for frame M=W,RM = \braket{W, R} and wWw \in W,

φ\varphi is true (under ρ\rho) at ww (in MM)”
    M,wρφ\iff M, w \models_\rho \varphi

φ\varphi is valid in MM
    Mφ\iff M \models \varphi
    ρw:M,wρφ\iff \forall \rho\, \forall w : M, w \models_\rho \varphi

φ\varphi is valid”
     φ\iff \,\models \varphi
    M:Mφ\iff \forall M : M \models \varphi

φ\varphi is satisfiable in MM
    M⊭¬φ\iff M \not \models \lnot \varphi
    ρw:M,wρφ\iff \exists \rho\, \exists w : M, w \models_\rho \varphi

φ\varphi is satisfiable”
     ⊭¬φ\iff \,\not \models \lnot \varphi
    M:(ρw:M,wρφ)\iff \exists M : (\exists \rho\, \exists w : M, w \models_\rho \varphi)
I.e., “φ\varphi is satisfiable in some frame”.

As usual, validity and satisfiability are duals.

Validity     \implies Validity (in a frame)     \implies Satisfiability (in that frame)     \implies Satisfiability.

Rules of Inference

Multiple deductive systems are commonly used with modal logic (unlike propositional- or first-order- logics, where one “common” system prevails.)
They’re called modal systems.

One way axioms can be defined for modalities, unique to Kripke semantics, is via frame conditions (properties on RR).

Observe from above how inference (implication) between modalities is defined in terms of RR.

Base Axioms

Recall we’re discussing normal modal logics; here N and K (collectively called just K) are the two primitive axioms.
(They also aren’t definable as frame conditions.)

N – Necessitation
(φ)    (φ) (\models \varphi) \implies (\models \square \varphi)

I.e., if φ\varphi is a tautology, then so is φ\square \varphi.

K – Distribution
(φψ)    (φψ) \square (\varphi \rightarrow \psi) \implies (\square \varphi \rightarrow \square \psi)

Or, equivalently, [(φψ)φ]    ψ\square \big[(\varphi \rightarrow \psi) \land \varphi \big] \implies \square \psi, establishing Modus Ponens in modal logic.

Frame Conditions

Combinations of frame conditions (and any other forms of axioms) form modal systems.

Common frame conditions (their code names in bold) and equivalent axioms:

(where the domain for the quantifiers is, of course, WW.)

Graph theory again:

For a B frame, 5 \Leftrightarrow 4.
T + 5     \implies B + 4, and
B + 4 + D     \implies T + 5; or
for a T frame, 5 \Leftrightarrow B + 4.

There are other possible formulations and names for various types of frames – see table on Wikipedia.

Common modal systems, their frame conditions and code names:

Equivalences

Derived identities (from the above axioms).

Duality

\lozenge and \square are duals (as observable from their definitions in Valuations above). I.e,
φ¬¬φφ¬¬φ \begin{align*} \square \varphi &\equiv \lnot\mkern1mu\lozenge\mkern1mu\lnot \varphi \\ \lozenge \varphi &\equiv \lnot\square\lnot \varphi \\ \end{align*}

Others

xD


  1. (as usual with binary relations), RR is usually used in infix or prefix notation; i.e., (w1,w2)R(w_1, w_2) \in R can be written w1Rw2w_1 R w_2 or Rw1w2R w_1 w_2. ↩︎

  2. okay, there’s more to this; \Vdash means “forces” and is a model-theoretic symbol… It is technically more accurate to use this “forces” instead of “models”… but whatever im lazy to figure out the specifics rn ↩︎