content/normal-modal-logic/sequent-calculus/sequent-calculus.tex
1% Part: normal-modal-logic2% Chapter: sequent-calculus34\documentclass[../../../include/open-logic-chapter]{subfiles}56\begin{document}78\olchapter{nml}{seq}{Modal Sequent Calculus}9%\tagfalse{prvDiamond}10\begin{editorial}11 Draft chapter on sequent calculi for modal logic. Needs more12 examples, soundness and completeness proofs.13\end{editorial}1415\olimport{introduction}16\olimport{rules-for-K}17\olimport{proofs-in-K}18%\olimport{soundness}19\olimport{more-rules}20%\olimport{more-soundness}21%\olimport{hypersequents-S5}2223\OLEndChapterHook2425\end{document}26
content/normal-modal-logic/sequent-calculus/introduction.tex
1% Part: normal-modal-logic2% Chapter: sequent-calculus3% Section: introduction45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{nml}{seq}{int}1011\olsection{Introduction}1213The sequent calculus for propositional logic can be extended by14additional rules that deal15with~\iftag{prvBox}{$\Box$\iftag{prvDiamond}{ and~}{}}{}%16\iftag{prvDiamond}{$\Diamond$}{}. For instance, for~$\Log{K}$, we17have \Log{LK} plus:18\[19 \iftag{prvBox}{\iftag{prvDiamond}{% <> and [] primitive20 \Axiom$\Gamma \fCenter \Delta, !A$21 \RightLabel{$\Box$}22 \UnaryInf$\Box\Gamma \fCenter \Diamond\Delta, \Box!A$23 \DisplayProof 24 \qquad25 \Axiom$!A, \Gamma \fCenter \Delta$26 \RightLabel{$\Diamond$}27 \UnaryInf$\Diamond!A, \Box\Gamma \fCenter \Diamond\Delta$28 \DisplayProof29}{% only Box primitive30\Axiom$\Gamma \fCenter !A$31\RightLabel{$\Box$}32\UnaryInf$\Box\Gamma \fCenter \Box!A$33\DisplayProof34}}{% only <> primitive35 \Axiom$!A \fCenter \Delta$36 \RightLabel{$\Diamond$}37 \UnaryInf$\Diamond!A \fCenter \Diamond\Delta$38 \DisplayProof39}40\]41For extensions of~$\Log{K}$, additional rules have to be added as42well.4344Not every modal logic has such a sequent calculus. Even $\Log{S5}$,45which is semantically simple (it can be defined without using46accessibility relations at all) is not known to have a sequent47calculus that results from~$\Log{LK}$ which is complete without the48rule~\Cut. However, it has a cut-free complete \emph{hypersequent}49calculus.5051\end{document}
content/normal-modal-logic/sequent-calculus/rules-for-K.tex
1% Part: normal-modal-logic2% Chapter: sequent-calculus3% Section: rules-for-K45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{nml}{seq}{rul}1011\olsection{Rules for \Log{K}}1213The rules for the regular propositional connectives are the same as14for regular sequent calculus~$\Log{LK}$. Axioms are also the same: any15sequent of the form $!A \Sequent !A$ counts as an axiom.1617For the modal operator\iftag{prvBox}{\iftag{prvDiamond}{s~$\Box$18and}{~$\Box$}}{}\iftag{prvDiamond}{~$\Diamond$}{}, we have the19following additional \iftag{notprvBox,notprvDiamond}{rule}{rules}:20\[21 \iftag{prvBox}{\iftag{prvDiamond}{% <> and [] primitive22 \Axiom$\Gamma \fCenter \Delta, !A$23 \RightLabel{$\Box$}24 \UnaryInf$\Box\Gamma \fCenter \Diamond\Delta, \Box!A$25 \DisplayProof 26 \qquad27 \Axiom$!A, \Gamma \fCenter \Delta$28 \RightLabel{$\Diamond$}29 \UnaryInf$\Diamond!A, \Box\Gamma \fCenter \Diamond\Delta$30 \DisplayProof31}{% only Box primitive32\Axiom$\Gamma \fCenter !A$33\RightLabel{$\Box$}34\UnaryInf$\Box\Gamma \fCenter \Box!A$35\DisplayProof36}}{% only <> primitive37 \Axiom$!A \fCenter \Delta$38 \RightLabel{$\Diamond$}39 \UnaryInf$\Diamond!A \fCenter \Diamond\Delta$40 \DisplayProof41}42\]43Here, \iftag{prvBox}{$\Box\Gamma$ means the sequence of !!{formula}s44resulting from~$\Gamma$ by putting $\Box$ in front of every45!!{formula} in~$\Gamma$\iftag{prvDiamond}{ and46}{}}{}\iftag{prvDiamond}{$\Diamond\Delta$ is the sequence of47!!{formula}s resulting from~$\Delta$ by putting $\Diamond$ in front of48every !!{formula} in~$\Delta$}{}. \iftag{notprvDiamond}{The right side49of the premise of the $\Box$ rule must contain at most one50!!{formula}~$!A$. }{}%51\iftag{notprvBox}{The left side of the premise of the $\Diamond$52rule must contain at most one !!{formula}~$!A$. }{}%53\iftag{prvBox}{$\Gamma$\iftag{prvDiamond}{~and~}{}}{}\iftag{prvDiamond}{$\Delta$}{}54may be empty; in that case the corresponding part55\iftag{prvBox}{$\Box\Gamma$\iftag{prvDiamond}{~and~}{}}{}\iftag{prvDiamond}{$\Diamond\Delta$}{}56of the conclusion sequent is empty as well.5758The restriction of adding a59\iftag{prvBox}{$\Box$ on the right\iftag{prvDiamond}{ and60}{}}{}\iftag{prvDiamond}{$\Diamond$ on the left}{}61to a single !!{formula}~$!A$ is necessary. If we allowed to62\iftag{prvBox}{add $\Box$ to any number of !!{formula}s on the63right\iftag{prvDiamond}{ or to }{}}{}\iftag{prvDiamond}{add $\Diamond$64to any number of !!{formula}s on the left}{} we would be able to65!!{derive}:66 \[67 \iftag{prvBox}{68 \Axiom$!A \fCenter !A$69 \RightLabel{\RightR{\lnot}}70 \UnaryInf$\fCenter !A, \lnot !A$71 \RightLabel{$\Box*$}72 \UnaryInf$\fCenter \Box!A, \Box\lnot !A$73 \doubleLine74 \RightLabel{\RightR{\lor}}75 \UnaryInf$\fCenter \Box!A \lor \Box \lnot !A$76 \DisplayProof}{}77 \iftag{notprvBox,notprvDiamond}{}{\qquad}78 \iftag{prvDiamond}{79 \Axiom$!A \fCenter !A$80 \RightLabel{\LeftR{\lnot}}81 \UnaryInf$\lnot !A, !A \fCenter$82 \RightLabel{$\Diamond*$}83 \UnaryInf$\Diamond\lnot !A,\Diamond!A \fCenter $84 \RightLabel{\RightR{\lnot}}85 \UnaryInf$\Diamond!A \fCenter \lnot\Diamond\lnot !A$86 \RightLabel{\RightR{\lif}}87 \UnaryInf$ \fCenter \Diamond!A \lif \lnot\Diamond\lnot !A$88 \DisplayProof}{}89 \]90But \iftag{prvBox}{$\Box!A \lor \Box \lnot !A$\iftag{prvDiamond}{ and91$\Diamond!A \lif \lnot\Diamond\lnot !A$ are}{is}}{$\Diamond!A \lif92\lnot\Diamond\lnot !A$ is} not valid in~$\Log{K}$.9394If we allowed side formulas in addition to~$!A$ in the premise, and95allowed \iftag{prvBox}{the $\Box$ rule to add $\Box$ to only~$!A$ on96the right\iftag{prvDiamond}{, or allowed }{}}{}\iftag{prvDiamond}{the97$\Diamond$ rule to add $\Diamond$ to only~$!A$ on the left}{} (but do98nothing to the side formulas) we would be able to !!{derive}:99\[100 \iftag{prvBox}{101 \Axiom$!A \fCenter !A$102 \RightLabel{\RightR{\lnot}}103 \UnaryInf$\fCenter !A, \lnot !A$104 \RightLabel{\RightR{\Exchange}}105 \UnaryInf$\fCenter \lnot !A, !A$106 \RightLabel{$\Box*$}107 \UnaryInf$\fCenter \lnot!A, \Box !A$108 \doubleLine109 \RightLabel{\RightR{\lor}}110 \UnaryInf$\fCenter \lnot!A \lor \Box !A$111 \DisplayProof}{}112 \iftag{notprvBox,notprvDiamond}{}{\qquad}113 \iftag{prvDiamond}{114 \Axiom$!A \fCenter !A$115 \RightLabel{\LeftR{\lnot}}116 \UnaryInf$\lnot !A, !A \fCenter$117 \RightLabel{$\Diamond*$}118 \UnaryInf$\Diamond\lnot !A, !A \fCenter $119 \RightLabel{\RightR{\lnot}}120 \UnaryInf$!A \fCenter \lnot\Diamond\lnot !A$121 \RightLabel{\RightR{\lif}}122 \UnaryInf$ \fCenter !A \lif \lnot\Diamond\lnot !A$123 \DisplayProof}{}124\]125But \iftag{prvBox}{$\lnot!A \lor \Box !A$ (which is equivalent to $!A126\lif \Box!A$)\iftag{prvDiamond}{ and $!A \lif \lnot\Diamond\lnot !A$127are}{is}}{$!A \lif \lnot\Diamond\lnot !A$ is} not valid in~$\Log{K}$.128129\end{document}
content/normal-modal-logic/sequent-calculus/proofs-in-K.tex
1% Part: normal-modal-logic2% Chapter: sequent-calculus3% Section: proofs-in-K45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{nml}{seq}{prk}1011\olsection{Sequent \usetoken{P}{derivation} for \Log{K}}1213\iftag{prvBox}{1415\begin{ex}16 We give a sequent calculus !!{derivation} that shows $\Proves (\Box!A \land \Box!B)17 \lif \Box (!A \land !B)$.18 \begin{prooftree}19 \Axiom$!A \fCenter !A$20 \doubleLine21 \UnaryInf$!B, !A \fCenter !A$ 22 \Axiom$!B \fCenter !B$23 \doubleLine24 \UnaryInf$!B, !A \fCenter !B$ 25 \RightLabel{\RightR{\land}}26 \BinaryInf$!B, !A \fCenter !A \land !B$ 27 \RightLabel{$\Box$}28 \UnaryInf$\Box!B, \Box!A \fCenter \Box29 (!A \land !B)$30 \RightLabel{\LeftR{\land}}31 \UnaryInf$\Box!A \land \Box!B, \Box!A \fCenter \Box32 (!A \land !B)$33 \RightLabel{\LeftR{\Exchange}}34 \UnaryInf$\Box!A, \Box!A \land \Box!B \fCenter \Box35 (!A \land !B)$36 \RightLabel{\LeftR{\land}}37 \UnaryInf$\Box!A \land \Box!B, \Box!A \land \Box!B \fCenter \Box (!A \land !B)$38 \RightLabel{\LeftR{\Contraction}}39 \UnaryInf$\Box!A \land \Box!B \fCenter \Box (!A \land !B)$40 \RightLabel{\RightR{\lif}}41 \UnaryInf$\fCenter (\Box!A \land \Box!B)42 \lif \Box (!A \land !B)$43 \end{prooftree}44\end{ex}45}{}4647\iftag{prvDiamond}{48 \begin{ex}49 We give a sequent calculus !!{derivation} that shows $\Proves \Diamond(!A50 \lor !B) \lif (\Diamond !A \lor \Diamond!B)$.51 \begin{prooftree}52 \Axiom$!A \fCenter !A$53 \doubleLine54 \UnaryInf$!A \fCenter !A, !B$ 55 \Axiom$!B \fCenter !B$56 \doubleLine57 \UnaryInf$!B \fCenter !A, !B$ 58 \RightLabel{\LeftR{\lor}}59 \BinaryInf$!A \lor !B \fCenter !A, !B$ 60 \RightLabel{$\Diamond$}61 \UnaryInf$\Diamond(!A \lor !B) \fCenter 62 \Diamond !A, \Diamond!B$63 \RightLabel{\RightR{\lor}}64 \UnaryInf$\Diamond(!A \lor !B) \fCenter 65 \Diamond !A, \Diamond !A \lor \Diamond!B$66 \RightLabel{\RightR{\Exchange}}67 \UnaryInf$\Diamond(!A \lor !B) \fCenter \Diamond !A \lor \Diamond!B, \Diamond !A$68 \RightLabel{\RightR{\lor}}69 \UnaryInf$\Diamond(!A \lor !B) \fCenter 70 \Diamond !A \lor \Diamond!B, \Diamond !A \lor \Diamond!B$71 \RightLabel{\RightR{\Contraction}}72 \UnaryInf$\Diamond(!A73 \lor !B) \fCenter \Diamond !A \lor \Diamond!B$74 \RightLabel{\RightR{\lif}}75 \UnaryInf$\fCenter \Diamond(!A76 \lor !B) \lif (\Diamond !A \lor \Diamond!B)$77 \end{prooftree}78 \end{ex}79}{}8081\iftag{notprvBox,notprvDiamond}{}{82 Here is !!a{derivation} of~\Dual.83 \begin{prooftree}84 \Axiom$!A \fCenter !A$85 \RightLabel{\RightR{\lnot}}86 \UnaryInf$\lnot !A, !A \fCenter $87 \RightLabel{$\Diamond$}88 \UnaryInf$\Diamond\lnot !A, \Box !A \fCenter $89 \RightLabel{\RightR{\lnot}}90 \UnaryInf$\Box !A \fCenter \lnot\Diamond\lnot !A$91 \RightLabel{\RightR{\lif}}92 \UnaryInf$\fCenter \Box !A \lif \lnot\Diamond\lnot !A$93 \Axiom$!A \fCenter !A$94 \RightLabel{\RightR{\lnot}}95 \UnaryInf$\fCenter !A, \lnot !A $96 \RightLabel{\RightR{\Exchange}}97 \UnaryInf$\fCenter \lnot !A, !A $98 \RightLabel{$\Box$}99 \UnaryInf$\fCenter \Diamond\lnot !A, \Box !A$100 \RightLabel{\RightR{\Exchange}}101 \UnaryInf$\fCenter \Box !A, \Diamond\lnot !A$102 \RightLabel{\RightR{\lnot}}103 \UnaryInf$\lnot\Diamond\lnot !A \fCenter \Box !A$104 \RightLabel{\RightR{\lif}}105 \UnaryInf$\fCenter \lnot \Diamond \lnot !A \lif \Box !A$106 \RightLabel{\RightR{\land}}107 \BinaryInf$\fCenter \Box !A \liff \lnot\Diamond\lnot !A$ 108 \end{prooftree} 109110% this does not work if problems are deferred111% \begin{prob}112% Give !!a{derivation} of $\Diamond!A \liff \lnot\Box\lnot !A$113% in~$\Log{K}$.114% \end{prob}115}116117\begin{prob}118 Find sequent calculus proofs in~$\Log{K}$ for the following119 !!{formula}s:120 \begin{enumerate}121 \item $\Box \lnot p \lif \Box(p \lif q)$122 \item $(\Box p \lor \Box q) \lif \Box(p \lor q)$123 \item $\Diamond p \lif \Diamond(p \lor q)$124 \item $\Box(p \land q) \lif \Box p$125 \end{enumerate}126\end{prob}127128\end{document}
content/normal-modal-logic/sequent-calculus/more-rules.tex
1% Part: normal-modal-logic2% Chapter: sequent-calculus3% Section: more-rules45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{nml}{seq}{mru}1011\olsection{Rules for Other Accessibility Relations}1213In order to deal with logics determined by special accessibility14relations, we consider the additional rules in \olref{tab:more-rules}.1516\iftag{prvBox}{\iftag{prvDiamond}{% [] and <> primitive17\begin{table}18 \begin{center}19 \def\arraystretch{3}20 \begin{tabular}{cc}21 \hline22 \Axiom$!A, \Gamma \fCenter \Delta$23 \RightLabel{T$\Box$}24 \UnaryInf$\Box!A, \Gamma \fCenter \Delta$25 \DisplayProof26 &27 \Axiom$\Gamma \fCenter \Delta, !A$28 \RightLabel{T$\Diamond$}29 \UnaryInf$\Gamma \fCenter \Delta, \Diamond!A$30 \DisplayProof31 \\[1ex]32% \hline33 \multicolumn{2}{c}{34 \Axiom$\Gamma \fCenter \Delta$35 \RightLabel{D}36 \UnaryInf$\Box\Gamma \fCenter \Diamond\Delta$37 \DisplayProof}38 \\[1ex]39% \hline40 \Axiom$\Gamma, \Diamond\Pi \fCenter \Box\Delta, \Lambda, !A$41 \RightLabel{B$\Box$}42 \UnaryInf$\Box\Gamma, \Pi \fCenter \Delta, \Diamond\Lambda, \Box!A$43 \DisplayProof44 &45 \Axiom$!A, \Diamond\Gamma, \Pi \fCenter \Box\Lambda, \Delta$46 \RightLabel{B$\Diamond$}47 \UnaryInf$\Diamond!A, \Gamma, \Box\Pi \fCenter \Lambda, \Diamond\Delta$48 \DisplayProof49 \\[1ex]50% \hline51 \Axiom$\Box\Gamma \fCenter \Diamond\Delta, !A$52 \RightLabel{4$\Box$}53 \UnaryInf$\Box\Gamma \fCenter \Diamond\Delta, \Box!A$54 \DisplayProof55 &56 \Axiom$!A, \Box\Gamma \fCenter \Diamond\Delta$57 \RightLabel{4$\Diamond$}58 \UnaryInf$\Diamond!A, \Box\Gamma \fCenter \Diamond\Delta$59 \DisplayProof60 \\[1ex]61% \hline62 \Axiom$\Box\Gamma, \Diamond\Pi \fCenter \Box\Delta,63 \Diamond\Lambda, !A$64 \RightLabel{5$\Box$}65 \UnaryInf$\Box\Gamma, \Diamond\Pi \fCenter \Box\Delta,66 \Diamond\Lambda, \Box!A$67 \DisplayProof68&69 \Axiom$!A, \Diamond\Gamma, \Box\Pi \fCenter \Diamond\Delta, \Box\Lambda$70 \RightLabel{5$\Diamond$}71 \UnaryInf$\Diamond!A,\Diamond\Gamma,\Box\Pi \fCenter \Diamond\Delta,\Box\Lambda$72 \DisplayProof73 \\[1ex]74 \hline75 \end{tabular}76 \end{center}77 \caption{More modal rules.}78 \ollabel{tab:more-rules}79\end{table}80}{ % only [] primitive81\begin{table}82 \begin{center}83 \def\arraystretch{3}84 \begin{tabular}{cc}85 \hline86 \Axiom$!A,\Gamma \fCenter \Delta$87 \RightLabel{T$\Box$}88 \UnaryInf$\Box!A, \Gamma \fCenter \Delta$89 \DisplayProof90 &91 %\hline92 \Axiom$\Gamma \fCenter$93 \RightLabel{D$\Box$}94 \UnaryInf$\Box\Gamma \fCenter$95 \DisplayProof96 \\[1ex]97 %\hline98 \Axiom$\Gamma \fCenter \Box\Delta, !A$99 \RightLabel{B$\Box$}100 \UnaryInf$\Box\Gamma \fCenter \Delta, \Box!A$101 \DisplayProof102 &103 %\hline104 \Axiom$\Box\Gamma \fCenter !A$105 \RightLabel{4$\Box$}106 \UnaryInf$\Box\Gamma \fCenter \Box!A$107 \DisplayProof108 \\[1ex]109 %\hline110 \multicolumn{2}{c}{\Axiom$\Box\Gamma \fCenter \Box\Delta, !A$111 \RightLabel{5$\Box$}112 \UnaryInf$\Box\Gamma \fCenter \Box\Delta, \Box!A$113 \DisplayProof}114 \\[1ex]115 \hline116 \end{tabular}117 \end{center}118 \caption{More modal rules.}119 \ollabel{tab:more-rules}120\end{table}121}}{% only <> primitive122\begin{table}123 \begin{center}124 \def\arraystretch{3}125 \begin{tabular}{cc}126 \hline127 \Axiom$\Gamma \fCenter \Delta, !A$128 \RightLabel{T$\Diamond$}129 \UnaryInf$\Gamma \fCenter \Delta, \Diamond!A$130 \DisplayProof131 &132 %\hline133 \Axiom$\fCenter \Delta$134 \RightLabel{D$\Diamond$}135 \UnaryInf$\fCenter \Diamond\Delta$136 \DisplayProof137 \\[1ex]138 %\hline139 \Axiom$!A, \Diamond\Gamma \fCenter \Delta$140 \RightLabel{B$\Diamond$}141 \UnaryInf$\Diamond!A, \Gamma \fCenter \Diamond\Delta$142 \DisplayProof143 &144 %\hline145 \Axiom$!A \fCenter \Diamond\Delta$146 \RightLabel{4$\Diamond$}147 \UnaryInf$\Diamond!A \fCenter \Diamond\Delta$148 \DisplayProof149 \\[1ex]150 %\hline151 \multicolumn{2}{c}{152 \Axiom$!A, \Diamond\Gamma \fCenter \Diamond\Delta$153 \RightLabel{5$\Diamond$}154 \UnaryInf$\Diamond!A,\Diamond\Gamma \fCenter \Diamond\Delta$155 \DisplayProof}156 \\[1ex]157 \hline158 \end{tabular}159 \end{center}160 \caption{More modal rules.}161 \ollabel{tab:more-rules}162\end{table}163}164165Adding these rules results in systems that are sound and complete for166the logics given in \olref{tab:logics-rules}.167168\begin{table}169 \begin{center}170 \begin{tabular}{lll}171 \hline172 Logic & $R$ is \dots & Rules\\173 \hline174 $\Log{T} = \Log{KT}$ & reflexive & $\Box$,175 \iftag{prvBox}{T$\Box$}{}%176 \iftag{notprvBox,notprvDiamond}{}{, }%177 \iftag{prvDiamond}{T$\Diamond$}{}178 \\ \hline179 $\Log{D} = \Log{KD}$ & serial & $\Box$,180 \iftag{prvBox}{%181 \iftag{prvDiamond}{D}{D$\Box$}}{D$\Diamond$}182 \\ \hline183 $\Log{K4}$ & transitive & $\Box$,184 \iftag{prvBox}{4$\Box$}{}% 185 \iftag{notprvBox,notprvDiamond}{}{, }%186 \iftag{prvDiamond}{4$\Diamond$}{}187 \\ \hline188 $\Log{B} = \Log{KTB}$ & reflexive, & $\Box$,189 \iftag{prvBox}{T$\Box$}{}%190 \iftag{notprvBox,notprvDiamond}{}{, }%191 \iftag{prvDiamond}{T$\Diamond$}{}\\192 & symmetric &193 \iftag{prvBox}{B$\Box$}{}%194 \iftag{notprvBox,notprvDiamond}{}{, }%195 \iftag{prvDiamond}{B$\Diamond$}{}196 \\ \hline197 $\Log{S4} = \Log{KT4}$ & reflexive, & $\Box$,198 \iftag{prvBox}{T$\Box$}{}%199 \iftag{notprvBox,notprvDiamond}{}{, }%200 \iftag{prvDiamond}{T$\Diamond$}{}\\201 & transitive &202 \iftag{prvBox}{4$\Box$}{}%203 \iftag{notprvBox,notprvDiamond}{}{, }%204 \iftag{prvDiamond}{4$\Diamond$}{}205 \\ \hline206 $\Log{S5} = \Log{KT5}$ & reflexive, & $\Box$,207 \iftag{prvBox}{T$\Box$}{}%208 \iftag{notprvBox,notprvDiamond}{}{, }%209 \iftag{prvDiamond}{T$\Diamond$}{}\\210 & transitive, &211 \iftag{prvBox}{5$\Box$}{}%212 \iftag{notprvBox,notprvDiamond}{}{, }%213 \iftag{prvDiamond}{5$\Diamond$}{}\\214 & euclidean &215 \\ \hline216 \end{tabular}217 \end{center}218 \caption{Sequent rules for various modal logics.}219 \ollabel{tab:logics-rules}220\end{table}221222\iftag{prvBox}{223\begin{ex}224 We give a sequent !!{derivation} that shows $\Log{K4} \Proves \Ax{4}$, i.e.,225 $\Box!A \lif \Box\Box!A$.226 \begin{prooftree}227 \Axiom$\Box!A \fCenter \Box!A$228 \RightLabel{4$\Box$}229 \UnaryInf$\Box!A \fCenter \Box\Box!A$230 \RightLabel{\RightR{\lif}}231 \UnaryInf$\fCenter \Box!A \lif \Box\Box!A$232 \end{prooftree}233\end{ex}234}{\iftag{prvDiamond}{235\begin{ex}236 We give a sequent !!{derivation} that shows $\Log{K4} \Proves \Ax{4}$, i.e.,237 $\Diamond\Diamond!A \lif \Diamond!A$.238 \begin{prooftree}239 \Axiom$\Diamond!A \fCenter \Diamond!A$240 \RightLabel{4$\Diamond$}241 \UnaryInf$\Diamond\Diamond!A \fCenter \Diamond!A$242 \RightLabel{\RightR{\lif}}243 \UnaryInf$\fCenter \Diamond\Diamond!A \lif \Diamond!A$244 \end{prooftree}245\end{ex}246}{}}247248\iftag{prvBox}{\iftag{prvDiamond}{% <> and [] primitive249\begin{ex}250 We give a sequent !!{derivation} that shows $\Log{S5} \Proves \Ax{5}$, i.e.,251 $\Diamond!A \lif \Box\Diamond!A$.252 \begin{prooftree}253 \Axiom$\Diamond!A \fCenter \Diamond!A$254 \RightLabel{5$\Box$}255 \UnaryInf$\Diamond!A \fCenter \Box\Diamond!A$256 \RightLabel{\RightR{\lif}}257 \UnaryInf$\fCenter \Diamond!A \lif \Box\Diamond!A$258 \end{prooftree}259\end{ex}260}{% only Box primitive261\begin{ex}262 We give a sequent !!{derivation} that shows $\Log{S5} \Proves \Ax{5}$, i.e.,263 $\Diamond!A \lif \Box\Diamond!A$.264 \begin{prooftree}265 \Axiom$\Box\lnot!A \fCenter \Box\lnot!A$266 \RightLabel{\RightR{\lnot}}267 \UnaryInf$\fCenter \Box\lnot!A, \lnot\Box\lnot!A$268 \RightLabel{5$\Box$}269 \UnaryInf$ \fCenter \Box\lnot!A, \Box\lnot\Box\lnot!A$270 \RightLabel{\LeftR{\lnot}}271 \UnaryInf$\lnot\Box\lnot!A \fCenter \Box\lnot\Box\lnot!A$272 \RightLabel{\RightR{\lif}}273 \UnaryInf$\fCenter \lnot\Box\lnot!A \lif \Box\lnot\Box\lnot!A$274 \end{prooftree}275\end{ex}276}}{% only <> prmitive277\begin{ex}278 We give a sequent !!{derivation} that shows $\Log{S5} \Proves \Ax{5}$, i.e.,279 $\Diamond!A \lif \Box\Diamond!A$.280 \begin{prooftree}281 \Axiom$\Diamond!A \fCenter\Diamond!A$282 \RightLabel{\LeftR{\lnot}}283 \UnaryInf$\lnot\Diamond !A, \Diamond!A \fCenter $284 \RightLabel{5$\Diamond$}285 \UnaryInf$\Diamond\lnot\Diamond!A, \Diamond!A \fCenter $286 \RightLabel{\RightR{\lnot}}287 \UnaryInf$\Diamond!A \fCenter \lnot\Diamond\lnot\Diamond!A$288 \RightLabel{\RightR{\lif}}289 \UnaryInf$\fCenter \Diamond!A \lif \lnot\Diamond\lnot\Diamond!A$290 \end{prooftree}291\end{ex}292}293\begin{ex}294The sequent calculus for \Log{S5} is not complete without the \Cut{}295rule; e.g., \iftag{prvBox}{$\Diamond\Box !A \lif !A$}{$!A \lif296\Box\Diamond !A$}, which is valid in~$\Log{S5}$, has no proof297without~\Cut. Here is !!a{derivation} using~\Cut:298\begin{prooftree}299\iftag{prvBox}{\iftag{prvDiamond}{% both [] and <> primitive300\Axiom$\Box !A \fCenter \Box!A$301\RightLabel{5$\Diamond$}302\UnaryInf$\Diamond\Box!A \fCenter \Box!A$303304\Axiom$!A \fCenter !A$305\RightLabel{T$\Box$}306\UnaryInf$\Box!A \fCenter !A$307\RightLabel{\Cut}308\BinaryInf$\Diamond\Box!A \fCenter !A$309\RightLabel{\RightR{\lif}}310\UnaryInf$\fCenter \Diamond\Box!A \lif !A$311}{% only [] primitive312\Axiom$\Box !A \fCenter \Box!A$313\RightLabel{\RightR{\lnot}}314\UnaryInf$\fCenter \Box!A, \lnot\Box!A$315\RightLabel{5$\Box$}316\UnaryInf$\fCenter \Box!A, \Box\lnot\Box!A$317\RightLabel{\RightR{\Exchange}}318\UnaryInf$\fCenter \Box\lnot\Box!A, \Box!A$319320\Axiom$!A \fCenter !A$321\RightLabel{T$\Box$}322\UnaryInf$\Box!A \fCenter !A$323\RightLabel{\Cut}324\BinaryInf$ \fCenter \Box\lnot\Box!A, !A$325\RightLabel{\LeftR{\lnot}}326\UnaryInf$\lnot\Box\lnot\Box!A \fCenter !A$327\RightLabel{\RightR{\lif}}328\UnaryInf$\fCenter \lnot\Box\lnot\Box!A \lif !A$329}}{% only <> primitive330\Axiom$!A \fCenter !A$331\RightLabel{T$\Diamond$}332\UnaryInf$!A \fCenter \Diamond!A$333334\Axiom$\Diamond !A \fCenter \Diamond!A$335\RightLabel{\LeftR{\lnot}}336\UnaryInf$\lnot\Diamond!A , \Diamond!A \fCenter$337\RightLabel{5$\Diamond$}338\UnaryInf$\Diamond\lnot\Diamond!A , \Diamond!A\fCenter$339\RightLabel{\RightR{\Exchange}}340\UnaryInf$\Diamond!A, \Diamond\lnot\Diamond!A\fCenter $341342\RightLabel{\Cut}343\BinaryInf$\Diamond\lnot\Diamond!A, !A\fCenter $344\RightLabel{\RightR{\lnot}}345\UnaryInf$!A \fCenter \lnot\Diamond\lnot\Diamond!A$346\RightLabel{\RightR{\lif}}347\UnaryInf$\fCenter !A \lif \lnot\Diamond\lnot\Diamond!A$348}349\end{prooftree}350\end{ex}351352\begin{prob}353Give sequent !!{derivation}s that show the following:354 \begin{enumerate}355 \item $\Log{KT5} \Proves \Ax{B}$;356 \item $\Log{KT5} \Proves \Ax{4}$;357 \item $\Log{KDB4} \Proves \Ax{T}$;358 \item $\Log{KB4} \Proves \Ax{5}$;359 \item $\Log{KB5} \Proves \Ax{4}$;360 \item $\Log{KT} \Proves \Ax{D}$.361 \end{enumerate}362\end{prob}363364\end{document}