Kripke semantics (also known as relational semantics or frame semantics, and often confused with
possible world semantics) is a formal
semantics
Semantics is the study of linguistic Meaning (philosophy), meaning. It examines what meaning is, how words get their meaning, and how the meaning of a complex expression depends on its parts. Part of this process involves the distinction betwee ...
for
non-classical logic
Non-classical logics (and sometimes alternative logics or non-Aristotelian logics) are formal systems that differ in a significant way from standard logical systems such as propositional and predicate logic. There are several ways in which this ...
systems created in the late 1950s and early 1960s by
Saul Kripke and
André Joyal. It was first conceived for
modal logic
Modal logic is a kind of logic used to represent statements about Modality (natural language), necessity and possibility. In philosophy and related fields
it is used as a tool for understanding concepts such as knowledge, obligation, and causality ...
s, 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
In mathematical logic, model theory is the study of the relationship between theory (mathematical logic), formal theories (a collection of Sentence (mathematical logic), sentences in a formal language expressing statements about a Structure (mat ...
of such logics was almost non-existent before Kripke (algebraic semantics existed, but were considered 'syntax in disguise').
Semantics of 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
and
), and the modal operator
("necessarily"). The modal operator
("possibly") is (classically) the
dual of
and
may be defined in terms of necessity like so:
("possibly A" is defined as equivalent to "not necessarily not A").
Basic definitions
A Kripke frame or modal frame is a pair
, where ''W'' is a (possibly empty) set, and ''R'' is a
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
on ''W''. Elements
of ''W'' are called ''nodes'' or ''worlds'', and ''R'' is known as the
accessibility relation.
A Kripke model is a triple
,
[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).] where
is a Kripke frame, and
is a relation between nodes of ''W'' and modal formulas, such that for all ''w'' ∈ ''W'' and modal formulas ''A'' and ''B'':
*
if and only if
,
*
if and only if
or
,
*
if and only if
for all
such that
.
We read
as “''w'' satisfies
''A''”, “''A'' is satisfied in ''w''”, or
“''w'' forces ''A''”. The relation
is called the
''satisfaction relation'', ''evaluation'', or ''
forcing relation''.
The satisfaction relation is uniquely determined by its
value on propositional variables.
A formula ''A'' is valid in:
* a model
, if
for all
,
* a frame
, if it is valid in
for all possible choices of
,
* a class ''C'' of frames or models, if it is valid in every member of ''C''.
We define Thm(''C'') to be the set of all formulas that are valid in
''C''. Conversely, if ''X'' is a set of formulas, let Mod(''X'') be the
class of all frames which validate every formula from ''X''.
A modal logic (i.e., a set of formulas) ''L'' is
sound
In physics, sound is a vibration that propagates as an acoustic wave through a transmission medium such as a gas, liquid or solid.
In human physiology and psychology, sound is the ''reception'' of such waves and their ''perception'' by the br ...
with
respect to a class of frames ''C'', if ''L'' ⊆ Thm(''C''). ''L'' is
complete 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 logic, a normal modal logic is a set ''L'' of modal formulas such that ''L'' contains:
* All propositional tautology (logic), tautologies;
* All instances of the Kripke_semantics, Kripke schema: \Box(A\to B)\to(\Box A\to\Box B)
and it is closed ...
(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 :
.
T is valid in any
reflexive frame
: if
, then
since ''w'' ''R'' ''w''. On the other hand, a frame which
validates T has to be reflexive: fix ''w'' ∈ ''W'', and
define satisfaction of a propositional variable ''p'' as follows:
if and only if ''w'' ''R'' ''u''. Then
, thus
by T, which means ''w'' ''R'' ''w'' using the definition of
. T corresponds to the class of reflexive
Kripke 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 ''L''
1 ⊆ ''L''
2 are normal modal logics that correspond to the same class of frames, but ''L''
1 does not prove all theorems of ''L''
2. Then ''L''
1 is Kripke incomplete. For example, the schema
generates an incomplete logic, as it
corresponds to the same class of frames as GL (viz. transitive and
converse well-founded frames), but does not prove the GL-tautology
.
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.
Axiom K can also be
rewritten as
, which logically establishes
modus ponens as a
rule of inference
Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as norms of the Logical form, logical structure of Validity (logic), valid arguments. If an argument with true premises follows a ...
in every possible world.
Note that for axiom D,
implicitly implies
, 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
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 of
''L'', 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 algebraic
semantics.
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''-''MCS''
for short) is an ''L''-consistent set that has no proper ''L''-consistent superset.
The canonical model of ''L'' is a Kripke model
, where ''W'' is the set of all ''L''-''MCS'',
and the relations ''R'' and
are as follows:
:
if and only if for every formula
, if
then
,
:
if and only if
.
The canonical model is a model of ''L'', as every ''L''-''MCS'' contains
all theorems of ''L''. By
Zorn's lemma
Zorn's lemma, also known as the Kuratowski–Zorn lemma, is a proposition of set theory. It states that a partially ordered set containing upper bounds for every chain (that is, every totally ordered subset) necessarily contains at least on ...
, each ''L''-consistent set
is contained in an ''L''-''MCS'', in particular every formula
unprovable 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 canonical
with respect to a property ''P'' of Kripke frames, if
* ''X'' is valid in every frame that satisfies ''P'',
* for any normal modal logic ''L'' that contains ''X'', the underlying frame of the canonical model of ''L'' satisfies ''P''.
A union of canonical sets of formulas is itself canonical.
It follows from the preceding discussion that any logic axiomatized by
a canonical set of formulas is Kripke complete, and
compact
Compact as used in politics may refer broadly to a pact or treaty; in more specific cases it may refer to:
* Interstate compact, a type of agreement used by U.S. states
* Blood compact, an ancient ritual of the Philippines
* Compact government, a t ...
.
The axioms T, 4, D, B, 5, H, G (and thus
any combination of them) are canonical. GL and Grz are not
canonical, because they are not compact. The axiom M by itself is
not canonical (Goldblatt, 1991), but the combined logic S4.1 (in
fact, even K4.1) is canonical.
In general, it is
undecidable whether a given axiom is
canonical. We know a nice sufficient condition:
Henrik Sahlqvist identified a broad class of formulas (now called
Sahlqvist formulas) such that
* a Sahlqvist formula is canonical,
* the class of frames corresponding to a Sahlqvist formula is
first-order definable,
* there is an algorithm that computes the corresponding frame condition to a given Sahlqvist formula.
This is a powerful criterion: for example, all axioms
listed above as canonical are (equivalent to) Sahlqvist formulas.
Finite model property
A logic has the
finite model property (FMP) if it is complete
with respect to a class of finite frames. An application of this
notion is the
decidability question: it
follows from
Post's theorem that a recursively axiomatized modal logic ''L''
which has FMP is decidable, provided it is decidable whether a given
finite frame is a model of ''L''. In particular, every finitely
axiomatizable logic with FMP is decidable.
There are various methods for establishing FMP for a given logic.
Refinements and extensions of the canonical model construction often
work, using tools such as
filtration or
unravelling. As another possibility,
completeness proofs based on
cut-free
sequent calculi usually produce finite models
directly.
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 of
modal algebras, and a ''finite'' modal algebra can be transformed
into a Kripke frame. As an example, Robert Bull proved using this method
that every normal extension of S4.3 has FMP, and is Kripke
complete.
Multimodal logics
Kripke semantics has a straightforward generalization to logics with
more than one modality. A Kripke frame for a language with
as the set of its necessity operators
consists of a non-empty set ''W'' equipped with binary relations
''R
i'' for each ''i'' ∈ ''I''. The definition of a
satisfaction relation is modified as follows:
:
if and only if
A simplified semantics, discovered by Tim Carlson, is often used for
polymodal
provability logics. A Carlson model is a structure
with a single accessibility relation ''R'', and subsets
''D
i'' ⊆ ''W'' for each modality. Satisfaction is
defined as
:
if and only if
Carlson models are easier to visualize and to work with than usual
polymodal Kripke models; there are, however, Kripke complete polymodal
logics 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
, where
is a
preordered Kripke frame, and
satisfies the following conditions:
* if ''p'' is a propositional variable,
, and
, then
(''persistency'' condition (cf.
monotonicity)),
*
if and only if
and
,
*
if and only if
or
,
*
if and only if for all
,
implies
,
* not
.
The negation of ''A'', ¬''A'', could be defined as an abbreviation for ''A'' → ⊥. If for all ''u'' such that ''w'' ≤ ''u'', not ''u''
⊩ ''A'', then ''w''
⊩ ''A'' → ⊥ is
vacuously true, so ''w''
⊩ ¬''A''.
Intuitionistic logic is sound and complete with respect to its Kripke
semantics, and it has the
finite model property.
Intuitionistic first-order logic
Let ''L'' be a
first-order language. A Kripke
model of ''L'' is a triple
, where
is an intuitionistic Kripke frame, ''M
w'' is a
(classical) ''L''-structure for each node ''w'' ∈ ''W'', and
the following compatibility conditions hold whenever ''u'' ≤ ''v'':
* the domain of ''M
u'' is included in the domain of ''M
v'',
* realizations of function symbols in ''M
u'' and ''M
v'' agree on elements of ''M
u'',
* for each ''n''-ary predicate ''P'' and elements ''a''
1,...,''a
n'' ∈ ''M
u'': if ''P''(''a''
1,...,''a
n'') holds in ''M
u'', then it holds in ''M
v''.
Given an evaluation ''e'' of variables by elements of ''M
w'', we
define the satisfaction relation