Statistiques
| Révision :

root / CSL16 / submitted / appendix-free-cut-elim.tex @ 257

Historique | Voir | Annoter | Télécharger (27,1 ko)

1
\section{Proofs of Sect. \ref{sect:free-cut-elim}: free-cut elimination}
2

    
3
 \begin{proof}
4
 	[Proof of Lemma~\ref{lem:hereditaryprincipalnonlogical}]
5
 	Assume that $A$ is an occurrence of formula on the l.h.s. of the sequent and hereditarily principal for a non-logical rule (R), then a direct ancestor of this formula is principal for (R) and thus by condition 4. $A$ cannot be of the form $?A'$. The other case is identical.
6
 \end{proof}
7

    
8
     Define the  \textit{degree} of a formula as the number of logical connectives or quantifiers in it.  Let us first state an easy building-block of the proof, which comes from standard linear logic:
9
    \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
10
    Any cut $c$ whose cut-formulas $A$ are both principal formulas of logical rules distinct from $?$, $!$, $wk$, $cntr$ rules can be replaced in one step by cuts on formulas of strictly lower degree (0, 1 or 2 cuts).
11
    \end{lemma}
12
    \begin{proof}
13
    This is exactly as in plain linear logic. Just note that the case of a quantifier formula involves a substitution by a term $t$ throughout the proof, and this is where we need condition 3 on non-logical rules requiring that they are closed by substitution.
14
    \end{proof}
15

    
16
Now we have all the necessary lemmas to proceed with the proof of the theorem.
17
    \begin{proof} (of Thm  \ref{thm:free-cut-elim})
18
    Given a cut rule $c$ in a proof $\pi$, we call  \emph{degree} $\deg( c)$  the number of connectives and quantifiers of its  cut-formula. Now the \emph{degree} of the proof $\deg( \pi)$ is the multiset of the degrees of its non-anchored formulas. The degrees will be compared with the multiset ordering.
19
       The demonstration proceeds by induction on the degree  $\deg( \pi)$.  For a given degree we proceed with a sub-induction on the \textit{height} $\height{\pi}$ of the proof.
20
    
21
    Consider a proof $\pi$ of non-null degree. We want to show how to reduce it to a proof of strictly lower degree. Consider a top-most non-anchored cut $c$ in $\pi$, that is to say such that there is no non-anchored cut above $c$.  Let us call $A$ the cut-formula, and $(S_1)$ (resp. $(S_2)$) the rule above the left (resp. right) premise of $c$.  
22
\[    
23
     \vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
24
\]
25
    Intuitively we proceed as follows: if $A$ is not hereditarily principal in one of its premises  we will try to commute $c$ with the rule along its left premise  $(S_1)$, and if it is not possible commute it   with the rule along its right premise  $(S_2)$, by using Lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:standardcommutations}; if $A$ is hereditarily principal in both premises we proceed with a cut-elimination step, as in standard linear logic. For this second step, the delicate part is the elimination of exponential cuts, for which we use a big-step reduction; it works well because the contexts in the non-logical rules $(R)$ are marked with $!$ (resp. $?$) on the l.h.s. (resp. r.h.s.). 
26
    
27
    So, let us distinguish the various cases:
28
       \begin{itemize}
29
    \item \textbf{First case}: the cut-formula $A$ on the l.h.s. of  $c$ is non hereditarily principal. 
30
    
31
\begin{itemize}
32
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
33

    
34
In this case the commutation of $c$ with $(S_1)$ can be done in the usual way, by using Lemma \ref{lem:standardcommutations}. Let us handle as an example the case where $(S_1)=(\rigrul{\laand})$.
35
{\small
36
\[
37
\vlderivation{
38
\vliin{c}{}{ \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi }{ \vliin{S_1=\rigrul{\vlan}}{}{\Gamma  \seqar B_1\vlan B_2, \Delta, A}{ \vlhy{\Gamma  \seqar B_1, \Delta, A} }{\vlhy{\Gamma  \seqar  B_2,\Delta, A}}}{ \vlhy{ \Sigma, A \seqar  \Pi} }
39
}
40
\quad\to\quad
41
\vlderivation{
42
\vliin{\rigrul{\vlan}}{}{  \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi  }{
43
\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
44
}{
45
\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
46
}
47
}
48
\]
49
}
50

    
51
Observe that here $c$ is replaced by two cuts $c_1$ and $c_2$. Call $\pi_i$ the sub-derivation of last rule $c_i$, for $i=1,2$. As for $i=1, 2$ we have
52
$\deg{\pi_i}\leq \deg{\pi}$ and $\height{\pi_i}< \height{\pi}$ we can apply the induction hypothesis, and reduce $\pi_i$ to a proof $\pi'_i$ of same conclusion and with
53
$\deg{\pi'_i} < \deg{\pi_i}$. Therefore  by replacing $\pi_i$ by $\pi'_i$ for $i=1, 2$ we obtain a proof $\pi'$ such that $\deg{\pi'}<\deg{\pi}$.  
54

    
55
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar. % (see the Appendix for more examples). 
56

    
57
\item Consider now the case where $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$. Let us also assume that the cut-formula is hereditarily principal in its r.h.s. premise, because if this does not hold we can move to the second case below. 
58

    
59
First consider  $(S_1)=(\rigrul{!})$. As $A$ is not principal in the conclusion of $(\rigrul{!})$ it is of the form $A=?A'$. By assumption we know that  $A=?A'$ in the conclusion of $(S_2)$ is hereditarily principal on the l.h.s., so by Lemma \ref{lem:hereditaryprincipalnonlogical} it cannot be hereditarily principal for a non-logical rule, so by definition of hereditarily principal we deduce that $(S_2)$ is not an $(R)$ rule. It cannot be an  $(\rigrul{!})$ rule either because then $?A'$ could not be a principal formula in its conclusion. Therefore the only possibility is that 
60
 $(S_2)$ is an  $(\lefrul{?})$ rule. So the r.h.s. premise is of the shape $?A',!\Gamma' \seqar ?\Pi'$ and by Lemma \ref{lem:keycommutations} the commutation on the l.h.s. is possible. We can conclude as previously. The case where  $(S_1)=(\lefrul{?})$ is the same.
61
 
62
 Now consider the case where $(S_1)=(R)$.  As $A$ is not hereditarily principal in the conclusion of $(R)$, it is a context formula and it is on the r.h.s., so by definition of $(R)$ rules it is  the form $A=?A'$. So as before by Lemma \ref{lem:hereditaryprincipalnonlogical} we deduce that   $(S_2)=(\lefrul{?})$, and  so the r.h.s. premise is of the shape $?A',!\Gamma' \seqar ?\Pi'$.  By Lemma \ref{lem:keycommutations} the commutation on the l.h.s. is possible, and so again we conclude as previously.
63
 \end{itemize}
64
    \item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of  $c$ are both non hereditarily principal. 
65
    
66
   After the first case we are here left with the situation where  $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
67
   \begin{itemize}
68
    \item Consider the case where  $(S_1)$=$(\rigrul{!})$, $(\lefrul{?})$, so $A$ is of the form $A=?A'$. All cases of commutation of $c$ with $(S_2)$ are as in standard linear logic, except if $(S_2)=(R)$. In this case though we cannot have $A=?A'$ because of the shape of rule $(R)$. So we are done. 
69
    \item Consider  $(S_1)=(R)$. Again as $A$ is not principal in the conclusion of $(S_1)$ and on the r.h.s. of the sequent it is a context formula, and thus of the form  $A=?A'$. As $?A'$ is not principal in the conclusion of $(S_2)$, it is thus a context formula on the l.h.s. of sequent, and therefore $(S_2)$ is not a rule $(R)$. So $(S_2)$ is a logical rule. If it is not an $(\rigrul{!})$ or an $(\lefrul{?})$ it admits commutation with the cut, and we are done. If it is equal to $(\rigrul{!})$ or $(\lefrul{?})$ it cannot have $?A'$ as a context formula in the l.h.s. of its conclusion, so these subcases do not occur.  
70
   \end{itemize}
71
 
72
   
73
    \item \textbf{Third case}: the cut-formulas on the l.h.s. and r.h.s. of  $c$ are both  hereditarily principal.
74
     
75
    By assumption $c$ is non anchored, so none of the two cut-formulas is hereditarily principal for a non-logical rule $(R)$. We can deduce from that
76
    that the l.h.s. cut-formula is principal for $(S_1)$ and the r.h.s. cut-formula is principal for $(S_2)$. Call $\pi_1$ (resp. $\pi_2$) the subderivation
77
    of last rule $(S_1)$ (resp. $(S_2)$).
78
     
79
    Then we consider the following sub-cases, in order:
80
     \begin{itemize}
81
         \item \textbf{weakening sub-case}: this is the case  when one of the premises of $c$ is a $wk$ rule. W.l.o.g. assume that it is the left premise of $c$ which is conclusion of $\rigrul{\wk}$, with principal formula $A$. We eliminate the cut by keeping only the l.h.s. proof $\pi_1$, removing the last cut $c$ and last    $\rigrul{\wk}$ rule    on $A$, and by adding enough
82
        $\rigrul{\wk}$, $\lefrul{\wk}$ rules to introduce all the new formulas in the final sequent.  The degree has decreased.
83

    
84
      \item \textbf{exponential sub-case}: this is when one of the premises of $c$ is conclusion of a $cntr$, $\rigrul{?}$ or $\lefrul{!}$ rule on a formula $?A$ or $!A$, and the other one is not a conclusion of $\wk$.
85
      
86
       Assume w.l.o.g. that it is the right premise which is conclusion of $\lefrul{\cntr}$ or $\lefrul{!}$ on $!A$, and thus the only possibility for the left premise is to  be conclusion of $\rigrul{!}$.  This is rule $(S_1)$ on the picture, last rule of the subderivation $\pi_1$, and we denote its conclusion as $!\Gamma' \seqar ?\Delta', !A$. We will use here a global rewriting step. For that consider in $\pi_2$ all the top-most direct ancestors of the cut-formula $!A$, that is to say direct ancestors which do not have any more direct ancestors above. Let us denote them as $!A^{j}$ for $1\leq j \leq k$. Observe that each $!A^{j}$ is principal formula of a rule $\lefrul{!}$ or $\lefrul{wk}$. Denote by $\rho$ the subderivation
87
       of $\pi_2$ which has as leaves the sequents premises of these  $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
88
       Let $\rho'$ be a derivation obtained from $\rho$ by renaming if necessary eigenvariables occurring in premises of rules $\lefrul{\exists}$, $\rigrul{\forall}$, $(R)$  so that none of them belongs to $FV(!\Gamma', ?\Delta')$, where we recall that $!\Gamma' \seqar ?\Delta',!A$ is the l.h.s. premise of the cut $c$.
89
  Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion       $!\Gamma' \seqar ?\Delta',A$.  We then define the derivation 
90
  $\rho''$ obtained from   $\rho'$ in the following way:
91
  \begin{itemize}
92
  \item add a cut $c_j$ with (a copy) of $\pi'_1$ on $A^j$ at each leaf which is premise of a rule  $\lefrul{!}$;
93
  \item add to each sequent coming from $\rho'$  an additional context $!\Gamma'$ on the l.h.s. and an additional context $?\Delta'$ on the r.h.s., and additional $wk$ rules to introduce these formulas below the $\lefrul{wk}$ rules on formulas $!A^{j}$;
94
  \item introduce suitable $\lefrul{cntr}$ and $\rigrul{cntr}$ rules after multiplicative binary rules $\rigrul{\land}$, $\lefrul{\lor}$  in such a way to replace $!\Gamma', !\Gamma'$ (resp. $?\Delta', ?\Delta'$) by  $!\Gamma'$ (resp. $?\Delta'$). 
95
  \end{itemize}
96
  
97
  It can be checked that  $\rho''$ is a valid derivation, because all the conditions for context-sensitive rules $(\rigrul{\forall})$, $(\lefrul{\exists})$, $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ are satisfied. In particular the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ are satisfied because the contexts have been enlarged with $!$ formulas on the l.h.s. of the sequents ($!\Gamma'$) and ?  formulas on the r.h.s. of the sequents ($?\Gamma'$).  
98
  
99
  Now, let $\pi'$ be the derivation obtained from $\pi$ by removing the cut $c$ and replacing the subderivation $\rho$ by $\rho''$. The derivation $\pi'$ is a valid one, it has the same conclusion $!\Gamma', \Sigma \seqar ?\Delta', \Pi$ and with respect to $\pi$ we have replaced one non-anchored cut $c$ with at most $k$ ones $c_j$, but which are of strictly lower degree. So $\deg(\pi')<\deg(\pi)$ and we are done.
100

    
101
      
102
      \item \textbf{logical sub-case}: we are now left with the case where both premises of $c$ are conclusions of rules others than $?$, $!$, $wk$, $cntr$. We can thus apply Lemma \ref{lem:logical steps}.
103
         If one of the premises is an axiom $\lefrul{\bot}$, $\id$ or $\rigrul{\bot}$, then $\pi$ can be rewritten to a suitable proof $\pi'$ by removing $c$ and the axiom rule. Otherwise both premises introduce the same connective, either  $\land$, $\lor$, $\laor$, $\laand$, $\forall$ or $\exists$. In each case a specific rewriting rule replaces the cut $c$ with one cut of strictly lower degree. 
104
      %See the Appendix.
105
           \end{itemize}
106
     \end{itemize}
107
     \end{proof}
108

    
109
%\section{Some cut-elimination cases}
110
%We work in a one-sided calculus for full linear logic. When working in the affine setting we simply drop the condition that weakened formulae are $?$-ed.
111
%
112
%As well as all usual rules, we have the induction rule:
113
%\[
114
%\vlinf{\indr}{(x \notin FV (\Gamma) )}{? \Gamma, A^\perp (0) , A(t)}{? \Gamma , A^\perp (x) , A(s x) }
115
%\]
116
%
117
%We give all the various cut-reduction cases in the following section but first we give a simple cut-elimination argument.
118
%
119
%\subsection{A basic (free-)cut elimination argument}
120
%We give an argument that easily scales to free-cut elimination, i.e.\ in the presence of non-logical rules.
121
%
122
%\newcommand{\anarrow}[2]{\overset{#1}{\underset{#2}{\longrightarrow}}}
123
%\newcommand{\cutredlin}{\mathit{ma}}
124
%\newcommand{\cutredexp}{exp}
125
%
126
%\begin{definition}
127
%	Let $\anarrow{}{\cutredexp}$ denote the reduction steps concerning exponential cuts, and $\anarrow{}{\cutredlin}$ be the set of cut-reduction steps concerning multiplicative and additive cuts.
128
%\end{definition}
129
%
130
%\newcommand{\rk}{\mathsf{rk}}
131
%	\renewcommand{\deg}{\mathsf{deg}}
132
%\begin{definition}
133
%	[Measures]
134
%	For a $\anarrow{}{\cutredlin}$-redex $r$, let its \emph{degree} $\deg( r)$ be the number of logical connectives or quantifiers in its cut-formula. For a proof $\pi$, its \emph{degree} $\deg( \pi)$ is the multiset of the degree of its redexes.
135
%\end{definition}
136
%
137
%\begin{proposition}
138
%If $\pi$ is not $\anarrow{}{\cutredlin}$-normal then there is a derivation $L:\pi \anarrow{*}{\cutredlin} \pi'$ such that $\deg(\pi')< \deg(\pi)$.
139
%\end{proposition}
140
%\begin{proof}
141
%	First let us show the statement in the special case that $\pi$ contains precisely one $\cut$-inference as its final step, by induction on $|\pi|$. Each commutative $\anarrow{}{\cutredlin}$-step results in us being able to apply the inductive hypothesis to smaller proofs,- in the case of $\vlan $ two smaller proofs. Each key $\anarrow{}{\cutredlin}$-case strictly reduces the degree of the proof. Consequently we can eventually transform $\pi$ to a proof $\pi'$ which has possibly several cuts of smaller degree, as required.
142
%	
143
%	Now to the general case, we simply apply the above procedure to the subproof above a topmost cut in $\pi$.
144
%\end{proof}
145
%\begin{corollary}
146
%	$\anarrow{}{\cutredlin}$ is weakly normalising.
147
%\end{corollary}
148
%
149
%
150
%\newcommand{\cntdown}{\mathit{cn}}
151
%\begin{definition}
152
%	[Lazy contraction]
153
%	Let $\anarrow{}{\cntdown}$ comprise of the following reduction steps:
154
%	\begin{enumerate}
155
%		\item The commuting steps,
156
%			\[
157
%			\vlderivation{
158
%				\vlin{\rho}{}{\Gamma', ?A, }{
159
%					\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ? A, ? A}}
160
%				}
161
%			}
162
%			\quad\to \quad
163
%			\vlderivation{
164
%				\vlin{\cntr}{}{\Gamma', ?A}{
165
%					\vlin{\rho}{}{\Gamma', ?A, ?A}{\vlhy{\Gamma, ? A, ? A}}
166
%				}
167
%			}	
168
%			\]
169
%			for each unary rule $\rho$.
170
%			\item 
171
%			The key steps:
172
%			\[ 	
173
%			\begin{array}{rcl}
174
%			\vlderivation{
175
%				\vlin{\cntr}{}{\Gamma, ?A}{
176
%					\vlin{\wk}{}{\Gamma, ?A, ?A}{\vlhy{\Gamma, ?A}}
177
%				}
178
%			}
179
%			\quad &\to & \quad
180
%			\Gamma, ?A 
181
%%			\]
182
%%			and
183
%%			\[
184
%\\
185
%\noalign{\smallskip}
186
%				\vlderivation{
187
%					\vlin{\wk}{}{\Gamma, ?A, ?A}{
188
%						\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ?A, ?A}}
189
%					}
190
%				}
191
%				\quad &\to& \quad
192
%				\Gamma, ?A, ?A
193
%							\end{array}
194
%			\].
195
%\item The commuting steps,
196
%\[
197
%	\vlderivation{
198
%		\vliin{\rho}{}{\Gamma ,?A}{
199
%			\vlin{\cntr}{}{\Gamma_1, ?A}{\vlhy{\Gamma_1, ?A, ?A}}
200
%		}{\vlhy{\Gamma_2}}
201
%	}
202
%	\quad \to \quad
203
%	\vlderivation{
204
%		\vlin{\cntr}{}{\Gamma, ?A}{
205
%			\vliin{\rho}{}{\Gamma,?A, ?A}{\vlhy{\Gamma_1, ?A, ?A}}{ \vlhy{\Gamma_2} }
206
%		}
207
%	}
208
%\]
209
%%\[
210
%%\begin{array}{rcl}
211
%%	\vlderivation{
212
%%		\vliin{\land}{}{\Gamma, \Delta, ?A, B\land C}{
213
%%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
214
%%		}{\vlhy{\Delta, C}}
215
%%	}
216
%%	\quad &\to &\quad
217
%%	\vlderivation{
218
%%		\vlin{\cntr}{}{\Gamma, \Delta, ?A, B\land C}{
219
%%			\vliin{\land}{}{\Gamma, \Delta, ?A, ?A, B\land C}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, C} }
220
%%		}
221
%%	}
222
%%%	\]
223
%%%	
224
%%%	\[
225
%%\\
226
%%\noalign{\smallskip}
227
%%	\vlderivation{
228
%%		\vliin{\cut}{}{\Gamma, \Delta, ?A}{
229
%%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
230
%%		}{\vlhy{\Delta, \lnot{B}}}
231
%%	}
232
%%	\quad &\to& \quad
233
%%	\vlderivation{
234
%%		\vlin{\cntr}{}{\Gamma, \Delta, ?A}{
235
%%			\vliin{\cut}{}{\Gamma, \Delta, ?A, ?A}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, \lnot{B}} }
236
%%		}
237
%%	}
238
%%\end{array}
239
%%\]
240
%for each binary rule $\rho \in \{ \land, \cut \}$.
241
%\item The commuting step:
242
%	\[
243
%	\vlderivation{
244
%		\vliin{\vlan}{}{\Gamma, ?A, B\vlan C}{
245
%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
246
%		}{\vlhy{\Gamma, ?A, B}}
247
%	}
248
%	\quad \to \quad
249
%	\vlderivation{
250
%		\vlin{\cntr}{}{\Gamma, ?A, B\vlan C}{
251
%			\vliin{\vlan}{}{\Gamma, ?A, ?A, B\vlan C}{\vlhy{\Gamma, ?A, ?A, B}}{
252
%				\vlin{\wk}{}{\Gamma, ?A, ?A, C}{\vlhy{\Gamma, ?A, C}}
253
%			}
254
%		}
255
%	}
256
%	\]
257
%	\end{enumerate}
258
%	For binary rules:
259
%
260
%\end{definition}
261
%\begin{proposition}
262
%	$\anarrow{}{\cntdown}$ is weakly normalising
263
%	, modulo $\cntr$-$\cntr$ redexes,
264
%	and degree-preserving. 
265
%	If $\pi$ is $\anarrow{}{\cutredlin}$-normal and $\pi \downarrow_\cntdown \pi'$, then so is $\pi'$.
266
%\end{proposition}
267
%\begin{proof}
268
%	By induction on the number of redexes in a proof. Start with bottommost redex, by induction on number of inference steps beneath it.
269
%\end{proof}
270
%
271
%\begin{remark}
272
%	Only weakly normalising since $\cntr$ can commute with $\cntr$, allowing cycles.
273
%\end{remark}
274
%
275
%\begin{proposition}
276
%	If $\pi$ is $\anarrow{}{\cutredexp}$-reducible but $\anarrow{}{\cutredlin}$- and $\anarrow{}{\cntdown}$-normal then there is a derivation $H:\pi \anarrow{*}{\cutredexp} \pi'$ such that $\deg (\pi')<\deg(\pi)$.
277
%\end{proposition}
278
%
279
%
280
%
281
%\subsection{Base cases}
282
%
283
%\[
284
%\vlderivation{
285
%\vliin{\cut}{}{ \Gamma,a }{ \vlhy{\Gamma,a} }{ \vlin{\id}{}{a,a^\bot}{ \vlhy{} } }
286
%}
287
%\quad\to\quad
288
%\vlderivation{
289
%\Gamma,a
290
%}
291
%\]
292
%
293
%\[
294
%\vlderivation{
295
%\vliin{\cut}{}{\Gamma}{ \vlin{\bot}{}{ \Gamma,\bot }{ \vlhy{\Gamma} } }{ \vlin{1}{}{1}{ \vlhy{} } }
296
%}
297
%\quad\to\quad
298
%\vlderivation{
299
%\Gamma
300
%}
301
%\]
302
%
303
%\[
304
%\vlderivation{
305
%\vliin{\cut}{}{ \Gamma,\Delta,\top }{ \vlin{\top}{}{ \Gamma,\top,0 }{ \vlhy{} } }{ \vlhy{\Delta , \top } }
306
%}
307
%\quad\to\quad
308
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
309
%\]
310
%
311
%\subsection{Commutative cases}
312
%These are the cases when the principal formula of a step is not active for the cut-step below.
313
%
314
%\begin{enumerate}
315
%\item The cut-step is immediately preceded by an initial step. Note that only the case for $\top$ applies:
316
%\[
317
%\vlderivation{
318
%\vliin{\cut}{}{\Gamma,\Delta,\top}{ 
319
%\vlin{\top}{  }{ \Gamma,\top,A }{ \vlhy{} }
320
% }{ \vlhy{\Delta,A^\bot } }
321
%}
322
%\quad\to\quad
323
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
324
%\]
325
%%Notice that this commutation eliminates the cut entirely and preserves the height of all cuts below.
326
%\item\label{CaseCommOneStep} A cut-step is immediately preceded by a step $\rho$ with exactly one premiss:
327
%\[
328
%\vlderivation{
329
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
330
%}
331
%\]
332
%We have three subcases:
333
%\begin{enumerate}
334
%\item\label{subcase:unary-commutation-vanilla} 
335
%%$\Delta$ consists of only $?$-ed formulae or 
336
%If $\rho \notin \{! , \indr \}$ then we can simply permute as follows:
337
%\begin{equation}
338
%\label{eqn:com-case-unary-simple}
339
%\vlderivation{
340
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
341
%}
342
%\quad \to \quad
343
%\vlderivation{
344
%\vlin{\rho}{}{\Gamma',\Delta}{
345
%\vliin{\cut}{}{\Gamma,\Delta}{\vlhy{\Gamma,A}}{\vlhy{A^\bot , \Delta}}
346
%}
347
%}
348
%\end{equation}
349
%(If $\rho$ was $\forall$ then we might need to rename some free variables in $\Delta$.)
350
%\item $\rho $ is a $!$-step. Therefore $\Gamma$ has the form $? \Sigma , B$ and $A$ has the form $?C$, yielding the following situation:
351
%\[
352
%\vlderivation{
353
%\vliin{\cut}{}{? \Sigma, !B, \Delta }{
354
%\vlin{!}{}{? \Sigma, !B , ?C}{\vlhy{?\Sigma , B , ?C}  }
355
%}{
356
%\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
357
%}
358
%}
359
%\]
360
%Now, if $!C^\perp$ is principle for $\rho'$ then $\rho'\in \{! , \indr\}$ and so $\Delta $ must be $?$-ed; in this case we are able to apply the transformation \eqref{eqn:com-case-unary-simple}. Otherwise $A^\perp$ is not principal for $\rho'$ and so $\rho' \notin \{! , \indr \}$, which means we can apply \ref{subcase:unary-commutation-vanilla} along this side of the subproof.
361
%\item $\rho$ is a $\indr$-step. Therefore $\Gamma$ has the form $? \Sigma , B^\perp(x), B(s x) $ and $A$ has the form $?C$, and the argument is similar to the case above.
362
%% yielding the following situation:
363
%%\[
364
%%\vlderivation{
365
%%	\vliin{\cut}{}{? \Sigma, B^\perp (0) , B(t), \Delta }{
366
%%		\vlin{\indr}{}{? \Sigma, B^\perp (0) , B(t) , ?C}{\vlhy{?\Sigma , B^\perp(x) , B(s x) , ?C}  }
367
%%	}{
368
%%	\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
369
%%}
370
%%}
371
%%\]
372
%\end{enumerate}
373
%
374
%
375
%
376
%\item A cut-step is immediately preceded by a $\vlte $-step:
377
%\[
378
%\vlderivation{
379
%\vliin{\cut}{}{\Gamma,\Delta,\Sigma,A\vlte B }{
380
%\vliin{\vlte}{}{\Gamma,\Delta,A\vlte B,C }{\vlhy{\Gamma,A,C}}{\vlhy{\Delta,B}}
381
%}{\vlhy{ \Sigma , C^\bot  }}
382
%}
383
%\quad\to\quad
384
%\vlderivation{
385
%\vliin{\vlte}{}{\Gamma,\Delta,\Sigma,A\vlte B}{
386
%\vliin{\cut}{}{\Gamma,\Sigma,A}{\vlhy{\Gamma,A,C}}{\vlhy{\Sigma,C^\bot}}
387
%}{\vlhy{\Delta,B}}
388
%}
389
%\]
390
%%Notice that this commutation might increase the height of any cuts below along the right branch of the indicated cut, but decreases the height along the left branch.
391
%\item\label{CommCaseAmpersand} A cut-step is immediately preceded by a $\vlan$-step.
392
%\[
393
%\vlderivation{
394
%\vliin{\cut}{}{ \Gamma,\Delta,A\vlan B }{ \vliin{\vlan}{}{\Gamma,A\vlan B,C}{ \vlhy{\Gamma,A,C} }{\vlhy{\Gamma,B,C}}}{ \vlhy{\Delta, C^\bot} }
395
%}
396
%\quad\to\quad
397
%\vlderivation{
398
%\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
399
%\vliin{cut}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
400
%}{
401
%\vliin{ \cut }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
402
%}
403
%}
404
%\]
405
%\item (No rule for cuts commuting with cuts.)
406
%%A cut-step is immediately preceded by another cut-step:
407
%\[
408
%\vlderivation{
409
%	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{
410
%		\vliin{\cut}{}{\Gamma, \Delta, B}{\vlhy{\Gamma, A}}{\vlhy{\Delta, \lnot{A}, B}}
411
%		}{\vlhy{\Sigma, \lnot{B}}}
412
%	}
413
%	\quad\to\quad
414
%\vlderivation{
415
%	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{\vlhy{\Gamma, A}}{
416
%		\vliin{\cut}{}{\Delta, \Sigma, \lnot{A}}{\vlhy{\Delta, \lnot{A}, B}}{\vlhy{\Sigma, \lnot{B}}}
417
%		}
418
%	}
419
%\]
420
%\end{enumerate}
421
%
422
%
423
%
424
%\subsection{Key cases: structural steps}
425
%%[THIS SECTION MIGHT NOT BE NECESSARY]
426
%We attempt to permute cuts on exponential formulae over structural steps whose principal formula is active for the cut. 
427
%
428
%We use the commutative case \ref{CaseCommOneStep} to assume that the topmost cut-step in a sequence has already been permuted up to its origin on the $!$-side. 
429
%
430
%We have two cases.
431
%\begin{enumerate}
432
%\item\label{StructStepCont} The structural step preceding the cut is a weakening:
433
%\[
434
%\vlderivation{
435
%\vliin{\cut}{}{?\Gamma,\Delta}{ \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} } }{ \vlin{w}{}{ ?A^\bot }{ \vlhy{\Delta	} } }
436
%}
437
%\quad\to\quad
438
%\vlinf{w}{}{?\Gamma,\Delta}{ \Delta }
439
%\]
440
%%\item The structural step preceding the cut is a contraction:
441
%%\[
442
%%\vlderivation{
443
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
444
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
445
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
446
%%}
447
%%\quad\to\quad
448
%%\vlderivation{
449
%%\vliq{c}{}{?\Gamma, \Delta}{
450
%%\vliin{\cut}{}{?\Gamma, ?\Gamma,\Delta }{
451
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
452
%%}{
453
%%\vliin{\cut}{}{?\Gamma,?A^\bot , \Delta }{
454
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
455
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
456
%%}
457
%%}
458
%%}
459
%%\]
460
%%OR use a multicut:
461
%%\[
462
%%\vlderivation{
463
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
464
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
465
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
466
%%}
467
%%\quad\to\quad
468
%%\vlderivation{
469
%%\vliin{\multicut}{}{?\Gamma,?A^\bot , \Delta }{
470
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
471
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
472
%%}
473
%%\]
474
%\item The structural step preceding a cut is a contraction:
475
%\[
476
%\vlderivation{
477
%	\vliin{\cut}{}{?\Gamma, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
478
%		\vlin{\cntr}{}{ ?A,\Sigma }{ \vlhy{ ?A,?A,\Sigma } }
479
%	}
480
%}
481
%\quad\to\quad
482
%\vlderivation{
483
%	\vliq{\cntr}{}{ ?\Gamma,\Sigma }{
484
%		\vliin{\cut}{}{ ?\Gamma,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
485
%			\vliin{\cut}{}{ ?A,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,\Sigma } }
486
%		}
487
%	}
488
%}
489
%\]
490
%%\item The structural step preceding a cut is a parallel contraction:
491
%%\[
492
%%\vlderivation{
493
%%\vliin{\cut}{}{?\Gamma,?\Delta, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
494
%%\vlin{}{}{ ?A,?\Delta,\Sigma }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
495
%%}
496
%%}
497
%%\quad\to\quad
498
%%\vlderivation{
499
%%\vlin{}{}{ ?\Gamma,?\Delta,\Sigma }{
500
%%\vliin{\cut}{}{ ?\Gamma,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
501
%%\vliin{\cut}{}{ ?A,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
502
%%}
503
%%}
504
%%}
505
%%\]
506
%\end{enumerate}
507
%
508
%\subsection{Key cases: logical steps}
509
%Finally, once all cuts have been permuted maximally on both sides, we have the cases when the cut-formula is principal for a preceding logical step on both sides. We have three cases, one for every pair of connectives.
510
%\begin{enumerate}
511
%\item The cut-formula is multiplicative:
512
%\[
513
%\vlderivation{
514
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{
515
%\vliin{\vlte}{}{ \Gamma,\Delta,A\vlte B }{ \vlhy{\Gamma,A} }{ \vlhy{\Delta,B} }
516
%}{ \vlin{\vlpa}{}{ \Sigma, A^\bot \vlpa B^\bot }{ \vlhy{\Sigma , A^\bot , B^\bot} } }
517
%}
518
%\quad\to\quad
519
%\vlderivation{
520
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{ \vlhy{\Gamma,A} }{
521
%\vliin{\cut}{}{ \Delta,\Sigma,A^\bot }{ \vlhy{\Delta,B} }{ \vlhy{\Sigma , A^\bot,B^\bot } }
522
%}
523
%}
524
%\]
525
%\item The cut-formula is additive,
526
%\[
527
%\vlderivation{
528
%\vliin{\cut}{}{ \Gamma,\Delta }{ 
529
%\vliin{\vlan}{}{ \Gamma,A\vlan B }{ \vlhy{\Gamma,A} }{ \vlhy{\Gamma,B} }
530
% }{ \vlin{\vlor}{}{ \Delta,A^\bot\vlor B^\bot }{ \vlhy{\Delta, A^\bot } } }
531
%}
532
%\quad\to\quad
533
%\vliinf{\cut}{}{ \Gamma,\Delta }{ \Gamma,A }{ \Delta,A^\bot }
534
%\]
535
%where the case for the other $\vlor$-rule is symmetric.
536
%\item The cut-formula is exponential.
537
%\[
538
%\vlderivation{
539
%\vliin{\cut}{}{ ?\Gamma,\Delta }{
540
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
541
%}{
542
%\vlin{?}{}{ \Delta,?A^\bot }{ \vlhy{\Delta, A^\bot } }
543
%}
544
%}
545
%\quad\to\quad
546
%\vliinf{\cut}{}{ ?\Gamma,\Delta }{ ?\Gamma,A }{ \Delta,A^\bot }
547
%\]
548
%\item The cut-formula is quantified.
549
%\[
550
%\vlderivation{
551
%	\vliin{\cut}{}{\Gamma, \Delta}{
552
%		\vlin{\forall}{}{\Gamma, \forall x. A(x)}{\vltr{\pi(a)}{\Gamma, A(a)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}}
553
%		}{
554
%		\vlin{\exists}{}{\Delta, \exists x . \lnot{A}(x)}{\vlhy{\Delta, \lnot{A}(t)}}
555
%		}
556
%	}
557
%	\quad \to \quad
558
%	\vlderivation{
559
%		\vliin{\cut}{}{\Gamma, \Delta}{
560
%			\vltr{\pi(t)}{\Gamma, A(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
561
%			}{\vlhy{\Delta, \lnot{A}(t)}}
562
%		}
563
%\]
564
%\end{enumerate}
565