Statistiques
| Révision :

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

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

1 112 adas
\section{Proofs of Sect. \ref{sect:free-cut-elim}: free-cut elimination}
2 112 adas
3 112 adas
 \begin{proof}
4 112 adas
 	[Proof of Lemma~\ref{lem:hereditaryprincipalnonlogical}]
5 112 adas
 	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 112 adas
 \end{proof}
7 112 adas
8 112 adas
     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 112 adas
    \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
10 112 adas
    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 112 adas
    \end{lemma}
12 112 adas
    \begin{proof}
13 112 adas
    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 112 adas
    \end{proof}
15 112 adas
16 112 adas
Now we have all the necessary lemmas to proceed with the proof of the theorem.
17 112 adas
    \begin{proof} (of Thm  \ref{thm:free-cut-elim})
18 112 adas
    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 112 adas
       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 112 adas
21 112 adas
    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 112 adas
\[
23 112 adas
     \vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
24 112 adas
\]
25 112 adas
    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 112 adas
27 112 adas
    So, let us distinguish the various cases:
28 112 adas
       \begin{itemize}
29 112 adas
    \item \textbf{First case}: the cut-formula $A$ on the l.h.s. of  $c$ is non hereditarily principal.
30 112 adas
31 112 adas
\begin{itemize}
32 112 adas
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
33 112 adas
34 112 adas
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 112 adas
{\small
36 112 adas
\[
37 112 adas
\vlderivation{
38 112 adas
\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 112 adas
}
40 112 adas
\quad\to\quad
41 112 adas
\vlderivation{
42 112 adas
\vliin{\rigrul{\vlan}}{}{  \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi  }{
43 112 adas
\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
44 112 adas
}{
45 112 adas
\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
46 112 adas
}
47 112 adas
}
48 112 adas
\]
49 112 adas
}
50 112 adas
51 112 adas
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 112 adas
$\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 112 adas
$\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 112 adas
55 112 adas
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar. % (see the Appendix for more examples).
56 112 adas
57 112 adas
\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 112 adas
59 112 adas
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 112 adas
 $(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 112 adas
62 112 adas
 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 112 adas
 \end{itemize}
64 112 adas
    \item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of  $c$ are both non hereditarily principal.
65 112 adas
66 112 adas
   After the first case we are here left with the situation where  $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
67 112 adas
   \begin{itemize}
68 112 adas
    \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 112 adas
    \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 112 adas
   \end{itemize}
71 112 adas
72 112 adas
73 112 adas
    \item \textbf{Third case}: the cut-formulas on the l.h.s. and r.h.s. of  $c$ are both  hereditarily principal.
74 112 adas
75 112 adas
    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 112 adas
    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 112 adas
    of last rule $(S_1)$ (resp. $(S_2)$).
78 112 adas
79 112 adas
    Then we consider the following sub-cases, in order:
80 112 adas
     \begin{itemize}
81 112 adas
         \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 112 adas
        $\rigrul{\wk}$, $\lefrul{\wk}$ rules to introduce all the new formulas in the final sequent.  The degree has decreased.
83 112 adas
84 112 adas
      \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 112 adas
86 112 adas
       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 112 adas
       of $\pi_2$ which has as leaves the sequents premises of these  $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
88 112 adas
       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 112 adas
  Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion       $!\Gamma' \seqar ?\Delta',A$.  We then define the derivation
90 112 adas
  $\rho''$ obtained from   $\rho'$ in the following way:
91 112 adas
  \begin{itemize}
92 112 adas
  \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 112 adas
  \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 112 adas
  \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 112 adas
  \end{itemize}
96 112 adas
97 112 adas
  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 112 adas
99 112 adas
  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 112 adas
101 112 adas
102 112 adas
      \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 112 adas
         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 112 adas
      %See the Appendix.
105 112 adas
           \end{itemize}
106 112 adas
     \end{itemize}
107 112 adas
     \end{proof}
108 112 adas
109 112 adas
%\section{Some cut-elimination cases}
110 112 adas
%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 adas
%
112 112 adas
%As well as all usual rules, we have the induction rule:
113 112 adas
%\[
114 112 adas
%\vlinf{\indr}{(x \notin FV (\Gamma) )}{? \Gamma, A^\perp (0) , A(t)}{? \Gamma , A^\perp (x) , A(s x) }
115 112 adas
%\]
116 112 adas
%
117 112 adas
%We give all the various cut-reduction cases in the following section but first we give a simple cut-elimination argument.
118 112 adas
%
119 112 adas
%\subsection{A basic (free-)cut elimination argument}
120 112 adas
%We give an argument that easily scales to free-cut elimination, i.e.\ in the presence of non-logical rules.
121 112 adas
%
122 112 adas
%\newcommand{\anarrow}[2]{\overset{#1}{\underset{#2}{\longrightarrow}}}
123 112 adas
%\newcommand{\cutredlin}{\mathit{ma}}
124 112 adas
%\newcommand{\cutredexp}{exp}
125 112 adas
%
126 112 adas
%\begin{definition}
127 112 adas
%	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 112 adas
%\end{definition}
129 112 adas
%
130 112 adas
%\newcommand{\rk}{\mathsf{rk}}
131 112 adas
%	\renewcommand{\deg}{\mathsf{deg}}
132 112 adas
%\begin{definition}
133 112 adas
%	[Measures]
134 112 adas
%	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 112 adas
%\end{definition}
136 112 adas
%
137 112 adas
%\begin{proposition}
138 112 adas
%If $\pi$ is not $\anarrow{}{\cutredlin}$-normal then there is a derivation $L:\pi \anarrow{*}{\cutredlin} \pi'$ such that $\deg(\pi')< \deg(\pi)$.
139 112 adas
%\end{proposition}
140 112 adas
%\begin{proof}
141 112 adas
%	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 112 adas
%
143 112 adas
%	Now to the general case, we simply apply the above procedure to the subproof above a topmost cut in $\pi$.
144 112 adas
%\end{proof}
145 112 adas
%\begin{corollary}
146 112 adas
%	$\anarrow{}{\cutredlin}$ is weakly normalising.
147 112 adas
%\end{corollary}
148 112 adas
%
149 112 adas
%
150 112 adas
%\newcommand{\cntdown}{\mathit{cn}}
151 112 adas
%\begin{definition}
152 112 adas
%	[Lazy contraction]
153 112 adas
%	Let $\anarrow{}{\cntdown}$ comprise of the following reduction steps:
154 112 adas
%	\begin{enumerate}
155 112 adas
%		\item The commuting steps,
156 112 adas
%			\[
157 112 adas
%			\vlderivation{
158 112 adas
%				\vlin{\rho}{}{\Gamma', ?A, }{
159 112 adas
%					\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ? A, ? A}}
160 112 adas
%				}
161 112 adas
%			}
162 112 adas
%			\quad\to \quad
163 112 adas
%			\vlderivation{
164 112 adas
%				\vlin{\cntr}{}{\Gamma', ?A}{
165 112 adas
%					\vlin{\rho}{}{\Gamma', ?A, ?A}{\vlhy{\Gamma, ? A, ? A}}
166 112 adas
%				}
167 112 adas
%			}
168 112 adas
%			\]
169 112 adas
%			for each unary rule $\rho$.
170 112 adas
%			\item
171 112 adas
%			The key steps:
172 112 adas
%			\[
173 112 adas
%			\begin{array}{rcl}
174 112 adas
%			\vlderivation{
175 112 adas
%				\vlin{\cntr}{}{\Gamma, ?A}{
176 112 adas
%					\vlin{\wk}{}{\Gamma, ?A, ?A}{\vlhy{\Gamma, ?A}}
177 112 adas
%				}
178 112 adas
%			}
179 112 adas
%			\quad &\to & \quad
180 112 adas
%			\Gamma, ?A
181 112 adas
%%			\]
182 112 adas
%%			and
183 112 adas
%%			\[
184 112 adas
%\\
185 112 adas
%\noalign{\smallskip}
186 112 adas
%				\vlderivation{
187 112 adas
%					\vlin{\wk}{}{\Gamma, ?A, ?A}{
188 112 adas
%						\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ?A, ?A}}
189 112 adas
%					}
190 112 adas
%				}
191 112 adas
%				\quad &\to& \quad
192 112 adas
%				\Gamma, ?A, ?A
193 112 adas
%							\end{array}
194 112 adas
%			\].
195 112 adas
%\item The commuting steps,
196 112 adas
%\[
197 112 adas
%	\vlderivation{
198 112 adas
%		\vliin{\rho}{}{\Gamma ,?A}{
199 112 adas
%			\vlin{\cntr}{}{\Gamma_1, ?A}{\vlhy{\Gamma_1, ?A, ?A}}
200 112 adas
%		}{\vlhy{\Gamma_2}}
201 112 adas
%	}
202 112 adas
%	\quad \to \quad
203 112 adas
%	\vlderivation{
204 112 adas
%		\vlin{\cntr}{}{\Gamma, ?A}{
205 112 adas
%			\vliin{\rho}{}{\Gamma,?A, ?A}{\vlhy{\Gamma_1, ?A, ?A}}{ \vlhy{\Gamma_2} }
206 112 adas
%		}
207 112 adas
%	}
208 112 adas
%\]
209 112 adas
%%\[
210 112 adas
%%\begin{array}{rcl}
211 112 adas
%%	\vlderivation{
212 112 adas
%%		\vliin{\land}{}{\Gamma, \Delta, ?A, B\land C}{
213 112 adas
%%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
214 112 adas
%%		}{\vlhy{\Delta, C}}
215 112 adas
%%	}
216 112 adas
%%	\quad &\to &\quad
217 112 adas
%%	\vlderivation{
218 112 adas
%%		\vlin{\cntr}{}{\Gamma, \Delta, ?A, B\land C}{
219 112 adas
%%			\vliin{\land}{}{\Gamma, \Delta, ?A, ?A, B\land C}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, C} }
220 112 adas
%%		}
221 112 adas
%%	}
222 112 adas
%%%	\]
223 112 adas
%%%
224 112 adas
%%%	\[
225 112 adas
%%\\
226 112 adas
%%\noalign{\smallskip}
227 112 adas
%%	\vlderivation{
228 112 adas
%%		\vliin{\cut}{}{\Gamma, \Delta, ?A}{
229 112 adas
%%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
230 112 adas
%%		}{\vlhy{\Delta, \lnot{B}}}
231 112 adas
%%	}
232 112 adas
%%	\quad &\to& \quad
233 112 adas
%%	\vlderivation{
234 112 adas
%%		\vlin{\cntr}{}{\Gamma, \Delta, ?A}{
235 112 adas
%%			\vliin{\cut}{}{\Gamma, \Delta, ?A, ?A}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, \lnot{B}} }
236 112 adas
%%		}
237 112 adas
%%	}
238 112 adas
%%\end{array}
239 112 adas
%%\]
240 112 adas
%for each binary rule $\rho \in \{ \land, \cut \}$.
241 112 adas
%\item The commuting step:
242 112 adas
%	\[
243 112 adas
%	\vlderivation{
244 112 adas
%		\vliin{\vlan}{}{\Gamma, ?A, B\vlan C}{
245 112 adas
%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
246 112 adas
%		}{\vlhy{\Gamma, ?A, B}}
247 112 adas
%	}
248 112 adas
%	\quad \to \quad
249 112 adas
%	\vlderivation{
250 112 adas
%		\vlin{\cntr}{}{\Gamma, ?A, B\vlan C}{
251 112 adas
%			\vliin{\vlan}{}{\Gamma, ?A, ?A, B\vlan C}{\vlhy{\Gamma, ?A, ?A, B}}{
252 112 adas
%				\vlin{\wk}{}{\Gamma, ?A, ?A, C}{\vlhy{\Gamma, ?A, C}}
253 112 adas
%			}
254 112 adas
%		}
255 112 adas
%	}
256 112 adas
%	\]
257 112 adas
%	\end{enumerate}
258 112 adas
%	For binary rules:
259 112 adas
%
260 112 adas
%\end{definition}
261 112 adas
%\begin{proposition}
262 112 adas
%	$\anarrow{}{\cntdown}$ is weakly normalising
263 112 adas
%	, modulo $\cntr$-$\cntr$ redexes,
264 112 adas
%	and degree-preserving.
265 112 adas
%	If $\pi$ is $\anarrow{}{\cutredlin}$-normal and $\pi \downarrow_\cntdown \pi'$, then so is $\pi'$.
266 112 adas
%\end{proposition}
267 112 adas
%\begin{proof}
268 112 adas
%	By induction on the number of redexes in a proof. Start with bottommost redex, by induction on number of inference steps beneath it.
269 112 adas
%\end{proof}
270 112 adas
%
271 112 adas
%\begin{remark}
272 112 adas
%	Only weakly normalising since $\cntr$ can commute with $\cntr$, allowing cycles.
273 112 adas
%\end{remark}
274 112 adas
%
275 112 adas
%\begin{proposition}
276 112 adas
%	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 112 adas
%\end{proposition}
278 112 adas
%
279 112 adas
%
280 112 adas
%
281 112 adas
%\subsection{Base cases}
282 112 adas
%
283 112 adas
%\[
284 112 adas
%\vlderivation{
285 112 adas
%\vliin{\cut}{}{ \Gamma,a }{ \vlhy{\Gamma,a} }{ \vlin{\id}{}{a,a^\bot}{ \vlhy{} } }
286 112 adas
%}
287 112 adas
%\quad\to\quad
288 112 adas
%\vlderivation{
289 112 adas
%\Gamma,a
290 112 adas
%}
291 112 adas
%\]
292 112 adas
%
293 112 adas
%\[
294 112 adas
%\vlderivation{
295 112 adas
%\vliin{\cut}{}{\Gamma}{ \vlin{\bot}{}{ \Gamma,\bot }{ \vlhy{\Gamma} } }{ \vlin{1}{}{1}{ \vlhy{} } }
296 112 adas
%}
297 112 adas
%\quad\to\quad
298 112 adas
%\vlderivation{
299 112 adas
%\Gamma
300 112 adas
%}
301 112 adas
%\]
302 112 adas
%
303 112 adas
%\[
304 112 adas
%\vlderivation{
305 112 adas
%\vliin{\cut}{}{ \Gamma,\Delta,\top }{ \vlin{\top}{}{ \Gamma,\top,0 }{ \vlhy{} } }{ \vlhy{\Delta , \top } }
306 112 adas
%}
307 112 adas
%\quad\to\quad
308 112 adas
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
309 112 adas
%\]
310 112 adas
%
311 112 adas
%\subsection{Commutative cases}
312 112 adas
%These are the cases when the principal formula of a step is not active for the cut-step below.
313 112 adas
%
314 112 adas
%\begin{enumerate}
315 112 adas
%\item The cut-step is immediately preceded by an initial step. Note that only the case for $\top$ applies:
316 112 adas
%\[
317 112 adas
%\vlderivation{
318 112 adas
%\vliin{\cut}{}{\Gamma,\Delta,\top}{
319 112 adas
%\vlin{\top}{  }{ \Gamma,\top,A }{ \vlhy{} }
320 112 adas
% }{ \vlhy{\Delta,A^\bot } }
321 112 adas
%}
322 112 adas
%\quad\to\quad
323 112 adas
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
324 112 adas
%\]
325 112 adas
%%Notice that this commutation eliminates the cut entirely and preserves the height of all cuts below.
326 112 adas
%\item\label{CaseCommOneStep} A cut-step is immediately preceded by a step $\rho$ with exactly one premiss:
327 112 adas
%\[
328 112 adas
%\vlderivation{
329 112 adas
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
330 112 adas
%}
331 112 adas
%\]
332 112 adas
%We have three subcases:
333 112 adas
%\begin{enumerate}
334 112 adas
%\item\label{subcase:unary-commutation-vanilla}
335 112 adas
%%$\Delta$ consists of only $?$-ed formulae or
336 112 adas
%If $\rho \notin \{! , \indr \}$ then we can simply permute as follows:
337 112 adas
%\begin{equation}
338 112 adas
%\label{eqn:com-case-unary-simple}
339 112 adas
%\vlderivation{
340 112 adas
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
341 112 adas
%}
342 112 adas
%\quad \to \quad
343 112 adas
%\vlderivation{
344 112 adas
%\vlin{\rho}{}{\Gamma',\Delta}{
345 112 adas
%\vliin{\cut}{}{\Gamma,\Delta}{\vlhy{\Gamma,A}}{\vlhy{A^\bot , \Delta}}
346 112 adas
%}
347 112 adas
%}
348 112 adas
%\end{equation}
349 112 adas
%(If $\rho$ was $\forall$ then we might need to rename some free variables in $\Delta$.)
350 112 adas
%\item $\rho $ is a $!$-step. Therefore $\Gamma$ has the form $? \Sigma , B$ and $A$ has the form $?C$, yielding the following situation:
351 112 adas
%\[
352 112 adas
%\vlderivation{
353 112 adas
%\vliin{\cut}{}{? \Sigma, !B, \Delta }{
354 112 adas
%\vlin{!}{}{? \Sigma, !B , ?C}{\vlhy{?\Sigma , B , ?C}  }
355 112 adas
%}{
356 112 adas
%\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
357 112 adas
%}
358 112 adas
%}
359 112 adas
%\]
360 112 adas
%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 112 adas
%\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 112 adas
%% yielding the following situation:
363 112 adas
%%\[
364 112 adas
%%\vlderivation{
365 112 adas
%%	\vliin{\cut}{}{? \Sigma, B^\perp (0) , B(t), \Delta }{
366 112 adas
%%		\vlin{\indr}{}{? \Sigma, B^\perp (0) , B(t) , ?C}{\vlhy{?\Sigma , B^\perp(x) , B(s x) , ?C}  }
367 112 adas
%%	}{
368 112 adas
%%	\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
369 112 adas
%%}
370 112 adas
%%}
371 112 adas
%%\]
372 112 adas
%\end{enumerate}
373 112 adas
%
374 112 adas
%
375 112 adas
%
376 112 adas
%\item A cut-step is immediately preceded by a $\vlte $-step:
377 112 adas
%\[
378 112 adas
%\vlderivation{
379 112 adas
%\vliin{\cut}{}{\Gamma,\Delta,\Sigma,A\vlte B }{
380 112 adas
%\vliin{\vlte}{}{\Gamma,\Delta,A\vlte B,C }{\vlhy{\Gamma,A,C}}{\vlhy{\Delta,B}}
381 112 adas
%}{\vlhy{ \Sigma , C^\bot  }}
382 112 adas
%}
383 112 adas
%\quad\to\quad
384 112 adas
%\vlderivation{
385 112 adas
%\vliin{\vlte}{}{\Gamma,\Delta,\Sigma,A\vlte B}{
386 112 adas
%\vliin{\cut}{}{\Gamma,\Sigma,A}{\vlhy{\Gamma,A,C}}{\vlhy{\Sigma,C^\bot}}
387 112 adas
%}{\vlhy{\Delta,B}}
388 112 adas
%}
389 112 adas
%\]
390 112 adas
%%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 112 adas
%\item\label{CommCaseAmpersand} A cut-step is immediately preceded by a $\vlan$-step.
392 112 adas
%\[
393 112 adas
%\vlderivation{
394 112 adas
%\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 112 adas
%}
396 112 adas
%\quad\to\quad
397 112 adas
%\vlderivation{
398 112 adas
%\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
399 112 adas
%\vliin{cut}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
400 112 adas
%}{
401 112 adas
%\vliin{ \cut }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
402 112 adas
%}
403 112 adas
%}
404 112 adas
%\]
405 112 adas
%\item (No rule for cuts commuting with cuts.)
406 112 adas
%%A cut-step is immediately preceded by another cut-step:
407 112 adas
%\[
408 112 adas
%\vlderivation{
409 112 adas
%	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{
410 112 adas
%		\vliin{\cut}{}{\Gamma, \Delta, B}{\vlhy{\Gamma, A}}{\vlhy{\Delta, \lnot{A}, B}}
411 112 adas
%		}{\vlhy{\Sigma, \lnot{B}}}
412 112 adas
%	}
413 112 adas
%	\quad\to\quad
414 112 adas
%\vlderivation{
415 112 adas
%	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{\vlhy{\Gamma, A}}{
416 112 adas
%		\vliin{\cut}{}{\Delta, \Sigma, \lnot{A}}{\vlhy{\Delta, \lnot{A}, B}}{\vlhy{\Sigma, \lnot{B}}}
417 112 adas
%		}
418 112 adas
%	}
419 112 adas
%\]
420 112 adas
%\end{enumerate}
421 112 adas
%
422 112 adas
%
423 112 adas
%
424 112 adas
%\subsection{Key cases: structural steps}
425 112 adas
%%[THIS SECTION MIGHT NOT BE NECESSARY]
426 112 adas
%We attempt to permute cuts on exponential formulae over structural steps whose principal formula is active for the cut.
427 112 adas
%
428 112 adas
%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 112 adas
%
430 112 adas
%We have two cases.
431 112 adas
%\begin{enumerate}
432 112 adas
%\item\label{StructStepCont} The structural step preceding the cut is a weakening:
433 112 adas
%\[
434 112 adas
%\vlderivation{
435 112 adas
%\vliin{\cut}{}{?\Gamma,\Delta}{ \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} } }{ \vlin{w}{}{ ?A^\bot }{ \vlhy{\Delta	} } }
436 112 adas
%}
437 112 adas
%\quad\to\quad
438 112 adas
%\vlinf{w}{}{?\Gamma,\Delta}{ \Delta }
439 112 adas
%\]
440 112 adas
%%\item The structural step preceding the cut is a contraction:
441 112 adas
%%\[
442 112 adas
%%\vlderivation{
443 112 adas
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
444 112 adas
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
445 112 adas
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
446 112 adas
%%}
447 112 adas
%%\quad\to\quad
448 112 adas
%%\vlderivation{
449 112 adas
%%\vliq{c}{}{?\Gamma, \Delta}{
450 112 adas
%%\vliin{\cut}{}{?\Gamma, ?\Gamma,\Delta }{
451 112 adas
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
452 112 adas
%%}{
453 112 adas
%%\vliin{\cut}{}{?\Gamma,?A^\bot , \Delta }{
454 112 adas
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
455 112 adas
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
456 112 adas
%%}
457 112 adas
%%}
458 112 adas
%%}
459 112 adas
%%\]
460 112 adas
%%OR use a multicut:
461 112 adas
%%\[
462 112 adas
%%\vlderivation{
463 112 adas
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
464 112 adas
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
465 112 adas
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
466 112 adas
%%}
467 112 adas
%%\quad\to\quad
468 112 adas
%%\vlderivation{
469 112 adas
%%\vliin{\multicut}{}{?\Gamma,?A^\bot , \Delta }{
470 112 adas
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
471 112 adas
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
472 112 adas
%%}
473 112 adas
%%\]
474 112 adas
%\item The structural step preceding a cut is a contraction:
475 112 adas
%\[
476 112 adas
%\vlderivation{
477 112 adas
%	\vliin{\cut}{}{?\Gamma, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
478 112 adas
%		\vlin{\cntr}{}{ ?A,\Sigma }{ \vlhy{ ?A,?A,\Sigma } }
479 112 adas
%	}
480 112 adas
%}
481 112 adas
%\quad\to\quad
482 112 adas
%\vlderivation{
483 112 adas
%	\vliq{\cntr}{}{ ?\Gamma,\Sigma }{
484 112 adas
%		\vliin{\cut}{}{ ?\Gamma,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
485 112 adas
%			\vliin{\cut}{}{ ?A,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,\Sigma } }
486 112 adas
%		}
487 112 adas
%	}
488 112 adas
%}
489 112 adas
%\]
490 112 adas
%%\item The structural step preceding a cut is a parallel contraction:
491 112 adas
%%\[
492 112 adas
%%\vlderivation{
493 112 adas
%%\vliin{\cut}{}{?\Gamma,?\Delta, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
494 112 adas
%%\vlin{}{}{ ?A,?\Delta,\Sigma }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
495 112 adas
%%}
496 112 adas
%%}
497 112 adas
%%\quad\to\quad
498 112 adas
%%\vlderivation{
499 112 adas
%%\vlin{}{}{ ?\Gamma,?\Delta,\Sigma }{
500 112 adas
%%\vliin{\cut}{}{ ?\Gamma,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
501 112 adas
%%\vliin{\cut}{}{ ?A,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
502 112 adas
%%}
503 112 adas
%%}
504 112 adas
%%}
505 112 adas
%%\]
506 112 adas
%\end{enumerate}
507 112 adas
%
508 112 adas
%\subsection{Key cases: logical steps}
509 112 adas
%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 112 adas
%\begin{enumerate}
511 112 adas
%\item The cut-formula is multiplicative:
512 112 adas
%\[
513 112 adas
%\vlderivation{
514 112 adas
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{
515 112 adas
%\vliin{\vlte}{}{ \Gamma,\Delta,A\vlte B }{ \vlhy{\Gamma,A} }{ \vlhy{\Delta,B} }
516 112 adas
%}{ \vlin{\vlpa}{}{ \Sigma, A^\bot \vlpa B^\bot }{ \vlhy{\Sigma , A^\bot , B^\bot} } }
517 112 adas
%}
518 112 adas
%\quad\to\quad
519 112 adas
%\vlderivation{
520 112 adas
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{ \vlhy{\Gamma,A} }{
521 112 adas
%\vliin{\cut}{}{ \Delta,\Sigma,A^\bot }{ \vlhy{\Delta,B} }{ \vlhy{\Sigma , A^\bot,B^\bot } }
522 112 adas
%}
523 112 adas
%}
524 112 adas
%\]
525 112 adas
%\item The cut-formula is additive,
526 112 adas
%\[
527 112 adas
%\vlderivation{
528 112 adas
%\vliin{\cut}{}{ \Gamma,\Delta }{
529 112 adas
%\vliin{\vlan}{}{ \Gamma,A\vlan B }{ \vlhy{\Gamma,A} }{ \vlhy{\Gamma,B} }
530 112 adas
% }{ \vlin{\vlor}{}{ \Delta,A^\bot\vlor B^\bot }{ \vlhy{\Delta, A^\bot } } }
531 112 adas
%}
532 112 adas
%\quad\to\quad
533 112 adas
%\vliinf{\cut}{}{ \Gamma,\Delta }{ \Gamma,A }{ \Delta,A^\bot }
534 112 adas
%\]
535 112 adas
%where the case for the other $\vlor$-rule is symmetric.
536 112 adas
%\item The cut-formula is exponential.
537 112 adas
%\[
538 112 adas
%\vlderivation{
539 112 adas
%\vliin{\cut}{}{ ?\Gamma,\Delta }{
540 112 adas
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
541 112 adas
%}{
542 112 adas
%\vlin{?}{}{ \Delta,?A^\bot }{ \vlhy{\Delta, A^\bot } }
543 112 adas
%}
544 112 adas
%}
545 112 adas
%\quad\to\quad
546 112 adas
%\vliinf{\cut}{}{ ?\Gamma,\Delta }{ ?\Gamma,A }{ \Delta,A^\bot }
547 112 adas
%\]
548 112 adas
%\item The cut-formula is quantified.
549 112 adas
%\[
550 112 adas
%\vlderivation{
551 112 adas
%	\vliin{\cut}{}{\Gamma, \Delta}{
552 112 adas
%		\vlin{\forall}{}{\Gamma, \forall x. A(x)}{\vltr{\pi(a)}{\Gamma, A(a)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}}
553 112 adas
%		}{
554 112 adas
%		\vlin{\exists}{}{\Delta, \exists x . \lnot{A}(x)}{\vlhy{\Delta, \lnot{A}(t)}}
555 112 adas
%		}
556 112 adas
%	}
557 112 adas
%	\quad \to \quad
558 112 adas
%	\vlderivation{
559 112 adas
%		\vliin{\cut}{}{\Gamma, \Delta}{
560 112 adas
%			\vltr{\pi(t)}{\Gamma, A(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
561 112 adas
%			}{\vlhy{\Delta, \lnot{A}(t)}}
562 112 adas
%		}
563 112 adas
%\]
564 112 adas
%\end{enumerate}