Kripke semantics explained

Kripke semantics (also known as relational semantics or frame semantics, and often confused with possible world semantics)[1] is a formal semantics for non-classical logic systems created in the late 1950s and early 1960s by Saul Kripke and André Joyal. It was first conceived for modal logics, and later adapted to intuitionistic logic and other non-classical systems. The development of Kripke semantics was a breakthrough in the theory of non-classical logics, because the model theory of such logics was almost non-existent before Kripke (algebraic semantics existed, but were considered 'syntax in disguise').

Semantics of modal logic

See main article: Modal logic.

The language of propositional modal logic consists of a countably infinite set of propositional variables, a set of truth-functional connectives (in this article

\to

and

\neg

), and the modal operator

\Box

("necessarily"). The modal operator

\Diamond

("possibly") is (classically) the dual of

\Box

and may be defined in terms of necessity like so:

\DiamondA:=\neg\Box\negA

("possibly A" is defined as equivalent to "not necessarily not A").

Basic definitions

A Kripke frame or modal frame is a pair

\langleW,R\rangle

, where W is a (possibly empty) set, and R is a binary relation on W. Elementsof W are called nodes or worlds, and R is known as the accessibility relation.

A Kripke model is a triple

\langleW,R,\Vdash\rangle

,[2] where

\langleW,R\rangle

is a Kripke frame, and

\Vdash

is a relation between nodes of W and modal formulas, such that for all w ∈ W and modal formulas A and B:

w\Vdash\negA

if and only if

w\nVdashA

,

w\VdashA\toB

if and only if

w\nVdashA

or

w\VdashB

,

w\Vdash\BoxA

if and only if

u\VdashA

for all

u

such that

wRu

.We read

w\VdashA

as “w satisfiesA”, “A is satisfied in w”, or“w forces A”. The relation

\Vdash

is called thesatisfaction relation, evaluation, or forcing relation.The satisfaction relation is uniquely determined by itsvalue on propositional variables.

A formula A is valid in:

\langleW,R,\Vdash\rangle

, if

w\VdashA

for all w ∈ W,

\langleW,R\rangle

, if it is valid in

\langleW,R,\Vdash\rangle

for all possible choices of

\Vdash

,

We define Thm(C) to be the set of all formulas that are valid inC. Conversely, if X is a set of formulas, let Mod(X) be theclass of all frames which validate every formula from X.

A modal logic (i.e., a set of formulas) L is sound withrespect to a class of frames C, if L ⊆ Thm(C). L iscomplete wrt C if L ⊇ Thm(C).

Correspondence and completeness

Semantics is useful for investigating a logic (i.e. a derivation system) only if the semantic consequence relation reflects its syntactical counterpart, the syntactic consequence relation (derivability). It is vital to know which modal logics are sound and complete with respect to a class of Kripke frames, and to determine also which class that is.

For any class C of Kripke frames, Thm(C) is a normal modal logic (in particular, theorems of the minimal normal modal logic, K, are valid in every Kripke model). However, the converse does not hold in general: while most of the modal systems studied are complete of classes of frames described by simple conditions, Kripke incomplete normal modal logics do exist. A natural example of such a system is Japaridze's polymodal logic.

A normal modal logic L corresponds to a class of frames C, if C = Mod(L). In other words, C is the largest class of frames such that L is sound wrt C. It follows that L is Kripke complete if and only if it is complete of its corresponding class.

Consider the schema T :

\BoxA\toA

.T is valid in any reflexive frame

\langleW,R\rangle

: if

w\Vdash\BoxA

, then

w\VdashA

since w R w. On the other hand, a frame whichvalidates T has to be reflexive: fix w ∈ W, anddefine satisfaction of a propositional variable p as follows:

u\Vdashp

if and only if w R u. Then

w\Vdash\Boxp

, thus

w\Vdashp

by T, which means w R w using the definition of

\Vdash

. T corresponds to the class of reflexiveKripke frames.

It is often much easier to characterize the corresponding class of L than to prove its completeness, thus correspondence serves as a guide to completeness proofs. Correspondence is also used to show incompleteness of modal logics: suppose L1 ⊆ L2 are normal modal logics that correspond to the same class of frames, but L1 does not prove all theorems of L2. Then L1 is Kripke incomplete. For example, the schema

\Box(A\leftrightarrow\Box A)\to\BoxA

generates an incomplete logic, as itcorresponds to the same class of frames as GL (viz. transitive andconverse well-founded frames), but does not prove the GL-tautology

\Box A\to\Box\BoxA

.

Common modal axiom schemata

The following table lists common modal axioms together with their corresponding classes. The naming of the axioms often varies; Here, axiom K is named after Saul Kripke; axiom T is named after the truth axiom in epistemic logic; axiom D is named after deontic logic; axiom B is named after L. E. J. Brouwer; and axioms 4 and 5 are named based on C. I. Lewis's numbering of symbolic logic systems.

Name Axiom Frame condition
K

\Box(A\toB)\to(\BoxA\to\BoxB)

holds true for any frames
T

\BoxA\toA

reflexive

wRw

-

\Box\BoxA\to\BoxA

dense

wRu\existsv(wRv\landvRu)

4

\BoxA\to\Box\BoxA

transitive

wRv\wedgevRuwRu

D

\BoxA\to\DiamondA

or

\Diamond\top

or

\neg\Box\bot

serial

\forallw\existsv(wRv)

B

A\to\Box\DiamondA

or

\Diamond\BoxA\toA

symmetric :

wRvvRw

5

\DiamondA\to\Box\DiamondA

Euclidean

wRu\landwRvuRv

GL

\Box(\BoxA\toA)\to\BoxA

R transitive, R−1 well-founded
Grz[3]

\Box(\Box(A\to\BoxA)\toA)\toA

R reflexive and transitive, R−1−Id well-founded
H

\Box(\BoxA\toB)\lor\Box(\BoxB\toA)

wRu\landwRvuRv\lorvRu

M

\Box\DiamondA\to\Diamond\BoxA

(a complicated second-order property)
G

\Diamond\BoxA\to\Box\DiamondA

convergent:

wRu\landwRv\existsx(uRx\landvRx)

-

A\to\BoxA

discrete:

wRvw=v

-

\DiamondA\to\BoxA

partial function

wRu\landwRvu=v

-

\DiamondA\leftrightarrow\BoxA

function:

\forallw\exists!uwRu

(

\exists

is the uniqueness quantification)
-

\BoxA

or

\Box\bot

empty:

\forallw\forallu\neg(wRu)

Axiom K can also be rewritten as

\Box[(A\toB)\landA]\to\BoxB

, which logically establishes modus ponens as a rule of inference in every possible world.

Note that for axiom D,

\DiamondA

implicitly implies

\Diamond\top

, which means that for every possible world in the model, there is always at least one possible world accessible from it (which could be itself). This implicit implication

\DiamondA\Diamond\top

is similar to the implicit implication by existential quantifier on the range of quantification.

Common modal systems

Canonical models

For any normal modal logic, L, a Kripke model (called the canonical model) can be constructed that refutes precisely the non-theorems ofL, by an adaptation of the standard technique of using maximal consistent sets as models. Canonical Kripke models play a role similar to the Lindenbaum–Tarski algebra construction in algebraicsemantics.

A set of formulas is L-consistent if no contradiction can be derived from it using the theorems of L, and Modus Ponens. A maximal L-consistent set (an L-MCSfor short) is an L-consistent set that has no proper L-consistent superset.

The canonical model of L is a Kripke model

\langleW,R,\Vdash\rangle

, where W is the set of all L-MCS,and the relations R and

\Vdash

are as follows:

XRY

if and only if for every formula

A

, if

\BoxA\inX

then

A\inY

,

X\VdashA

if and only if

A\inX

.The canonical model is a model of L, as every L-MCS containsall theorems of L. By Zorn's lemma, each L-consistent setis contained in an L-MCS, in particular every formulaunprovable in L has a counterexample in the canonical model.

The main application of canonical models are completeness proofs. Properties of the canonical model of K immediately imply completeness of K with respect to the class of all Kripke frames.This argument does not work for arbitrary L, because there is no guarantee that the underlying frame of the canonical model satisfies the frame conditions of L.

We say that a formula or a set X of formulas is canonicalwith respect to a property P of Kripke frames, if

A union of canonical sets of formulas is itself canonical.It follows from the preceding discussion that any logic axiomatized bya canonical set of formulas is Kripke complete, andcompact.

The axioms T, 4, D, B, 5, H, G (and thusany combination of them) are canonical. GL and Grz are notcanonical, because they are not compact. The axiom M by itself isnot canonical (Goldblatt, 1991), but the combined logic S4.1 (infact, even K4.1) is canonical.

In general, it is undecidable whether a given axiom iscanonical. We know a nice sufficient condition: Henrik Sahlqvist identified a broad class of formulas (now calledSahlqvist formulas) such that

This is a powerful criterion: for example, all axiomslisted above as canonical are (equivalent to) Sahlqvist formulas.

Finite model property

A logic has the finite model property (FMP) if it is completewith respect to a class of finite frames. An application of thisnotion is the decidability question: itfollows fromPost's theorem that a recursively axiomatized modal logic Lwhich has FMP is decidable, provided it is decidable whether a givenfinite frame is a model of L. In particular, every finitelyaxiomatizable logic with FMP is decidable.

There are various methods for establishing FMP for a given logic.Refinements and extensions of the canonical model construction oftenwork, using tools such as filtration orunravelling. As another possibility,completeness proofs based on cut-freesequent calculi usually produce finite modelsdirectly.

Most of the modal systems used in practice (including all listed above) have FMP.

In some cases, we can use FMP to prove Kripke completeness of a logic:every normal modal logic is complete with respect to a class ofmodal algebras, and a finite modal algebra can be transformedinto a Kripke frame. As an example, Robert Bull proved using this methodthat every normal extension of S4.3 has FMP, and is Kripkecomplete.

Multimodal logics

See also: Multimodal logic.

Kripke semantics has a straightforward generalization to logics withmore than one modality. A Kripke frame for a language with

\{\Boxi\midi\inI\}

as the set of its necessity operatorsconsists of a non-empty set W equipped with binary relationsRi for each i ∈ I. The definition of asatisfaction relation is modified as follows:

w\Vdash\BoxiA

if and only if

\forallu(wRiuu\VdashA).

A simplified semantics, discovered by Tim Carlson, is often used forpolymodal provability logics. A Carlson model is a structure

\langleW,R,\{Di\}i\in,\Vdash\rangle

with a single accessibility relation R, and subsetsDi ⊆ W for each modality. Satisfaction isdefined as

w\Vdash\BoxiA

if and only if

\forallu\inDi(wRuu\VdashA).

Carlson models are easier to visualize and to work with than usualpolymodal Kripke models; there are, however, Kripke complete polymodallogics which are Carlson incomplete.

Semantics of intuitionistic logic

Kripke semantics for intuitionistic logic follows the same principles as the semantics of modal logic, but it uses a different definition of satisfaction.

An intuitionistic Kripke model is a triple

\langleW,\le,\Vdash\rangle

, where

\langleW,\le\rangle

is a preordered Kripke frame, and

\Vdash

satisfies the following conditions:

w\leu

, and

w\Vdashp

, then

u\Vdashp

(persistency condition (cf. monotonicity)),

w\VdashA\landB

if and only if

w\VdashA

and

w\VdashB

,

w\VdashA\lorB

if and only if

w\VdashA

or

w\VdashB

,

w\VdashA\toB

if and only if for all

u\gew

,

u\VdashA

implies

u\VdashB

,

w\Vdash\bot

.

The negation of A, ¬A, could be defined as an abbreviation for A → ⊥. If for all u such that wu, not u A, then w A → ⊥ is vacuously true, so w ¬A.

Intuitionistic logic is sound and complete with respect to its Kripkesemantics, and it has the finite model property.

Intuitionistic first-order logic

Let L be a first-order language. A Kripkemodel of L is a triple

\langleW,\le,\{Mw\}w\in\rangle

, where

\langleW,\le\rangle

is an intuitionistic Kripke frame, Mw is a(classical) L-structure for each node w ∈ W, andthe following compatibility conditions hold whenever u ≤ v:

Given an evaluation e of variables by elements of Mw, wedefine the satisfaction relation

w\VdashA[e]

:

w\VdashP(t1,...,tn)[e]

if and only if

P(t1[e],...,tn[e])

holds in Mw,

w\Vdash(A\landB)[e]

if and only if

w\VdashA[e]

and

w\VdashB[e]

,

w\Vdash(A\lorB)[e]

if and only if

w\VdashA[e]

or

w\VdashB[e]

,

w\Vdash(A\toB)[e]

if and only if for all

u\gew

,

u\VdashA[e]

implies

u\VdashB[e]

,

w\Vdash\bot[e]

,

w\Vdash(\existsxA)[e]

if and only if there exists an

a\inMw

such that

w\VdashA[e(x\toa)]

,

w\Vdash(\forallxA)[e]

if and only if for every

u\gew

and every

a\inMu

,

u\VdashA[e(x\toa)]

.Here e(xa) is the evaluation which gives x thevalue a, and otherwise agrees with e.

Kripke–Joyal semantics

As part of the independent development of sheaf theory, it was realised around 1965 that Kripke semantics was intimately related to the treatment of existential quantification in topos theory. That is, the 'local' aspect of existence for sections of a sheaf was a kind of logic of the 'possible'. Though this development was the work of a number of people, the name Kripke–Joyal semantics is often used in this connection.

Model constructions

As in classical model theory, there are methods forconstructing a new Kripke model from other models.

The natural homomorphisms in Kripke semantics are calledp-morphisms (which is short for pseudo-epimorphism, but thelatter term is rarely used). A p-morphism of Kripke frames

\langleW,R\rangle

and

\langleW',R'\rangle

is a mapping

f\colonW\toW'

such that

A p-morphism of Kripke models

\langleW,R,\Vdash\rangle

and

\langleW',R',\Vdash'\rangle

is a p-morphism of theirunderlying frames

f\colonW\toW'

, whichsatisfies

w\Vdashp

if and only if

f(w)\Vdash'p

, for any propositional variable p.

P-morphisms are a special kind of bisimulations. In general, abisimulation between frames

\langleW,R\rangle

and

\langleW',R'\rangle

is a relationB ⊆ W × W’, which satisfiesthe following “zig-zag” property:

A bisimulation of models is additionally required to preserve forcingof atomic formulas:

if w B w’, then

w\Vdashp

if and only if

w'\Vdash'p

, for any propositional variable p.The key property which follows from this definition is thatbisimulations (hence also p-morphisms) of models preserve thesatisfaction of all formulas, not only propositional variables.

We can transform a Kripke model into a tree usingunravelling. Given a model

\langleW,R,\Vdash\rangle

and a fixednode w0 ∈ W, we define a model

\langleW',R',\Vdash'\rangle

, where W’ is theset of all finite sequences

s=\langlew0,w1,...,wn\rangle

suchthat wi R wi+1 for alli < n, and

s\Vdashp

if and only if

wn\Vdashp

for a propositional variablep. The definition of the accessibility relation R’varies; in the simplest case we put

\langlew0,w1,...,wn\rangleR'\langlew0,w1,...,wn,wn+1\rangle

,but many applications need the reflexive and/or transitive closure ofthis relation, or similar modifications.

Filtration is a useful construction which uses to prove FMP for many logics. Let X be a set offormulas closed under taking subformulas. An X-filtration of amodel

\langleW,R,\Vdash\rangle

is a mapping f from W to a model

\langleW',R',\Vdash'\rangle

such that

u\Vdash\BoxA

, where

\BoxA\inX

, then

v\VdashA

.It follows that f preserves satisfaction of all formulas fromX. In typical applications, we take f as the projectiononto the quotient of W over the relation

u ≡X v if and only if for all A ∈ X,

u\VdashA

if and only if

v\VdashA

.As in the case of unravelling, the definition of the accessibilityrelation on the quotient varies.

General frame semantics

The main defect of Kripke semantics is the existence of Kripke incomplete logics, and logics which are complete but not compact. It can be remedied by equipping Kripke frames with extra structure which restricts the set of possible valuations, using ideas from algebraic semantics. This gives rise to the general frame semantics.

Computer science applications

See main article: Kripke structure, state transition system and model checking. Blackburn et al. (2001) point out that because a relational structure is simply a set together with a collection of relations on that set, it is unsurprising that relational structures are to be found just about everywhere. As an example from theoretical computer science, they give labeled transition systems, which model program execution. Blackburn et al. thus claim because of this connection that modal languages are ideally suited in providing "internal, local perspective on relational structures." (p. xii)

History and terminology

Similar work that predated Kripke's revolutionary semantic breakthroughs:

See also

Notes

  1. Possible world semantics is a broader term encompassing various approaches, including Kripke semantics. It generally refers to the idea of analyzing modal statements by considering alternative possible worlds where different propositions are true or false. While Kripke semantics is a specific type of possible world semantics, there are other ways to model possible worlds and their relationships. Kripke semantics is a specific form of possible world semantics that employs relational structures to represent the relationships between possible worlds and propositions in modal logic.
  2. Note that the notion of 'model' in the Kripke semantics of modal logic differs from the notion of 'model' in classical non-modal logics: In classical logics we say that some formula F has a 'model' if there exists some 'interpretation' of the variables of F which makes the formula F true; this specific interpretation is then a model of the formula F. In the Kripke semantics of modal logic, by contrast, a 'model' is not a specific 'something' that makes a specific modal formula true; in Kripke semantics a 'model' must rather be understood as a larger universe of discourse within which any modal formulae can be meaningfully 'understood'. Thus: whereas the notion of 'has a model' in classical non-modal logic refers to some individual formula within that logic, the notion of 'has a model' in modal logic refers to the logic itself as a whole (i.e.: the entire system of its axioms and deduction rules).
  3. After Andrzej Grzegorczyk.

References

. Melvin Fitting. Intuitionistic Logic, Model Theory and Forcing . registration . 1969 . North-Holland . 978-0-444-53418-7.

External links