Jump to content

Modal logic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Virago250 (talk | contribs)
See also: Added Wikilink to Research Materials: Max Planck Society Archive
Alethic logic: The very first sentence when one selects Kripke semantics' link informs the audience that possible world semantics are "often confused with Kripke semantics." That's a plain contradiction! Either the line I deleted is falsidical, or the parenthetical at the head of the Kripke semantics article is. Either way, it is impossible for Kripke semantics, A, to be possible world semantics, -A, given the veracity of the aforementioned parenthetical!
Tags: Mobile edit Mobile web edit
 
(492 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Short description|Type of formal logic}}
<gallery>
{{Use dmy dates|date=May 2024}}
[[File:DavidLewis2.jpg|thumb|David Lewis]]
'''Modal logic''' is a kind of [[logic]] used to represent statements about [[Modality (natural language)|necessity and possibility]]. It plays a major role in [[philosophy]] and related fields as a tool for understanding concepts such as [[knowledge]], [[obligation]], and [[causality|causation]]. For instance, in [[epistemic modal logic]], the [[well-formed_formula|formula]] <math>\Box P</math> can be used to represent the statement that <math>P</math> is known. In [[deontic modal logic]], that same formula can represent that <math>P</math> is a moral obligation. Modal logic considers the inferences that modal statements give rise to. For instance, most epistemic modal logics treat the formula <math>\Box P \rightarrow P</math> as a [[Tautology_(logic)|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 system]]s that include [[unary operation|unary]] operators such as <math>\Diamond</math> and <math>\Box</math>, representing possibility and necessity respectively. For instance the modal formula <math>\Diamond P</math> can be read as "possibly <math>P</math>" while <math>\Box P</math> can be read as "necessarily <math>P</math>". In the standard [[Kripke semantics|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 ''[[Accessibility relation|accessible]]'' [[possible worlds]]. In particular, <math>\Diamond P</math> is true at a world if <math>P</math> is true at ''some'' accessible possible world, while <math>\Box P</math> is true at a world if <math>P</math> 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 relation|serial]].
</gallery>
{{Refimprove|date=August 2008}}
'''Modal logic''' is a type of [[mathematical logic#Formal logic|formal logic]] that extends the standards of formal logic to include the elements of [[Linguistic modality|modality]] (for example, the [[Alethic modality|alethic modals]] [[Logical possibility|possibility]] and [[Necessary_and_sufficient_conditions#Necessary_conditions|necessity]]). Modals qualify the truth of a judgment. For example, if it is true that "John is happy," we might qualify this statement by saying that "John is ''usually'' happy", in which case the term "usually" would be a modality. Traditionally, there are three "modes" or "moods" or "modalities" represented in modal logic, namely, ''[[Logical possibility|possibility]]'', ''[[probability]]'', and ''[[Necessary_and_sufficient_conditions#Necessary_conditions|necessity]]''<ref>"Formal Logic", by A. N. Prior, Oxford Univ. Press, 1962, p. 185</ref>. Several other modalities have been studied such as Temporal modalities or Tense modalities dealing with time, including Pp ("It has been that p"), Hp ("p has been realized every time in the past"), Fp ("It will be that p"), Gp ("p will be realized at every time in the future") where p is a proposition <ref>"Temporal Logic", by Rescher and Urquhart, Springer-Verlag, 1971, p. 52</ref> <ref>"Past, Present and Future", by A. N. Prior, Oxford Univ. Press, 1967</ref>, Deontic modalities Op ("p is obligatory") and Pp ("p is permissible"). More complex concepts of modality have been studied as well, such as Epistemic modalities using the dyadic modality K(x,p) or ("x knows that p") <ref>"Knowledge and Belief", by Jaakko Hinntikka, Cornell Univ. Press, 1962</ref>, etc. and Belief modalities which qualify a proposition, by the "believing" subject "x" as in the dyadic modality B(x,p) or "x believes that p". <ref>"Topics in Philosophical Logic", by N. Rescher, Humanities Press, 1968, p. 41</ref>


While the intuition behind modal logic dates back to antiquity, the first modal [[axiomatic system]]s 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 [[topology|topological]] semantics such as [[neighborhood semantics]] as well as applications of the relational semantics beyond its original philosophical motivation.<ref name="bluebible">{{cite book |last1= Blackburn |first1= Patrick |last2= de Rijke |first2= Maarten |last3= Venema|first3= Yde |date=2001 |title= Modal Logic |url=https://books.google.com/books?id=pbb_Asgoq0oC&dq=rijlke%20blackburn%20venema%20modal%20logic&pg=PP1 |series=Cambridge Tracts in Theoretical Computer Science |publisher=Cambridge University Press|isbn= 9780521527149 }}</ref> Such applications include [[game theory]],<ref name="openminds">{{cite book |last= van Benthem |first= Johan |date=2010 |title= Modal Logic for Open Minds |url= https://pdfs.semanticscholar.org/9bea/866c143326aeb700c20165a933f583b16a46.pdf |archive-url= https://web.archive.org/web/20200219165057/https://pdfs.semanticscholar.org/9bea/866c143326aeb700c20165a933f583b16a46.pdf |url-status= dead |archive-date= 2020-02-19 |publisher= CSLI|s2cid= 62162288 }}</ref> [[Moral theory|moral]] and [[legal theory]],<ref name="openminds" /> [[web design]],<ref name="openminds" /> [[Multiverse (set theory)|multiverse-based set theory]],<ref>{{cite journal |last1= Hamkins |first1= Joel|date=2012 |title=The set-theoretic multiverse |journal= The Review of Symbolic Logic |volume=5 |issue=3|pages= 416–449|doi=10.1017/S1755020311000359|arxiv= 1108.4223|s2cid= 33807508}}</ref> and [[social epistemology]].<ref>{{cite journal |last1=Baltag |first1=Alexandru |last2=Christoff |first2=Zoe |last3=Rendsvig |first3=Rasmus |last4=Smets |first4=Sonja |date=2019 |title= Dynamic Epistemic Logics of Diffusion and Prediction in Social Networks. |journal=Studia Logica |volume=107 |issue=3 |pages=489–531 |doi=10.1007/s11225-018-9804-x |s2cid=13968166 |doi-access=free }}</ref>
A formal modal logic represents modalities using [[modal operator]]s. For example, "It might rain today" and "It is possible that rain will fall today" both contain the notion of possibility. In a modal logic this is represented as an operator, ''Possibly'', attached to the sentence ''It will rain today''.


{{TOC limit|3}}
The basic [[Unary operation|unary]] (1-place) modal operators are usually written <math>\Box</math> for ''Necessarily'' and <math>\Diamond</math> for ''Possibly''. In a [[classical modal logic]], each can be expressed by the other with [[negation]]:


== Syntax of modal operators ==
:<math>\Diamond P \leftrightarrow \lnot \Box \lnot P;</math>
:<math>\Box P \leftrightarrow \lnot \Diamond \lnot P.</math>


Modal logic differs from other kinds of logic in that it uses modal [[operator (mathematics)|operator]]s such as <math>\Box</math> and <math>\Diamond</math>. The former is conventionally read aloud as "necessarily", and can be used to represent notions such as moral or legal [[obligation]], [[knowledge]], [[determinism|historical inevitability]], among others. The latter is typically read as "possibly" and can be used to represent notions including [[permission (philosophy)|permission]], [[ability]], compatibility with [[evidence]]. While [[well-formed formula]]s of modal logic include non-modal formulas such as <math>P \land Q</math>, it also contains modal ones such as <math>\Box(P \land Q)</math>, <math> P \land \Box Q</math>, <math>\Box(\Diamond P \land \Diamond Q)</math>, and so on.
Thus it is ''possible'' that it will rain today if and only if it is ''not necessary'' that it will ''not'' rain today;<br />
and it is ''necessary'' that it will rain today if and only if it is ''not possible'' that it will ''not'' rain today.


Thus, the [[language (logic)|language]] <math>\mathcal{L}</math> of basic [[propositional logic]] can be [[recursive definition|defined recursively]] as follows.
==Development of modal logic ==
Although [[Aristotle]]'s logic is almost entirely concerned with the theory of the [[categorical syllogism]], there are passages in his work, such as the famous [[problem of future contingents|sea-battle argument]] in ''[[De Interpretatione]]'' § 9, that are now seen as anticipations of modal logic and its connection with potentiality and time. Modal logic as a self-aware subject owes much to the writings of the [[Scholastics]], in particular [[William of Ockham]] and [[John Duns Scotus]], who reasoned informally in a modal manner, mainly to analyze statements about [[essence]] and [[accident (philosophy)|accident]].


#If <math>\phi</math> is an atomic formula, then <math>\phi</math> is a formula of <math>\mathcal{L}</math>.
[[C. I. Lewis]] founded modern modal logic in his 1910 Harvard thesis and in a series of scholarly articles beginning in 1912. This work culminated in his 1932 book ''Symbolic Logic'' (with C. H. Langford), which introduced the five systems ''S1'' through ''S5''.
#If <math>\phi</math> is a formula of <math>\mathcal{L}</math>, then <math>\neg \phi</math> is too.
#If <math>\phi</math> and <math>\psi</math> are formulas of <math>\mathcal{L}</math>, then <math>\phi \land \psi</math> is too.
#If <math>\phi</math> is a formula of <math>\mathcal{L}</math>, then <math>\Diamond \phi</math> is too.
#If <math>\phi</math> is a formula of <math>\mathcal{L}</math>, then <math>\Box \phi</math> 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 <math>\forall x \Diamond P(x) </math>. In systems of modal logic where <math>\Box</math> and <math>\Diamond</math> are [[dual (mathematics)|duals]], <math>\Box \phi</math> can be taken as an abbreviation for <math>\neg \Diamond \neg \phi</math>, 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.
Ruth C. Barcan (later [[Ruth Barcan Marcus]]) developed the first axiomatic systems of quantified modal logic &mdash; first and second order extensions of Lewis's "S2", "S4", and "S5".


Common notational variants include symbols such as <math>[K]</math> and <math>\langle K \rangle</math> in systems of modal logic used to represent knowledge and <math>[B]</math> and <math>\langle B \rangle</math> in those used to represent belief. These notations are particularly common in systems which use multiple modal operators simultaneously. For instance, a combined epistemic-deontic logic could use the formula <math>[K]\langle D \rangle P</math> read as "I know P is permitted". Systems of modal logic can include infinitely many modal operators distinguished by indices, i.e. <math>\Box_1</math>, <math>\Box_2</math>, <math>\Box_3</math>, and so on.
The contemporary era in modal semantics began in 1959, when [[Saul Kripke]] (then only a 19-year-old [[Harvard University]] undergraduate) introduced the now-standard [[Kripke semantics]] for modal logics. These are commonly referred to as "possible worlds" semantics. Kripke and [[A. N. Prior]] had previously corresponded at some length. Kripke semantics is basically simple, but proofs are eased using semantic-tableaus or [[analytic tableaux]], as explained by E. W. Beth.


==Semantics==
[[A. N. Prior]] created modern [[temporal logic]], closely related to modal logic, in 1957 by adding modal operators [F] and [P] meaning "henceforth" and "hitherto". [[Vaughan Pratt]] introduced [[dynamic logic (modal logic)|dynamic logic]] in 1976. In 1977, [[Amir Pnueli]] proposed using temporal logic to formalise the behaviour of continually operating concurrent programs. Flavors of temporal logic include propositional dynamic logic (PDL), propositional linear temporal logic (PLTL), [[linear temporal logic]] (LTL), [[computational tree logic]] (CTL), [[Hennessy-Milner logic|Hennessy&ndash;Milner logic]], and ''T''.


===Relational semantics===
The mathematical structure of modal logic, namely [[Boolean algebra (structure)|Boolean algebra]]s augmented with [[unary operation]]s (often called [[modal algebra]]s), began to emerge with J. C. C. McKinsey's 1941 proof that ''S2'' and ''S4'' are decidable, and reached full flower in the work of [[Alfred Tarski]] and his student [[Bjarni Jonsson]] (Jonsson and Tarski 1951&ndash;52). This work revealed that ''S4'' and ''S5'' are models of [[interior algebra]], a proper extension of Boolean algebra originally designed to capture the properties of the [[interior operator|interior]] and [[closure operator]]s of [[topology]]. Texts on modal logic typically do little more than mention its connections with the study of [[Boolean algebra (structure)|Boolean algebra]]s and [[topology]]. For a thorough survey of the history of formal modal logic and of the associated mathematics, see [http://www.mcs.vuw.ac.nz/~rob/papers/modalhist.pdf [[Robert Goldblatt]] (2006).]


{{See also|Kripke semantics}}
==Formalizations==
===Semantics===
The semantics for modal logic are usually given like so:<ref>Fitting and Mendelsohn. ''First-Order Modal Logic''. Kluwer Academic Publishers, 1998. Section 1.6</ref>
First we define a ''frame'', which consists of a non-empty set, ''G'', whose members are generally called possible worlds, and a binary relation, ''R'', that holds (or not) between the possible worlds of ''G''. This binary relation is called the ''[[accessibility relation]]''. For example, ''w'' ''R'' ''v'' means that the world ''v'' is accessible from world ''w''. That is to say, the state of affairs known as ''v'' is a live possibility for ''w''. This gives a pair, <''G'', ''R''>.


==== Basic notions<!--'Necessary proposition' and 'Necessary propositions' redirect here--> ====
Next, the ''frame'' is extended to a ''model'' by specifying the [[truth-value]]s of all propositions at each of the worlds in ''G''. We do so by defining a relation ⊨ between possible worlds and propositional letters. If there is a world ''w'' such that ''w'' ⊨ P, then P is true at ''w''. A model is thus an ordered triple, <''G'', ''R'', ⊨>.


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 [[accessibility relation|accessible]] worlds. Thus, the relational semantics interprets formulas of modal logic using [[model (logic)|models]] defined as follows.<ref>Fitting and Mendelsohn. ''[https://books.google.com/books?id=5IxqCQAAQBAJ First-Order Modal Logic]''. Kluwer Academic Publishers, 1998. Section 1.6</ref>
Then we recursively define the truth of a formula in a model:


* ''w'' ¬P if and only if ''w'' <math>\not\models</math> P
* A ''relational model'' is a tuple <math> \mathfrak{M} = \langle W, R, V \rangle </math> where:
* ''w'' ⊨ (P <math> \wedge </math> Q) if and only if ''w'' ⊨ P and ''w'' Q
# <math> W </math> is a set of possible worlds
# <math> R </math> is a binary relation on <math> W</math>
* ''w'' ⊨ <math>\Box</math>P if and only if for every element ''v'' of ''G'', if ''w'' ''R'' ''v'' then ''v'' ⊨ P
# <math>V </math> is a valuation function which assigns a truth value to each pair of an atomic formula and a world, (i.e. <math> V: W \times F \to \{ 0,1 \}</math> where <math>F</math> is the set of atomic formulae)
* ''w'' ⊨ <math>\Diamond</math>P if and only if for some element ''v'' of ''G'', it holds that ''w'' ''R'' ''v'' and ''v'' ⊨ P


The set <math> W </math> is often called the ''universe''. The binary relation <math>R</math> is called an [[accessibility relation]], and it controls which worlds can "see" each other for the sake of determining what is true. For example, <math>w R u</math> means that the world <math>u</math> is accessible from world <math>w</math>. That is to say, the [[State of affairs (philosophy)|state of affairs]] known as <math>u</math> is a live possibility for <math>w</math>. Finally, the function <math>V</math> is known as a [[valuation function]]. It determines which [[atomic formula]]s are true at which worlds.
According to these semantics, a truth is ''necessary'' with respect to a possible world ''w'' if it is true at every world that is accessible to ''w'', and ''possible'' if it is true at some world that is accessible to ''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.


Then we recursively define the truth of a formula at a world <math>w</math> in a model <math>\mathfrak{M}</math>:
It should also be noted that the definition of <math>\Box</math> makes vacuously true certain sentences, since when it speaks of "every world that is accesible to w" it takes for granted the usual mathematical interpretation of the word "every" (see [[vacuous truth]]). Hence, if a world w doesn't have any accessible worlds, any sentence beginning with <math>\Box</math> is true.


* <math>\mathfrak{M}, w \models P</math> iff <math>V(w, P)=1</math>
The different systems of modal logic are distinguished by the properties of their corresponding accessibility relations. There are several systems that have been espoused (often called ''frame conditions''). An accessibility relation is:
* <math>\mathfrak{M}, w \models \neg P</math> iff <math>w \not \models P</math>
* <math>\mathfrak{M}, w \models (P \wedge Q) </math> iff <math>w \models P</math> and <math>w \models Q</math>
* <math>\mathfrak{M}, w \models \Box P</math> iff for every element <math>u</math> of <math>W</math>, if <math> w R u</math> then <math>u \models P</math>
* <math>\mathfrak{M}, w \models \Diamond P</math> iff for some element <math>u</math> of <math>W</math>, it holds that <math>w R u</math> and <math>u \models P</math>


According to this semantics, a formula is ''necessary'' with respect to a world <math>w</math> if it holds at every world that is accessible from <math>w</math>. It is ''possible'' if it holds at some world that is accessible from <math>w</math>. Possibility thereby depends upon the accessibility relation <math>R</math>, 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 [[Logic translation|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.
* ''reflexive'' iff ''w'' ''R'' ''w'', for every ''w'' in ''G''

* ''symmetric'' iff ''w'' ''R'' ''v'' implies ''v'' ''R'' ''w'', for all ''w'' and ''v'' in ''G''
==== Frames and completeness====
* ''transitive'' iff ''w'' ''R'' ''v'' and ''v'' ''R'' ''q'' together imply ''w'' ''R'' ''q'', for all ''w'', ''v'', ''q'' in ''G''.

* ''serial'' iff, for each ''w'' in ''G'' there is some ''v'' in ''G'' such that ''w'' ''R'' ''v''.
The choice of accessibility relation alone can sometimes be sufficient to guarantee the truth or falsity of a formula. For instance, consider a model <math>\mathfrak{M}</math> whose accessibility relation is [[reflexive relation|reflexive]]. Because the relation is reflexive, we will have that <math>\mathfrak{M},w \models P \rightarrow \Diamond P </math> for any <math> w \in G </math> 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.
* ''euclidean'' iff, for every ''u'',''v'' and ''w'', ''u'' ''R'' ''w'' and ''v'' ''R'' ''w'' implies ''u'' ''R'' ''v'' (note that it also implies: ''v'' ''R'' ''u'')

* A ''relational frame'' is a pair <math> \mathfrak{M} = \langle G, R \rangle </math> where <math> G </math> is a set of possible worlds, <math> R </math> is a binary relation on <math> G</math>.

The different systems of modal logic are defined using ''frame conditions''. A frame is called:

* '''[[reflexive relation|reflexive]]''' if ''w R w'', for every ''w'' in ''G''
* '''[[symmetric relation|symmetric]]''' if ''w R u'' implies ''u R w'', for all ''w'' and ''u'' in ''G''
* '''[[transitive relation|transitive]]''' if ''w R u'' and ''u R q'' together imply ''w R q'', for all ''w'', ''u'', ''q'' in ''G''.
* '''[[serial relation|serial]]''' if, for every ''w'' in ''G'' there is some ''u'' in ''G'' such that ''w R u''.
* '''[[euclidean relation|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:
The logics that stem from these frame conditions are:
Line 59: Line 70:
*''D'' := serial
*''D'' := serial
*''T'' := reflexive
*''T'' := reflexive
*''S4'' := reflexive and transitive
*''B'' := reflexive and symmetric
*''S5'' := reflexive, symmetric, transitive and Euclidean
*''S4'' := [[preorder|reflexive and transitive]]
*''[[S5 (modal logic)|S5]]'' := reflexive and [[euclidean relation|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 relation|symmetric]] and [[transitive relation|transitive]] as well. Hence for models of S5, ''R'' is an [[equivalence relation]], because ''R'' is reflexive, symmetric and transitive.
S5 models are reflexive transitive and euclidean. The accessibility relation R is an equivalence relation. The relation ''R'' is reflexive, symmetric and transitive. It is interesting to note how the euclidean property along with reflexivity yields symmetry and transitivity. We can prove that these frames produce the same set of valid sentences as do any 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 edge (relation) can be added).


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:
For example, in S4:
:: ''w'' <math>\Diamond</math>P if and only if for some element ''v'' of ''G'', it holds that ''v'' P and ''w'' ''R'' ''v''.
: <math>w \models \Diamond P</math> if and only if for some element ''u'' of ''G'', it holds that <math>u \models P</math> and ''w R u''.
However, in S5, we can just say that
:: ''w'' ⊨ <math>\Diamond</math>P if and only if for some element ''v'' of ''G'', it holds that ''v'' ⊨ P.
We can drop the accessibility clause from the latter stipulation because it is trivially true of all S5 frames that ''w'' ''R'' ''v''.


If we consider frames based on the total relation we can just say that
All of these logical systems can also be defined axiomatically, as is shown in the next section. For example, in S5, the axioms P → <math>\Box</math><math>\Diamond</math>P, <math>\Box</math>P → <math>\Box</math><math>\Box</math>P, and <math>\Box</math>P → P (corresponding to ''symmetry'', ''transitivity'' and ''reflexivity'', respectively) hold, whereas at least one of these axioms does not hold in each of the other, weaker logics.
: <math>w \models \Diamond P</math> if and only if for some element ''u'' of ''G'', it holds that <math>u \models P</math>.
We can drop the accessibility clause from the latter stipulation because in such total frames it is trivially true of all ''w'' and ''u'' that ''w R u''. But this does not have to be the case in all S5 frames, which can still consist of multiple parts that are fully connected among themselves but still disconnected from each other.


All of these logical systems can also be defined axiomatically, as is shown in the next section. For example, in S5, the axioms <math>P \implies \Box\Diamond P</math>, <math>\Box P \implies \Box\Box P</math> and <math>\Box P \implies P</math> (corresponding to ''symmetry'', ''transitivity'' and ''reflexivity'', respectively) hold, whereas at least one of these axioms does not hold in each of the other, weaker logics.
===Axiomatic systems===
The first formalizations of modal logic were axiomatic. Numerous variations with very different properties have been proposed since [[C. I. Lewis]] began working in the area in 1910. Hughes and Cresswell (1996), for example, describe 42 normal and 25 non-normal modal logics. Zeman (1973) describes some systems Hughes and Cresswell omit.


=== Topological semantics ===
Modern treatments of modal logic begin by augmenting the [[propositional calculus]] with two unary operations, one denoting "necessity" and the other "possibility". The notation of [[Clarence Irving Lewis|Lewis]], much employed since, denotes "necessarily ''p''" by a prefixed "box" (<!--'''[]p'''--> <math>\Box p </math>) whose scope is established by parentheses. Likewise, a prefixed "diamond" (<!--'''<>p'''--><math>\Diamond p</math>) denotes "possibly ''p''". Regardless of notation, each of these operators is definable in terms of the other:
* <!--[]p--><math>\Box p</math> (necessarily ''p'') is equivalent to <!-- ~<>~p --><math>\neg \Diamond \neg p </math> ("not possible that not-''p''")
* <!-- <>p --> <math>\Diamond p </math> (possibly ''p'') is equivalent to <!-- ~[]~p --> <math>\neg \Box \neg p </math> ("not necessarily not-''p''")
Hence <math>\Box</math> and <math>\Diamond</math> form a [[duality (mathematics)#Duality in logic and set theory|dual pair]] of operators.


Modal logic has also been interpreted using topological structures. For instance, the ''Interior Semantics'' interprets formulas of modal logic as follows.
In many modal logics, the necessity and possibility operators satisfy the following analogs of [[de Morgan's laws]] from [[Boolean algebra (logic)|Boolean algebra]]:


A ''topological model'' is a tuple <math> \Chi = \langle X, \tau, V \rangle </math> where <math> \langle X, \tau \rangle</math> is a [[topological space]] and <math>V</math> is a valuation function which maps each atomic formula to some subset of <math>X</math>. The basic interior semantics interprets formulas of modal logic as follows:
:"It is '''not necessary that''' ''X''" is [[Logical equivalence|logically equivalent]] to "It is '''possible that not''' ''X''".


* <math> \Chi, x \models P </math> iff <math> x \in V(P) </math>
:"It is '''not possible that''' ''X''" is logically equivalent to "It is '''necessary that not''' ''X''".
* <math> \Chi, x \models \neg \phi </math> iff <math> \Chi, x \not\models \phi </math>
* <math> \Chi, x \models \phi \land \chi </math> iff <math> \Chi, x \models \phi</math> and <math>\Chi, x \models \chi </math>
* <math> \Chi, x \models \Box \phi </math> iff for some <math> U \in \tau </math> we have both that <math> x \in U </math> and also that <math> \Chi, y \models \phi </math> for all <math> y \in U </math>


Topological approaches subsume relational ones, allowing [[non-normal modal logic]]s. The extra structure they provide also allows a transparent way of modeling certain concepts such as the evidence or justification one has for one's beliefs. Topological semantics is widely used in recent work in formal epistemology and has antecedents in earlier work such as [[David Lewis (philosopher)|David Lewis]] and [[Angelika Kratzer]]'s logics for [[counterfactuals]].
Precisely what axioms and rules must be added to the [[propositional calculus]] to create a usable system of modal logic is a matter of philosophical opinion, often driven by the theorems one wishes to prove; or, in computer science, it is a matter of what sort of computational or deductive system one wishes to model. Many modal logics, known collectively as [[normal modal logic]]s, include the following rule and axiom:
* '''N''', ''Necessitation Rule'': If ''p'' is a [[theorem]] (of any system invoking '''N'''), then <math>\Box p</math> is likewise a theorem.
* '''K''', ''Distribution Axiom'': <!--[](''p'' → ''q'') → ([]p → []q)--> <math> \Box (p \rightarrow q) \rightarrow (\Box p \rightarrow \Box q)</math>.


==Axiomatic systems==
The weakest [[normal modal logic]], named ''K'' in honor of [[Saul Kripke]], is simply the [[propositional calculus]] augmented by <math>\Box</math>, the rule '''N''', and the axiom '''K'''. ''K'' is weak in that it fails to determine whether a proposition can be necessary but only contingently necessary. That is, it is not a theorem of ''K'' that if <!-- []p --> <math> \Box p </math> is true then <!-- [][]p --> <math> \Box \Box p </math> is true, i.e., that necessary truths are "necessarily necessary". If such perplexities are deemed forced and artificial, this defect of ''K'' is not a great one. In any case, different answers to such questions yield different systems of modal logic.
[[File:Diagram_of_Normal_Modal_Logics.png|thumb|300px|Diagram of common modal logics; '''K4W''' stands for [[Provability logic]], and '''B''' on the top corner stands for [[L. E. J. Brouwer|Brouwer]]'s system of '''KTB''']]
The first formalizations of modal logic were [[axiomatic]]. Numerous variations with very different properties have been proposed since [[C. I. Lewis]] began working in the area in 1912. [[George Edward Hughes|Hughes]] and [[Max John Cresswell|Cresswell]] (1996), for example, describe 42 [[normal modal logic|normal]] and 25 non-normal modal logics. Zeman (1973) describes some systems Hughes and Cresswell omit.

Modern treatments of modal logic begin by augmenting the [[propositional calculus]] with two unary operations, one denoting "necessity" and the other "possibility". The notation of [[Clarence Irving Lewis|C. I. Lewis]], much employed since, denotes "necessarily ''p''" by a prefixed "box" (□''p'') whose [[Scope (logic)|scope]] is established by parentheses. Likewise, a prefixed "diamond" (◇''p'') denotes "possibly ''p''". Similar to the [[Quantifier (logic)|quantifiers]] in [[first-order logic]], "necessarily ''p''" (□''p'') does not assume the [[Quantifier (logic)#Range of quantification|range of quantification]] (the set of accessible possible worlds in [[Kripke semantics]]) to be non-empty, whereas "possibly ''p''" (◇''p'') often implicitly assumes <math>\Diamond\top</math> (viz. the set of accessible possible worlds is non-empty). Regardless of notation, each of these operators is definable in terms of the other in classical modal logic:
* □''p'' (necessarily ''p'') is equivalent to {{math|¬◇¬''p''}} ("not possible that not-''p''")
* ◇''p'' (possibly ''p'') is equivalent to {{math|¬□¬''p''}} ("not necessarily not-''p''")
Hence □ and ◇ form a [[duality (mathematics)#Duality in logic and set theory|dual pair]] of operators.

In many modal logics, the necessity and possibility operators satisfy the following analogues of [[de Morgan's laws]] from [[Boolean algebra (logic)|Boolean algebra]]:

:"It is '''not necessary that''' ''X''" is [[Logical equivalence|logically equivalent]] to "It is '''possible that not''' ''X''".
:"It is '''not possible that''' ''X''" is logically equivalent to "It is '''necessary that not''' ''X''".

Precisely what axioms and rules must be added to the [[propositional calculus]] to create a usable system of modal logic is a matter of philosophical opinion, often driven by the theorems one wishes to prove; or, in computer science, it is a matter of what sort of computational or deductive system one wishes to model. Many modal logics, known collectively as [[normal modal logic]]s, include the following rule and axiom:
* '''N''', '''Necessitation Rule''': If ''p'' is a [[theorem]]/[[Tautology (logic)|tautology]] (of any system/model invoking '''N'''), then □''p'' is likewise a theorem (i.e. <math> (\models p) \implies (\models \Box p) </math>).
* '''K''', '''Distribution Axiom''': {{math|□(''p'' → ''q'') → (□''p'' → □''q'').}}

The weakest [[normal modal logic]], named "''K''" in honor of [[Saul Kripke]], is simply the [[propositional calculus]] augmented by □, the rule '''N''', and the axiom '''K'''. ''K'' is weak in that it fails to determine whether a proposition can be necessary but only contingently necessary. That is, it is not a theorem of ''K'' that if □''p'' is true then □□''p'' is true, i.e., that necessary truths are "necessarily necessary". If such perplexities are deemed forced and artificial, this defect of ''K'' is not a great one. In any case, different answers to such questions yield different systems of modal logic.


Adding axioms to ''K'' gives rise to other well-known modal systems. One cannot prove in ''K'' that if "''p'' is necessary" then ''p'' is true. The axiom '''T''' remedies this defect:
Adding axioms to ''K'' gives rise to other well-known modal systems. One cannot prove in ''K'' that if "''p'' is necessary" then ''p'' is true. The axiom '''T''' remedies this defect:
*'''T''', ''Reflexivity Axiom'': <!-- []p → p --> <math> \Box p \rightarrow p </math> (If ''p'' is necessary, then ''p'' is the case.) '''T''' holds in most but not all modal logics. Zeman (1973) describes a few exceptions, such as ''S1<sup>0</sup>''.
*'''T''', '''Reflexivity Axiom''': {{math|□''p''''p''}} (If ''p'' is necessary, then ''p'' is the case.)
'''T''' holds in most but not all modal logics. Zeman (1973) describes a few exceptions, such as ''S1<sup>0</sup>''.
Other well-known elementary axioms are:
*'''4''': <math> \Box p \rightarrow \Box \Box p</math>
*'''B''': <math> p \rightarrow \Box \Diamond p</math>
*'''D''': <math> \Box p \rightarrow \Diamond p</math>
*'''5''': <math> \Diamond p \rightarrow \Box \Diamond p </math>


Other well-known elementary axioms are:
*'''4''': <math> \Box p \to \Box \Box p</math>
*'''B''': <math> p \to \Box \Diamond p</math>
*'''D''': <math> \Box p \to \Diamond p</math>
*'''5''': <math> \Diamond p \to \Box \Diamond p </math>


These yield the systems (axioms in bold):
These yield the systems (axioms in bold, systems in italics):
*''K'' := '''K''' + '''N'''
*''K'' := '''K''' + '''N'''
*''T'' := ''K'' + '''T'''
*''T'' := ''K'' + '''T'''
*''S4'' := ''T'' + '''4'''
*''S4'' := ''T'' + '''4'''
*''S5'' := ''S4'' + '''5'''
*''S5'' := ''T'' + '''5'''
*''D'' := ''K'' + '''D'''.
*''D'' := ''K'' + '''D'''.
''K'' through ''S5'' form a nested hierarchy of systems, making up the core of [[normal modal logic]]. But specific rules or sets of rules may be appropriate for specific systems. For example, in deontic logic, <math> \Box p \rightarrow \Diamond p</math> (If it ought to be that ''p'', then it is permitted that ''p'') seems appropriate, but we should probably not include that <math> p \rightarrow \Box \Diamond p</math>. In fact, to do so is to commit the [[naturalistic fallacy]] (i.e. to state that what is natural is also good, by saying that if ''p'' is the case, ''p'' ought to be permitted).
''K'' through ''S5'' form a nested hierarchy of systems, making up the core of [[normal modal logic]]. But specific rules or sets of rules may be appropriate for specific systems. For example, in [[deontic logic]], <math> \Box p \to \Diamond p</math> (If it ought to be that ''p'', then it is permitted that ''p'') seems appropriate, but we should probably not include that <math> p \to \Box \Diamond p</math>. In fact, to do so is to commit the [[naturalistic fallacy]] (i.e. to state that what is natural is also good, by saying that if ''p'' is the case, ''p'' ought to be permitted).


The commonly employed system ''S5'' simply makes all modal truths necessary. For example, if ''p'' is possible, then it is "necessary" that ''p'' is possible. Also, if ''p'' is necessary, then it is necessary that ''p'' is necessary. Other systems of modal logic have been formulated, in part because ''S5'' does not describe every kind of modality of interest.
The commonly employed system ''S5'' simply makes all modal truths necessary. For example, if ''p'' is possible, then it is "necessary" that ''p'' is possible. Also, if ''p'' is necessary, then it is necessary that ''p'' is necessary. Other systems of modal logic have been formulated, in part because ''S5'' does not describe every kind of modality of interest.


===Structural proof theory===
==Alethic logic==
[[sequent calculus|Sequent calculi]] and systems of natural deduction have been developed for several modal logics, but it has proven hard to combine generality with other features expected of good [[structural proof theories]], such as purity (the proof theory does not introduce extra-logical notions such as labels) and analyticity (the logical rules support a clean notion of [[analytic proof]]). More complex calculi have been applied to modal logic to achieve generality.{{Citation needed|date=September 2024}}
{{main|Alethic modality}}
Modalities of necessity and possibility are called ''alethic'' modalities. They are also sometimes called ''special'' modalities, from the [[Latin]] ''species''. Modal logic was first developed to deal with these concepts, and only afterward was extended to others. For this reason, or perhaps for their familiarity and simplicity, necessity and possibility are often casually treated as ''the'' subject matter of modal logic. Moreover it is easier to make sense of relativizing necessity, e.g. to legal, physical, nomological, epistemic, and so on, than it is to make sense of relativizing other notions.


===Decision methods===
In [[classical modal logic]], a proposition is said to be
[[Analytic tableaux]] provide the most popular decision method for modal logics.{{sfn|Girle|2014}}
*'''possible''' if and only if it is ''not necessarily false'' (regardless of whether it is actually true or actually false);
*'''necessary''' if and only if it is ''not possibly false''; and
*'''contingent''' if and only if it is ''not necessarily false'' and ''not necessarily true'' (i.e. possible but not necessarily true).


==Modal logics in philosophy==
In classical modal logic, therefore, either the notion of possibility or necessity may be taken to be basic, where these other notions are defined in terms of it in the manner of [[De Morgan duality]]. [[Intuitionistic modal logic]] treats possibility and necessity as not perfectly symmetric.


===Alethic logic===
For those with difficulty with the concept of something being possible but not true, the meaning of these terms may be made more comprehensible by thinking of multiple "possible worlds" (in the sense of [[Leibniz]]) or "alternate universes"; something "necessary" is true in all possible worlds, something "possible" is true in at least one possible world. These "possible world semantics" are formalized with [[Kripke semantics]].
{{main|Subjunctive possibility}}
Modalities of necessity and possibility are called ''alethic'' modalities. They are also sometimes called ''special'' modalities, from the [[Latin]] ''species''. Modal logic was first developed to deal with these concepts, and only afterward was extended to others. For this reason, or perhaps for their familiarity and simplicity, necessity and possibility are often casually treated as ''the'' subject matter of modal logic. Moreover, it is easier to make sense of relativizing necessity, e.g. to legal, physical, [[nomological]], [[epistemic]], and so on, than it is to make sense of relativizing other notions.


In [[classical modal logic]], a proposition is said to be
===Physical possibility===
*'''possible''' if it is ''not necessarily false'' (regardless of whether it is actually true or actually false);
*'''necessary''' if it is ''not possibly false'' (i.e. true and necessarily true);
*'''contingent''' if it is ''not necessarily false'' and ''not necessarily true'' (i.e. possible but not necessarily true);
*'''impossible''' if it is ''not possibly true'' (i.e. false and necessarily false).


In classical modal logic, therefore, the notion of either possibility or necessity may be taken to be basic, where these other notions are defined in terms of it in the manner of [[De Morgan duality]]. [[Intuitionistic modal logic]] treats possibility and necessity as not perfectly symmetric.
Something is physically possible if it is permitted by the [[physical law|laws of physics]]. For example, current theory allows for there to be an [[atom]] with an [[atomic number]] of 150, though there may not in fact be any such atoms in existence. Similarly, while it is logically possible to accelerate beyond the [[speed of light]], modern science stipulates that it is not physically possible for material particles or information.


For example, suppose that while walking to the convenience store we pass Friedrich's house, and observe that the lights are off. On the way back, we observe that they have been turned on.
===Metaphysical possibility===
* "Somebody or something turned the lights on" is ''necessary''.
* "Friedrich turned the lights on", "Friedrich's roommate Max turned the lights on" and "A burglar named Adolf broke into Friedrich's house and turned the lights on" are ''contingent''.
* All of the above statements are ''possible''.
* It is ''impossible'' that [[Socrates]] (who has been dead for over two thousand years) turned the lights on.
(Of course, this analogy does not apply alethic modality in a ''truly'' rigorous fashion; for it to do so, it would have to axiomatically make such statements as "human beings cannot rise from the dead", "Socrates was a human being and not an immortal vampire", and "we did not take hallucinogenic drugs which caused us to falsely believe the lights were on", ''ad infinitum''. Absolute certainty of truth or falsehood exists only in the sense of logically constructed abstract concepts such as "it is impossible to draw a triangle with four sides" and "all bachelors are unmarried".)


For those having difficulty with the concept of something being possible but not true, the meaning of these terms may be made more comprehensible by thinking of multiple "possible worlds" (in the sense of [[Gottfried Wilhelm Leibniz|Leibniz]]) or "alternate universes"; something "necessary" is true in all possible worlds, something "possible" is true in at least one possible world.
[[Philosophers]] ponder the properties that objects have independently of those dictated by scientific laws. For example, it might be metaphysically necessary, as some have thought, that all thinking beings have bodies and can experience the passage of [[time]]. [[Saul Kripke]] has argued that every person necessarily has the parents they do have: anyone with different parents would not be the same person.<ref>Saul Kripke. ''Naming and Necessity''. Harvard University Press, 1980. pg 113</ref>


====Physical possibility====
Metaphysical possibility is generally thought to be more restricting than bare logical possibility (i.e., fewer things are metaphysically possible than are logically possible). Its exact relation to physical possibility is a matter of some dispute. Philosophers also disagree over whether metaphysical truths are necessary merely "by definition", or whether they reflect some underlying deep facts about the world, or something else entirely.
Something is physically, or nomically, possible if it is permitted by the [[physical law|laws of physics]].{{citation needed|date=January 2016}} For example, current theory is thought to allow for there to be an [[atom]] with an [[atomic number]] of 126,<ref>{{cite news|title=Press release: Superheavy Element 114 Confirmed: A Stepping Stone to the Island of Stability|url=http://newscenter.lbl.gov/2009/09/24/114-confirmed/|work=Lawrence Berkeley National Laboratory|date=24 September 2009}}</ref> even if there are no such atoms in existence. In contrast, while it is logically possible to accelerate beyond the [[speed of light]],<ref name="Feinberg67">{{cite journal |last=Feinberg |first=G. |year=1967 |title=Possibility of Faster-Than-Light Particles |journal=[[Physical Review]] |volume=159 |issue=5 |pages=1089–1105 |bibcode=1967PhRv..159.1089F |doi=10.1103/PhysRev.159.1089}} See also Feinberg's later paper: Phys. Rev. D 17, 1651 (1978)</ref> modern science stipulates that it is not physically possible for material particles or information.<ref>{{cite journal | last = Einstein | first = Albert | author-link = Albert Einstein | title = Zur Elektrodynamik bewegter Körper | journal = Annalen der Physik | volume = 17 | pages = 891–921 | date = 1905-06-30|bibcode = 1905AnP...322..891E |doi = 10.1002/andp.19053221004 | issue = 10 | url = http://sedici.unlp.edu.ar/handle/10915/2786 | doi-access = free }}</ref>


====Metaphysical possibility====
===Confusion with epistemic modalities===
{{Main|Modal metaphysics}}
[[Philosophers]]{{who|date=April 2012}} debate if objects have properties independent of those dictated by scientific laws. For example, it might be metaphysically necessary, as some who advocate [[physicalism]] have thought, that all thinking beings have bodies<ref>{{cite web|last1=Stoljar|first1=Daniel|title=Physicalism|url=http://plato.stanford.edu/entries/physicalism/|website=The Stanford Encyclopedia of Philosophy|access-date=16 December 2014}}</ref> and can experience the passage of [[time]]. [[Saul Kripke]] has argued that every person necessarily has the parents they do have: anyone with different parents would not be the same person.<ref>Saul Kripke ''Naming and Necessity'' Harvard University Press, 1980, p. 113.</ref>


[[Metaphysical possibility]] has been thought to be more restricting than bare logical possibility<ref>{{cite book|last1=Thomson|first1=Judith and Alex Byrne|title=Content and Modality : Themes from the Philosophy of Robert Stalnaker|date=2006|publisher=Oxford University Press|location=Oxford|page=107|url=https://books.google.com/books?id=JXeOkXnCwb8C|access-date=16 December 2014|isbn=9780191515736}}</ref> (i.e., fewer things are metaphysically possible than are logically possible). However, its exact relation (if any) to logical possibility or to physical possibility is a matter of dispute. Philosophers{{who|date=April 2012}} also disagree over whether metaphysical truths are necessary merely "by definition", or whether they reflect some underlying deep facts about the world, or something else entirely.
Alethic modalities and epistemic modalities (see below) are often expressed in English using the same words. "It is possible that bigfoot exists" can mean either "Bigfoot ''could'' exist, whether or not bigfoot does in fact exist" (alethic), or more likely, "For all I know, bigfoot exists" (epistemic).


==Epistemic logic==
===Epistemic logic===
{{Main|Epistemic logic}}
{{Main|Epistemic logic}}


'''Epistemic modalities''' (from the Greek ''episteme'', knowledge), deal with the ''certainty'' of sentences. The <math> \Box </math> operator is translated as "x knows that…", and the <math> \Diamond </math> operator is translated as "For all x knows, it may be true that…" In ordinary speech both metaphysical and epistemic modalities are often expressed in similar words; the following contrasts may help:
'''Epistemic modalities''' (from the Greek ''episteme'', knowledge), deal with the ''certainty'' of sentences. The operator is translated as "x is certain that…", and the operator is translated as "For all x knows, it may be true that…" In ordinary speech both metaphysical and epistemic modalities are often expressed in similar words; the following contrasts may help:


A person, Jones, might reasonably say ''both'': (1) "No, it is ''not'' possible that [[Bigfoot]] exists; I am quite certain of that"; ''and'', (2) "Sure, Bigfoot possibly ''could'' exist". What Jones means by (1) is that given all the available information, there is no question remaining as to whether Bigfoot exists. This is an epistemic claim. By (2) he makes the ''metaphysical'' claim that it is ''possible for'' Bigfoot to exist, ''even though he does not'' (which is not equivalent to "it is ''possible that'' Bigfoot exists for all I know", which contradicts (1)).
A person, Jones, might reasonably say ''both'': (1) "No, it is ''not'' possible that [[Bigfoot]] exists; I am quite certain of that"; ''and'', (2) "Sure, it's ''possible'' that Bigfoots could exist". What Jones means by (1) is that, given all the available information, there is no question remaining as to whether Bigfoot exists. This is an epistemic claim. By (2) he makes the ''metaphysical'' claim that it is ''possible for'' Bigfoot to exist, ''even though he does not'': there is no physical or biological reason that large, featherless, bipedal creatures with thick hair could not exist in the forests of North America (regardless of whether or not they do). Similarly, "it is possible for the person reading this sentence to be fourteen feet tall and named Chad" is ''metaphysically'' true (such a person would not somehow be prevented from doing so on account of their height and name), but not ''alethically'' true unless you match that description, and not ''epistemically'' true if it is known that fourteen-foot-tall human beings have never existed.


From the other direction, Jones might say, (3) "It is ''possible'' that [[Goldbach's conjecture]] is true; but also ''possible'' that it is false", and ''also'' (4) "if it ''is'' true, then it is necessarily true, and not possibly false". Here Jones means that it is ''epistemically possible'' that it is true or false, for all he knows (Goldbach's conjecture has not been proven either true or false), but if there ''is'' a proof (heretofore undiscovered), then it would show that it is not ''logically'' possible for Goldbach's conjecture to be false—there could be no set of numbers that violated it. Logical possibility is a form of ''alethic'' possibility; (4) makes a claim about whether it is possible (i.e., logically speaking) that a mathematical truth to have been false, but (3) only makes a claim about whether it is possible, for all Jones knows, (i.e., speaking of certitude) that the mathematical claim is specifically either true or false, and so again Jones does not contradict himself. It is worthwhile to observe that Jones is not necessarily correct: It is possible (epistemically) that Goldbach's conjecture is both true and unprovable.<ref>See [[Goldbach's_conjecture#Origins|Goldbach's conjecture > Origins]]</ref>
From the other direction, Jones might say, (3) "It is ''possible'' that [[Goldbach's conjecture]] is true; but also ''possible'' that it is false", and ''also'' (4) "if it ''is'' true, then it is necessarily true, and not possibly false". Here Jones means that it is ''epistemically possible'' that it is true or false, for all he knows (Goldbach's conjecture has not been proven either true or false), but if there ''is'' a proof (heretofore undiscovered), then it would show that it is not ''logically'' possible for Goldbach's conjecture to be false—there could be no set of numbers that violated it. Logical possibility is a form of ''alethic'' possibility; (4) makes a claim about whether it is possible (i.e., logically speaking) that a mathematical truth to have been false, but (3) only makes a claim about whether it is possible, for all Jones knows, (i.e., speaking of certitude) that the mathematical claim is specifically either true or false, and so again Jones does not contradict himself. It is worthwhile to observe that Jones is not necessarily correct: It is possible (epistemically) that [[Goldbach's conjecture#History|Goldbach's conjecture]] is both true and unprovable.


Epistemic possibilities also bear on the actual world in a way that metaphysical possibilities do not. Metaphysical possibilities bear on ways the world ''might have been,'' but epistemic possibilities bear on the way the world ''may be'' (for all we know). Suppose, for example, that I want to know whether or not to take an umbrella before I leave. If you tell me "it is ''possible that'' it is raining outside" – in the sense of epistemic possibility – then that would weigh on whether or not I take the umbrella. But if you just tell me that "it is ''possible for'' it to rain outside" – in the sense of ''metaphysical possibility'' – then I am no better off for this bit of modal enlightenment.
Epistemic possibilities also bear on the actual world in a way that metaphysical possibilities do not. Metaphysical possibilities bear on ways the world ''might have been,'' but epistemic possibilities bear on the way the world ''may be'' (for all we know). Suppose, for example, that I want to know whether or not to take an umbrella before I leave. If you tell me "it is ''possible that'' it is raining outside" – in the sense of epistemic possibility – then that would weigh on whether or not I take the umbrella. But if you just tell me that "it is ''possible for'' it to rain outside" – in the sense of ''metaphysical possibility'' – then I am no better off for this bit of modal enlightenment.


Some features of epistemic modal logic are in debate. For example, if ''x'' knows that ''p'', does ''x'' know that it knows that ''p''? That is to say, should <math>\Box P \rightarrow \Box \Box P</math> be an axiom in these systems? While the answer to this question is unclear, there is at least one axiom that ''must'' be included in epistemic modal logic, because it is minimally true of all modal logics (see [[Modal_logic#Axiomatic_systems|the section on axiomatic systems]]):
Some features of epistemic modal logic are in debate. For example, if ''x'' knows that ''p'', does ''x'' know that it knows that ''p''? That is to say, should □''P'' □□''P'' be an axiom in these systems? While the answer to this question is unclear,<ref>cf. [[Blindsight]] and [[Subliminal perception]] for negative empirical evidence</ref> there is at least one axiom that is generally included in epistemic modal logic, because it is minimally true of all normal modal logics (see [[#Axiomatic systems|the section on axiomatic systems]]):
* '''K''', ''Distribution Axiom'': <!--[](''p'' → ''q'') → ([]p → []q)--> <math> \Box (p \rightarrow q) \rightarrow (\Box p \rightarrow \Box q)</math>.
* '''K''', ''Distribution Axiom'': <math> \Box (p \to q) \to (\Box p \to \Box q)</math>.


It has been questioned whether the epistemic and alethic modalities should be considered distinct from each other. The criticism states that there is no real difference between "the truth in the world" (alethic) and "the truth in an individual's mind" (epistemic).<ref>{{cite book| last=Eschenroeder |first=Erin |author2=Sarah Mills |author3=Thao Nguyen |title=The Expression of Modality|editor=William Frawley|publisher=Mouton de Gruyter| date=2006-09-30 |series=The Expression of Cognitive Categories|pages=8–9|url=https://books.google.com/books?id=72URszHq2SEC&pg=PT18| isbn=978-3-11-018436-5 | access-date=2010-01-03}}</ref> An investigation has not found a single language in which alethic and epistemic modalities are formally distinguished, as by the means of a [[grammatical mood]].<ref>{{cite book|last=Nuyts|first=Jan|title=Epistemic Modality, Language, and Conceptualization: A Cognitive-pragmatic Perspective|publisher=John Benjamins Publishing Co|date=November 2000|series=Human Cognitive Processing|page=28|isbn=978-90-272-2357-9}}</ref>
But this is disconcerting, because with '''K''', we can prove that we know all the logical consequences of our beliefs: If ''q'' is a logical consequence of ''p'', then <math> \Box (p \rightarrow q)</math>. And if so, then we can deduce that <math>(\Box p \rightarrow \Box q)</math> using '''K'''. When we translate this into epistemic terms, this says that if ''q'' is a logical consequence of ''p'', then we know that it is, and if we know ''p'', we know ''q''. That is to say, we know all the logical consequences of our beliefs. This must be true for all possible [[Kripke semantics|Kripkean]] modal interpretations of epistemic cases where <math>\Box</math> is translated as "knows that". But then, for example, if ''x'' knows that prime numbers are divisible only by themselves and the number one, then ''x'' knows that 8683317618811886495518194401279999999 is prime (since this number is only divisible by itself and the number one). That is to say, under the modal interpretation of knowledge, anyone who knows the definition of a prime number knows that this number is prime. This shows that epistemic modal logic is an idealized account of knowledge, and explains objective, rather than subjective knowledge (if anything).


==Temporal logic==
===Temporal logic===
{{Main|Temporal logic}}
{{Main|Temporal logic}}


Temporal logic is an approach to the semantics of expressions with [[Grammatical tense|tense]], that is, expressions with qualifications of when. Some expressions, such as '2 + 2 = 4', are true at all times, while tensed expressions such as 'John is happy' are only true sometimes.
Temporal logic is an approach to the semantics of expressions with [[Grammatical tense|tense]], that is, expressions with qualifications of when. Some expressions, such as '2 + 2 = 4', are true at all times, while tensed expressions such as 'John is happy' are only true sometimes.


In temporal logic, tense constructions are treated in terms of modalities, where a standard method for formalizing talk of time is to use ''two'' pairs of operators, one for the past and one for the future (P will just mean 'it is presently the case that P'). For example:
In temporal logic, tense constructions are treated in terms of modalities, where a standard method for formalizing talk of time is to use ''two'' pairs of operators, one for the past and one for the future (P will just mean 'it is presently the case that P'). For example:
Line 181: Line 219:
:<math> \Box_2 P </math> = ''P'' and '''G'''''P''
:<math> \Box_2 P </math> = ''P'' and '''G'''''P''


The operators '''F''' and '''G''' may seem initially foreign, but they create [[normal modal logic|normal modal systems]]. Note that '''F'''''P'' is the same as ¬'''G'''¬''P''. We can combine the above operators to form complex statements. For example, '''P'''''P'' → <math> \Box </math>'''P'''''P'' says (effectively), ''Everything that is past and true is necessary''.
The operators '''F''' and '''G''' may seem initially foreign, but they create [[normal modal logic|normal modal systems]]. '''F'''''P'' is the same as ¬'''G'''¬''P''. We can combine the above operators to form complex statements. For example, '''P'''''P'' → '''P'''''P'' says (effectively), ''Everything that is past and true is necessary''.


It seems reasonable to say that possibly it will rain tomorrow, and possibly it won't; on the other hand, seeing as how we can't change the past, if it is true that it rained yesterday, it probably isn't true that it may not have rained yesterday. It seems the past is "fixed", or necessary, in a way the future is not. This is sometimes referred to as [[accidental necessity]]. But if the past is "fixed", and everything that is in the future will eventually be in the past, then it seems plausible to say that future events are necessary too.
It seems reasonable to say that possibly it will rain tomorrow, and possibly it will not; on the other hand, since we cannot change the past, if it is true that it rained yesterday, it cannot be true that it may not have rained yesterday. It seems the past is "fixed", or necessary, in a way the future is not. This is sometimes referred to as [[accidental necessity]]. But if the past is "fixed", and everything that is in the future will eventually be in the past, then it seems plausible to say that future events are necessary too.


Similarly, the [[problem of future contingents]] considers the semantics of assertions about the future: is either of the propositions 'There will be a sea battle tomorrow', or 'There will not be a sea battle tomorrow' now true? Considering this thesis led [[Aristotle]] to reject the [[principle of bivalence]] for assertions concerning the future.
Similarly, the [[problem of future contingents]] considers the semantics of assertions about the future: is either of the propositions 'There will be a sea battle tomorrow', or 'There will not be a sea battle tomorrow' now true? Considering this thesis led [[Aristotle]] to reject the [[principle of bivalence]] for assertions concerning the future.


Additional binary operators are also relevant to temporal logics, ''q.v.'' [[Linear Temporal Logic]].
Additional binary operators are also relevant to temporal logics (see [[Linear temporal logic]]).


Versions of temporal logic can be used in [[computer science]] to model computer operations and prove theorems about them. In one version, <math>\Diamond P</math> means "at a future time in the computation it is possible that the computer state will be such that P is true"; <math>\Box P</math> means "at all future times in the computation P will be true". In another version, <math>\Diamond P</math> means "at the immediate next state of the computation, P might be true"; <math>\Box P</math> means "at the immediate next state of the computation, P will be true". These differ in the choice of [[Accessibility relation]]. (P always means "P is true at the current computer state".) These two examples involve nondeterministic or not-fully-understood computations; there are many other modal logics specialized to different types of program analysis. Each one naturally leads to slightly different axioms.
Versions of temporal logic can be used in [[computer science]] to model computer operations and prove theorems about them. In one version, ◇''P'' means "at a future time in the computation it is possible that the computer state will be such that P is true"; □''P'' means "at all future times in the computation P will be true". In another version, ◇''P'' means "at the immediate next state of the computation, ''P'' might be true"; □''P'' means "at the immediate next state of the computation, P will be true". These differ in the choice of [[Accessibility relation]]. (P always means "P is true at the current computer state".) These two examples involve nondeterministic or not-fully-understood computations; there are many other modal logics specialized to different types of program analysis. Each one naturally leads to slightly different axioms.

==Deontic logic==


===Deontic logic===
{{Main|Deontic logic}}
{{Main|Deontic logic}}


Likewise talk of morality, or of [[obligation]] and [[norm (philosophy)|norms]] generally, seems to have a modal structure. The difference between "You must do this" and "You may do this" looks a lot like the difference between "This is necessary" and "This is possible". Such logics are called ''[[deontic logic|deontic]]'', from the Greek for "duty".
Likewise talk of morality, or of [[obligation]] and [[norm (philosophy)|norms]] generally, seems to have a modal structure. The difference between "You must do this" and "You may do this" looks a lot like the difference between "This is necessary" and "This is possible". Such logics are called ''[[deontic logic|deontic]]'', from the Greek for "duty".


Deontic logics commonly lack the axiom '''T''' semantically corresponding to the reflexivity of the accessibility relation in [[Kripke semantics]]: in symbols, <math>\Box\phi\to\phi</math>. Interpreting <math>\Box</math> as "it is obligatory that", '''T''' informally says that every obligation is true. For example, if it is obligatory not to kill others (i.e. killing is morally forbidden), then '''T''' implies that people actually do not kill others. The consequent is obviously false.
Deontic logics commonly lack the axiom '''T''' semantically corresponding to the reflexivity of the accessibility relation in [[Kripke semantics]]: in symbols, <math>\Box\phi\to\phi</math>. Interpreting as "it is obligatory that", '''T''' informally says that every obligation is true. For example, if it is obligatory not to kill others (i.e. killing is morally forbidden), then '''T''' implies that people actually do not kill others. The consequent is obviously false.


Instead, using [[Kripke semantics]], we say that though our own world does not realize all obligations, the worlds accessible to it do (i.e., '''T''' holds at these worlds). These worlds are called idealized worlds. ''P'' is obligatory with respect to our own world if at all idealized worlds accessible to our world, ''P'' holds. Though this was one of the first interpretations of the formal semantics, it has recently come under criticism.<ref>See, e.g., Sven Hansson, "Ideal Worlds&mdash;Wishful Thinking in Deontic Logic", Studia Logica, Vol. 82 (3), pp.&nbsp;329&ndash;336, 2006.</ref>
Instead, using [[Kripke semantics]], we say that though our own world does not realize all obligations, the worlds accessible to it do (i.e., '''T''' holds at these worlds). These worlds are called ''idealized'' worlds. ''P'' is obligatory with respect to our own world if at all idealized worlds accessible to our world, ''P'' holds. Though this was one of the first interpretations of the formal semantics, it has recently come under criticism.<ref>See, e.g., {{cite journal |first=Sven |last=Hansson |title=Ideal Worlds—Wishful Thinking in Deontic Logic |journal=Studia Logica |volume=82 |issue=3 |pages=329–336 |year=2006 |doi=10.1007/s11225-006-8100-3 |s2cid=40132498 }}</ref>


One other principle that is often (at least traditionally) accepted as a deontic principle is ''D'', <math>\Box\phi\to\Diamond\phi</math>, which corresponds to the seriality (or extendability or unboundedness) of the accessibility relation. It is an embodiment of the Kantian idea that "ought implies can". (Clearly the "can" can be interpreted in various senses, e.g. in a moral or alethic sense.)
One other principle that is often (at least traditionally) accepted as a deontic principle is ''D'', <math>\Box\phi\to\Diamond\phi</math>, which corresponds to the seriality (or extendability or unboundedness) of the accessibility relation. It is an embodiment of the Kantian idea that "ought implies can". (Clearly the "can" can be interpreted in various senses, e.g. in a moral or alethic sense.)


===Intuitive problems with deontic logic===
====Intuitive problems with deontic logic====
When we try and formalize ethics with standard modal logic, we run into some problems. Suppose that we have a proposition ''K'': you have killed the victim, and another, ''Q'': you have killed the victim quickly. Now suppose we want to express the thought that "if you have killed the victim, it ought to be the case that you have killed him quickly". There are two likely candidates,
When we try to formalize ethics with standard modal logic, we run into some problems. Suppose that we have a proposition ''K'': you have stolen some money, and another, ''Q'': you have stolen a small amount of money. Now suppose we want to express the thought that "if you have stolen some money, it ought to be a small amount of money". There are two likely candidates,
: (1) <math>(K \rightarrow \Box Q)</math>
: (1) <math>(K \to \Box Q)</math>
: (2) <math>\Box (K \rightarrow Q)</math>
: (2) <math>\Box (K \to Q)</math>


But (1) says that if you have killed the victim, then it ought to be the case that you have killed him quickly. This surely isn't right, because you ought not to have killed him at all. And (2) doesn't work either. If the right representation of "if you have killed the victim then you ought to have killed him quickly" is (2), then the right representation of (3) "if you have killed the victim then you ought to have killed him slowly" is <math>\Box (K \rightarrow \lnot Q)</math>. Now suppose (as seems reasonable) that you should not have killed the victim, or <math>\Box \lnot K</math>. But then we can deduce <math>\Box (K \rightarrow \lnot Q)</math>, which would express sentence (3). So if you should not have killed the victim, then if you did kill him, you should have killed him slowly. But that can't be right, and is not right when we use natural language. Telling someone they should not kill the victim certainly does not imply that they should kill the victim slowly if they do kill him.<ref>Ted Sider's ''Logic for Philosophy'', unknown page. <!-- http://homepages.nyu.edu/~ts65/books/lfp/lfp.html Link is dead as of Dec 20, 2010 --></ref>
But (1) and ''K'' together entail □''Q'', which says that it ought to be the case that you have stolen a small amount of money. This surely is not right, because you ought not to have stolen anything at all. And (2) does not work either: If the right representation of "if you have stolen some money it ought to be a small amount" is (2), then the right representation of (3) "if you have stolen some money then it ought to be a large amount" is <math>\Box (K \to (K \land \lnot Q))</math>. Now suppose (as seems reasonable) that you ought not to steal anything, or <math>\Box \lnot K</math>. But then we can deduce <math>\Box (K \to (K \land \lnot Q))</math> via <math>\Box (\lnot K) \to \Box (K \to K \land \lnot K)</math> and <math>\Box (K \land \lnot K \to (K \land \lnot Q)) </math> (the [[contrapositive]] of <math>Q \to K</math>); so sentence (3) follows from our hypothesis (of course the same logic shows sentence (2)). But that cannot be right, and is not right when we use natural language. Telling someone they should not steal certainly does not imply that they should steal large amounts of money if they do engage in theft.<ref>Ted Sider's ''Logic for Philosophy'', unknown page. http://tedsider.org/books/lfp.html</ref>

== Doxastic logic ==


=== Doxastic logic ===
{{Main|Doxastic logic}}
{{Main|Doxastic logic}}


''Doxastic logic'' concerns the logic of belief (of some set of agents). The term doxastic is derived from the [[ancient Greek]] ''doxa'' which means "belief". Typically, a doxastic logic uses <math>\Box</math>, often written "B", to mean "It is believed that", or when relativized to a particular agent s, "It is believed by s that".
''Doxastic logic'' concerns the logic of belief (of some set of agents). The term doxastic is derived from the [[ancient Greek]] ''doxa'' which means "belief". Typically, a doxastic logic uses , often written "B", to mean "It is believed that", or when relativized to a particular agent s, "It is believed by s that".


== Metaphysical questions ==
==Other modal logics==
{{Further| Accessibility relation|Possible worlds}}
{{See also|Intensional logic}}
Significantly, modal logics can be developed to accommodate most of these idioms; it is the fact of their common logical structure (the use of "intensional" sentential operators) that make them all varieties of the same thing.

== The ontology of possibility ==

{{See| Accessibility relation|Possible worlds}}
In the most common interpretation of modal logic, one considers "[[logically possible]] worlds". If a statement is true in all [[possible worlds]], then it is a necessary truth. If a statement happens to be true in our world, but is not true in all possible worlds, then it is a contingent truth. A statement that is true in some possible world (not necessarily our own) is called a possible truth.
In the most common interpretation of modal logic, one considers "[[logically possible]] worlds". If a statement is true in all [[possible worlds]], then it is a necessary truth. If a statement happens to be true in our world, but is not true in all possible worlds, then it is a contingent truth. A statement that is true in some possible world (not necessarily our own) is called a possible truth.


Under this "possible worlds idiom," to maintain that Bigfoot's existence is possible but not actual, one says, "There is some possible world in which Bigfoot exists; but in the actual world, Bigfoot does not exist". However, it is unclear what this claim commits us to. Are we really alleging the existence of possible worlds, every bit as real as our actual world, just not actual? [[Saul Kripke]] believes that 'possible world' is something of a misnomer &ndash; that the term 'possible world' is just a useful way of visualizing the concept of possibility.<ref>Kripke, Saul. ''Naming and Necessity''. (1980; Harvard UP), pp. 43&ndash;5.</ref> For him, the sentences "you could have rolled a 4 instead of a 6" and "there is a possible world where you rolled a 4, but you rolled a 6 in the actual world" are not significantly different statements, and neither commit us to the existence of a possible world.<ref>Kripke, Saul. ''Naming and Necessity''. (1980; Harvard UP), pp. 15&ndash;6.</ref> [[David Lewis (philosopher)|David Lewis]], on the other hand, made himself notorious by biting the bullet, asserting that all merely possible worlds are as real as our own, and that what distinguishes our world as ''actual'' is simply that it is indeed our world – ''[[Indexicality|this]]'' world.<ref>David Lewis, ''On the Plurality of Worlds'' (1986; Blackwell)</ref> That position is a major tenet of "[[modal realism]]". Some philosophers decline to endorse any version of modal realism, considering it ontologically extravagant, and prefer to seek various ways to paraphrase away these ontological commitments. [[Robert Merrihew Adams|Robert Adams]] holds that 'possible worlds' are better thought of as 'world-stories', or consistent sets of propositions. Thus, it is possible that you rolled a 4 if such a state of affairs can be described coherently.<ref>Adams, Robert M. [http://www.jstor.org/stable/2214751 ''Theories of Actuality'']. Noûs, Vol. 8, No. 3 (Sep., 1974), particularly pp. 225&ndash;31.</ref>
Under this "possible worlds idiom", to maintain that Bigfoot's existence is possible but not actual, one says, "There is some possible world in which Bigfoot exists; but in the actual world, Bigfoot does not exist". However, it is unclear what this claim commits us to. Are we really alleging the existence of possible worlds, every bit as real as our actual world, just not actual? [[Saul Kripke]] believes that 'possible world' is something of a misnomer that the term 'possible world' is just a useful way of visualizing the concept of possibility.<ref>Kripke, Saul. ''Naming and Necessity''. (1980; Harvard UP), pp. 43–5.</ref> For him, the sentences "you could have rolled a 4 instead of a 6" and "there is a possible world where you rolled a 4, but you rolled a 6 in the actual world" are not significantly different statements, and neither commit us to the existence of a possible world.<ref>Kripke, Saul. ''Naming and Necessity''. (1980; Harvard UP), pp. 15–6.</ref> [[David Lewis (philosopher)|David Lewis]], on the other hand, made himself notorious by biting the bullet, asserting that all merely possible worlds are as real as our own, and that what distinguishes our world as ''actual'' is simply that it is indeed our world – ''[[Indexicality|this]]'' world.<ref>David Lewis, ''On the Plurality of Worlds'' (1986; Blackwell).</ref> That position is a major tenet of "[[modal realism]]". Some philosophers decline to endorse any version of modal realism, considering it ontologically extravagant, and prefer to seek various ways to paraphrase away these ontological commitments. [[Robert Merrihew Adams|Robert Adams]] holds that 'possible worlds' are better thought of as 'world-stories', or consistent sets of propositions. Thus, it is possible that you rolled a 4 if such a state of affairs can be described coherently.<ref>Adams, Robert M. [https://www.jstor.org/stable/2214751 ''Theories of Actuality'']. Noûs, Vol. 8, No. 3 (Sep., 1974), particularly pp. 225–31.</ref>


Computer scientists will generally pick a highly specific interpretation of the modal operators specialized to the particular sort of computation being analysed. In place of "all worlds", you may have "all possible next states of the computer", or "all possible future states of the computer".
Computer scientists will generally pick a highly specific interpretation of the modal operators specialized to the particular sort of computation being analysed. In place of "all worlds", you may have "all possible next states of the computer", or "all possible future states of the computer".


==Further applications==
==Applications==
Modal logics have begun to be used in areas of the humanities such as literature, poetry, art and history.<ref>See [http://www.estherlederberg.com/EImages/Extracurricular/Dickens%20Universe/Counter%20Factuals.html] and [http://www.estherlederberg.com/EImages/Extracurricular/Dickens%20Universe/Page%2017%20CounterFactuals.html]</ref><ref>Andrew H. Miller, "Lives Unled in Realist Fiction", ''Representations'' 98, Spring 2007, The Regents of the University of California, {{ISSN|0734-6018}}, pp. 118–134.</ref> In the [[philosophy of religion]], modal logics are commonly used in arguments for the [[existence of God]].<ref>{{cite news |last1=Stacey |first1=Gregory R. P. |title=Modal Ontological Arguments |url=https://compass.onlinelibrary.wiley.com/doi/abs/10.1111/phc3.12938 |journal=Philosophy Compass |date=August 2023 |volume=18 |issue=8 |language=en |doi=10.1111/phc3.12938}}</ref>


==History==
*Modality has also been treated from the viewpoint of "counter-factuals" in literature (see [[Victorian Studies]]). <ref>"Possible Worlds of Fiction and History", by Dolezel, Lubomír, New Literary History, 1998, 29(4): 785-809</ref>
The basic ideas of modal logic date back to antiquity. [[Aristotle]] developed a modal syllogistic in Book I of his ''[[Prior Analytics]]'' (ch. 8–22), which [[Theophrastus]] attempted to improve.<ref>{{cite SEP |url-id=logic-ancient |title=Ancient Logic |last=Bobzien |first=Susanne}}</ref> There are also passages in Aristotle's work, such as the famous [[problem of future contingents|sea-battle argument]] in ''[[De Interpretatione]]'' §9, that are now seen as anticipations of the connection of modal logic with [[potentiality]] and time. In the Hellenistic period, the logicians [[Diodorus Cronus]], [[Philo the Dialectician]] and the Stoic [[Chrysippus]] each developed a modal system that accounted for the interdefinability of possibility and necessity, accepted [[axiom]] '''T''' (see [[#Axiomatic systems|below]]), and combined elements of modal logic and [[temporal logic]] in attempts to solve the notorious [[Diodorus Cronus#Master Argument|Master Argument]].<ref>Bobzien, S. (1993). "Chrysippus' Modal Logic and its Relation to Philo and Diodorus", in K. Doering & Th. Ebert (eds), ''Dialektiker und Stoiker'', Stuttgart 1993, pp. 63–84.</ref> The earliest formal system of modal logic was developed by [[Avicenna]], who ultimately developed a theory of "[[Temporal logic|temporally]] modal" syllogistic.<ref name=Britannica>[https://www.britannica.com/ebc/article-65928 History of logic: Arabic logic], ''[[Encyclopædia Britannica]]''.</ref> Modal logic as a self-aware subject owes much to the writings of the [[Scholastics]], in particular [[William of Ockham]] and [[John Duns Scotus]], who reasoned informally in a modal manner, mainly to analyze statements about [[essence]] and [[accident (philosophy)|accident]].
<ref>"Lives Unled in Realist Fiction", by Miller, Andrew H., Representations 98, Spring 2007, The Regents of the University of California, ISSN 1553-855X, pp. 118-134.</ref>
<ref> "Not Forthcoming", by Miller, Andrew H., Dickens Universe, 2009, Univ. of California, Santa Cruz</ref>


In the 19th century, [[Hugh MacColl]] made innovative contributions to modal logic, but did not find much acknowledgment.<ref>{{cite journal | author=Lukas M. Verburgt | title=The Venn-MacColl Dispute in ''Nature'' | journal=History and Philosophy of Logic | volume=41 | number=3 | pages=244&ndash;251 | year=2020 | doi=10.1080/01445340.2020.1758387 | s2cid=219928989 | doi-access=free }} Here: p.244.</ref> [[C. I. Lewis]] founded modern modal logic in a series of scholarly articles beginning in 1912 with "Implication and the Algebra of Logic".<ref>Lewis, C. I. (1912). "Implication and the Algebra of Logic." ''[[Mind (journal)|Mind]]'', '''21'''(84):522–531.</ref><ref>{{cite web|last1=Ballarin|first1=Roberta|title=Modern Origins of Modal Logic|url=https://plato.stanford.edu/entries/logic-modal-origins/|website=The Stanford Encyclopedia of Philosophy|access-date=30 August 2020}}</ref> Lewis was led to invent modal logic, and specifically [[strict implication]], on the grounds that classical logic grants [[paradoxes of material implication]] such as the principle that [[Vacuous truth|a falsehood implies any proposition]].<ref>Lewis, C. I. (1917). "The issues concerning material implication." ''Journal of Philosophy, Psychology, and Scientific Methods'', '''14''':350–356.</ref> This work culminated in his 1932 book ''Symbolic Logic'' (with [[Cooper Harold Langford|C. H. Langford]]),<ref>{{cite book | author=Clarence Irving Lewis and Cooper Harold Langford | title=Symbolic Logic | publisher=Dover Publications | edition=1st | year=1932 }}</ref> which introduced the five systems ''S1'' through ''S5''.
*Modality modifies propositions and modalities provide closure (i.e.: propositions with modalities are still propositions). Thus, as propositions constitute a part of language, they may be understood as subject to linguistic analysis such as that of [[Noam Chomsky]]. Modalities might then be viewed as being context-free, context-sensitive, or even fully phrase-structured (Chomsky type-0) languages. This broadens the view of modalities which are usually viewed as context-free. A discussion of this may be found under the [[Philosophy of language]].


After Lewis, modal logic received little attention for several decades. [[Nicholas Rescher]] has argued that this was because [[Bertrand Russell]] rejected it.<ref>{{cite book|last=Rescher|first=Nicholas|title=Bertrand Russell Memorial Volume|year=1979|publisher=George Allen and Unwin|location=London|pages=146|editor=George W. Roberts|chapter=Russell and Modal Logic}}</ref> However, [[Jan Dejnozka]] has argued against this view, stating that a modal system which Dejnozka calls "MDL" is described in Russell's works, although Russell did believe the concept of modality to "come from confusing propositions with [[propositional function]]s", as he wrote in ''The Analysis of Matter''.<ref>{{cite journal| last=Dejnozka |first=Jan|title=Ontological Foundations of Russell's Theory of Modality|journal=Erkenntnis| year=1990| volume=32|issue=3| pages=383–418 |url=http://www.members.tripod.com/~Jan_Dejnozka/onto_found_russell_modality.pdf|access-date=2012-10-22|doi=10.1007/bf00216469|s2cid=121002878}}; quote is cited from {{cite book|last=Russell|first=Bertrand|title=The Analysis of Matter|url=https://archive.org/details/in.ernet.dli.2015.221533|year=1927|pages=[https://archive.org/details/in.ernet.dli.2015.221533/page/n183 173]}}</ref>
As an example, consider the following context-sensitive grammar for an alethic Modal logic grammar:


Ruth C. Barcan (later [[Ruth Barcan Marcus]]) developed the first axiomatic systems of quantified modal logic — first and second order extensions of Lewis' ''S2'', ''S4'', and ''S5''.<ref>{{cite journal | author=Ruth C. Barcan | title=A Functional Calculus of First Order Based on Strict Implication | journal=Journal of Symbolic Logic | volume=11 | number=1 | pages=1–16 | date=Mar 1946 | doi=10.2307/2269159| jstor=2269159 | s2cid=250349611 }}</ref><ref>{{cite journal | author=Ruth C. Barcan | title=The Deduction Theorem in a Functional Calculus of First Order Based on Strict Implication | journal=Journal of Symbolic Logic | volume=11 | number=4 | pages=115–118 | date=Dec 1946 | doi=10.2307/2268309| jstor=2268309 | s2cid=31880455 }}</ref><ref>{{cite journal | author=Ruth C. Barcan | title=The Identity of Individuals in a Strict Functional Calculus of Second Order | journal=Journal of Symbolic Logic | volume=12 | number=1 | pages=12–15 | date=Mar 1947 | doi=10.2307/2267171| jstor=2267171 | s2cid=43450340 }}</ref> [[Arthur Norman Prior]] warned her to prepare well in the debates concerning quantified modal logic with [[Willard Van Orman Quine]], because of bias against modal logic.<ref>[[Ruth Barcan Marcus]], ''Modalities: Philosophical Essays'', Oxford University Press, 1993, p. x.</ref>
L=({S, X, R, M}, {&Phi;, <math>\Box </math>, <math>\Diamond </math>, (, ), &, <math>\rightarrow</math>, &, v, ~}, P, S), where &Phi; is a meta-variable for propositions, and P are the following production rules:


The contemporary era in modal semantics began in <!--March-->1959, when [[Saul Kripke]] (then only a 18-year-old [[Harvard University]] undergraduate) introduced the now-standard [[Kripke semantics]] for modal logics. These are commonly referred to as "possible worlds" semantics. Kripke and [[A. N. Prior]] had previously corresponded at some length. Kripke semantics is basically simple, but proofs are eased using semantic-tableaux or [[analytic tableaux]], as explained by [[Evert Willem Beth|E. W. Beth]].
S <math>\rightarrow</math> XR | M


[[A. N. Prior]] created modern [[temporal logic]], closely related to modal logic, in 1957 by adding modal operators [F] and [P] meaning "eventually" and "previously". [[Vaughan Pratt]] introduced [[dynamic logic (modal logic)|dynamic logic]] in 1976. In 1977, [[Amir Pnueli]] proposed using temporal logic to formalise the behaviour of continually operating [[concurrent program]]s. Flavors of temporal logic include [[propositional dynamic logic]] (PDL), (propositional) [[linear temporal logic]] (LTL), [[computation tree logic]] (CTL), [[Hennessy–Milner logic]], and ''T''.{{clarify|reason=Add a wikilink, give a longer name, or give a reference for the 'T' logic.|date=November 2016}}
XR <math>\rightarrow</math> <math>\Box </math> M | <math>\Diamond </math> M


The mathematical structure of modal logic, namely [[Boolean algebra (structure)|Boolean algebra]]s augmented with [[unary operation]]s (often called [[modal algebra]]s), began to emerge with [[J.C.C. McKinsey|J. C. C. McKinsey]]'s 1941 proof that ''S2'' and ''S4'' are decidable,<ref>{{cite journal|author=McKinsey, J. C. C.|title=A Solution of the Decision Problem for the Lewis Systems S2 and S4, with an Application to Topology|journal=J. Symb. Log.|year=1941|volume=6|issue=4|pages=117–134|jstor=2267105|doi=10.2307/2267105|s2cid=3241516 }}</ref> and reached full flower in the work of [[Alfred Tarski]] and his student [[Bjarni Jónsson]] (Jónsson and Tarski 1951–52). This work revealed that ''S4'' and ''S5'' are models of [[interior algebra]], a proper extension of Boolean algebra originally designed to capture the properties of the [[interior operator|interior]] and [[closure operator]]s of [[topology]]. Texts on modal logic typically do little more than mention its connections with the study of [[Boolean algebra (structure)|Boolean algebra]]s and [[topology]]. For a thorough survey of the history of formal modal logic and of the associated mathematics, see [[Robert Goldblatt]] (2006).<ref>Robert Goldbaltt, [http://www.mcs.vuw.ac.nz/~rob/papers/modalhist.pdf Mathematical Modal Logic: A view of its evolution]</ref>
M <math>\rightarrow</math> T M | T

T <math>\rightarrow</math> (T <math>\rightarrow</math> T) | (T & T) | (T v T) | (~T) | &Phi;

A sample derivation:

S <math>\rightarrow</math> XR <math>\rightarrow</math> <math>\Box</math> M <math>\rightarrow</math> <math>\Box</math> T <math>\rightarrow</math> <math>\Box</math> ( T & T ) <math>\rightarrow</math> <math>\Box</math> ( &Phi; & T ) <math>\rightarrow</math> <math>\Box</math> ( p & T ) <math>\rightarrow</math> <math>\Box</math> ( p & &Phi; ) <math>\rightarrow</math> <math>\Box</math> ( p & q )

Of course, an equivalent context-free language is easy to construct, but the point here is that a Modal logic based upon a context-sensitive grammar is possible. More complex Modal logics which are Chomsky type-0 or type-1 extends the philosophical discussion of Modal logics.

*Aristotle classified and discussed [[rhetoric]] as being based upon the [[enthymeme]], thus closely related to logic. However, it is clear that if logic is extended by modal logics, [[multi-valued logics]], etc., then rhetoric must also be extended by modern developments.

Thus, for example, the following might be persuasive rhetorically:

<math>\Box</math> (p & q)

______________________________

Therefore <math>\Box</math> p

but ~[ <math>\Box</math> (p & q) <math>\rightarrow</math> (<math>\Box</math> p & <math>\Box </math>q) ]

==Further applications==

Modal logics have begun to be used in area of the humanities such as literature, poetry, art and history.<ref>See http://www.estherlederberg.com/EImages/Extracurricular/Dickens%20Universe/Counter%20Factuals.html</ref><ref>Andrew H. Miller, "Lives Unled in Realist Fiction", Representations 98, Spring 2007, The Regents of the University of California, ISSN 1553-855X, pp. 118-134</ref><ref>See also http://www.estherlederberg.com/EImages/Extracurricular/Dickens%20Universe/Page%2017%20CounterFactuals.html </ref>

==Controversies==
Modal logic has been rejected by many philosophers. (Historically, philosophers starting with Aristotle seem to have had priority of interest in modal logic over mathematicians.) The primary reason for this rejection is that modality provides a different logical framework with which to analyze society. [[Nicholas Rescher]] has pointed out how radically conservative were the views of [[Bertrand Russell]] in his unreasoned rejection of both Modal Logic and the ideas of the philosopher [[Alexius Meinong]]. Indeed, [[Arthur Norman Prior]] warned his protégé [[Ruth Barcan]] to prepare well in the debates concerning Modal Logic (with [[Willard Van Orman Quine]]) due to the biases against Modal Logic.<ref>"Modalities: Philosophical Essays", by Ruth Barcan Marcus, Oxford Univ. Press, 1993, Chapter 14</ref>


==See also==
==See also==
{{Portal|Philosophy|Psychology}}
{{Col-begin}}
{{div col|colwidth=15em}}
{{Col-1-of-4}}
*[[Accessibility relation]]
* [[Accessibility relation]]
*[[Counterpart theory]]
* [[Conceptual necessity]]
*[[David Kellogg Lewis]]
* [[Counterpart theory]]
*[[De dicto and de re]]
* [[David Kellogg Lewis]]
* [[De dicto and de re|''De dicto'' and ''de re'']]
*[[Description logic]]
*[[Doxastic logic]]
* [[Description logic]]
*[[Dynamic logic (modal logic)|Dynamic logic]]
* [[Doxastic logic]]
* [[Dynamic logic (modal logic)|Dynamic logic]]
* [[Enthymeme]]
{{Col-2-of-4}}
*[[Epistemic logic]]
* [[Free choice inference]]
*[[Enthymeme]]
* [[Hybrid logic]]
*[[Hybrid logic]]
* [[Interior algebra]]
* [[Interpretability logic]]
*[[Interior algebra]]
* [[Kripke semantics]]
*[[Interpretability logic]]
*[[Kripke semantics]]
* [[Metaphysical necessity]]
*[[Multi-valued logic]]
* [[Modal verb]]
* [[Multimodal logic]]
{{Col-3-of-4}}
*[[Possible worlds]]
* [[Multi-valued logic]]
*[[Provability logic]]
* [[Neighborhood semantics]]
*[[Regular modal logic]]
* [[Provability logic]]
* [[Regular modal logic]]
*[[Research Materials: Max Planck Society Archive]]
*[[Rhetoric]]
* [[Relevance logic]]
*[[Two dimensionalism]]
* [[Strict conditional]]
*[[Modal verb]]
* [[Two-dimensionalism]]
{{Col-4-of-4}}
{{div col end}}
{{Portal box|Logic|Thinking}}
{{Col-end}}


==Notes==
==Notes==
{{Reflist}}
{{Reflist|30em}}


==References==
==References==
*''This article includes material from the'' [[Free On-line Dictionary of Computing]], ''used with [[Wikipedia:Foldoc license|permission]] under the'' [[GFDL]].
* This article includes material from the [[Free On-line Dictionary of Computing]], used with [[Wikipedia:Foldoc license|permission]] under the [[GFDL]].
* Barcan-Marcus, Ruth JSL 11 (1946) and JSL 112 (1947) and "Modalities", OUP, 1993, 1995.
*Blackburn, Patrick; de Rijke, Maarten; and Venema, Yde (2001) ''Modal Logic''. Cambridge University Press. ISBN 0-521-80200-8
* Beth, Evert W., 1955. "[https://philpapers.org/rec/BETSEA-10 Semantic entailment and formal derivability]", Mededlingen van de Koninklijke Nederlandse Akademie van Wetenschappen, Afdeling Letterkunde, N.R. Vol 18, no 13, 1955, pp 309–42. Reprinted in Jaakko Intikka (ed.) The Philosophy of Mathematics, Oxford University Press, 1969 (Semantic Tableaux proof methods).
*Barcan-Marcus, Ruth JSL 11 (1946) and JSL 112 (1947) and "Modalities", OUP, 1993, 1995
* Beth, Evert W., "[https://books.google.com/books?id=IE1FBgAAQBAJ Formal Methods: An Introduction to Symbolic Logic and to the Study of Effective Operations in Arithmetic and Logic]", D. Reidel, 1962 (Semantic Tableaux proof methods).
*Beth, Evert W., 1955. "Semantic entailment and formal derivability", Mededlingen van de Koninklijke Nederlandse Akademie van Wetenschappen, Afdeling Letterkunde, N.R. Vol 18, no 13, 1955, pp 309-42. Reprinrted in Jaakko Intikka (ed.) The Philosophy of Mathematics, Oxford University Press, 1969 (Semantic Tableaux proof methods)
* Blackburn, P.; [[Johan van Benthem (logician)|van Benthem, J.]]; and Wolter, Frank; Eds. (2006) ''[http://www.csc.liv.ac.uk/~frank/MLHandbook/ Handbook of Modal Logic]''. North Holland.
*Beth, Evert W., "Formal Methods: An Introduction to Symbolic Logic and to the Study of Effective Operations in Arithmetic and Logic", D. Reidel, 1962 (Semantic Tableaux proof methods)
*Blackburn, P.; [[Johan van Benthem (logician)|van Benthem, J.]]; and Wolter, Frank; Eds. (2006) ''[http://www.csc.liv.ac.uk/~frank/MLHandbook/ Handbook of Modal Logic]''. North Holland.
* Blackburn, Patrick; de Rijke, Maarten; and Venema, Yde (2001) ''Modal Logic''. Cambridge University Press. {{ISBN|0-521-80200-8}}
*Chagrov, Aleksandr; and Zakharyaschev, Michael (1997) ''Modal Logic''. Oxford University Press. ISBN 0-19-853779-4
* Chagrov, Aleksandr; and Zakharyaschev, Michael (1997) ''Modal Logic''. Oxford University Press. {{ISBN|0-19-853779-4}}
*Chellas, B. F. (1980) ''Modal Logic: An Introduction''. Cambridge University Press. ISBN 0-521-22476-4
* Chellas, B. F. (1980) ''[https://books.google.com/books?id=YupiXWV5j6cC Modal Logic: An Introduction]''. Cambridge University Press. {{ISBN|0-521-22476-4}}
*[[Max Cresswell|Cresswell, M. J.]] (2001) "Modal Logic" in Goble, Lou; Ed., ''The Blackwell Guide to Philosophical Logic''. Basil Blackwell: 136&ndash;58. ISBN 0-631-20693-0
* [[Max Cresswell|Cresswell, M. J.]] (2001) "Modal Logic" in Goble, Lou; Ed., ''The Blackwell Guide to Philosophical Logic''. Basil Blackwell: 136–58. {{ISBN|0-631-20693-0}}
*Fitting, Melvin; and Mendelsohn, R. L. (1998) ''First Order Modal Logic''. Kluwer. ISBN 0-7923-5335-8
* Fitting, Melvin; and Mendelsohn, R. L. (1998) ''First Order Modal Logic''. Kluwer. {{ISBN|0-7923-5335-8}}
*[[James Garson]] (2006) ''Modal Logic for Philosophers''. Cambridge University Press. ISBN 0-521-68229-0. A thorough introduction to modal logic, with coverage of various derivation systems and a distinctive approach to the use of diagrams in aiding comprehension.
* [[James Garson]] (2006) ''Modal Logic for Philosophers''. Cambridge University Press. {{ISBN|0-521-68229-0}}. A thorough introduction to modal logic, with coverage of various derivation systems and a distinctive approach to the use of diagrams in aiding comprehension.
*Girle, Rod (2000) ''Modal Logics and Philosophy''. Acumen (UK). ISBN 0-7735-2139-9. Proof by [[analytic tableau|refutation trees]]. A good introduction to the varied interpretations of modal logic.
* Girle, Rod (2000) ''Modal Logics and Philosophy''. Acumen (UK). {{ISBN|0-7735-2139-9}}. Proof by [[analytic tableau|refutation trees]]. A good introduction to the varied interpretations of modal logic.
*{{cite book |last=Girle |first=Rod |title=Modal Logics and Philosophy |publisher=Taylor & Francis |edition=2nd |date=2014 |isbn=978-1-317-49217-7 |url={{GBurl|XqHCBQAAQBAJ|pg=PR5}} }}
*[http://www.mcs.vuw.ac.nz/~rob/ Goldblatt, Robert] (1992) "Logics of Time and Computation", 2nd ed., CSLI Lecture Notes No. 7. University of Chicago Press.
*—— (1993) ''Mathematics of Modality'', CSLI Lecture Notes No. 43. University of Chicago Press.
* [http://www.mcs.vuw.ac.nz/~rob/ Goldblatt, Robert] (1992) "Logics of Time and Computation", 2nd ed., CSLI Lecture Notes No. 7. University of Chicago Press.
*—— (2006) "[http://www.mcs.vuw.ac.nz/~rob/papers/modalhist.pdf Mathematical Modal Logic: a View of its Evolution]", in Gabbay, D. M.; and Woods, John; Eds., ''Handbook of the History of Logic, Vol. 6''. Elsevier BV.
* —— (1993) ''Mathematics of Modality'', CSLI Lecture Notes No. 43. University of Chicago Press.
* —— (2006) "[http://www.mcs.vuw.ac.nz/~rob/papers/modalhist.pdf Mathematical Modal Logic: a View of its Evolution]", in Gabbay, D. M.; and Woods, John; Eds., ''Handbook of the History of Logic, Vol. 6''. Elsevier BV.
*Goré, Rajeev (1999) "Tableau Methods for Modal and Temporal Logics" in D'Agostino, M.; Gabbay, Dov; Haehnle, R.; and Posegga, J.; Eds., ''Handbook of Tableau Methods''. Kluwer: 297&ndash;396.
* Goré, Rajeev (1999) "Tableau Methods for Modal and Temporal Logics" in D'Agostino, M.; Gabbay, D.; Haehnle, R.; and Posegga, J.; Eds., ''Handbook of Tableau Methods''. Kluwer: 297–396.
*Hughes, G. E., and Cresswell, M. J. (1996) ''A New Introduction to Modal Logic''. Routledge. ISBN 0-415-12599-5
* Hughes, G. E., and Cresswell, M. J. (1996) ''A New Introduction to Modal Logic''. Routledge. {{ISBN|0-415-12599-5}}
*[[Bjarni Jónsson|Jónsson, B.]] and [[Alfred Tarski|Tarski, A.]], 1951&ndash;52, "Boolean Algebra with Operators I and II", ''American Journal of Mathematics 73'': 891-939 and ''74'': 129&ndash;62.
* [[Bjarni Jónsson|Jónsson, B.]] and [[Alfred Tarski|Tarski, A.]], 1951–52, "Boolean Algebra with Operators I and II", ''American Journal of Mathematics 73'': 891–939 and ''74'': 129–62.
*Kracht, Marcus (1999) ''Tools and Techniques in Modal Logic'', Studies in Logic and the Foundations of Mathematics No. 142. North Holland.
* Kracht, Marcus (1999) ''[http://wwwhomes.uni-bielefeld.de/mkracht/html/tools/book.pdf Tools and Techniques in Modal Logic]'', Studies in Logic and the Foundations of Mathematics No. 142. North Holland.
*[[John Lemmon|Lemmon, E. J.]] (with [[Dana Scott|Scott, D.]]) (1977) ''An Introduction to Modal Logic'', American Philosophical Quarterly Monograph Series, no. 11 (Krister Segerberg, series ed.). Basil Blackwell.
* [[John Lemmon|Lemmon, E. J.]] (with [[Dana Scott|Scott, D.]]) (1977) ''An Introduction to Modal Logic'', American Philosophical Quarterly Monograph Series, no. 11 (Krister Segerberg, series ed.). Basil Blackwell.
*[[Clarence Irving Lewis|Lewis, C. I.]] (with [[Cooper H. Langford|Langford, C. H.]]) (1932). ''Symbolic Logic''. Dover reprint, 1959.
* [[Clarence Irving Lewis|Lewis, C. I.]] (with [[Cooper Harold Langford|Langford, C. H.]]) (1932). ''Symbolic Logic''. Dover reprint, 1959.
*[[Arthur Prior|Prior, A. N.]] (1957) ''Time and Modality''. Oxford University Press.
* [[Arthur Prior|Prior, A. N.]] (1957) ''[https://books.google.com/books?id=K5nymD8qgigC Time and Modality]''. Oxford University Press.
*Snyder, D. Paul "Modal Logic and its applications", Van Nostrand Reinhold Company, 1971 (proof tree methods)
* Snyder, D. Paul "Modal Logic and its applications", Van Nostrand Reinhold Company, 1971 (proof tree methods).
*Zeman, J. J. (1973) ''[http://www.clas.ufl.edu/users/jzeman/modallogic/ Modal Logic.]'' Reidel. Employs [[Polish notation]].
* Zeman, J. J. (1973) ''[http://www.clas.ufl.edu/users/jzeman/modallogic/ Modal Logic.]'' Reidel. Employs [[Polish notation]].
* [https://www.britannica.com/topic/history-of-logic "History of logic"], [[Britannica Online]].


==Further reading==
==Further reading==
* Ruth Barcan Marcus, ''Modalities'', Oxford University Press, 1993.
*[[D.M. Gabbay, A. Kurucz, F. Wolter and M. Zakharyaschev]], ''Many-Dimensional Modal Logics: Theory and Applications'', Elsevier, Studies in Logic and the Foundations of Mathematics, volume 148, 2003, ISBN 0-444-50826-0. Covers many varieties of modal logics, e.g. temporal, epistemic, dynamic, description, spatial from a unified perspective with emphasis on computer science aspects, e.g. decidability and complexity.
* D. M. Gabbay, A. Kurucz, F. Wolter and M. Zakharyaschev, ''Many-Dimensional Modal Logics: Theory and Applications'', Elsevier, Studies in Logic and the Foundations of Mathematics, volume 148, 2003, {{ISBN|0-444-50826-0}}. [Covers many varieties of modal logics, e.g. temporal, epistemic, dynamic, description, spatial from a unified perspective with emphasis on computer science aspects, e.g. decidability and complexity.]
* Andrea Borghini, [https://books.google.com/books?id=Ifw8CwAAQBAJ&q=%22modal%20logic%22 ''A Critical Introduction to the Metaphysics of Modality''], New York: Bloomsbury, 2016.


==External links==
==External links==
*[[Stanford Encyclopedia of Philosophy]]:
* [[Internet Encyclopedia of Philosophy]]:
**"[http://plato.stanford.edu/entries/logic-modal Modal logic]" – by [[James Garson]].
** "[http://www.iep.utm.edu/modal-lo Modal Logic: A Contemporary View]" – by [[Johan van Benthem (logician)|Johan van Benthem]].
**"[http://plato.stanford.edu/entries/logic-provability/ Provability Logic]" – by Rineke Verbrugge.
** "[http://www.iep.utm.edu/cmlogic Rudolf Carnap's Modal Logic]" – by MJ Cresswell.
* [[Stanford Encyclopedia of Philosophy]]:
*[[Edward N. Zalta]], 1995, "[http://mally.stanford.edu/notes.pdf Basic Concepts in Modal Logic.]"
*[[John McCarthy (computer scientist)|John McCarthy]], 1996, "[http://www-formal.stanford.edu/jmc/mcchay69/node22.html Modal Logic.]"
** "[http://plato.stanford.edu/entries/logic-modal Modal Logic]" – by [[James Garson]].
** "[https://plato.stanford.edu/entries/logic-modal-origins/ Modern Origins of Modal Logic]" – by Roberta Ballarin.
*[http://molle.sourceforge.net/ Molle] a Java prover for experimenting with modal logics
** "[http://plato.stanford.edu/entries/logic-provability/ Provability Logic]" – by [[Rineke Verbrugge]].
*Suber, Peter, 2002, "[http://www.earlham.edu/~peters/courses/logsys/nonstbib.htm#modal Bibliography of Modal Logic.]"
* [[Edward N. Zalta]], 1995, "[http://mally.stanford.edu/notes.pdf Basic Concepts in Modal Logic.]"
*Marcus, Ruth Barcan, "Modalities" OUP 1993, 1995
* [[John McCarthy (computer scientist)|John McCarthy]], 1996, "[http://www-formal.stanford.edu/jmc/mcchay69/node22.html Modal Logic.]"
*[http://www.cc.utah.edu/~nahaj/logic/structures/systems/index.html List of Logic Systems] List of many modal logics with sources, by John Halleck.
*[http://aiml.net/ Advances in Modal Logic.] Biannual international conference and book series in modal logic.
* [http://molle.sourceforge.net/ Molle] a Java prover for experimenting with modal logics
* Suber, Peter, 2002, "[https://web.archive.org/web/20070904082235/http://www.earlham.edu/~peters/courses/logsys/nonstbib.htm#modal Bibliography of Modal Logic.]"
*[http://teachinglogic.imag.fr/TableauxS4 S4prover] A tableaux prover for S4 logic
* [https://web.archive.org/web/20060215083632/http://www.cc.utah.edu/~nahaj/logic/structures/systems/index.html List of Logic Systems] List of many modal logics with sources, by John Halleck.
* [http://aiml.net/ Advances in Modal Logic.] Biannual international conference and book series in modal logic.
* [http://teachinglogic.imag.fr/TableauxS4 S4prover] A tableaux prover for S4 logic
* "[http://www.labri.fr/perso/moot/talks/TopologyNotes.pdf Some Remarks on Logic and Topology]" – by Richard Moot; exposits a [[topology|topological]] [[semantics]] for the modal logic S4.
* [http://www.irit.fr/Lotrec/ LoTREC] The most generic prover for modal logics from IRIT/Toulouse University


{{Non-classical logic}}
{{Logic}}
{{Authority control}}

{{DEFAULTSORT:Modal Logic}}
[[Category:Logic]]
[[Category:Non-classical logic]]
[[Category:Modal logic| ]]
[[Category:Modal logic| ]]
[[Category:Philosophical logic]]
[[Category:Philosophical logic]]
[[Category:Mathematical logic]]

[[Category:Semantics]]
{{Link GA|de}}
{{Link FA|hu}}

[[ar:منطق طوري]]
[[ca:Lògica modal]]
[[cs:Modální logika]]
[[da:Modallogik]]
[[de:Modallogik]]
[[es:Lógica modal]]
[[fa:منطق موجهات]]
[[fr:Logique modale]]
[[ko:양상논리학]]
[[io:Modala logiko]]
[[is:Háttarökfræði]]
[[it:Logica modale]]
[[he:לוגיקה מודלית]]
[[hu:Modális logika]]
[[nl:Modale logica]]
[[ja:様相論理]]
[[no:Modallogikk]]
[[nn:Modallogikk]]
[[pl:Logika modalna]]
[[pt:Lógica modal]]
[[ru:Модальная логика]]
[[sk:Modálna logika]]
[[fi:Modaalilogiikka]]
[[sv:Modallogik]]
[[uk:Модальна логіка]]
[[zh:模态逻辑]]

Latest revision as of 21:41, 21 November 2024

Modal logic is a kind of logic used to represent statements about necessity and possibility. It plays a major role in philosophy and related fields as a tool for understanding concepts such as knowledge, obligation, and causation. For instance, in epistemic modal logic, the formula can be used to represent the statement that is known. In deontic modal logic, that same formula can represent that is a moral obligation. Modal logic considers the inferences that modal statements give rise to. For instance, most epistemic modal logics treat the formula 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 can be read as "possibly " while can be read as "necessarily ". 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, is true at a world if is true at some accessible possible world, while is true at a world if 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.[1] Such applications include game theory,[2] moral and legal theory,[2] web design,[2] multiverse-based set theory,[3] and social epistemology.[4]

Syntax of modal operators

[edit]

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 , it also contains modal ones such as , , , and so on.

Thus, the language of basic propositional logic can be defined recursively as follows.

  1. If is an atomic formula, then is a formula of .
  2. If is a formula of , then is too.
  3. If and are formulas of , then is too.
  4. If is a formula of , then is too.
  5. 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 . 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 and in systems of modal logic used to represent knowledge and and in those used to represent belief. These notations are particularly common in systems which use multiple modal operators simultaneously. For instance, a combined epistemic-deontic logic could use the formula read as "I know P is permitted". Systems of modal logic can include infinitely many modal operators distinguished by indices, i.e. , , , and so on.

Semantics

[edit]

Relational semantics

[edit]

Basic notions

[edit]

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.[5]

  • A relational model is a tuple where:
  1. is a set of possible worlds
  2. is a binary relation on
  3. is a valuation function which assigns a truth value to each pair of an atomic formula and a world, (i.e. where is the set of atomic formulae)

The set is often called the universe. The binary relation is called an accessibility relation, and it controls which worlds can "see" each other for the sake of determining what is true. For example, means that the world is accessible from world . That is to say, the state of affairs known as is a live possibility for . Finally, the function 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 in a model :

  • iff
  • iff
  • iff and
  • iff for every element of , if then
  • iff for some element of , it holds that and

According to this semantics, a formula is necessary with respect to a world if it holds at every world that is accessible from . It is possible if it holds at some world that is accessible from . Possibility thereby depends upon the accessibility relation , 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

[edit]

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 for any 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 where is a set of possible worlds, is a binary relation on .

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:

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:

if and only if for some element u of G, it holds that and w R u.

If we consider frames based on the total relation we can just say that

if and only if for some element u of G, it holds that .

We can drop the accessibility clause from the latter stipulation because in such total frames it is trivially true of all w and u that w R u. But this does not have to be the case in all S5 frames, which can still consist of multiple parts that are fully connected among themselves but still disconnected from each other.

All of these logical systems can also be defined axiomatically, as is shown in the next section. For example, in S5, the axioms , and (corresponding to symmetry, transitivity and reflexivity, respectively) hold, whereas at least one of these axioms does not hold in each of the other, weaker logics.

Topological semantics

[edit]

Modal logic has also been interpreted using topological structures. For instance, the Interior Semantics interprets formulas of modal logic as follows.

A topological model is a tuple where is a topological space and is a valuation function which maps each atomic formula to some subset of . The basic interior semantics interprets formulas of modal logic as follows:

  • iff
  • iff
  • iff and
  • iff for some we have both that and also that for all

Topological approaches subsume relational ones, allowing non-normal modal logics. The extra structure they provide also allows a transparent way of modeling certain concepts such as the evidence or justification one has for one's beliefs. Topological semantics is widely used in recent work in formal epistemology and has antecedents in earlier work such as David Lewis and Angelika Kratzer's logics for counterfactuals.

Axiomatic systems

[edit]
Diagram of common modal logics; K4W stands for Provability logic, and B on the top corner stands for Brouwer's system of KTB

The first formalizations of modal logic were axiomatic. Numerous variations with very different properties have been proposed since C. I. Lewis began working in the area in 1912. Hughes and Cresswell (1996), for example, describe 42 normal and 25 non-normal modal logics. Zeman (1973) describes some systems Hughes and Cresswell omit.

Modern treatments of modal logic begin by augmenting the propositional calculus with two unary operations, one denoting "necessity" and the other "possibility". The notation of C. I. Lewis, much employed since, denotes "necessarily p" by a prefixed "box" (□p) whose scope is established by parentheses. Likewise, a prefixed "diamond" (◇p) denotes "possibly p". Similar to the quantifiers in first-order logic, "necessarily p" (□p) does not assume the range of quantification (the set of accessible possible worlds in Kripke semantics) to be non-empty, whereas "possibly p" (◇p) often implicitly assumes (viz. the set of accessible possible worlds is non-empty). Regardless of notation, each of these operators is definable in terms of the other in classical modal logic:

  • p (necessarily p) is equivalent to ¬◇¬p ("not possible that not-p")
  • p (possibly p) is equivalent to ¬□¬p ("not necessarily not-p")

Hence □ and ◇ form a dual pair of operators.

In many modal logics, the necessity and possibility operators satisfy the following analogues of de Morgan's laws from Boolean algebra:

"It is not necessary that X" is logically equivalent to "It is possible that not X".
"It is not possible that X" is logically equivalent to "It is necessary that not X".

Precisely what axioms and rules must be added to the propositional calculus to create a usable system of modal logic is a matter of philosophical opinion, often driven by the theorems one wishes to prove; or, in computer science, it is a matter of what sort of computational or deductive system one wishes to model. Many modal logics, known collectively as normal modal logics, include the following rule and axiom:

  • N, Necessitation Rule: If p is a theorem/tautology (of any system/model invoking N), then □p is likewise a theorem (i.e. ).
  • K, Distribution Axiom: □(pq) → (□p → □q).

The weakest normal modal logic, named "K" in honor of Saul Kripke, is simply the propositional calculus augmented by □, the rule N, and the axiom K. K is weak in that it fails to determine whether a proposition can be necessary but only contingently necessary. That is, it is not a theorem of K that if □p is true then □□p is true, i.e., that necessary truths are "necessarily necessary". If such perplexities are deemed forced and artificial, this defect of K is not a great one. In any case, different answers to such questions yield different systems of modal logic.

Adding axioms to K gives rise to other well-known modal systems. One cannot prove in K that if "p is necessary" then p is true. The axiom T remedies this defect:

  • T, Reflexivity Axiom: pp (If p is necessary, then p is the case.)

T holds in most but not all modal logics. Zeman (1973) describes a few exceptions, such as S10.

Other well-known elementary axioms are:

  • 4:
  • B:
  • D:
  • 5:

These yield the systems (axioms in bold, systems in italics):

  • K := K + N
  • T := K + T
  • S4 := T + 4
  • S5 := T + 5
  • D := K + D.

K through S5 form a nested hierarchy of systems, making up the core of normal modal logic. But specific rules or sets of rules may be appropriate for specific systems. For example, in deontic logic, (If it ought to be that p, then it is permitted that p) seems appropriate, but we should probably not include that . In fact, to do so is to commit the naturalistic fallacy (i.e. to state that what is natural is also good, by saying that if p is the case, p ought to be permitted).

The commonly employed system S5 simply makes all modal truths necessary. For example, if p is possible, then it is "necessary" that p is possible. Also, if p is necessary, then it is necessary that p is necessary. Other systems of modal logic have been formulated, in part because S5 does not describe every kind of modality of interest.

Structural proof theory

[edit]

Sequent calculi and systems of natural deduction have been developed for several modal logics, but it has proven hard to combine generality with other features expected of good structural proof theories, such as purity (the proof theory does not introduce extra-logical notions such as labels) and analyticity (the logical rules support a clean notion of analytic proof). More complex calculi have been applied to modal logic to achieve generality.[citation needed]

Decision methods

[edit]

Analytic tableaux provide the most popular decision method for modal logics.[6]

[edit]

Alethic logic

[edit]

Modalities of necessity and possibility are called alethic modalities. They are also sometimes called special modalities, from the Latin species. Modal logic was first developed to deal with these concepts, and only afterward was extended to others. For this reason, or perhaps for their familiarity and simplicity, necessity and possibility are often casually treated as the subject matter of modal logic. Moreover, it is easier to make sense of relativizing necessity, e.g. to legal, physical, nomological, epistemic, and so on, than it is to make sense of relativizing other notions.

In classical modal logic, a proposition is said to be

  • possible if it is not necessarily false (regardless of whether it is actually true or actually false);
  • necessary if it is not possibly false (i.e. true and necessarily true);
  • contingent if it is not necessarily false and not necessarily true (i.e. possible but not necessarily true);
  • impossible if it is not possibly true (i.e. false and necessarily false).

In classical modal logic, therefore, the notion of either possibility or necessity may be taken to be basic, where these other notions are defined in terms of it in the manner of De Morgan duality. Intuitionistic modal logic treats possibility and necessity as not perfectly symmetric.

For example, suppose that while walking to the convenience store we pass Friedrich's house, and observe that the lights are off. On the way back, we observe that they have been turned on.

  • "Somebody or something turned the lights on" is necessary.
  • "Friedrich turned the lights on", "Friedrich's roommate Max turned the lights on" and "A burglar named Adolf broke into Friedrich's house and turned the lights on" are contingent.
  • All of the above statements are possible.
  • It is impossible that Socrates (who has been dead for over two thousand years) turned the lights on.

(Of course, this analogy does not apply alethic modality in a truly rigorous fashion; for it to do so, it would have to axiomatically make such statements as "human beings cannot rise from the dead", "Socrates was a human being and not an immortal vampire", and "we did not take hallucinogenic drugs which caused us to falsely believe the lights were on", ad infinitum. Absolute certainty of truth or falsehood exists only in the sense of logically constructed abstract concepts such as "it is impossible to draw a triangle with four sides" and "all bachelors are unmarried".)

For those having difficulty with the concept of something being possible but not true, the meaning of these terms may be made more comprehensible by thinking of multiple "possible worlds" (in the sense of Leibniz) or "alternate universes"; something "necessary" is true in all possible worlds, something "possible" is true in at least one possible world.

Physical possibility

[edit]

Something is physically, or nomically, possible if it is permitted by the laws of physics.[citation needed] For example, current theory is thought to allow for there to be an atom with an atomic number of 126,[7] even if there are no such atoms in existence. In contrast, while it is logically possible to accelerate beyond the speed of light,[8] modern science stipulates that it is not physically possible for material particles or information.[9]

Metaphysical possibility

[edit]

Philosophers[who?] debate if objects have properties independent of those dictated by scientific laws. For example, it might be metaphysically necessary, as some who advocate physicalism have thought, that all thinking beings have bodies[10] and can experience the passage of time. Saul Kripke has argued that every person necessarily has the parents they do have: anyone with different parents would not be the same person.[11]

Metaphysical possibility has been thought to be more restricting than bare logical possibility[12] (i.e., fewer things are metaphysically possible than are logically possible). However, its exact relation (if any) to logical possibility or to physical possibility is a matter of dispute. Philosophers[who?] also disagree over whether metaphysical truths are necessary merely "by definition", or whether they reflect some underlying deep facts about the world, or something else entirely.

Epistemic logic

[edit]

Epistemic modalities (from the Greek episteme, knowledge), deal with the certainty of sentences. The □ operator is translated as "x is certain that…", and the ◇ operator is translated as "For all x knows, it may be true that…" In ordinary speech both metaphysical and epistemic modalities are often expressed in similar words; the following contrasts may help:

A person, Jones, might reasonably say both: (1) "No, it is not possible that Bigfoot exists; I am quite certain of that"; and, (2) "Sure, it's possible that Bigfoots could exist". What Jones means by (1) is that, given all the available information, there is no question remaining as to whether Bigfoot exists. This is an epistemic claim. By (2) he makes the metaphysical claim that it is possible for Bigfoot to exist, even though he does not: there is no physical or biological reason that large, featherless, bipedal creatures with thick hair could not exist in the forests of North America (regardless of whether or not they do). Similarly, "it is possible for the person reading this sentence to be fourteen feet tall and named Chad" is metaphysically true (such a person would not somehow be prevented from doing so on account of their height and name), but not alethically true unless you match that description, and not epistemically true if it is known that fourteen-foot-tall human beings have never existed.

From the other direction, Jones might say, (3) "It is possible that Goldbach's conjecture is true; but also possible that it is false", and also (4) "if it is true, then it is necessarily true, and not possibly false". Here Jones means that it is epistemically possible that it is true or false, for all he knows (Goldbach's conjecture has not been proven either true or false), but if there is a proof (heretofore undiscovered), then it would show that it is not logically possible for Goldbach's conjecture to be false—there could be no set of numbers that violated it. Logical possibility is a form of alethic possibility; (4) makes a claim about whether it is possible (i.e., logically speaking) that a mathematical truth to have been false, but (3) only makes a claim about whether it is possible, for all Jones knows, (i.e., speaking of certitude) that the mathematical claim is specifically either true or false, and so again Jones does not contradict himself. It is worthwhile to observe that Jones is not necessarily correct: It is possible (epistemically) that Goldbach's conjecture is both true and unprovable.

Epistemic possibilities also bear on the actual world in a way that metaphysical possibilities do not. Metaphysical possibilities bear on ways the world might have been, but epistemic possibilities bear on the way the world may be (for all we know). Suppose, for example, that I want to know whether or not to take an umbrella before I leave. If you tell me "it is possible that it is raining outside" – in the sense of epistemic possibility – then that would weigh on whether or not I take the umbrella. But if you just tell me that "it is possible for it to rain outside" – in the sense of metaphysical possibility – then I am no better off for this bit of modal enlightenment.

Some features of epistemic modal logic are in debate. For example, if x knows that p, does x know that it knows that p? That is to say, should □P → □□P be an axiom in these systems? While the answer to this question is unclear,[13] there is at least one axiom that is generally included in epistemic modal logic, because it is minimally true of all normal modal logics (see the section on axiomatic systems):

  • K, Distribution Axiom: .

It has been questioned whether the epistemic and alethic modalities should be considered distinct from each other. The criticism states that there is no real difference between "the truth in the world" (alethic) and "the truth in an individual's mind" (epistemic).[14] An investigation has not found a single language in which alethic and epistemic modalities are formally distinguished, as by the means of a grammatical mood.[15]

Temporal logic

[edit]

Temporal logic is an approach to the semantics of expressions with tense, that is, expressions with qualifications of when. Some expressions, such as '2 + 2 = 4', are true at all times, while tensed expressions such as 'John is happy' are only true sometimes.

In temporal logic, tense constructions are treated in terms of modalities, where a standard method for formalizing talk of time is to use two pairs of operators, one for the past and one for the future (P will just mean 'it is presently the case that P'). For example:

FP : It will sometimes be the case that P
GP : It will always be the case that P
PP : It was sometime the case that P
HP : It has always been the case that P

There are then at least three modal logics that we can develop. For example, we can stipulate that,

= P is the case at some time t
= P is the case at every time t

Or we can trade these operators to deal only with the future (or past). For example,

= FP
= GP

or,

= P and/or FP
= P and GP

The operators F and G may seem initially foreign, but they create normal modal systems. FP is the same as ¬G¬P. We can combine the above operators to form complex statements. For example, PP → □PP says (effectively), Everything that is past and true is necessary.

It seems reasonable to say that possibly it will rain tomorrow, and possibly it will not; on the other hand, since we cannot change the past, if it is true that it rained yesterday, it cannot be true that it may not have rained yesterday. It seems the past is "fixed", or necessary, in a way the future is not. This is sometimes referred to as accidental necessity. But if the past is "fixed", and everything that is in the future will eventually be in the past, then it seems plausible to say that future events are necessary too.

Similarly, the problem of future contingents considers the semantics of assertions about the future: is either of the propositions 'There will be a sea battle tomorrow', or 'There will not be a sea battle tomorrow' now true? Considering this thesis led Aristotle to reject the principle of bivalence for assertions concerning the future.

Additional binary operators are also relevant to temporal logics (see Linear temporal logic).

Versions of temporal logic can be used in computer science to model computer operations and prove theorems about them. In one version, ◇P means "at a future time in the computation it is possible that the computer state will be such that P is true"; □P means "at all future times in the computation P will be true". In another version, ◇P means "at the immediate next state of the computation, P might be true"; □P means "at the immediate next state of the computation, P will be true". These differ in the choice of Accessibility relation. (P always means "P is true at the current computer state".) These two examples involve nondeterministic or not-fully-understood computations; there are many other modal logics specialized to different types of program analysis. Each one naturally leads to slightly different axioms.

Deontic logic

[edit]

Likewise talk of morality, or of obligation and norms generally, seems to have a modal structure. The difference between "You must do this" and "You may do this" looks a lot like the difference between "This is necessary" and "This is possible". Such logics are called deontic, from the Greek for "duty".

Deontic logics commonly lack the axiom T semantically corresponding to the reflexivity of the accessibility relation in Kripke semantics: in symbols, . Interpreting □ as "it is obligatory that", T informally says that every obligation is true. For example, if it is obligatory not to kill others (i.e. killing is morally forbidden), then T implies that people actually do not kill others. The consequent is obviously false.

Instead, using Kripke semantics, we say that though our own world does not realize all obligations, the worlds accessible to it do (i.e., T holds at these worlds). These worlds are called idealized worlds. P is obligatory with respect to our own world if at all idealized worlds accessible to our world, P holds. Though this was one of the first interpretations of the formal semantics, it has recently come under criticism.[16]

One other principle that is often (at least traditionally) accepted as a deontic principle is D, , which corresponds to the seriality (or extendability or unboundedness) of the accessibility relation. It is an embodiment of the Kantian idea that "ought implies can". (Clearly the "can" can be interpreted in various senses, e.g. in a moral or alethic sense.)

Intuitive problems with deontic logic

[edit]

When we try to formalize ethics with standard modal logic, we run into some problems. Suppose that we have a proposition K: you have stolen some money, and another, Q: you have stolen a small amount of money. Now suppose we want to express the thought that "if you have stolen some money, it ought to be a small amount of money". There are two likely candidates,

(1)
(2)

But (1) and K together entail □Q, which says that it ought to be the case that you have stolen a small amount of money. This surely is not right, because you ought not to have stolen anything at all. And (2) does not work either: If the right representation of "if you have stolen some money it ought to be a small amount" is (2), then the right representation of (3) "if you have stolen some money then it ought to be a large amount" is . Now suppose (as seems reasonable) that you ought not to steal anything, or . But then we can deduce via and (the contrapositive of ); so sentence (3) follows from our hypothesis (of course the same logic shows sentence (2)). But that cannot be right, and is not right when we use natural language. Telling someone they should not steal certainly does not imply that they should steal large amounts of money if they do engage in theft.[17]

Doxastic logic

[edit]

Doxastic logic concerns the logic of belief (of some set of agents). The term doxastic is derived from the ancient Greek doxa which means "belief". Typically, a doxastic logic uses □, often written "B", to mean "It is believed that", or when relativized to a particular agent s, "It is believed by s that".

Metaphysical questions

[edit]

In the most common interpretation of modal logic, one considers "logically possible worlds". If a statement is true in all possible worlds, then it is a necessary truth. If a statement happens to be true in our world, but is not true in all possible worlds, then it is a contingent truth. A statement that is true in some possible world (not necessarily our own) is called a possible truth.

Under this "possible worlds idiom", to maintain that Bigfoot's existence is possible but not actual, one says, "There is some possible world in which Bigfoot exists; but in the actual world, Bigfoot does not exist". However, it is unclear what this claim commits us to. Are we really alleging the existence of possible worlds, every bit as real as our actual world, just not actual? Saul Kripke believes that 'possible world' is something of a misnomer – that the term 'possible world' is just a useful way of visualizing the concept of possibility.[18] For him, the sentences "you could have rolled a 4 instead of a 6" and "there is a possible world where you rolled a 4, but you rolled a 6 in the actual world" are not significantly different statements, and neither commit us to the existence of a possible world.[19] David Lewis, on the other hand, made himself notorious by biting the bullet, asserting that all merely possible worlds are as real as our own, and that what distinguishes our world as actual is simply that it is indeed our world – this world.[20] That position is a major tenet of "modal realism". Some philosophers decline to endorse any version of modal realism, considering it ontologically extravagant, and prefer to seek various ways to paraphrase away these ontological commitments. Robert Adams holds that 'possible worlds' are better thought of as 'world-stories', or consistent sets of propositions. Thus, it is possible that you rolled a 4 if such a state of affairs can be described coherently.[21]

Computer scientists will generally pick a highly specific interpretation of the modal operators specialized to the particular sort of computation being analysed. In place of "all worlds", you may have "all possible next states of the computer", or "all possible future states of the computer".

Further applications

[edit]

Modal logics have begun to be used in areas of the humanities such as literature, poetry, art and history.[22][23] In the philosophy of religion, modal logics are commonly used in arguments for the existence of God.[24]

History

[edit]

The basic ideas of modal logic date back to antiquity. Aristotle developed a modal syllogistic in Book I of his Prior Analytics (ch. 8–22), which Theophrastus attempted to improve.[25] There are also passages in Aristotle's work, such as the famous sea-battle argument in De Interpretatione §9, that are now seen as anticipations of the connection of modal logic with potentiality and time. In the Hellenistic period, the logicians Diodorus Cronus, Philo the Dialectician and the Stoic Chrysippus each developed a modal system that accounted for the interdefinability of possibility and necessity, accepted axiom T (see below), and combined elements of modal logic and temporal logic in attempts to solve the notorious Master Argument.[26] The earliest formal system of modal logic was developed by Avicenna, who ultimately developed a theory of "temporally modal" syllogistic.[27] Modal logic as a self-aware subject owes much to the writings of the Scholastics, in particular William of Ockham and John Duns Scotus, who reasoned informally in a modal manner, mainly to analyze statements about essence and accident.

In the 19th century, Hugh MacColl made innovative contributions to modal logic, but did not find much acknowledgment.[28] C. I. Lewis founded modern modal logic in a series of scholarly articles beginning in 1912 with "Implication and the Algebra of Logic".[29][30] Lewis was led to invent modal logic, and specifically strict implication, on the grounds that classical logic grants paradoxes of material implication such as the principle that a falsehood implies any proposition.[31] This work culminated in his 1932 book Symbolic Logic (with C. H. Langford),[32] which introduced the five systems S1 through S5.

After Lewis, modal logic received little attention for several decades. Nicholas Rescher has argued that this was because Bertrand Russell rejected it.[33] However, Jan Dejnozka has argued against this view, stating that a modal system which Dejnozka calls "MDL" is described in Russell's works, although Russell did believe the concept of modality to "come from confusing propositions with propositional functions", as he wrote in The Analysis of Matter.[34]

Ruth C. Barcan (later Ruth Barcan Marcus) developed the first axiomatic systems of quantified modal logic — first and second order extensions of Lewis' S2, S4, and S5.[35][36][37] Arthur Norman Prior warned her to prepare well in the debates concerning quantified modal logic with Willard Van Orman Quine, because of bias against modal logic.[38]

The contemporary era in modal semantics began in 1959, when Saul Kripke (then only a 18-year-old Harvard University undergraduate) introduced the now-standard Kripke semantics for modal logics. These are commonly referred to as "possible worlds" semantics. Kripke and A. N. Prior had previously corresponded at some length. Kripke semantics is basically simple, but proofs are eased using semantic-tableaux or analytic tableaux, as explained by E. W. Beth.

A. N. Prior created modern temporal logic, closely related to modal logic, in 1957 by adding modal operators [F] and [P] meaning "eventually" and "previously". Vaughan Pratt introduced dynamic logic in 1976. In 1977, Amir Pnueli proposed using temporal logic to formalise the behaviour of continually operating concurrent programs. Flavors of temporal logic include propositional dynamic logic (PDL), (propositional) linear temporal logic (LTL), computation tree logic (CTL), Hennessy–Milner logic, and T.[clarification needed]

The mathematical structure of modal logic, namely Boolean algebras augmented with unary operations (often called modal algebras), began to emerge with J. C. C. McKinsey's 1941 proof that S2 and S4 are decidable,[39] and reached full flower in the work of Alfred Tarski and his student Bjarni Jónsson (Jónsson and Tarski 1951–52). This work revealed that S4 and S5 are models of interior algebra, a proper extension of Boolean algebra originally designed to capture the properties of the interior and closure operators of topology. Texts on modal logic typically do little more than mention its connections with the study of Boolean algebras and topology. For a thorough survey of the history of formal modal logic and of the associated mathematics, see Robert Goldblatt (2006).[40]

See also

[edit]

Notes

[edit]
  1. ^ Blackburn, Patrick; de Rijke, Maarten; Venema, Yde (2001). Modal Logic. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press. ISBN 9780521527149.
  2. ^ a b c van Benthem, Johan (2010). Modal Logic for Open Minds (PDF). CSLI. S2CID 62162288. Archived from the original (PDF) on 19 February 2020.
  3. ^ Hamkins, Joel (2012). "The set-theoretic multiverse". The Review of Symbolic Logic. 5 (3): 416–449. arXiv:1108.4223. doi:10.1017/S1755020311000359. S2CID 33807508.
  4. ^ Baltag, Alexandru; Christoff, Zoe; Rendsvig, Rasmus; Smets, Sonja (2019). "Dynamic Epistemic Logics of Diffusion and Prediction in Social Networks". Studia Logica. 107 (3): 489–531. doi:10.1007/s11225-018-9804-x. S2CID 13968166.
  5. ^ Fitting and Mendelsohn. First-Order Modal Logic. Kluwer Academic Publishers, 1998. Section 1.6
  6. ^ Girle 2014.
  7. ^ "Press release: Superheavy Element 114 Confirmed: A Stepping Stone to the Island of Stability". Lawrence Berkeley National Laboratory. 24 September 2009.
  8. ^ Feinberg, G. (1967). "Possibility of Faster-Than-Light Particles". Physical Review. 159 (5): 1089–1105. Bibcode:1967PhRv..159.1089F. doi:10.1103/PhysRev.159.1089. See also Feinberg's later paper: Phys. Rev. D 17, 1651 (1978)
  9. ^ Einstein, Albert (30 June 1905). "Zur Elektrodynamik bewegter Körper". Annalen der Physik. 17 (10): 891–921. Bibcode:1905AnP...322..891E. doi:10.1002/andp.19053221004.
  10. ^ Stoljar, Daniel. "Physicalism". The Stanford Encyclopedia of Philosophy. Retrieved 16 December 2014.
  11. ^ Saul Kripke Naming and Necessity Harvard University Press, 1980, p. 113.
  12. ^ Thomson, Judith and Alex Byrne (2006). Content and Modality : Themes from the Philosophy of Robert Stalnaker. Oxford: Oxford University Press. p. 107. ISBN 9780191515736. Retrieved 16 December 2014.
  13. ^ cf. Blindsight and Subliminal perception for negative empirical evidence
  14. ^ Eschenroeder, Erin; Sarah Mills; Thao Nguyen (30 September 2006). William Frawley (ed.). The Expression of Modality. The Expression of Cognitive Categories. Mouton de Gruyter. pp. 8–9. ISBN 978-3-11-018436-5. Retrieved 3 January 2010.
  15. ^ Nuyts, Jan (November 2000). Epistemic Modality, Language, and Conceptualization: A Cognitive-pragmatic Perspective. Human Cognitive Processing. John Benjamins Publishing Co. p. 28. ISBN 978-90-272-2357-9.
  16. ^ See, e.g., Hansson, Sven (2006). "Ideal Worlds—Wishful Thinking in Deontic Logic". Studia Logica. 82 (3): 329–336. doi:10.1007/s11225-006-8100-3. S2CID 40132498.
  17. ^ Ted Sider's Logic for Philosophy, unknown page. http://tedsider.org/books/lfp.html
  18. ^ Kripke, Saul. Naming and Necessity. (1980; Harvard UP), pp. 43–5.
  19. ^ Kripke, Saul. Naming and Necessity. (1980; Harvard UP), pp. 15–6.
  20. ^ David Lewis, On the Plurality of Worlds (1986; Blackwell).
  21. ^ Adams, Robert M. Theories of Actuality. Noûs, Vol. 8, No. 3 (Sep., 1974), particularly pp. 225–31.
  22. ^ See [1] and [2]
  23. ^ Andrew H. Miller, "Lives Unled in Realist Fiction", Representations 98, Spring 2007, The Regents of the University of California, ISSN 0734-6018, pp. 118–134.
  24. ^ Stacey, Gregory R. P. (August 2023). "Modal Ontological Arguments". Philosophy Compass. Vol. 18, no. 8. doi:10.1111/phc3.12938.
  25. ^ Bobzien, Susanne. "Ancient Logic". In Zalta, Edward N. (ed.). Stanford Encyclopedia of Philosophy.
  26. ^ Bobzien, S. (1993). "Chrysippus' Modal Logic and its Relation to Philo and Diodorus", in K. Doering & Th. Ebert (eds), Dialektiker und Stoiker, Stuttgart 1993, pp. 63–84.
  27. ^ History of logic: Arabic logic, Encyclopædia Britannica.
  28. ^ Lukas M. Verburgt (2020). "The Venn-MacColl Dispute in Nature". History and Philosophy of Logic. 41 (3): 244–251. doi:10.1080/01445340.2020.1758387. S2CID 219928989. Here: p.244.
  29. ^ Lewis, C. I. (1912). "Implication and the Algebra of Logic." Mind, 21(84):522–531.
  30. ^ Ballarin, Roberta. "Modern Origins of Modal Logic". The Stanford Encyclopedia of Philosophy. Retrieved 30 August 2020.
  31. ^ Lewis, C. I. (1917). "The issues concerning material implication." Journal of Philosophy, Psychology, and Scientific Methods, 14:350–356.
  32. ^ Clarence Irving Lewis and Cooper Harold Langford (1932). Symbolic Logic (1st ed.). Dover Publications.
  33. ^ Rescher, Nicholas (1979). "Russell and Modal Logic". In George W. Roberts (ed.). Bertrand Russell Memorial Volume. London: George Allen and Unwin. p. 146.
  34. ^ Dejnozka, Jan (1990). "Ontological Foundations of Russell's Theory of Modality" (PDF). Erkenntnis. 32 (3): 383–418. doi:10.1007/bf00216469. S2CID 121002878. Retrieved 22 October 2012.; quote is cited from Russell, Bertrand (1927). The Analysis of Matter. pp. 173.
  35. ^ Ruth C. Barcan (March 1946). "A Functional Calculus of First Order Based on Strict Implication". Journal of Symbolic Logic. 11 (1): 1–16. doi:10.2307/2269159. JSTOR 2269159. S2CID 250349611.
  36. ^ Ruth C. Barcan (December 1946). "The Deduction Theorem in a Functional Calculus of First Order Based on Strict Implication". Journal of Symbolic Logic. 11 (4): 115–118. doi:10.2307/2268309. JSTOR 2268309. S2CID 31880455.
  37. ^ Ruth C. Barcan (March 1947). "The Identity of Individuals in a Strict Functional Calculus of Second Order". Journal of Symbolic Logic. 12 (1): 12–15. doi:10.2307/2267171. JSTOR 2267171. S2CID 43450340.
  38. ^ Ruth Barcan Marcus, Modalities: Philosophical Essays, Oxford University Press, 1993, p. x.
  39. ^ McKinsey, J. C. C. (1941). "A Solution of the Decision Problem for the Lewis Systems S2 and S4, with an Application to Topology". J. Symb. Log. 6 (4): 117–134. doi:10.2307/2267105. JSTOR 2267105. S2CID 3241516.
  40. ^ Robert Goldbaltt, Mathematical Modal Logic: A view of its evolution

References

[edit]

Further reading

[edit]
  • Ruth Barcan Marcus, Modalities, Oxford University Press, 1993.
  • D. M. Gabbay, A. Kurucz, F. Wolter and M. Zakharyaschev, Many-Dimensional Modal Logics: Theory and Applications, Elsevier, Studies in Logic and the Foundations of Mathematics, volume 148, 2003, ISBN 0-444-50826-0. [Covers many varieties of modal logics, e.g. temporal, epistemic, dynamic, description, spatial from a unified perspective with emphasis on computer science aspects, e.g. decidability and complexity.]
  • Andrea Borghini, A Critical Introduction to the Metaphysics of Modality, New York: Bloomsbury, 2016.
[edit]