diff --git a/content/applied-modal-logic/epistemic-logic/bisimulations.tex b/content/applied-modal-logic/epistemic-logic/bisimulations.tex index cd0a27124..338ecd88a 100755 --- a/content/applied-modal-logic/epistemic-logic/bisimulations.tex +++ b/content/applied-modal-logic/epistemic-logic/bisimulations.tex @@ -36,11 +36,11 @@ \begin{enumerate} \item $w_1 \in V_1(p)$ iff $w_2 \in V_2(p)$ for all !!{propositional variable}s~$p$. - \item For all agents $a \in A$ and worlds $v_1 \in W_1$, if + \item For all agents $a \in G$ and worlds $v_1 \in W_1$, if $R_{1_a} w_1 v_1$ then there is some $v_2 \in W_2$ such that $R_{2_a} w_2 v_2$, and $\tuple{v_1, v_2} \in \mathcal{R}$. - \item For all agents $a \in A$ and worlds $v_2 \in W_2$, if + \item For all agents $a \in G$ and worlds $v_2 \in W_2$, if $R_{2_a} w_2 v_2$ then there is some $v_1 \in W_1$ such that $R_{1_a} w_1 v_1$, and $\tuple{v_1, v_2} \in \mathcal{R}$. diff --git a/content/applied-modal-logic/epistemic-logic/language-epistemic-logic.tex b/content/applied-modal-logic/epistemic-logic/language-epistemic-logic.tex index 52d5319bb..8ff66e7e6 100644 --- a/content/applied-modal-logic/epistemic-logic/language-epistemic-logic.tex +++ b/content/applied-modal-logic/epistemic-logic/language-epistemic-logic.tex @@ -70,7 +70,7 @@ \begin{defn} While the $\Knows$ operator is intended to symbolize individual knowledge, $\EKnows$, often read as ``everybody knows,'' symbolizes - group knowledge. Where $G' \subseteq G$, we define $\EKnows_{G'} !A$ + group knowledge. For finite $G' \subseteq G$, we define $\EKnows_{G'} !A$ as an abbreviation for \[\bigwedge_{b \in G'} \Knows_b !A.\] \end{defn} diff --git a/content/applied-modal-logic/epistemic-logic/properties-accessibility.tex b/content/applied-modal-logic/epistemic-logic/properties-accessibility.tex index a6baadee8..11586747f 100755 --- a/content/applied-modal-logic/epistemic-logic/properties-accessibility.tex +++ b/content/applied-modal-logic/epistemic-logic/properties-accessibility.tex @@ -70,9 +70,9 @@ I know that I know. It is the epistemic counterpart of the 4 axiom. Correspondingly, negative introspection is articulated as the statement that if I \emph{don't} know something, then I know that I -don't know it, which is the counterpart of the 5 axiom. Both of these -seem to admit of relatively ordinary counterexamples, in which I am -unsure whether or not I know something that I do in fact know. +don't know it, which is the counterpart of the 5 axiom. Positive introspection can fail when I know something without +knowing that I know it. Negative introspection can fail when I do +not know something without knowing that I do not know it. \end{document} diff --git a/content/applied-modal-logic/epistemic-logic/public-announcement-logic-lang.tex b/content/applied-modal-logic/epistemic-logic/public-announcement-logic-lang.tex index fec60621b..d0854c6a1 100644 --- a/content/applied-modal-logic/epistemic-logic/public-announcement-logic-lang.tex +++ b/content/applied-modal-logic/epistemic-logic/public-announcement-logic-lang.tex @@ -31,6 +31,7 @@ \iftag{prvAnd}{\ycomma $\land$ (conjunction)}{}% \iftag{prvOr}{\ycomma $\lor$ (disjunction)}{}% \iftag{prvIf}{\ycomma $\lif$ (!!{conditional})}{}% + \iftag{prvIff}{\ycomma $\liff$ (!!{biconditional})}{}% \item The knowledge operator $\Knows_a$ where $a \in G$. \item The public announcement operator $[!B]$ where $!B$ is !!a{formula}. \end{enumerate} diff --git a/content/applied-modal-logic/epistemic-logic/public-announcement-logic-semantics.tex b/content/applied-modal-logic/epistemic-logic/public-announcement-logic-semantics.tex index 946fc1e68..6db6c4d76 100644 --- a/content/applied-modal-logic/epistemic-logic/public-announcement-logic-semantics.tex +++ b/content/applied-modal-logic/epistemic-logic/public-announcement-logic-semantics.tex @@ -115,11 +115,17 @@ is no. And in fact, it is possible to truthfully announce !!{formula}s that will no longer be true once they are announced. For example, consider the effects of announcing $p \land \lnot \Knows_b p$ at~$w_1$ -in \olref{fig:announcement-example}. In fact, $\mModel M \mid p$ and -$\mModel M \mid (p \land \lnot \Knows_b p)$ are the same model. -However, as we have already noted, $\mSat{M \mid p}{\Knows_b -p}[w'_1]$. Therefore, $\mSat{M \mid (p \land \lnot \Knows_b p)}{\lnot -(p \land \lnot \Knows_b p)}[w'_1]$, so this is !!a{formula} that +in \olref{fig:announcement-example}. Since $\mSat{M}{\Knows_b p}[w_3]$, +$\mModel M \mid (p \land \lnot \Knows_b p)$ is $\mModel M \mid p$ +without~$w'_3$. In both models, $w'_1$ is the only world +$b$-accessible from~$w'_1$; so, just as $\mSat{M \mid p}{\Knows_b +p}[w'_1]$, also $\mSat{M \mid (p \land \lnot \Knows_b p)}{\Knows_b +p}[w'_1]$. Therefore, +\[ +\mSat{M \mid (p \land \lnot \Knows_b p)}{\lnot +(p \land \lnot \Knows_b p)}[w'_1], +\] +so this is !!a{formula} that becomes false once it has been announced. \end{document} diff --git a/content/applied-modal-logic/epistemic-logic/truth-at-w.tex b/content/applied-modal-logic/epistemic-logic/truth-at-w.tex index c4d4fdc1a..5deb1e168 100755 --- a/content/applied-modal-logic/epistemic-logic/truth-at-w.tex +++ b/content/applied-modal-logic/epistemic-logic/truth-at-w.tex @@ -54,7 +54,7 @@ idea that the actual world is consistent with an agent's information. In fact, epistemic logics typically use S5, but others might use weaker systems depending on what exactly they want the $\Knows_a$ -relation to represent. +operator to represent. \begin{figure} \begin{center} diff --git a/content/applied-modal-logic/temporal-logic/possible-histories.tex b/content/applied-modal-logic/temporal-logic/possible-histories.tex index a973f43c9..203a5fe65 100644 --- a/content/applied-modal-logic/temporal-logic/possible-histories.tex +++ b/content/applied-modal-logic/temporal-logic/possible-histories.tex @@ -41,13 +41,16 @@ When $t \in V(p)$ we say $p$~is \emph{true at}~$t$. \end{defn} +For the following semantics, assume that no history in~$C$ contains +the same state more than once. + The one relevant change is that when we evaluate the truth of !!a{formula} at a point in time~$t$ in a model~$\mModel M$, we do so relative to a history~$\sigma$, in which $t$ appears as a state. We do -not need to change any of the semantics for !!{propositional -variable}s or for truth-functional connectives, though. All of those -are exactly as they were in \olref[sem]{defn:tmodels}, since none of -those will make reference to~$\sigma$. However, we now redefine our +not need to change the semantics for !!{propositional variable}s, +which remains independent of~$\sigma$. The truth-functional clauses +of \olref[sem]{defn:tmodels} keep the same truth functions, with each +subformula evaluated at the same pair~$t, \sigma$. However, we now redefine our future operator~$\Ftemp$ and add our~$\Diamond$ operator with respect to these histories. @@ -66,8 +69,8 @@ Other temporal and modal operators can be defined similarly. However, we can now represent claims that combine tense and modality. For -example, we might symbolize ``$p$~will not occur, but it might have -occurred'' using the formula $\lnot \Ftemp p \land \Diamond \Ftemp p$. +example, we might symbolize ``$p$~will not occur on this history, but could occur +on another possible history'' using the formula $\lnot \Ftemp p \land \Diamond \Ftemp p$. This would hold at a point and a history at which $p$ does not become true at a successor state, but there is an alternative history at which $p$ will become true. diff --git a/content/normal-modal-logic/axioms-systems/consistency.tex b/content/normal-modal-logic/axioms-systems/consistency.tex index 02a9ea003..ea94cdf51 100644 --- a/content/normal-modal-logic/axioms-systems/consistency.tex +++ b/content/normal-modal-logic/axioms-systems/consistency.tex @@ -13,8 +13,9 @@ Consistency is an important property of sets of !!{formula}s. A set of !!{formula}s is inconsistent if a contradiction, such as~$\lfalse$, is !!{derivable} from it; and otherwise consistent. If a set is -inconsistent, its !!{formula}s cannot all be true in a model at a -world. For the completeness theorem we prove the converse: every +inconsistent relative to a system, its !!{formula}s cannot all be true +at a world in a model where every substitution instance of every axiom +of that system is globally true. For the completeness theorem we prove the converse: every consistent set is true at a world in a model, namely in the ``canonical model.'' @@ -51,7 +52,7 @@ give the argument for \olref{prop:consistencyfacts-c}. Proceed contrapositively and suppose neither $\Gamma \cup \{ !A \}$ nor $\Gamma \cup \{ \lnot!A \}$ is $\Sigma$-consistent. Then by - \olref{prop:consistencyfacts-b}, both $\Gamma, !A \Proves[\Sigma] + the definition of inconsistency, both $\Gamma, !A \Proves[\Sigma] \lfalse$ and $\Gamma, \lnot !A \Proves[\Sigma] \lfalse$. By the deduction theorem $\Gamma \Proves[\Sigma] !A \to \lfalse$ and $\Gamma \Proves[\Sigma] \lnot!A \lif \lfalse$. But $(!A \lif diff --git a/content/normal-modal-logic/axioms-systems/derived-rules.tex b/content/normal-modal-logic/axioms-systems/derived-rules.tex index a3a47167c..238161ccb 100644 --- a/content/normal-modal-logic/axioms-systems/derived-rules.tex +++ b/content/normal-modal-logic/axioms-systems/derived-rules.tex @@ -88,8 +88,8 @@ This proposition comes in handy especially when we want to convert $\Diamond$ into $\Box$ (or vice versa), or remove double negations inside !!a{formula}. In what follows, we will mark applications of -\olref{prop:rewriting} by ``$!A$ for $!B$'' whenever we re-write -!!a{formula}~$!C(!B)$ for~$!C(!A)$. In other words, ``$!A$ for $!B$'' +\olref{prop:rewriting} by ``$!B$ for $!A$'' whenever we re-write +!!a{formula}~$!C(!B)$ for~$!C(!A)$. In other words, ``$!B$ for $!A$'' abbreviates: \begin{derivation} & $\Proves !C(!A)$ \\ diff --git a/content/normal-modal-logic/axioms-systems/introduction.tex b/content/normal-modal-logic/axioms-systems/introduction.tex index 4a3674c65..6ae7d4010 100644 --- a/content/normal-modal-logic/axioms-systems/introduction.tex +++ b/content/normal-modal-logic/axioms-systems/introduction.tex @@ -31,8 +31,9 @@ is a sequence of !!{formula}s leading from certain axioms, via a handful of inference rules, to the !!{formula} in question. Since we want the !!{derivation} system to match the semantics, we have to -guarantee that the set of !!{derivable} formulas are true in all -models (or true in all models in which all axioms are true). We'll +guarantee that all !!{derivable} formulas are true in all +models (or true in all models in which every substitution instance of +every axiom is true). We'll first isolate some properties of modal logics that are necessary for this to work: the ``normal'' modal logics. For normal modal logics, there are only two inference rules that need to be assumed: modus @@ -81,9 +82,11 @@ $!A$ is \emph{!!{derivable} from $\Sigma$}, in symbols $\Sigma \Proves !A$. \end{defn} -With this definition, it will turn out that the set of !!{derivable} -formulas forms a normal modal logic, and that any !!{derivable} -!!{formula} is true in every model in which every axiom is true. This +With this definition, if $\Sigma$ includes $\Ax{K}$\iftag{prvDiamond}{ +and $\Dual$}{}, the set of !!{derivable} +formulas forms a normal modal logic. Any !!{derivable} +!!{formula} is true in every model in which every substitution instance +of every axiom is true. This property of !!{derivation}s is called \emph{soundness}. The converse, \emph{completeness}, is harder to prove. diff --git a/content/normal-modal-logic/axioms-systems/normal-logics.tex b/content/normal-modal-logic/axioms-systems/normal-logics.tex index 50cb894f0..7cb659466 100644 --- a/content/normal-modal-logic/axioms-systems/normal-logics.tex +++ b/content/normal-modal-logic/axioms-systems/normal-logics.tex @@ -100,16 +100,19 @@ \begin{prop} Let $!A_1$, \dots, $!A_n$ be !!{formula}s. Then there is a - smallest modal logic $\Sigma$ containing all instances of + smallest normal modal logic $\Sigma$ containing all instances of $!A_1$, \dots, $!A_n$. \end{prop} \begin{proof} Given $!A_1$, \dots, $!A_n$, define $\Sigma$ as the intersection of all normal modal logics containing all instances of - $!A_1$, \dots, $!A_n$. The intersection is non-empty as - $\Frm[L]$, the set of all !!{formula}s, is such a modal - logic. + $!A_1$, \dots, $!A_n$. This family is non-empty since + $\Frm[L]$, the set of all !!{formula}s, is such a normal modal + logic. Its intersection contains all tautologies, the required axioms, + and the given instances, and inherits closure under substitution, + modus ponens, and necessitation. It is contained in every member + of the family, so it is the smallest such normal modal logic. \end{proof} \begin{defn} diff --git a/content/normal-modal-logic/axioms-systems/soundness.tex b/content/normal-modal-logic/axioms-systems/soundness.tex index 9e888775c..e588eaca3 100644 --- a/content/normal-modal-logic/axioms-systems/soundness.tex +++ b/content/normal-modal-logic/axioms-systems/soundness.tex @@ -14,8 +14,8 @@ !!{derive}d is valid. When considering modal systems, i.e., !!{derivation}s where in addition to \Ax{K} we can use instances of some !!{formula}s $!A_1$, \dots,~$!A_n$, we want every !!{derivable} -formula to be true in any model in which $!A_1$, \dots, $!A_n$ are -true. +formula to be true in any model in which every substitution instance +of $!A_1$, \dots, $!A_n$ is true. \begin{thm}[Soundness Theorem]\ollabel{thm:soundness} If every instance of $!A_1$, \dots, $!A_n$ is valid in the @@ -42,7 +42,8 @@ \mClass{C}_i$, we have that $!B$ is valid in $\mClass{C}$ as well by \olref[syn][val]{prop:subset-class}. \item Inductive step: Suppose $!B$ has a proof of length $k>1$. If - $!B$ is a tautological instance or an instance of one of $!A_1$, + $!B$ is a tautological instance, an instance of $\Ax{K}$\iftag{prvDiamond}{ + or $\Dual$}{}, or an instance of one of $!A_1$, \dots, $!A_n$, we proceed as in the previous step. So suppose $!B$ is obtained by \MP{} from previous !!{formula}s $!C \lif !B$ and $!C$. Then $!C \lif !B$ and $!C$ have proofs of length $] (w1) to (w2); \node[world] (w4) [label={right:\mTrue{p}}, @@ -89,8 +90,8 @@ In particular, to obtain a euclidean filtration it is not enough to consider filtrations through arbitrary $\Gamma$'s closed under sub-!!{formula}s. Instead we need to consider sets $\Gamma$ that are -\emph{modally closed} (see \olref[pre]{defn:modallyclosed}). Such sets -of sentences are infinite, and therefore do not immediately yield a +\emph{modally closed} (see \olref[pre]{defn:modallyclosed}). Nonempty such +sets of sentences are infinite, and therefore do not immediately yield a finite model property or the decidability of the corresponding system. \begin{thm}\ollabel{thm:modal-closed-filt} diff --git a/content/normal-modal-logic/filtrations/examples-of-filtrations.tex b/content/normal-modal-logic/filtrations/examples-of-filtrations.tex index 3918f2361..0addca95c 100644 --- a/content/normal-modal-logic/filtrations/examples-of-filtrations.tex +++ b/content/normal-modal-logic/filtrations/examples-of-filtrations.tex @@ -11,9 +11,9 @@ \olsection{Examples of Filtrations} We have not yet shown that there are any filtrations. But indeed, for -any model $\mModel{M}$, there are many filtrations of $\mModel{M}$ -through $\Gamma$. We identify two, in particular: the finest and -coarsest filtrations. Filtrations of the same models will differ in +any model $\mModel{M}$, there is at least one filtration of $\mModel{M}$ +through $\Gamma$. We give two extremal constructions, the finest and +coarsest filtrations, which may coincide. Filtrations of the same models will differ in their accessibility relation (as \olref[fil]{defn:filtration} stipulates directly what $W^*$ and~$V^*$ should be). The finest filtration will have as few related worlds as possible, whereas the coarsest will @@ -100,7 +100,7 @@ \begin{ex} Let $W = \PosInt$, $Rnm$ iff $m = n + 1$, and $V(p) = \Setabs{2n}{n \in - \Nat}$. The model $\mModel{M} = \tuple{W, R, V}$ is depicted in + \PosInt}$. The model $\mModel{M} = \tuple{W, R, V}$ is depicted in \olref{fig:ex-filtration}. The worlds are $1$, $2$, etc.; each world can access exactly one other world---its successor---and $p$ is true at all and only the even numbers. @@ -136,7 +136,11 @@ \end{figure} Now let $\Gamma$ be the set of sub-!!{formula}s of~$\Box p \lif p$, - i.e., $\{p, \Box p, \Box p \lif p\}$. $p$ is true at all and only + expanding defined connectives before taking subformulas. When $\Box$ + and $\lif$ are primitive, this is $\{p, \Box p, \Box p \lif p\}$. + The additional subformulas of other presentations depend on the same + truth values of $p$ and $\Box p$, so the classes below are unchanged. + $p$ is true at all and only the even numbers, $\Box p$ is true at all and only the odd numbers, so $\Box p \lif p$ is true at all and only the even numbers. In other words, every odd number makes $\Box p$ true but $p$ and~$\Box @@ -153,7 +157,9 @@ since $R23$ we must have $R^*[2][3]$, and $[3]=[1]$. It cannot include $\tuple{[1],[1]}$: if it did, we'd have $R^*[1][1]$, $\mSat{M}{\Box p}[1]$ but $\mSat/{M}{p}[1]$, contradicting - \olref[fil]{defn:filtration-R2}. Nothing requires or rules out that + \iftag{prvBox}{\olref[fil]{defn:filtration-R2}}{\olref[fil]{defn:filtration-R3} + applied to $\Diamond\lnot p$: $\lnot p$ is true at $1$ but + $\Diamond\lnot p$ is false there}. Nothing requires or rules out that $R^*[2][2]$. So, there are two possible filtrations of~$\mModel{M}$, corresponding to the two accessibility relations \[ @@ -170,8 +176,8 @@ Consider the following model $\mModel{M} = \tuple{W, R, V}$ where $W = \Setabs{0\sigma}{\sigma \in \Bin^*}$, the set of sequences of $0$s and~$1$s starting with~$0$, with $R\sigma\sigma'$ iff $\sigma' = - \sigma 0$ or $\sigma' = \sigma 1$, and $V(p) = \Setabs{\sigma - 0}{\sigma \in \Bin^*}$ and $V(q) = \Setabs{\sigma 1}{\sigma \in + \sigma 0$ or $\sigma' = \sigma 1$, and $V(p) = W \cap \Setabs{\sigma + 0}{\sigma \in \Bin^*}$ and $V(q) = W \cap \Setabs{\sigma 1}{\sigma \in \Bin^* \setminus \{1\}}$. Here's a picture: \begin{center} \begin{tikzpicture}[modal, diff --git a/content/normal-modal-logic/filtrations/introduction.tex b/content/normal-modal-logic/filtrations/introduction.tex index dd3a155da..125b69d22 100644 --- a/content/normal-modal-logic/filtrations/introduction.tex +++ b/content/normal-modal-logic/filtrations/introduction.tex @@ -34,8 +34,8 @@ some class of models (e.g., the reflexive transitive models), we also have to be able to test if the accessibility relation is of the right kind. We can do that whenever the frames we are interested in are -definable by modal !!{formula}s (e.g., by testing if \Ax{T} and \Ax{4} -valid in the frame). So, the idea would be to run through all the +defined by an explicitly given finite list of modal !!{formula}s +(e.g., by testing if \Ax{T} and \Ax{4} are valid in the frame). So, the idea would be to run through all the finite frames, test each one if it is a frame in the class we're interested in, then list all the possible models on that frame and test if $!A$ is true in each. If not, stop: $!A$ is not valid in the @@ -59,8 +59,8 @@ determine, for every formula that is not valid, that it isn't. Our procedure won't terminate if the formula is valid. If we can show in addition that there is some maximum size that the finite model our -procedure provides can have, and that this maximum size depends only -on the !!{formula}~$!A$, we will have a size up to which we have to +procedure provides can have, and that this maximum size is computable +from the !!{formula}~$!A$, we will have a size up to which we have to test finite models in our search for countermodels. If we haven't found a countermodel by then, there are none. Then our procedure will, in fact, decide the question ``is $!A$ valid?'' for any @@ -73,32 +73,32 @@ relevant respects, then we may be able to collect \emph{all} worlds in finitely many (possibly infinite) ``classes'' of such worlds. In other words, we could try to partition the set of worlds in the right way, i.e., -in such a way that each partition contains infinitely many worlds, but -there are only finitely many partitions. Then we define a new -model~$\mModel{M^*}$ where the worlds are the partitions. Finitely -many partitions in the old model give us finitely many worlds in the -new model, i.e., a finite model. Let's call the partition a world~$w$ +in such a way that there are only finitely many classes, each of which +may be finite or infinite. Then we define a new +model~$\mModel{M^*}$ where the worlds are these classes. Finitely +many classes in the old model give us finitely many worlds in the +new model, i.e., a finite model. Let's call the class a world~$w$ is in~$[w]$. We'll want it to be the case that $\mSat{M}{!A}[w]$ iff $\mSat{M^*}{!A}[{[w]}]$, since we want the new model to be a countermodel to~$!A$ if the old one was. This requires that we define the partition, as well as the accessibility relation of~$\mModel{M^*}$ in the right way. -To see how this would go, first imagine we have no accessibility -relation. $\mSat{M}{\Box !B}[w]$ iff for some $v \in W$, -$\mSat{M}{\Box !B}[v]$, and the same for $\mModel{M^*}$, except with +To see how this would go, first imagine that every world is accessible +from every world. Then $\mSat{M}{\Box !B}[w]$ iff for every $v \in W$, +$\mSat{M}{!B}[v]$, and the same for $\mModel{M^*}$, except with $[w]$ and $[v]$. As a first idea, let's say that two worlds $u$ and -$v$ are equivalent (belong to the same partition) if they agree on all -!!{propositional variable}s in~$\mModel{M}$, i.e., $\mSat{M}{p}[u]$ -iff $\mSat{M}{p}[v]$. Let $V^*(p) = \Setabs{[w]}{\mSat{M}{p}[w]}$. +$v$ are equivalent (belong to the same partition) if they agree on every +!!{propositional variable} occurring in the fixed formula~$!A$, i.e., +$\mSat{M}{p}[u]$ iff $\mSat{M}{p}[v]$ for each such $p$. Let $V^*(p) = \Setabs{[w]}{\mSat{M}{p}[w]}$. Our aim is to show that $\mSat{M}{!A}[w]$ iff $\mSat{M^*}{!A}[{[w]}]$. Obviously, we'd prove this by induction: The base case would be $!A \equiv p$. First suppose $\mSat{M}{p}[w]$. Then -$[w] \in V^*$ by definition, so $\mSat{M^*}{p}[{[w]}]$. Now suppose +$[w] \in V^*(p)$ by definition, so $\mSat{M^*}{p}[{[w]}]$. Now suppose that $\mSat{M^*}{p}[{[w]}]$. That means that $[w] \in V^*(p)$, i.e., for some $v$ equivalent to~$w$, $\mSat{M}{p}[v]$. But ``$w$ equivalent -to $v$'' means ``$w$ and $v$ make all the same !!{propositional variable}s -true,'' so $\mSat{M}{p}[w]$. Now for the inductive step, e.g., $!A +to $v$'' means ``$w$ and $v$ make the same !!{propositional variable}s +occurring in~$!A$ true,'' so $\mSat{M}{p}[w]$. Now for the inductive step, e.g., $!A \ident \lnot !B$. Then $\mSat{M}{\lnot !B}[w]$ iff $\mSat/{M}{!B}[w]$ iff $\mSat/{M^*}{!B}[{[w]}]$ (by inductive hypothesis) iff $\mSat{M^*}{\lnot !B}[{[w]}]$. Similarly for the other non-modal @@ -116,9 +116,9 @@ now we also have to show that there \emph{are} filtrations, i.e., we can define~$R^*$ so that it satisfies the required conditions. In order for this to work, however, we have to require that worlds $u$, -$v$ count as equivalent not just when they agree on all -!!{propositional variable}s, but on all sub-!!{formula}s -of~$!A$. Since $!A$ has only finitely many sub-!!{formula}s, this will +$v$ count as equivalent exactly when they agree on all +sub-!!{formula}s of~$!A$ (including the !!{propositional variable}s +occurring in~$!A$). Since $!A$ has only finitely many sub-!!{formula}s, this will still guarantee that the filtration is finite. There is not just one way to define a filtration, and in order to make sure that the accessibility relation of the filtration satisfies the required diff --git a/content/normal-modal-logic/filtrations/more-filtrations.tex b/content/normal-modal-logic/filtrations/more-filtrations.tex index e992da6e9..28f5eec9c 100644 --- a/content/normal-modal-logic/filtrations/more-filtrations.tex +++ b/content/normal-modal-logic/filtrations/more-filtrations.tex @@ -22,10 +22,11 @@ $\mModel{M} =\tuple{W, R, V}$. We can define $R^*[u][v]$ on the basis of combinations of these conditions. For instance, if we stipulate that $R^*[u][v]$ iff the condition $C_1(u,v)$ holds, we get exactly -the coarsest filtration. If we stipulate $R^*[u][v]$ iff both -$C_1(u,v)$ and $C_2(u, v)$ hold, we get a different filtration. It is -``finer'' than the coarsest since fewer pairs of worlds satisfy -$C_1(u,v)$ and $C_2(u,v)$ than $C_1(u,v)$ alone. +the coarsest filtration. If the original model is symmetric and we +stipulate $R^*[u][v]$ iff both $C_1(u,v)$ and $C_2(u,v)$ hold, we +again get a filtration. It is at least as fine as the coarsest: its +accessibility relation is a subset of the coarsest relation, possibly +equal to it. \begin{table}[ht] \centering diff --git a/content/normal-modal-logic/filtrations/preliminaries.tex b/content/normal-modal-logic/filtrations/preliminaries.tex index f7dab59ca..fe0a5d52a 100644 --- a/content/normal-modal-logic/filtrations/preliminaries.tex +++ b/content/normal-modal-logic/filtrations/preliminaries.tex @@ -66,10 +66,10 @@ \end{proof} The relation $\equiv$, like any equivalence relation, divides~$W$ into -\emph{partitions}, i.e., subsets of~$W$ which are pairwise disjoint, -and together cover all of~$W$. Every $w \in W$ is !!a{element} of one -of the partitions, namely of~$[w]$, since $w \equiv w$. So the -partitions $[w]$ cover all of~$W$. They are pairwise disjoint, for if +\emph{equivalence classes}, the blocks of a partition of~$W$, which are +pairwise disjoint and together cover all of~$W$. Every $w \in W$ is +!!a{element} of one of these classes, namely $[w]$, since $w \equiv w$. +So the classes $[w]$ cover all of~$W$. They are pairwise disjoint, for if $u \in [w]$ and $u \in [v]$, then $u \equiv w$ and $u \equiv v$, and by symmetry and transitivity, $w \equiv v$, and so $[w] = [v]$. diff --git a/content/normal-modal-logic/frame-definability/definability.tex b/content/normal-modal-logic/frame-definability/definability.tex index 860622205..08c38a40e 100644 --- a/content/normal-modal-logic/frame-definability/definability.tex +++ b/content/normal-modal-logic/frame-definability/definability.tex @@ -39,7 +39,7 @@ $\mModel{F} \Entails \Box p \lif \Diamond p$. Let $\mModel{M} = \tuple{W, R, V}$ be a model based on~$\mModel{F}$, and $w \in W$. We have to show that there is a $v$ such that~$Rwv$. Suppose - not: then both $\mSat{M}{\Box !A}$ and $\mSat/{M}{\Diamond !A}[w]$ + not: then both $\mSat{M}{\Box !A}[w]$ and $\mSat/{M}{\Diamond !A}[w]$ for any~$!A$, including~$p$. But then $\mSat/{M}{\Box p \lif \Diamond p}[w]$, contradicting the assumption that $\mModel{F} \Entails \Box p \lif \Diamond p$. diff --git a/content/normal-modal-logic/frame-definability/first-order-definability.tex b/content/normal-modal-logic/frame-definability/first-order-definability.tex index 4b3d6a937..a58c544a9 100644 --- a/content/normal-modal-logic/frame-definability/first-order-definability.tex +++ b/content/normal-modal-logic/frame-definability/first-order-definability.tex @@ -61,8 +61,8 @@ \Gamma = \{!F, !A_1, !A_2, \dots\}. \] Every finite subset of $\Gamma$ is satisfiable: Let $k$ be largest -such that $!A_k$ is in the subset, $\Domain{M_k} = \{1, \dots, k\}$, -$\Assign{a_i}{M_k} = i$, and $\Assign{Q}{M_k} = <$. Since $<$ on $\{1, +such that $!A_k$ is in the subset, taking $k=1$ if no such formula occurs, $\Domain{M_k} = \{1, \dots, k\}$, +$\Assign{a_i}{M_k} = i$ for $1\le i\le k$, $\Assign{a_i}{M_k}=1$ for $i>k$, and $\Assign{Q}{M_k} = <$. Since $<$ on $\{1, \dots, k\}$ is transitive and converse well-founded, $\Sat{M_k}{!F}$. $\Sat{M_k}{!A_i}$ by construction, for all $i \le k$. By the Compactness Theorem for first-order logic, $\Gamma$ is diff --git a/content/normal-modal-logic/frame-definability/introduction.tex b/content/normal-modal-logic/frame-definability/introduction.tex index 240d180bc..f3119b581 100644 --- a/content/normal-modal-logic/frame-definability/introduction.tex +++ b/content/normal-modal-logic/frame-definability/introduction.tex @@ -27,7 +27,7 @@ can easily find a non-reflexive model~$\mModel{M}$ where $\Box p \lif p$ is true at all worlds: take the model with a single world~$w$, not accessible from itself, but with $w \in V(p)$. By picking the truth -value of $p$ suitably, we can make $\Box !A \lif !A$ true in a model +value of $p$ suitably, we can make $\Box p \lif p$ true in a model that is not reflexive. The solution is to remove the variable assignment~$V$ from the diff --git a/content/normal-modal-logic/frame-definability/properties-accessibility.tex b/content/normal-modal-logic/frame-definability/properties-accessibility.tex index 7464ae838..2868e80bf 100644 --- a/content/normal-modal-logic/frame-definability/properties-accessibility.tex +++ b/content/normal-modal-logic/frame-definability/properties-accessibility.tex @@ -92,7 +92,7 @@ not hold: it's not true that if a model verifies a schema, then the accessibility relation of that model has the corresponding property. In the case of \Ax{T} and reflexive models, it is easy to give an -example of a model in which \Ax{T} itself fails: let $W = \{w\}$ and +example of a model in which \Ax{T} itself fails: let $W = \{w\}$, $R = \emptyset$, and $V(p) = \emptyset$. Then $R$ is not reflexive, but $\mSat{M}{\Box p}[w]$ and $\mSat/{M}{p}[w]$. But here we have just a single instance of \Ax{T} that fails in~$\mModel{M}$; other instances, e.g., @@ -103,8 +103,8 @@ \begin{prop}\ollabel{prop:reflexive} Let $\mModel{M} = \tuple{W, R, V}$ be a model such that $W = \{u, v - \}$, where worlds $u$ and $v$ are related by $R$: i.e., both $Ruv$ - and $Rvu$. Suppose that for all $p$: $u \in V(p) \Leftrightarrow v + \}$, where worlds $u$ and $v$ are related by $R$: i.e., $R = \{\tuple{u, v}, \tuple{v, u}\}$. + Suppose that for all $p$: $u \in V(p) \Leftrightarrow v \in V(p)$. Then: \begin{enumerate} \item For all $!A$: $\mSat{M}{!A}[u]$ if and only if diff --git a/content/normal-modal-logic/frame-definability/second-order-definability.tex b/content/normal-modal-logic/frame-definability/second-order-definability.tex index 5d2c13495..35bd14e02 100644 --- a/content/normal-modal-logic/frame-definability/second-order-definability.tex +++ b/content/normal-modal-logic/frame-definability/second-order-definability.tex @@ -24,10 +24,11 @@ \begin{defn} The \emph{standard translation}~$\ST_x(!A)$ is inductively defined - as follows: + as follows. In the modal clauses, choose $y$ fresh, renaming bound + variables as needed: \begin{enumerate} \tagitem{prvFalse}{\indcase{!A}{\lfalse}{$\ST_x(\indfrm) = \lfalse$.}}{} - \tagitem{prvTrue}{\indcase{!A}{\lfalse}{$\ST_x(\indfrm) = \ltrue$.}}{} + \tagitem{prvTrue}{\indcase{!A}{\ltrue}{$\ST_x(\indfrm) = \ltrue$.}}{} \item \indcase{!A}{\Obj p_i}{$\ST_x(\indfrm) = \Atom{P_i}{x}$.} \tagitem{prvNot}{\indcase{!A}{\lnot !B}{$\ST_x(\indfrm) = \lnot \ST_x(!B)$.}}{} \tagitem{prvAnd}{\indcase{!A}{(!B \land !C)}{$\ST_x(\indfrm) = (\ST_x(!B) @@ -88,7 +89,7 @@ \end{prop} \begin{proof} - $\Sat{F'}{!A'}$ iff for every !!{structure}~$\mModel{M'}$ where + $\Sat{F'}{!A'}$ iff for every expansion~$\Struct{M'}$ of $\Struct{F'}$, with $\Domain{M'}=W$ and $\Assign{Q}{M'}=R$, where $\Assign{P_i}{M'} \subseteq W$ for $i = 1$, \dots,~$n$, and for every $s$ with $s(x) \in W$, $\Sat{M'}{\ST_x(!A)}[s]$. By \olref{prop:st}, that is the case iff for all models~$\mModel{M}$ @@ -99,7 +100,7 @@ \begin{defn} A class~$\mClass{F}$ of frames is \emph{second-order definable} if there is !!a{sentence}~$!A$ in the second-order language with a - single two-place !!{predicate}~$P$ and quantifiers only over monadic + single two-place !!{predicate}~$P$ and second-order quantifiers only over monadic set variables such that $\mModel{F} = \tuple{W, R} \in \mClass{F}$ iff $\Sat{M}{!A}$ in the !!{structure}~$\Struct{M}$ with $\Domain{M} = W$ and $\Assign{P}{M} = R$. @@ -130,8 +131,8 @@ are universally quantified, the remainder must hold for any $x \in W$ and set~$X \subseteq W$, e.g., the set $\Setabs{z}{Rxz}$ where $R = \Assign{Q}{M}$. So, for any~$s$ with $s(x) \in W$ and $s(X) = -\Setabs{z}{Rxz}$ we have $\Sat{M}{\lforall[y][(\Atom{Q}{x,y} \lif - \Atom{X}{y})] \lif \Atom{X}{x}}$. But by the way we've picked +\Setabs{z}{R s(x) z}$ we have $\Sat{M}{\lforall[y][(\Atom{Q}{x,y} \lif + \Atom{X}{y})] \lif \Atom{X}{x}}[s]$. But by the way we've picked $s(X)$ that means $\Sat{M}{\lforall[y][(\Atom{Q}{x,y} \lif \Atom{Q}{x,y})] \lif \Atom{Q}{x,x}}[s]$, which is equivalent to $\Atom{Q}{x,x}$ since the antecedent is valid. Since $s(x)$ is diff --git a/content/normal-modal-logic/sequent-calculus/introduction.tex b/content/normal-modal-logic/sequent-calculus/introduction.tex index 4c57e3d1d..85af0397a 100644 --- a/content/normal-modal-logic/sequent-calculus/introduction.tex +++ b/content/normal-modal-logic/sequent-calculus/introduction.tex @@ -43,9 +43,9 @@ Not every modal logic has such a sequent calculus. Even $\Log{S5}$, which is semantically simple (it can be defined without using -accessibility relations at all) is not known to have a sequent -calculus that results from~$\Log{LK}$ which is complete without the -rule~\Cut. However, it has a cut-free complete \emph{hypersequent} +accessibility relations at all) is not complete without the +rule~\Cut{} in the sequent calculus obtained below from~$\Log{LK}$; +cut-free sequent calculi for it need additional rules or devices. However, it has a cut-free complete \emph{hypersequent} calculus. \end{document} diff --git a/content/normal-modal-logic/sequent-calculus/more-rules.tex b/content/normal-modal-logic/sequent-calculus/more-rules.tex index b576b4eed..ed9a8599c 100644 --- a/content/normal-modal-logic/sequent-calculus/more-rules.tex +++ b/content/normal-modal-logic/sequent-calculus/more-rules.tex @@ -171,21 +171,21 @@ \hline Logic & $R$ is \dots & Rules\\ \hline - $\Log{T} = \Log{KT}$ & reflexive & $\Box$, + $\Log{T} = \Log{KT}$ & reflexive & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{T$\Box$}{}% \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{T$\Diamond$}{} \\ \hline - $\Log{D} = \Log{KD}$ & serial & $\Box$, + $\Log{D} = \Log{KD}$ & serial & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{% \iftag{prvDiamond}{D}{D$\Box$}}{D$\Diamond$} \\ \hline - $\Log{K4}$ & transitive & $\Box$, + $\Log{K4}$ & transitive & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{4$\Box$}{}% \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{4$\Diamond$}{} \\ \hline - $\Log{B} = \Log{KTB}$ & reflexive, & $\Box$, + $\Log{B} = \Log{KTB}$ & reflexive, & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{T$\Box$}{}% \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{T$\Diamond$}{}\\ @@ -194,7 +194,7 @@ \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{B$\Diamond$}{} \\ \hline - $\Log{S4} = \Log{KT4}$ & reflexive, & $\Box$, + $\Log{S4} = \Log{KT4}$ & reflexive, & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{T$\Box$}{}% \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{T$\Diamond$}{}\\ @@ -203,7 +203,7 @@ \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{4$\Diamond$}{} \\ \hline - $\Log{S5} = \Log{KT5}$ & reflexive, & $\Box$, + $\Log{S5} = \Log{KT5}$ & reflexive, & \iftag{prvBox}{$\Box$}{}\iftag{notprvBox,notprvDiamond}{}{, }\iftag{prvDiamond}{$\Diamond$}{}, \iftag{prvBox}{T$\Box$}{}% \iftag{notprvBox,notprvDiamond}{}{, }% \iftag{prvDiamond}{T$\Diamond$}{}\\ @@ -267,6 +267,8 @@ \UnaryInf$\fCenter \Box\lnot!A, \lnot\Box\lnot!A$ \RightLabel{5$\Box$} \UnaryInf$ \fCenter \Box\lnot!A, \Box\lnot\Box\lnot!A$ + \RightLabel{\RightR{\Exchange}} + \UnaryInf$ \fCenter \Box\lnot\Box\lnot!A, \Box\lnot!A$ \RightLabel{\LeftR{\lnot}} \UnaryInf$\lnot\Box\lnot!A \fCenter \Box\lnot\Box\lnot!A$ \RightLabel{\RightR{\lif}} @@ -294,7 +296,8 @@ The sequent calculus for \Log{S5} is not complete without the \Cut{} rule; e.g., \iftag{prvBox}{$\Diamond\Box !A \lif !A$}{$!A \lif \Box\Diamond !A$}, which is valid in~$\Log{S5}$, has no proof -without~\Cut. Here is !!a{derivation} using~\Cut: +without~\Cut when $!A$ is a !!{propositional variable}. Here is +!!a{derivation}, valid for arbitrary $!A$, using~\Cut: \begin{prooftree} \iftag{prvBox}{\iftag{prvDiamond}{% both [] and <> primitive \Axiom$\Box !A \fCenter \Box!A$ @@ -322,6 +325,8 @@ \UnaryInf$\Box!A \fCenter !A$ \RightLabel{\Cut} \BinaryInf$ \fCenter \Box\lnot\Box!A, !A$ +\RightLabel{\RightR{\Exchange}} +\UnaryInf$ \fCenter !A, \Box\lnot\Box!A$ \RightLabel{\LeftR{\lnot}} \UnaryInf$\lnot\Box\lnot\Box!A \fCenter !A$ \RightLabel{\RightR{\lif}} @@ -336,11 +341,13 @@ \UnaryInf$\lnot\Diamond!A , \Diamond!A \fCenter$ \RightLabel{5$\Diamond$} \UnaryInf$\Diamond\lnot\Diamond!A , \Diamond!A\fCenter$ -\RightLabel{\RightR{\Exchange}} +\RightLabel{\LeftR{\Exchange}} \UnaryInf$\Diamond!A, \Diamond\lnot\Diamond!A\fCenter $ \RightLabel{\Cut} -\BinaryInf$\Diamond\lnot\Diamond!A, !A\fCenter $ +\BinaryInf$!A, \Diamond\lnot\Diamond!A\fCenter $ +\RightLabel{\LeftR{\Exchange}} +\UnaryInf$\Diamond\lnot\Diamond!A, !A\fCenter $ \RightLabel{\RightR{\lnot}} \UnaryInf$!A \fCenter \lnot\Diamond\lnot\Diamond!A$ \RightLabel{\RightR{\lif}} diff --git a/content/normal-modal-logic/sequent-calculus/proofs-in-K.tex b/content/normal-modal-logic/sequent-calculus/proofs-in-K.tex index 8c23acd25..c2c5e0609 100644 --- a/content/normal-modal-logic/sequent-calculus/proofs-in-K.tex +++ b/content/normal-modal-logic/sequent-calculus/proofs-in-K.tex @@ -79,10 +79,11 @@ }{} \iftag{notprvBox,notprvDiamond}{}{ - Here is !!a{derivation} of~\Dual. + Here is !!a{derivation} of~\Dual, using $!B \liff !C$ as an + abbreviation for $(!B \lif !C) \land (!C \lif !B)$. \begin{prooftree} \Axiom$!A \fCenter !A$ - \RightLabel{\RightR{\lnot}} + \RightLabel{\LeftR{\lnot}} \UnaryInf$\lnot !A, !A \fCenter $ \RightLabel{$\Diamond$} \UnaryInf$\Diamond\lnot !A, \Box !A \fCenter $ @@ -99,7 +100,7 @@ \UnaryInf$\fCenter \Diamond\lnot !A, \Box !A$ \RightLabel{\RightR{\Exchange}} \UnaryInf$\fCenter \Box !A, \Diamond\lnot !A$ - \RightLabel{\RightR{\lnot}} + \RightLabel{\LeftR{\lnot}} \UnaryInf$\lnot\Diamond\lnot !A \fCenter \Box !A$ \RightLabel{\RightR{\lif}} \UnaryInf$\fCenter \lnot \Diamond \lnot !A \lif \Box !A$ diff --git a/content/normal-modal-logic/syntax-and-semantics/entailment.tex b/content/normal-modal-logic/syntax-and-semantics/entailment.tex index a9e5c4741..d70c14353 100644 --- a/content/normal-modal-logic/syntax-and-semantics/entailment.tex +++ b/content/normal-modal-logic/syntax-and-semantics/entailment.tex @@ -66,7 +66,7 @@ \end{figure} Often very simple counterexamples suffice. The model $\mModel{M'} = - \{W', R', V'\}$ with $W' = \{w\}$, $R' = \emptyset$, and $V'(p) = + \tuple{W', R', V'}$ with $W' = \{w\}$, $R' = \emptyset$, and $V'(p) = \emptyset$ is also a counterexample: Since $\mSat/{M'}{p}[w]$, $\mSat{M'}{p \lif \Diamond p}[w]$. As no worlds are accessible from~$w$, we have $\mSat{M'}{\Box p}[w]$, and so $\mSat/{M'}{\Box p diff --git a/content/normal-modal-logic/syntax-and-semantics/introduction.tex b/content/normal-modal-logic/syntax-and-semantics/introduction.tex index 161250e4a..fba97940b 100644 --- a/content/normal-modal-logic/syntax-and-semantics/introduction.tex +++ b/content/normal-modal-logic/syntax-and-semantics/introduction.tex @@ -57,12 +57,12 @@ \ldots possibly $!A$'' always reduce to the innermost modality. The major breakthrough in modal semantics came with Saul Kripke's -article ``A Completeness Theorem in Modal Logic'' (JSL 1959). Kripke +article ``A Completeness Theorem in Modal Logic'' (JSL 1959), on an extension of \Log{S5}. Kripke based his work on Leibniz's idea that a statement is necessarily true if it is true ``at all possible worlds.'' This idea, though, suffers -from the same drawbacks as Carnap's, in that the truth of statement at +from the same drawbacks as Carnap's, in that the truth of a necessity statement at a world $w$ (or a state description $s$) does not depend on $w$ at -all. So Kripke assumed that worlds are related by an +all. In his 1963 generalization, Kripke assumed that worlds are related by an \emph{accessibility relation} $R$, and that a statement of the form ``Necessarily $!A$'' is true at a world $w$ if and only if $!A$ is true at all worlds $w'$ \emph{accessible from} diff --git a/content/normal-modal-logic/syntax-and-semantics/normal-modal-logics.tex b/content/normal-modal-logic/syntax-and-semantics/normal-modal-logics.tex index d8ce7a2a4..d642727ef 100644 --- a/content/normal-modal-logic/syntax-and-semantics/normal-modal-logics.tex +++ b/content/normal-modal-logic/syntax-and-semantics/normal-modal-logics.tex @@ -31,7 +31,7 @@ Some admittedly not very interesting sets of !!{formula}s which satisfy this definition and therefore count as modal logics are: \begin{enumerate} -\item the set of all tautologies +\item the set of all tautological instances \item the set of all !!{formula}s (the inconsistent modal logic) \end{enumerate} \end{ex} diff --git a/content/normal-modal-logic/syntax-and-semantics/schemas.tex b/content/normal-modal-logic/syntax-and-semantics/schemas.tex index 952faf4eb..610c16bd8 100644 --- a/content/normal-modal-logic/syntax-and-semantics/schemas.tex +++ b/content/normal-modal-logic/syntax-and-semantics/schemas.tex @@ -24,8 +24,8 @@ \end{defn} It is convenient to denote a schema by the meta-linguistic expression -obtained by substituting `$!A$', `$!B$',~\dots, for the atomic -components of~$!C$. So, for instance, the following denote schemas: +obtained by substituting `$!A$', `$!B$',~\dots, for the !!{propositional +variable}s of~$!C$. So, for instance, the following denote schemas: `$!A$', `$!A \lif \Box!A$', `$!A \lif (!B \lif !A)$'. They correspond to the characteristic !!{formula}s $p$, $p \lif \Box p$, $p \lif (q \lif p)$. The schema `$!A$' denotes the set of \emph{all} diff --git a/content/normal-modal-logic/syntax-and-semantics/substitution.tex b/content/normal-modal-logic/syntax-and-semantics/substitution.tex index 627fb1886..451bd4638 100644 --- a/content/normal-modal-logic/syntax-and-semantics/substitution.tex +++ b/content/normal-modal-logic/syntax-and-semantics/substitution.tex @@ -11,8 +11,8 @@ \olsection{Simultaneous Substitution} An \emph{instance} of !!a{formula}~$!A$ is the result of replacing all -occurrences of !!a{propositional variable} in~$!A$ by some other -!!{formula}. We will refer to instances of !!{formula}s often, both +occurrences of one or more !!{propositional variable}s in~$!A$ by +respective !!{formula}s, simultaneously. We will refer to instances of !!{formula}s often, both when discussing validity and when discussing !!{derivability}. It therefore is useful to define the notion precisely. @@ -86,12 +86,12 @@ the same as iterated substitution, e.g., compare $\SSubst{!A}{\subst{!D_1}{p_1}, \subst{!D_2}{p_2}}$ above with $\Subst{(\Subst{!A}{!D_1}{p_1})}{!D_2}{p_2}$, which is:} - \Diamond(p_2 \lif p_3) & \Subst{\lif \Box(\Diamond(p_2 \lif p_3) \land p_2)}{\lnot\Box p_1}{p_2}, \text{ i.e.,}\\ + & \Subst{(\Diamond(p_2 \lif p_3) \lif \Box(\Diamond(p_2 \lif p_3) \land p_2))}{\lnot\Box p_1}{p_2}, \text{ i.e.,}\\ \Diamond(\lnot\Box p_1 \lif p_3) & \lif \Box(\Diamond(\lnot\Box p_1 \lif p_3) \land \lnot\Box p_1)\\ \intertext{and with $\Subst{(\Subst{!A}{!D_2}{p_2})}{!D_1}{p_1}$:} - p_1 & \lif \Subst{\Box(p_1 \land \lnot\Box p_1)}{\Diamond(p_2 \lif p_3)}{p_1}, \text{ i.e.,}\\ + & \Subst{(p_1 \lif \Box(p_1 \land \lnot\Box p_1))}{\Diamond(p_2 \lif p_3)}{p_1}, \text{ i.e.,}\\ \Diamond(p_2 \lif p_3) & \lif \Box(\Diamond(p_2 \lif p_3) \land \lnot\Box\Diamond(p_2 \lif p_3)). diff --git a/content/normal-modal-logic/syntax-and-semantics/tautological-instances.tex b/content/normal-modal-logic/syntax-and-semantics/tautological-instances.tex index 88171d297..6d9febe5a 100644 --- a/content/normal-modal-logic/syntax-and-semantics/tautological-instances.tex +++ b/content/normal-modal-logic/syntax-and-semantics/tautological-instances.tex @@ -70,7 +70,7 @@ \Leftrightarrow {} & \mSat{M}{\SSubst{\lnot !B}{\subst{!D_1}{p_1}, \dots, \subst{!D_n}{p_n}}}[w]\\ - &\qquad \text{by definition of $\pSat{v}{}$}. + &\qquad \text{by definition of $\mSat{M}{}[w]$}. \end{align*}}}{} \tagitem{prvAnd}{\indcase{!A}{(!B \land !C)}{% \begin{align*} @@ -121,7 +121,7 @@ \end{align*}}}{} \tagitem{prvIff}{\indcase{!A}{(!B \liff !C)}{% \begin{align*} - \pSat{v}{!B \lif !C} \Leftrightarrow {} & + \pSat{v}{!B \liff !C} \Leftrightarrow {} & \text{either } \pSat{v}{!B} \text{ and } \pSat{v}{!C}\\ & \text{or } \pSat/{v}{!B} \text{ and } \pSat/{v}{!C}\\ &\qquad \text{by definition of $\pSat{v}{}$}\\ diff --git a/content/normal-modal-logic/syntax-and-semantics/truth-at-w.tex b/content/normal-modal-logic/syntax-and-semantics/truth-at-w.tex index 64bf65a47..3a1af6b36 100644 --- a/content/normal-modal-logic/syntax-and-semantics/truth-at-w.tex +++ b/content/normal-modal-logic/syntax-and-semantics/truth-at-w.tex @@ -89,7 +89,7 @@ $\mSat{M}{!A}[w']$. Again by definition of $\mSat{M}{}[w]$, that is the case iff $\mSat{M}{\Box !A}[w]$. \item \iftag{probDiamond}{Exercise.}{$\mSat{M}{\lnot\Box\lnot !A}[w]$ iff - $\mSat/{M}{\Box\lnot !A}$. $\mSat{M}{\Box\lnot !A}[w]$ iff for all + $\mSat/{M}{\Box\lnot !A}[w]$. $\mSat{M}{\Box\lnot !A}[w]$ iff for all $w'$ with $Rww'$, $\mSat{M}{\lnot !A}[w']$. Hence, $\mSat/{M}{\Box\lnot !A}[w]$ iff for some $w'$ with $Rww'$, $\mSat/{M}{\lnot !A}[w']$. We also have $\mSat/{M}{\lnot diff --git a/content/normal-modal-logic/tableaux/completeness.tex b/content/normal-modal-logic/tableaux/completeness.tex index 5c46f355b..667f8df59 100644 --- a/content/normal-modal-logic/tableaux/completeness.tex +++ b/content/normal-modal-logic/tableaux/completeness.tex @@ -48,21 +48,21 @@ \begin{explain} For instance, a complete branch contains $\sFmla{\True}{!B}[\sigma]$ and $\sFmla{\True}{!C}[\sigma]$ whenever it contains $\sFmla{\True}{!B - \land !C}$. If it contains $\sFmla{\True}{!B \lor !C}[\sigma]$ it -contains at least one of $\sFmla{\False}{!B}[\sigma]$ and + \land !C}[\sigma]$. If it contains $\sFmla{\True}{!B \lor !C}[\sigma]$ it +contains at least one of $\sFmla{\True}{!B}[\sigma]$ and $\sFmla{\True}{!C}[\sigma]$. If it contains \iftag{prvBox} -{$\sFmla{\False}{\Box}[\sigma]$} {$\sFmla{\True}{\Diamond}[\sigma]$} -it also contains \iftag{prvBox} {$\sFmla{\False}{\Box}[\sigma.n]$} -{$\sFmla{\True}{\Diamond}[\sigma.n]$} for at least one~$n$. And -whenever it contains \iftag{prvBox} {$\sFmla{\True}{\Box}[\sigma]$} -{$\sFmla{\False}{\Diamond}[\sigma]$} it also contains \iftag{prvBox} -{$\sFmla{\True}{\Box}[\sigma.n]$} -{$\sFmla{\False}{\Diamond}[\sigma.n]$} for every~$n$ such that +{$\sFmla{\False}{\Box !B}[\sigma]$} {$\sFmla{\True}{\Diamond !B}[\sigma]$} +it also contains \iftag{prvBox} {$\sFmla{\False}{!B}[\sigma.n]$} +{$\sFmla{\True}{!B}[\sigma.n]$} for at least one~$n$. And +whenever it contains \iftag{prvBox} {$\sFmla{\True}{\Box !B}[\sigma]$} +{$\sFmla{\False}{\Diamond !B}[\sigma]$} it also contains \iftag{prvBox} +{$\sFmla{\True}{!B}[\sigma.n]$} +{$\sFmla{\False}{!B}[\sigma.n]$} for every~$n$ such that $\sigma.n$ is used on the branch. \end{explain} \begin{prop}\ollabel{prop:complete-tableau} - Every finite $\Gamma$ has !!a{tableau} in which every branch is complete. + Every finite $\Gamma$ has !!a{tableau} in which every branch is closed or complete. \end{prop} \begin{proof} @@ -77,18 +77,25 @@ finite, and the number of used prefixes on the branch is finite, this procedure eventually results in (possibly many) branches extending the original branch. Apply the procedure to each, and - repeat. But by construction, every branch is closed. + repeat. By construction, every branch that remains open is complete. \end{proof} +As in \olref[rul]{sec}, initial assumptions all have prefix $1$. +For an arbitrary set $\Gamma$ of such assumptions, a closed tableau +means a closed finite tableau from some finite subset of $\Gamma$; +freshness is tested on the actual finite branch. + \begin{thm}[Completeness] \ollabel{thm:tableau-completeness} If $\Gamma$ has no closed !!{tableau}, $\Gamma$ is satisfiable. \end{thm} \begin{proof} -By the proposition, $\Gamma$ has !!a{tableau} in which every branch is -complete. Since it has no closed !!{tableau}, it thas has !!a{tableau} in -which at least one branch is open and complete. Let $\Delta$ be the +First suppose that $\Gamma$ is finite. If it is empty, an arbitrary +one-world model, with the empty prefix interpretation, satisfies it. +Otherwise, by the proposition, $\Gamma$ has !!a{tableau} in which +every branch is closed or complete. Since it has no closed +!!{tableau}, at least one branch is open and complete. Let $\Delta$ be the set of prefixed !!{formula}s on the branch, and $P(\Delta)$ the set of prefixes occurring in it. @@ -143,7 +150,7 @@ $\sFmla{\False}{!C}[\sigma] \in \Delta$ since the branch is complete. By induction hypothesis, either $\mSat/{M(\Delta)}{!B}[\sigma]$ or - $\mSat/{M(\Delta)}{!B}[\sigma]$. Thus + $\mSat/{M(\Delta)}{!C}[\sigma]$. Thus $\mSat/{M(\Delta)}{\indfrm}[\sigma]$.}} \item \indcase{!A}{!B \lor !C}{\iftag{probOr}{Exercise.}{If $\sFmla{\True}{\indfrm}[\sigma] \in \Delta$, then either @@ -159,7 +166,7 @@ $\sFmla{\False}{!C}[\sigma] \in \Delta$ since the branch is complete. By induction hypothesis, both $\mSat/{M(\Delta)}{!B}[\sigma]$ and - $\mSat/{M(\Delta)}{!B}[\sigma]$. Thus + $\mSat/{M(\Delta)}{!C}[\sigma]$. Thus $\mSat/{M(\Delta)}{\indfrm}[\sigma]$.}} \item \indcase{!A}{!B \lif !C}{\iftag{probIf}{Exercise.}{If $\sFmla{\True}{\indfrm}[\sigma] \in \Delta$, then either @@ -175,7 +182,7 @@ $\sFmla{\False}{!C}[\sigma] \in \Delta$ since the branch is complete. By induction hypothesis, both $\mSat{M(\Delta)}{!B}[\sigma]$ and - $\mSat/{M(\Delta)}{!B}[\sigma]$. Thus + $\mSat/{M(\Delta)}{!C}[\sigma]$. Thus $\mSat/{M(\Delta)}{\indfrm}[\sigma]$.}} \item \indcase{!A}{\Box !B}{\iftag{probBox}{Exercise.}{If $\sFmla{\True}{\indfrm}[\sigma] \in \Delta$, then, since the @@ -211,6 +218,14 @@ $\mSat/{M(\Delta)}{\indfrm}[\sigma]$.}} \end{enumerate} Since $\Gamma \subseteq \Delta$, $\mSat{M(\Delta)}{\Gamma}$. +For arbitrary $\Gamma$, every finite subset is satisfiable by the +finite case. Replace each true-signed initial formula by its formula +and each false-signed one by its negation. The resulting ordinary +theory is $\Log{K}$-consistent by soundness and the finite-premise +definition of derivability. By \olref[com][lin]{thm:lindenbaum} and +\olref[com][tru]{prop:truthlemma}, it is satisfied at a canonical +world; interpreting the common initial prefix $1$ as that world +satisfies all of $\Gamma$. \end{proof} \begin{prob} diff --git a/content/normal-modal-logic/tableaux/countermodels.tex b/content/normal-modal-logic/tableaux/countermodels.tex index cd9e721c5..c57fb4b1f 100644 --- a/content/normal-modal-logic/tableaux/countermodels.tex +++ b/content/normal-modal-logic/tableaux/countermodels.tex @@ -24,8 +24,8 @@ prefixes are only generated by the \iftag{prvBox}{$\TRule{\False}{\Box}$}{}\iftag{notprvBox,notprvDiamond}{}{ and }\iftag{prvDiamond}{$\TRule{\True}{\Diamond}$}{} - \iftag{notprvBox,notprvDiamond}{rule}{rules}, and also only have to - be applied once (and produce a single new prefix). + \iftag{notprvBox,notprvDiamond}{rule}{rules}. Each applicable rule need only + be applied once (and produces a single new prefix). \iftag{prvBox}{$\TRule{\True}{\Box}$}{}\iftag{notprvBox,notprvDiamond}{}{ and }\iftag{prvDiamond}{$\TRule{\False}{\Diamond}$}{} \iftag{notprvBox,notprvDiamond}{has}{have} to be applied potentially @@ -37,9 +37,9 @@ proof of \olref[cpl]{thm:tableau-completeness} gives us an explict model that satisfies the original set of prefixed !!{formula}s. So not only is it the case that if $\Gamma \Entails !A$, then a closed - !!{tableau} exists and $\Gamma \Proves !A$, if we look for the - closed !!{tableau} in the right way and end up with a ``complete'' - !!{tableau}, we'll not only know that $\Gamma \Entails/ !A$ but + !!{tableau} exists and $\Gamma \Proves !A$, but if we look for the + closed !!{tableau} in the right way for finite $\Gamma$ and obtain an + open complete branch, we'll not only know that $\Gamma \Entails/ !A$ but actually be able to construct a countermodel. \end{explain} @@ -73,7 +73,7 @@ The !!{tableau} is of course not finished yet. In the next step, we consider the only line without a checkmark: the prefixed !!{formula} $\sFmla{\True}{\Box(p \lor q)}[1]$ on line~$2$. The construction of - the closed tableau says to apply the $\TRule{\True}{\Box}$ rule for + the complete tableau says to apply the $\TRule{\True}{\Box}$ rule for every prefix used on the branch, i.e., for both $1.1$ and $1.2$: \begin{oltableau} [\pFmla{\False}{\Box(p \lor q) \lif (\Box p \lor \Box q)}{1}, @@ -202,11 +202,11 @@ \end{oltableau} The !!{tableau} is of course not finished yet. In the next step, we consider the only line without a checkmark: the prefixed !!{formula} - $\sFmla{\True}{\Diamond(p \land q)}[1]$ on line~$3$. The construction of - the closed tableau says to apply the $\TRule{\True}{\Diamond}$ rule for + $\sFmla{\False}{\Diamond(p \land q)}[1]$ on line~$3$. The construction of + the complete tableau says to apply the $\TRule{\False}{\Diamond}$ rule for every prefix used on the branch, i.e., for both $1.1$ and $1.2$: \begin{oltableau} - [\pFmla{\False}{\Diamond(p \land q) \lif (\Diamond p \land \Diamond q)}{1}, + [\pFmla{\False}{(\Diamond p \land \Diamond q) \lif \Diamond(p \land q)}{1}, just = \TAss, checked [\pFmla{\True}{\Diamond p \land \Diamond q}{1}, just = {\TRule{\False}{\lif}[1]}, checked @@ -282,7 +282,7 @@ $R = \{\tuple{1, 1.1}, \tuple{1, 1.2}\}$, and the assignment $V(p) = \{1.1\}$ (because line~6 contains $\sFmla{\True}{p}[1.1]$) and $V(q) = \{1.2\}$ (because line~7 contains - $\sFmla{\True}{q}[1.1]$). The model is pictured in + $\sFmla{\True}{q}[1.2]$). The model is pictured in \olref{fig:counter-Diamond}, and you can verify that it is a countermodel to $(\Diamond p \land \Diamond q) \lif \Diamond (p \land q)$. \begin{figure} diff --git a/content/normal-modal-logic/tableaux/more-rules.tex b/content/normal-modal-logic/tableaux/more-rules.tex index 439f1897e..7ce99a0f6 100644 --- a/content/normal-modal-logic/tableaux/more-rules.tex +++ b/content/normal-modal-logic/tableaux/more-rules.tex @@ -158,8 +158,8 @@ \begin{ex} - We give a closed tableau that shows $\Log{S5} \Proves \Ax{5}$, i.e., - $\Box!A \lif \Box\Diamond!A$. + We give a closed tableau that shows + $\Log{S5} \Proves \Box!A \lif \Box\Diamond!A$. \begin{oltableau} [\pFmla{\False}{\Box\formula{A} \lif \Box\Diamond \formula{A}}{1}, just = \TAss diff --git a/content/normal-modal-logic/tableaux/more-soundness.tex b/content/normal-modal-logic/tableaux/more-soundness.tex index ee3077b9c..73a6fb83e 100644 --- a/content/normal-modal-logic/tableaux/more-soundness.tex +++ b/content/normal-modal-logic/tableaux/more-soundness.tex @@ -195,13 +195,13 @@ the branch into~$\mModel{M}$, we know that $Rf(\sigma)f(\sigma.n)$. Now let $w$ be any world such that $Rf(\sigma)w$. Since $R$ is euclidean, $Rf(\sigma.n)w$. Since - $\mSat{M}{\Box !B}[f(\sigma).n]$, $\mSat{M}{!B}[w]$. Hence, + $\mSat{M}{\Box !B}[f(\sigma.n)]$, $\mSat{M}{!B}[w]$. Hence, $\mSat{M}{\Box !B}[f(\sigma)]$, and $\mModel{M}, f$ satisfies $\sFmla{\True}{\Box !B}[\sigma]$.}}{} \tagitem{prvDiamond}{The branch is expanded by applying 4r$\Diamond$ to $\sFmla{\False}{\Diamond !B}[\sigma.n] \in \Gamma$: \iftag{probDiamond}{Exercise.}{This results in a new !!{signed - formula}~$\sFmla{\True}{\Box!B}[\sigma]$ on the branch. Suppose + formula}~$\sFmla{\False}{\Diamond !B}[\sigma]$ on the branch. Suppose $\mSat{M}{\Gamma}[f]$, in particular, $\mSat/{M}{\Diamond !B}[f(\sigma.n)]$. Since $f$ is an interpretation of prefixes on the branch into~$\mModel{M}$, we know that diff --git a/content/normal-modal-logic/tableaux/rules-for-K.tex b/content/normal-modal-logic/tableaux/rules-for-K.tex index 0d738b851..82ec13906 100644 --- a/content/normal-modal-logic/tableaux/rules-for-K.tex +++ b/content/normal-modal-logic/tableaux/rules-for-K.tex @@ -16,7 +16,7 @@ $\sFmla{S}{!A}[\sigma]$ produces new !!{formula}s that are also prefixed by~$\sigma$. This should be intuitively clear: e.g., if $!A \land !B$ is true at (a world named by)~$\sigma$, then $!A$ and $!B$ -are true at~$\sigma$ (and not at any other world). We collect the +are true at~$\sigma$ (the rule makes no claim about other worlds). We collect the propositional rules in \olref{tab:prop-rules}. \begin{table} @@ -200,7 +200,7 @@ [\pFmla{\False}{\lnot\formula{A}}{1.1}, just = {\TRule{\False}{\Diamond}[4]} [\pFmla{\True}{\formula{A}}{1.1}, - just ={\TRule{\True}{\lnot}[5]}, close] + just ={\TRule{\False}{\lnot}[5]}, close] ] ] ] @@ -228,7 +228,7 @@ \begin{oltableau} [\pFmla{\True}{\lnot\Box\lnot \formula{A}}{1}, just = \TAss [\pFmla{\False}{\Box \formula{A}}{1}, just = \TAss - [\pFmla{\False}{\formula{A}}{1.1}, just = {\TRule{\True}{\Box}[2]} + [\pFmla{\False}{\formula{A}}{1.1}, just = {\TRule{\False}{\Box}[2]} [\pFmla{\False}{\Box\lnot\formula{A}}{1}, just ={\TRule{\True}{\lnot}[1]} [\pFmla{\False}{\lnot\formula{A}}{1.1}, diff --git a/content/normal-modal-logic/tableaux/soundness.tex b/content/normal-modal-logic/tableaux/soundness.tex index 598fa28bf..3b4ad94c3 100644 --- a/content/normal-modal-logic/tableaux/soundness.tex +++ b/content/normal-modal-logic/tableaux/soundness.tex @@ -116,8 +116,7 @@ the conclusions of the rule, is still satisfiable. If the rule results in split branch, we have to show that at least one of the two resulting branches is satisfiable. -\tagfalse{prvDiamond} -First, we consider the possible inferences with only one premise. +First, we consider the nonbranching rules. \begin{enumerate} \item The branch is expanded by applying $\TRule{\True}{\lnot}$ to $\sFmla{\True}{\lnot !B}[\sigma] \in \Gamma$. Then the extended @@ -138,7 +137,7 @@ both $\sFmla{\True}{!B}[\sigma]$ and $\sFmla{\True}{!C}[\sigma]$ with respect to~$f$. \item The branch is expanded by applying $\TRule{\False}{\lor}$ to - $\sFmla{\False}{!B \lor !C} \in \Gamma$: Exercise. + $\sFmla{\False}{!B \lor !C}[\sigma] \in \Gamma$: Exercise. \item The branch is expanded by applying $\TRule{\False}{\lif}$ to $\sFmla{\False}{!B \lif !C}[\sigma] \in \Gamma$: This results in two new !!{signed formula}s on the branch: $\sFmla{\True}{!B}[\sigma]$ and @@ -165,7 +164,7 @@ \item The branch is expanded by applying $\TRule{\False}{\Box}$ to $\sFmla{\False}{\Box !B}[\sigma] \in \Gamma$: \iftag{probBox}{Exercise.}{This results in a new !!{signed - formula}~$\sFmla{\False}{!A}[\sigma.n]$, where $\sigma.n$ is a + formula}~$\sFmla{\False}{!B}[\sigma.n]$, where $\sigma.n$ is a new prefix on the branch, i.e., $\sigma.n \notin P(\Gamma)$. Since $\Gamma$ is satisfiable, there is a $\Struct{M}$ and interpretation~$f$ of $P(\Gamma)$ such that $\Sat{M}{\Gamma}[f]$, @@ -189,7 +188,7 @@ \item The branch is expanded by applying $\TRule{\True}{\Diamond}$ to $\sFmla{\True}{\Diamond !B}[\sigma] \in \Gamma$: \iftag{probDiamond}{Exercise.}{This results in a new !!{signed - formula}~$\sFmla{\True}{!A}[\sigma.n]$, where $\sigma.n$ is a + formula}~$\sFmla{\True}{!B}[\sigma.n]$, where $\sigma.n$ is a new prefix on the branch, i.e., $\sigma.n \notin P(\Gamma)$. Since $\Gamma$ is satisfiable, there is a $\Struct{M}$ and interpretation~$f$ of $P(\Gamma)$ such that $\Sat{M}{\Gamma}[f]$, @@ -219,7 +218,7 @@ i.e., $\mModel{M}, f$ satisfies $\sFmla{\False}{!B}[\sigma.n]$.} }{} \end{enumerate} -Now let's consider the possible inferences with two premises. +Now let's consider the branching rules. \begin{enumerate} \item The branch is expanded by applying $\TRule{\False}{\land}$ to $\sFmla{\False}{!B \land !C}[\sigma] \in \Gamma$, which results in @@ -258,7 +257,7 @@ of~$P(\Delta)$ into~$\mModel{M}$, and $\mModel{M}$ satisfies~$\Delta$ with respect to~$f$. But by \olref{thm:tableau-soundness}, $\Delta$ is unsatisfiable since it has a closed !!{tableau}, a - contradiction. So we must have $\Gamma \Proves !A$ after all. + contradiction. So we must have $\Gamma \Entails !A$ after all. \end{proof} \begin{cor} diff --git a/content/normal-modal-logic/tableaux/tableaux.tex b/content/normal-modal-logic/tableaux/tableaux.tex index 711a86b62..6a0d1ca0c 100644 --- a/content/normal-modal-logic/tableaux/tableaux.tex +++ b/content/normal-modal-logic/tableaux/tableaux.tex @@ -13,6 +13,13 @@ countermodels from unsuccessful searches for closed tableaux. \end{editorial} +The rules and completeness arguments in this chapter concern formulas +built from !!{propositional variable}s using $\lnot$, $\land$, $\lor$, +$\lif$, $\Box$, and $\Diamond$. Before using the calculus, expand any +other connective or truth constant into this fragment. In particular, +the displayed rules do not include primitive biconditional or +truth-constant cases. + \olimport{introduction} \olimport{rules-for-K} \olimport{proofs-in-K}