Modal logic
Modal logic is a kind of logic used to represent statements about necessity and possibility. In philosophy and related fields it is used as a tool for understanding concepts such as knowledge, obligation, and causation.
Modal logic is a kind of logic used to represent statements about necessity and possibility. In philosophy and related fields
it is used as a tool for understanding concepts such as knowledge, obligation, and causation. For instance, in epistemic modal logic, the formula ◻P can be used to represent the statement that P is known. In deontic modal logic, that same formula can represent that P is a moral obligation. Modal logic considers the inferences that modal statements give rise to. For instance, most epistemic modal logics treat the formula ◻P→P as a tautology, representing the principle that only true statements can count as knowledge. However, this formula is not a tautology in deontic modal logic, since what ought to be true can be false.
Modal logics are formal systems that include unary operators such as ◊ and ◻, representing possibility and necessity respectively. For instance the modal formula ◊P can be read as "possibly P" while ◻P can be read as "necessarily P". In the standard relational semantics for modal logic, formulas are assigned truth values relative to a possible world. A formula's truth value at one possible world can depend on the truth values of other formulas at other accessible possible worlds. In particular, ◊P is true at a world if P is true at some accessible possible world, while ◻P is true at a world if P is true at every accessible possible world. A variety of proof systems exist which are sound and complete with respect to the semantics one gets by restricting the accessibility relation. For instance, the deontic modal logic D is sound and complete if one requires the accessibility relation to be serial.
While the intuition behind modal logic dates back to antiquity, the first modal axiomatic systems were developed by C. I. Lewis in 1912. The now-standard relational semantics emerged in the mid twentieth century from work by Arthur Prior, Jaakko Hintikka, and Saul Kripke. Recent developments include alternative topological semantics such as neighborhood semantics as well as applications of the relational semantics beyond its original philosophical motivation. Such applications include game theory, moral and legal theory, web design, multiverse-based set theory, and social epistemology.
Syntax of modal operators
Modal logic differs from other kinds of logic in that it uses modal operators such as ◻ and ◊. The former is conventionally read aloud as "necessarily", and can be used to represent notions such as moral or legal obligation, knowledge, historical inevitability, among others. The latter is typically read as "possibly" and can be used to represent notions including permission, ability, compatibility with evidence. While well-formed formulas of modal logic include non-modal formulas such as P∧Q, it also contains modal ones such as ◻(P∧Q), P∧◻Q, ◻(◊P∧◊Q), and so on.
Thus, the language ℒ of basic propositional logic can be defined recursively as follows.
If ϕ is an atomic formula, then ϕ is a formula of ℒ.
If ϕ is a formula of ℒ, then ¬ϕ is too.
If ϕ and ψ are formulas of ℒ, then ϕ∧ψ is too.
If ϕ is a formula of ℒ, then ◊ϕ is too.
If ϕ is a formula of ℒ, then ◻ϕ is too.
Modal operators can be added to other kinds of logic by introducing rules analogous to #4 and #5 above. Modal predicate logic is one widely used variant which includes formulas such as ∀x◊P(x). In systems of modal logic where ◻ and ◊ are duals, ◻ϕ can be taken as an abbreviation for ¬◊¬ϕ, thus eliminating the need for a separate syntactic rule to introduce it. However, separate syntactic rules are necessary in systems where the two operators are not interdefinable.
Common notational variants include symbols such as [K] and ⟨K⟩ in systems of modal logic used to represent knowledge and [B] and ⟨B⟩ in those used to represent belief. These notations are particularly common in systems which use multiple modal operators simultaneously (multi-modal logic). For instance, a combined epistemic-deontic logic could use the formula [K]⟨D⟩P read as "I know P is permitted". Systems of modal logic can include infinitely many modal operators distinguished by indices, i.e. ◻1, ◻2, ◻3, and so on.
Relational semantics
Basic notions
The standard semantics for modal logic is called the relational semantics. In this approach, the truth of a formula is determined relative to a point which is often called a possible world. For a formula that contains a modal operator, its truth value can depend on what is true at other accessible worlds. Thus, the relational semantics interprets formulas of modal logic using models defined as follows.
A relational model is a tuple 𝔐=⟨W,R,V⟩ where:
W is a set of possible worlds
R is a binary relation on W
V is a valuation function which assigns a truth value to each pair of an atomic formula and a world, (i.e. V:W×F→{0,1} where F is the set of atomic formulae)
The set W is often called the universe. The binary relation R is called an accessibility relation, and it controls which worlds can "see" each other for the sake of determining what is true. For example, wRu means that the world u is accessible from world w. That is to say, the state of affairs known as u is a live possibility for w. Finally, the function V is known as a valuation function. It determines which atomic formulas are true at which worlds.
Then we recursively define the truth of a formula at a world w in a model 𝔐:
𝔐,w⊨P iff V(w,P)=1
𝔐,w⊨¬P iff w⊭P
𝔐,w⊨(P∧Q) iff w⊨P and w⊨Q
𝔐,w⊨◻P iff for every element u of W, if wRu then u⊨P
𝔐,w⊨◊P iff for some element u of W, it holds that wRu and u⊨P
According to this semantics, a formula is necessary with respect to a world w if it holds at every world that is accessible from w. It is possible if it holds at some world that is accessible from w. Possibility thereby depends upon the accessibility relation R, which allows us to express the relative nature of possibility. For example, we might say that given our laws of physics it is not possible for humans to travel faster than the speed of light, but that given other circumstances it could have been possible to do so. Using the accessibility relation we can translate this scenario as follows: At all of the worlds accessible to our own world, it is not the case that humans can travel faster than the speed of light, but at one of these accessible worlds there is another world accessible from those worlds but not accessible from our own at which humans can travel faster than the speed of light.
Frames and completeness
The choice of accessibility relation alone can sometimes be sufficient to guarantee the truth or falsity of a formula. For instance, consider a model 𝔐 whose accessibility relation is reflexive. Because the relation is reflexive, we will have that 𝔐,w⊨P→◊P for any w∈G regardless of which valuation function is used. For this reason, modal logicians sometimes talk about frames, which are the portion of a relational model excluding the valuation function.
A relational frame is a pair 𝔐=⟨G,R⟩ where G is a set of possible worlds, R is a binary relation on G.
The different systems of modal logic are defined using frame conditions. A frame is called:
reflexive if w R w, for every w in G
symmetric if w R u implies u R w, for all w and u in G
transitive if w R u and u R q together imply w R q, for all w, u, q in G.
serial if, for every w in G there is some u in G such that w R u.
Euclidean if, for every u, t, and w, w R u and w R t implies u R t (by symmetry, it also implies t R u, as well as t R t and u R u)
The logics that stem from these frame conditions are:
K := no conditions
D := serial
T := reflexive
B := reflexive and symmetric
S4 := reflexive and transitive
S5 := reflexive and Euclidean
The Euclidean property along with reflexivity yields symmetry and transitivity. (The Euclidean property can be obtained, as well, from symmetry and transitivity.) Hence if the accessibility relation R is reflexive and Euclidean, R is provably symmetric and transitive as well. Hence for models of S5, R is an equivalence relation, because R is reflexive, symmetric and transitive.
We can prove that these frames produce the same set of valid sentences as do the frames where all worlds can see all other worlds of W (i.e., where R is a "total" relation). This gives the corresponding modal graph which is total complete (i.e., no more edges (relations) can be added). For example, in any modal logic based on frame conditions:
w⊨◊P if and only if for some element u of G, it holds that u⊨P and w R u.
If we consider frames based on the total relation we can just say that
w⊨◊P if and only if for some element u of G, it holds that u⊨P.
Adapted from the Wikipedia article Modal logic, available under CC BY-SA 4.0.

