Révision 106
| CSL16/free-cut-elim.tex (revision 106) | ||
|---|---|---|
| 1 | 1 |
\section{Free-cut elimination in linear logic}
|
| 2 | 2 |
\label{sect:free-cut-elim}
|
| 3 |
\todo{include some bounds on free-cut elimination? Look at paper "Corrected upper bounds for free-cut elimination" by Beckmann and Buss for comparison.}
|
|
| 4 |
|
|
| 5 |
While in plain logical systems such as linear logic cut rules can be eliminated, this is in general not the case anymore when one considers extension with a theory $\mathcal T$ . For this reason we need now to define the kind of cuts that will remain in proofs after reduction. We will call these \textit{anchored cuts}.
|
|
| 6 |
|
|
| 7 |
Our first idea would be to consider as anchored a cut whose cut-formulas $A$ in the two premises are both principal for their rule, and at least one of these rules is non-logical. Now, the problem with this tentative definition is that a rule (R) of $\mathcal T$ can contain several principal formulas (in $\Sigma'$, $\Delta'$) and so we would like to allow an anchored cut on each of these principal formulas. Consider for instance the following derivation, where we have underlined principal formulas:
|
|
| 3 |
% While in plain logical systems such as linear logic cut rules can be eliminated, this is in general not the case anymore when one considers extension with a theory $\mathcal T$ . For this reason we need now to define the kind of cuts that will remain in proofs after reduction. We will call these \textit{anchored cuts}.
|
|
| 4 |
We need first to define which cuts will remain in proofs after reduction. They are called \textit{anchored cuts}.
|
|
| 5 |
Our first idea would be to consider as anchored a cut whose cut-formulas $A$ in the two premises are both principal for their rule, and at least one of these rules is non-logical. Now, the problem with this tentative definition is that a rule (R) of $\mathcal T$ can contain several principal formulas (in $\Sigma'$, $\Delta'$) and so we would like to allow an anchored cut on each of these principal formulas.
|
|
| 6 |
% Consider for instance the following derivation, where we have underlined principal formulas: |
|
| 7 |
See for instance (the principal formulas are underlined):
|
|
| 8 | 8 |
\patrick{Anupam, could you please display this derivation in a suitable way?}
|
| 9 | 9 |
\[ |
| 10 | 10 |
\vlderivation{
|
| ... | ... | |
| 15 | 15 |
} |
| 16 | 16 |
} |
| 17 | 17 |
\] |
| 18 |
Here $cut_1$ is anchored in this sense, but not $cut_2$. |
|
| 19 |
Therefore we consider a more general definition: |
|
| 18 |
Here $cut_1$ is anchored in this sense, but not $cut_2$. Therefore we propose a more general definition: |
|
| 20 | 19 |
\begin{definition}\label{def:anchoredcut}
|
| 21 | 20 |
We define in a mutual inductive way the notion of \textit{hereditarily principal formula} and \textit{anchored cut} in a $\mathcal T$-proof :
|
| 22 | 21 |
\begin{itemize}
|
| ... | ... | |
| 25 | 24 |
\item An instance of cut rule is an \textit{anchored cut} if either its cut-formulas $A$ in the two premises are both hereditarily principal for non-logical rules, or one is hereditarily principal for a non-logical rule and the other one is principal for a logical rule.
|
| 26 | 25 |
\end{itemize}
|
| 27 | 26 |
\end{definition}
|
| 28 |
% Observe that by this definition if a formula $A$ in a sequent is hereditarily principal for a rule (S) which is a logical rule, then the sequent is conclusion of this rule (S) and $A$ is principal for this rule. The generalization from principal formula to hereditarily principal formula is really made for non-logical rules (R). |
|
| 29 | 27 |
So as a consequence of this definition, an anchored cut on a formula $A$ is of the following form: |
| 30 | 28 |
\begin{itemize}
|
| 31 | 29 |
\item at least one of the two premises of the cut has above it a sub-branch of the proof which starts (top-down) with a non-logical rule (R) with $A$ as one of its principal formulas, and then a sequence of anchored cuts in which $A$ is part of the context; |
| ... | ... | |
| 39 | 37 |
|
| 40 | 38 |
With this new definition both $cut_1$ and $cut_2$ in the previous example are anchored. |
| 41 | 39 |
|
| 42 |
\patrick{@Anupam: if we need to shorten this part, I think we should anyway keep the key lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:keycommutations}. In the proof of the thm itself, I would give priority to keep the first case, maybe by skipping the first situation and keeping the second item, $S_1$=$!r$, $?l$ or $R$. Second case could be kept too, and third case could be briefly summarized and pushed in the appendix or online version.}
|
|
| 40 |
% \patrick{@Anupam: if we need to shorten this part, I think we should anyway keep the key lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:keycommutations}. In the proof of the thm itself, I would give priority to keep the first case, maybe by skipping the first situation and keeping the second item, $S_1$=$!r$, $?l$ or $R$. Second case could be kept too, and third case could be briefly summarized and pushed in the appendix or online version.}
|
|
| 43 | 41 |
|
| 44 | 42 |
Let us first prove a key lemma on hereditarily principal formulas: |
| 45 | 43 |
\begin{lemma}\label{lem:hereditaryprincipalnonlogical}
|
| ... | ... | |
| 55 | 53 |
\label{thm:free-cut-elim}[Free-cut elimination]
|
| 56 | 54 |
Given a theory $\mathcal{T}$, any $\mathcal T$-proof $\pi$ can be transformed into a $\mathcal T$-proof $\pi'$ with same conclusion sequent and without any free-cut.
|
| 57 | 55 |
\end{theorem}
|
| 58 |
The proof will be given below. It will proceed in a way similar to the classical proof of cut elimination for linear logic, but here for eliminating only free-cuts, and we will have to check that all steps of the reasoning are compatible with the fact that the proof here also contains $\mathcal{T}$ rules. 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:
|
|
| 59 |
\begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
|
|
| 60 |
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). |
|
| 61 |
\end{lemma}
|
|
| 62 |
\begin{proof}
|
|
| 63 |
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. |
|
| 64 |
\end{proof}
|
|
| 65 |
Actually the most important part of the proof of Thm \ref{thm:free-cut-elim} will be the handling of the commutation steps, since this is where the new non-logical rules could raise some problems.
|
|
| 56 |
%The proof will be given below. It will proceed |
|
| 57 |
The proof proceeds in a way similar to the classical proof of cut elimination for linear logic, but here for eliminating only free-cuts, and one has to check that all steps of the reasoning are compatible with the fact that the proof here also contains $\mathcal{T}$ rules.
|
|
| 58 |
% 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:
|
|
| 59 |
% \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
|
|
| 60 |
% 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). |
|
| 61 |
% \end{lemma}
|
|
| 62 |
% \begin{proof}
|
|
| 63 |
% 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. |
|
| 64 |
% \end{proof}
|
|
| 65 |
Actually the most important part of the proof of Thm \ref{thm:free-cut-elim} is the handling of the commutation steps, since this is where the new non-logical rules could raise some problems.
|
|
| 66 | 66 |
|
| 67 | 67 |
First, observe that the only rules in which there is a condition on the context are the following ones: $(\rigrul{\forall})$, $(\lefrul{\exists})$, $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. These are thus the rules for which the commutation with cut steps are not straightforward. Commutations with logical rules other than $(\rigrul{!})$, $(\lefrul{?})$ are done in the standard way, as in plain linear logic:
|
| 68 | 68 |
\begin{lemma}[Standard commutations]\label{lem:standardcommutations}
|
| ... | ... | |
| 70 | 70 |
\end{lemma}
|
| 71 | 71 |
(Just remind that for $(\rigrul{\forall})$, $(\lefrul{\exists})$ rules this can involve renaming of eigenvariables if necessary.)
|
| 72 | 72 |
|
| 73 |
In the following we will need to be more careful about rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. For that we establish our second key lemma:
|
|
| 73 |
% In the following we will need to be more careful about rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. For that we establish our second key lemma:
|
|
| 74 |
For rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ we establish our second key lemma:
|
|
| 74 | 75 |
\begin{lemma}[Key commutations]\label{lem:keycommutations}
|
| 75 | 76 |
A cut of the following form, where $?A$ is non principal for $(R)$, can be commuted with the $(R)$ rule: |
| 76 | 77 |
\[ |
| ... | ... | |
| 92 | 93 |
Similarly for the symmetric derivation with a cut on the l.h.s. of the conclusion of an $(R)$ on a formula $!A$. |
| 93 | 94 |
The analogous situations with rules $(\rigrul{!})$ and $(\lefrul{?})$ are handled in the same way, and were already known in linear logic.
|
| 94 | 95 |
\end{proof}
|
| 95 |
Now we have all the necessary lemmas to proceed with the proof of the theorem. |
|
| 96 |
\begin{proof} (of Thm \ref{thm:free-cut-elim})
|
|
| 97 |
Given a cut rule $c$ in a proof $\pi$, we call \emph{degree} $\deg( c)$ the degree 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.
|
|
| 96 |
%Now we have all the necessary lemmas to proceed with the proof of the theorem. |
|
| 97 |
Now we can proceed: |
|
| 98 |
\begin{proof} (proof sketch of Thm \ref{thm:free-cut-elim})
|
|
| 99 |
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.
|
|
| 100 |
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.
|
|
| 98 | 101 |
|
| 99 |
The demonstration will proceed by induction on the degree $\deg( \pi)$. For a given degree we will proceed with a sub-induction on the \textit{height} $\height{\pi}$ of the proof.
|
|
| 100 |
|
|
| 101 |
Consider a proof $\pi$ of non-null degree. We will 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$. |
|
| 102 |
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$. |
|
| 102 | 103 |
\[ |
| 103 | 104 |
\vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
|
| 104 | 105 |
\] |
| 105 |
Intuitively we will 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)$; if $A$ is hereditarily principal in both premises we will proceed with a cut-elimination step. So let us distinguish three cases: |
|
| 106 |
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.). See the appendix for the full proof.
|
|
| 107 |
\end{proof}
|
|
| 106 | 108 |
|
| 107 |
\begin{itemize}
|
|
| 108 |
\item \textbf{First case}: the cut-formula $A$ on the l.h.s. of $c$ is non hereditarily principal.
|
|
| 109 |
|
|
| 110 |
\begin{itemize}
|
|
| 111 |
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
|
|
| 112 |
|
|
| 113 |
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})$.
|
|
| 114 |
{\small
|
|
| 115 |
\[ |
|
| 116 |
\vlderivation{
|
|
| 117 |
\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} }
|
|
| 118 |
} |
|
| 119 |
\quad\to\quad |
|
| 120 |
\vlderivation{
|
|
| 121 |
\vliin{\rigrul{\vlan}}{}{ \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi }{
|
|
| 122 |
\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 123 |
}{
|
|
| 124 |
\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 125 |
} |
|
| 126 |
} |
|
| 127 |
\] |
|
| 128 |
} |
|
| 109 |
% \begin{itemize}
|
|
| 110 |
% \item \textbf{First case}: the cut-formula $A$ on the l.h.s. of $c$ is non hereditarily principal.
|
|
| 111 |
% |
|
| 112 |
%\begin{itemize}
|
|
| 113 |
%\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
|
|
| 114 |
% |
|
| 115 |
%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})$.
|
|
| 116 |
%{\small
|
|
| 117 |
%\[ |
|
| 129 | 118 |
%\vlderivation{
|
| 130 |
%\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
|
|
| 131 |
%\vliin{c_1}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
|
|
| 119 |
%\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} }
|
|
| 120 |
%} |
|
| 121 |
%\quad\to\quad |
|
| 122 |
%\vlderivation{
|
|
| 123 |
%\vliin{\rigrul{\vlan}}{}{ \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi }{
|
|
| 124 |
%\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 132 | 125 |
%}{
|
| 133 |
%\vliin{ c_2 }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
|
|
| 126 |
%\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 134 | 127 |
%} |
| 135 | 128 |
%} |
| 136 | 129 |
%\] |
| 137 |
|
|
| 138 |
|
|
| 139 |
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 |
|
| 140 |
$\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
|
|
| 141 |
$\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}$.
|
|
| 142 |
|
|
| 143 |
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar. % (see the Appendix for more examples).
|
|
| 144 |
|
|
| 145 |
\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.
|
|
| 146 |
|
|
| 147 |
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
|
|
| 148 |
$(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.
|
|
| 149 |
|
|
| 150 |
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.
|
|
| 151 |
\end{itemize}
|
|
| 152 |
\item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both non hereditarily principal.
|
|
| 153 |
|
|
| 154 |
After the first case we are here left with the situation where $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
|
|
| 155 |
\begin{itemize}
|
|
| 156 |
\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.
|
|
| 157 |
\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.
|
|
| 158 |
\end{itemize}
|
|
| 159 |
|
|
| 160 |
|
|
| 161 |
\item \textbf{Third case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both hereditarily principal.
|
|
| 162 |
|
|
| 163 |
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 |
|
| 164 |
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 |
|
| 165 |
of last rule $(S_1)$ (resp. $(S_2)$). |
|
| 166 |
|
|
| 167 |
Then we consider the following sub-cases, in order: |
|
| 168 |
\begin{itemize}
|
|
| 169 |
\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
|
|
| 170 |
$\rigrul{\wk}$, $\lefrul{\wk}$ rules to introduce all the new formulas in the final sequent. The degree has decreased.
|
|
| 171 |
|
|
| 172 |
\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$.
|
|
| 173 |
|
|
| 174 |
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
|
|
| 175 |
of $\pi_2$ which has as leaves the sequents premises of these $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
|
|
| 176 |
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$.
|
|
| 177 |
Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion $!\Gamma' \seqar ?\Delta',A$. We then define the derivation |
|
| 178 |
$\rho''$ obtained from $\rho'$ in the following way: |
|
| 179 |
\begin{itemize}
|
|
| 180 |
\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{!}$;
|
|
| 181 |
\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}$;
|
|
| 182 |
\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'$).
|
|
| 183 |
\end{itemize}
|
|
| 184 |
|
|
| 185 |
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'$).
|
|
| 186 |
|
|
| 187 |
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. |
|
| 188 |
|
|
| 189 |
|
|
| 190 |
\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}.
|
|
| 191 |
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.
|
|
| 192 |
%See the Appendix. |
|
| 193 |
\end{itemize}
|
|
| 194 |
\end{itemize}
|
|
| 195 |
\end{proof}
|
|
| 130 |
%} |
|
| 131 |
% |
|
| 132 |
%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 |
|
| 133 |
%$\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
|
|
| 134 |
%$\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}$.
|
|
| 135 |
% |
|
| 136 |
%The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar. % (see the Appendix for more examples).
|
|
| 137 |
% |
|
| 138 |
%\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.
|
|
| 139 |
% |
|
| 140 |
%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
|
|
| 141 |
% $(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.
|
|
| 142 |
% |
|
| 143 |
% 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.
|
|
| 144 |
% \end{itemize}
|
|
| 145 |
% \item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both non hereditarily principal.
|
|
| 146 |
% |
|
| 147 |
% After the first case we are here left with the situation where $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
|
|
| 148 |
% \begin{itemize}
|
|
| 149 |
% \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.
|
|
| 150 |
% \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.
|
|
| 151 |
% \end{itemize}
|
|
| 152 |
% |
|
| 153 |
% |
|
| 154 |
% \item \textbf{Third case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both hereditarily principal.
|
|
| 155 |
% |
|
| 156 |
% 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 |
|
| 157 |
% 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 |
|
| 158 |
% of last rule $(S_1)$ (resp. $(S_2)$). |
|
| 159 |
% |
|
| 160 |
% Then we consider the following sub-cases, in order: |
|
| 161 |
% \begin{itemize}
|
|
| 162 |
% \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
|
|
| 163 |
% $\rigrul{\wk}$, $\lefrul{\wk}$ rules to introduce all the new formulas in the final sequent. The degree has decreased.
|
|
| 164 |
% |
|
| 165 |
% \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$.
|
|
| 166 |
% |
|
| 167 |
% 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
|
|
| 168 |
% of $\pi_2$ which has as leaves the sequents premises of these $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
|
|
| 169 |
% 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$.
|
|
| 170 |
% Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion $!\Gamma' \seqar ?\Delta',A$. We then define the derivation |
|
| 171 |
% $\rho''$ obtained from $\rho'$ in the following way: |
|
| 172 |
% \begin{itemize}
|
|
| 173 |
% \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{!}$;
|
|
| 174 |
% \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}$;
|
|
| 175 |
% \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'$).
|
|
| 176 |
% \end{itemize}
|
|
| 177 |
% |
|
| 178 |
% 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'$).
|
|
| 179 |
% |
|
| 180 |
% 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. |
|
| 181 |
% |
|
| 182 |
% |
|
| 183 |
% \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}.
|
|
| 184 |
% 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.
|
|
| 185 |
% %See the Appendix. |
|
| 186 |
% \end{itemize}
|
|
| 187 |
% \end{itemize}
|
|
| 188 |
% \end{proof}
|
|
| CSL16/appendix-free-cut-elim.tex (revision 106) | ||
|---|---|---|
| 1 |
\section{Proofs of Sect. \ref{sect:free-cut-elim}: free-cut elimination}
|
|
| 2 |
|
|
| 3 |
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:
|
|
| 4 |
\begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
|
|
| 5 |
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). |
|
| 6 |
\end{lemma}
|
|
| 7 |
\begin{proof}
|
|
| 8 |
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. |
|
| 9 |
\end{proof}
|
|
| 10 |
|
|
| 11 |
Now we have all the necessary lemmas to proceed with the proof of the theorem. |
|
| 12 |
\begin{proof} (of Thm \ref{thm:free-cut-elim})
|
|
| 13 |
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.
|
|
| 14 |
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.
|
|
| 15 |
|
|
| 16 |
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$. |
|
| 17 |
\[ |
|
| 18 |
\vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
|
|
| 19 |
\] |
|
| 20 |
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.).
|
|
| 21 |
|
|
| 22 |
So, let us distinguish the various cases: |
|
| 23 |
\begin{itemize}
|
|
| 24 |
\item \textbf{First case}: the cut-formula $A$ on the l.h.s. of $c$ is non hereditarily principal.
|
|
| 25 |
|
|
| 26 |
\begin{itemize}
|
|
| 27 |
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
|
|
| 28 |
|
|
| 29 |
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})$.
|
|
| 30 |
{\small
|
|
| 31 |
\[ |
|
| 32 |
\vlderivation{
|
|
| 33 |
\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} }
|
|
| 34 |
} |
|
| 35 |
\quad\to\quad |
|
| 36 |
\vlderivation{
|
|
| 37 |
\vliin{\rigrul{\vlan}}{}{ \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi }{
|
|
| 38 |
\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 39 |
}{
|
|
| 40 |
\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar \Pi} }
|
|
| 41 |
} |
|
| 42 |
} |
|
| 43 |
\] |
|
| 44 |
} |
|
| 45 |
|
|
| 46 |
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 |
|
| 47 |
$\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
|
|
| 48 |
$\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}$.
|
|
| 49 |
|
|
| 50 |
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar. % (see the Appendix for more examples).
|
|
| 51 |
|
|
| 52 |
\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.
|
|
| 53 |
|
|
| 54 |
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
|
|
| 55 |
$(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.
|
|
| 56 |
|
|
| 57 |
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.
|
|
| 58 |
\end{itemize}
|
|
| 59 |
\item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both non hereditarily principal.
|
|
| 60 |
|
|
| 61 |
After the first case we are here left with the situation where $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
|
|
| 62 |
\begin{itemize}
|
|
| 63 |
\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.
|
|
| 64 |
\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.
|
|
| 65 |
\end{itemize}
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
\item \textbf{Third case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both hereditarily principal.
|
|
| 69 |
|
|
| 70 |
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 |
|
| 71 |
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 |
|
| 72 |
of last rule $(S_1)$ (resp. $(S_2)$). |
|
| 73 |
|
|
| 74 |
Then we consider the following sub-cases, in order: |
|
| 75 |
\begin{itemize}
|
|
| 76 |
\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
|
|
| 77 |
$\rigrul{\wk}$, $\lefrul{\wk}$ rules to introduce all the new formulas in the final sequent. The degree has decreased.
|
|
| 78 |
|
|
| 79 |
\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$.
|
|
| 80 |
|
|
| 81 |
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
|
|
| 82 |
of $\pi_2$ which has as leaves the sequents premises of these $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
|
|
| 83 |
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$.
|
|
| 84 |
Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion $!\Gamma' \seqar ?\Delta',A$. We then define the derivation |
|
| 85 |
$\rho''$ obtained from $\rho'$ in the following way: |
|
| 86 |
\begin{itemize}
|
|
| 87 |
\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{!}$;
|
|
| 88 |
\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}$;
|
|
| 89 |
\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'$).
|
|
| 90 |
\end{itemize}
|
|
| 91 |
|
|
| 92 |
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'$).
|
|
| 93 |
|
|
| 94 |
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. |
|
| 95 |
|
|
| 96 |
|
|
| 97 |
\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}.
|
|
| 98 |
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.
|
|
| 99 |
%See the Appendix. |
|
| 100 |
\end{itemize}
|
|
| 101 |
\end{itemize}
|
|
| 102 |
\end{proof}
|
|
| 103 |
|
|
| 104 |
%\section{Some cut-elimination cases}
|
|
| 105 |
%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. |
|
| 106 |
% |
|
| 107 |
%As well as all usual rules, we have the induction rule: |
|
| 108 |
%\[ |
|
| 109 |
%\vlinf{\indr}{(x \notin FV (\Gamma) )}{? \Gamma, A^\perp (0) , A(t)}{? \Gamma , A^\perp (x) , A(s x) }
|
|
| 110 |
%\] |
|
| 111 |
% |
|
| 112 |
%We give all the various cut-reduction cases in the following section but first we give a simple cut-elimination argument. |
|
| 113 |
% |
|
| 114 |
%\subsection{A basic (free-)cut elimination argument}
|
|
| 115 |
%We give an argument that easily scales to free-cut elimination, i.e.\ in the presence of non-logical rules. |
|
| 116 |
% |
|
| 117 |
%\newcommand{\anarrow}[2]{\overset{#1}{\underset{#2}{\longrightarrow}}}
|
|
| 118 |
%\newcommand{\cutredlin}{\mathit{ma}}
|
|
| 119 |
%\newcommand{\cutredexp}{exp}
|
|
| 120 |
% |
|
| 121 |
%\begin{definition}
|
|
| 122 |
% 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.
|
|
| 123 |
%\end{definition}
|
|
| 124 |
% |
|
| 125 |
%\newcommand{\rk}{\mathsf{rk}}
|
|
| 126 |
% \renewcommand{\deg}{\mathsf{deg}}
|
|
| 127 |
%\begin{definition}
|
|
| 128 |
% [Measures] |
|
| 129 |
% 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.
|
|
| 130 |
%\end{definition}
|
|
| 131 |
% |
|
| 132 |
%\begin{proposition}
|
|
| 133 |
%If $\pi$ is not $\anarrow{}{\cutredlin}$-normal then there is a derivation $L:\pi \anarrow{*}{\cutredlin} \pi'$ such that $\deg(\pi')< \deg(\pi)$.
|
|
| 134 |
%\end{proposition}
|
|
| 135 |
%\begin{proof}
|
|
| 136 |
% 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.
|
|
| 137 |
% |
|
| 138 |
% Now to the general case, we simply apply the above procedure to the subproof above a topmost cut in $\pi$. |
|
| 139 |
%\end{proof}
|
|
| 140 |
%\begin{corollary}
|
|
| 141 |
% $\anarrow{}{\cutredlin}$ is weakly normalising.
|
|
| 142 |
%\end{corollary}
|
|
| 143 |
% |
|
| 144 |
% |
|
| 145 |
%\newcommand{\cntdown}{\mathit{cn}}
|
|
| 146 |
%\begin{definition}
|
|
| 147 |
% [Lazy contraction] |
|
| 148 |
% Let $\anarrow{}{\cntdown}$ comprise of the following reduction steps:
|
|
| 149 |
% \begin{enumerate}
|
|
| 150 |
% \item The commuting steps, |
|
| 151 |
% \[ |
|
| 152 |
% \vlderivation{
|
|
| 153 |
% \vlin{\rho}{}{\Gamma', ?A, }{
|
|
| 154 |
% \vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ? A, ? A}}
|
|
| 155 |
% } |
|
| 156 |
% } |
|
| 157 |
% \quad\to \quad |
|
| 158 |
% \vlderivation{
|
|
| 159 |
% \vlin{\cntr}{}{\Gamma', ?A}{
|
|
| 160 |
% \vlin{\rho}{}{\Gamma', ?A, ?A}{\vlhy{\Gamma, ? A, ? A}}
|
|
| 161 |
% } |
|
| 162 |
% } |
|
| 163 |
% \] |
|
| 164 |
% for each unary rule $\rho$. |
|
| 165 |
% \item |
|
| 166 |
% The key steps: |
|
| 167 |
% \[ |
|
| 168 |
% \begin{array}{rcl}
|
|
| 169 |
% \vlderivation{
|
|
| 170 |
% \vlin{\cntr}{}{\Gamma, ?A}{
|
|
| 171 |
% \vlin{\wk}{}{\Gamma, ?A, ?A}{\vlhy{\Gamma, ?A}}
|
|
| 172 |
% } |
|
| 173 |
% } |
|
| 174 |
% \quad &\to & \quad |
|
| 175 |
% \Gamma, ?A |
|
| 176 |
%% \] |
|
| 177 |
%% and |
|
| 178 |
%% \[ |
|
| 179 |
%\\ |
|
| 180 |
%\noalign{\smallskip}
|
|
| 181 |
% \vlderivation{
|
|
| 182 |
% \vlin{\wk}{}{\Gamma, ?A, ?A}{
|
|
| 183 |
% \vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ?A, ?A}}
|
|
| 184 |
% } |
|
| 185 |
% } |
|
| 186 |
% \quad &\to& \quad |
|
| 187 |
% \Gamma, ?A, ?A |
|
| 188 |
% \end{array}
|
|
| 189 |
% \]. |
|
| 190 |
%\item The commuting steps, |
|
| 191 |
%\[ |
|
| 192 |
% \vlderivation{
|
|
| 193 |
% \vliin{\rho}{}{\Gamma ,?A}{
|
|
| 194 |
% \vlin{\cntr}{}{\Gamma_1, ?A}{\vlhy{\Gamma_1, ?A, ?A}}
|
|
| 195 |
% }{\vlhy{\Gamma_2}}
|
|
| 196 |
% } |
|
| 197 |
% \quad \to \quad |
|
| 198 |
% \vlderivation{
|
|
| 199 |
% \vlin{\cntr}{}{\Gamma, ?A}{
|
|
| 200 |
% \vliin{\rho}{}{\Gamma,?A, ?A}{\vlhy{\Gamma_1, ?A, ?A}}{ \vlhy{\Gamma_2} }
|
|
| 201 |
% } |
|
| 202 |
% } |
|
| 203 |
%\] |
|
| 204 |
%%\[ |
|
| 205 |
%%\begin{array}{rcl}
|
|
| 206 |
%% \vlderivation{
|
|
| 207 |
%% \vliin{\land}{}{\Gamma, \Delta, ?A, B\land C}{
|
|
| 208 |
%% \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
|
| 209 |
%% }{\vlhy{\Delta, C}}
|
|
| 210 |
%% } |
|
| 211 |
%% \quad &\to &\quad |
|
| 212 |
%% \vlderivation{
|
|
| 213 |
%% \vlin{\cntr}{}{\Gamma, \Delta, ?A, B\land C}{
|
|
| 214 |
%% \vliin{\land}{}{\Gamma, \Delta, ?A, ?A, B\land C}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, C} }
|
|
| 215 |
%% } |
|
| 216 |
%% } |
|
| 217 |
%%% \] |
|
| 218 |
%%% |
|
| 219 |
%%% \[ |
|
| 220 |
%%\\ |
|
| 221 |
%%\noalign{\smallskip}
|
|
| 222 |
%% \vlderivation{
|
|
| 223 |
%% \vliin{\cut}{}{\Gamma, \Delta, ?A}{
|
|
| 224 |
%% \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
|
| 225 |
%% }{\vlhy{\Delta, \lnot{B}}}
|
|
| 226 |
%% } |
|
| 227 |
%% \quad &\to& \quad |
|
| 228 |
%% \vlderivation{
|
|
| 229 |
%% \vlin{\cntr}{}{\Gamma, \Delta, ?A}{
|
|
| 230 |
%% \vliin{\cut}{}{\Gamma, \Delta, ?A, ?A}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, \lnot{B}} }
|
|
| 231 |
%% } |
|
| 232 |
%% } |
|
| 233 |
%%\end{array}
|
|
| 234 |
%%\] |
|
| 235 |
%for each binary rule $\rho \in \{ \land, \cut \}$.
|
|
| 236 |
%\item The commuting step: |
|
| 237 |
% \[ |
|
| 238 |
% \vlderivation{
|
|
| 239 |
% \vliin{\vlan}{}{\Gamma, ?A, B\vlan C}{
|
|
| 240 |
% \vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
|
|
| 241 |
% }{\vlhy{\Gamma, ?A, B}}
|
|
| 242 |
% } |
|
| 243 |
% \quad \to \quad |
|
| 244 |
% \vlderivation{
|
|
| 245 |
% \vlin{\cntr}{}{\Gamma, ?A, B\vlan C}{
|
|
| 246 |
% \vliin{\vlan}{}{\Gamma, ?A, ?A, B\vlan C}{\vlhy{\Gamma, ?A, ?A, B}}{
|
|
| 247 |
% \vlin{\wk}{}{\Gamma, ?A, ?A, C}{\vlhy{\Gamma, ?A, C}}
|
|
| 248 |
% } |
|
| 249 |
% } |
|
| 250 |
% } |
|
| 251 |
% \] |
|
| 252 |
% \end{enumerate}
|
|
| 253 |
% For binary rules: |
|
| 254 |
% |
|
| 255 |
%\end{definition}
|
|
| 256 |
%\begin{proposition}
|
|
| 257 |
% $\anarrow{}{\cntdown}$ is weakly normalising
|
|
| 258 |
% , modulo $\cntr$-$\cntr$ redexes, |
|
| 259 |
% and degree-preserving. |
|
| 260 |
% If $\pi$ is $\anarrow{}{\cutredlin}$-normal and $\pi \downarrow_\cntdown \pi'$, then so is $\pi'$.
|
|
| 261 |
%\end{proposition}
|
|
| 262 |
%\begin{proof}
|
|
| 263 |
% By induction on the number of redexes in a proof. Start with bottommost redex, by induction on number of inference steps beneath it. |
|
| 264 |
%\end{proof}
|
|
| 265 |
% |
|
| 266 |
%\begin{remark}
|
|
| 267 |
% Only weakly normalising since $\cntr$ can commute with $\cntr$, allowing cycles. |
|
| 268 |
%\end{remark}
|
|
| 269 |
% |
|
| 270 |
%\begin{proposition}
|
|
| 271 |
% 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)$.
|
|
| 272 |
%\end{proposition}
|
|
| 273 |
% |
|
| 274 |
% |
|
| 275 |
% |
|
| 276 |
%\subsection{Base cases}
|
|
| 277 |
% |
|
| 278 |
%\[ |
|
| 279 |
%\vlderivation{
|
|
| 280 |
%\vliin{\cut}{}{ \Gamma,a }{ \vlhy{\Gamma,a} }{ \vlin{\id}{}{a,a^\bot}{ \vlhy{} } }
|
|
| 281 |
%} |
|
| 282 |
%\quad\to\quad |
|
| 283 |
%\vlderivation{
|
|
| 284 |
%\Gamma,a |
|
| 285 |
%} |
|
| 286 |
%\] |
|
| 287 |
% |
|
| 288 |
%\[ |
|
| 289 |
%\vlderivation{
|
|
| 290 |
%\vliin{\cut}{}{\Gamma}{ \vlin{\bot}{}{ \Gamma,\bot }{ \vlhy{\Gamma} } }{ \vlin{1}{}{1}{ \vlhy{} } }
|
|
| 291 |
%} |
|
| 292 |
%\quad\to\quad |
|
| 293 |
%\vlderivation{
|
|
| 294 |
%\Gamma |
|
| 295 |
%} |
|
| 296 |
%\] |
|
| 297 |
% |
|
| 298 |
%\[ |
|
| 299 |
%\vlderivation{
|
|
| 300 |
%\vliin{\cut}{}{ \Gamma,\Delta,\top }{ \vlin{\top}{}{ \Gamma,\top,0 }{ \vlhy{} } }{ \vlhy{\Delta , \top } }
|
|
| 301 |
%} |
|
| 302 |
%\quad\to\quad |
|
| 303 |
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
|
|
| 304 |
%\] |
|
| 305 |
% |
|
| 306 |
%\subsection{Commutative cases}
|
|
| 307 |
%These are the cases when the principal formula of a step is not active for the cut-step below. |
|
| 308 |
% |
|
| 309 |
%\begin{enumerate}
|
|
| 310 |
%\item The cut-step is immediately preceded by an initial step. Note that only the case for $\top$ applies: |
|
| 311 |
%\[ |
|
| 312 |
%\vlderivation{
|
|
| 313 |
%\vliin{\cut}{}{\Gamma,\Delta,\top}{
|
|
| 314 |
%\vlin{\top}{ }{ \Gamma,\top,A }{ \vlhy{} }
|
|
| 315 |
% }{ \vlhy{\Delta,A^\bot } }
|
|
| 316 |
%} |
|
| 317 |
%\quad\to\quad |
|
| 318 |
%\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
|
|
| 319 |
%\] |
|
| 320 |
%%Notice that this commutation eliminates the cut entirely and preserves the height of all cuts below. |
|
| 321 |
%\item\label{CaseCommOneStep} A cut-step is immediately preceded by a step $\rho$ with exactly one premiss:
|
|
| 322 |
%\[ |
|
| 323 |
%\vlderivation{
|
|
| 324 |
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
|
|
| 325 |
%} |
|
| 326 |
%\] |
|
| 327 |
%We have three subcases: |
|
| 328 |
%\begin{enumerate}
|
|
| 329 |
%\item\label{subcase:unary-commutation-vanilla}
|
|
| 330 |
%%$\Delta$ consists of only $?$-ed formulae or |
|
| 331 |
%If $\rho \notin \{! , \indr \}$ then we can simply permute as follows:
|
|
| 332 |
%\begin{equation}
|
|
| 333 |
%\label{eqn:com-case-unary-simple}
|
|
| 334 |
%\vlderivation{
|
|
| 335 |
%\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
|
|
| 336 |
%} |
|
| 337 |
%\quad \to \quad |
|
| 338 |
%\vlderivation{
|
|
| 339 |
%\vlin{\rho}{}{\Gamma',\Delta}{
|
|
| 340 |
%\vliin{\cut}{}{\Gamma,\Delta}{\vlhy{\Gamma,A}}{\vlhy{A^\bot , \Delta}}
|
|
| 341 |
%} |
|
| 342 |
%} |
|
| 343 |
%\end{equation}
|
|
| 344 |
%(If $\rho$ was $\forall$ then we might need to rename some free variables in $\Delta$.) |
|
| 345 |
%\item $\rho $ is a $!$-step. Therefore $\Gamma$ has the form $? \Sigma , B$ and $A$ has the form $?C$, yielding the following situation: |
|
| 346 |
%\[ |
|
| 347 |
%\vlderivation{
|
|
| 348 |
%\vliin{\cut}{}{? \Sigma, !B, \Delta }{
|
|
| 349 |
%\vlin{!}{}{? \Sigma, !B , ?C}{\vlhy{?\Sigma , B , ?C} }
|
|
| 350 |
%}{
|
|
| 351 |
%\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
|
|
| 352 |
%} |
|
| 353 |
%} |
|
| 354 |
%\] |
|
| 355 |
%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.
|
|
| 356 |
%\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. |
|
| 357 |
%% yielding the following situation: |
|
| 358 |
%%\[ |
|
| 359 |
%%\vlderivation{
|
|
| 360 |
%% \vliin{\cut}{}{? \Sigma, B^\perp (0) , B(t), \Delta }{
|
|
| 361 |
%% \vlin{\indr}{}{? \Sigma, B^\perp (0) , B(t) , ?C}{\vlhy{?\Sigma , B^\perp(x) , B(s x) , ?C} }
|
|
| 362 |
%% }{
|
|
| 363 |
%% \vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
|
|
| 364 |
%%} |
|
| 365 |
%%} |
|
| 366 |
%%\] |
|
| 367 |
%\end{enumerate}
|
|
| 368 |
% |
|
| 369 |
% |
|
| 370 |
% |
|
| 371 |
%\item A cut-step is immediately preceded by a $\vlte $-step: |
|
| 372 |
%\[ |
|
| 373 |
%\vlderivation{
|
|
| 374 |
%\vliin{\cut}{}{\Gamma,\Delta,\Sigma,A\vlte B }{
|
|
| 375 |
%\vliin{\vlte}{}{\Gamma,\Delta,A\vlte B,C }{\vlhy{\Gamma,A,C}}{\vlhy{\Delta,B}}
|
|
| 376 |
%}{\vlhy{ \Sigma , C^\bot }}
|
|
| 377 |
%} |
|
| 378 |
%\quad\to\quad |
|
| 379 |
%\vlderivation{
|
|
| 380 |
%\vliin{\vlte}{}{\Gamma,\Delta,\Sigma,A\vlte B}{
|
|
| 381 |
%\vliin{\cut}{}{\Gamma,\Sigma,A}{\vlhy{\Gamma,A,C}}{\vlhy{\Sigma,C^\bot}}
|
|
| 382 |
%}{\vlhy{\Delta,B}}
|
|
| 383 |
%} |
|
| 384 |
%\] |
|
| 385 |
%%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. |
|
| 386 |
%\item\label{CommCaseAmpersand} A cut-step is immediately preceded by a $\vlan$-step.
|
|
| 387 |
%\[ |
|
| 388 |
%\vlderivation{
|
|
| 389 |
%\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} }
|
|
| 390 |
%} |
|
| 391 |
%\quad\to\quad |
|
| 392 |
%\vlderivation{
|
|
| 393 |
%\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
|
|
| 394 |
%\vliin{cut}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
|
|
| 395 |
%}{
|
|
| 396 |
%\vliin{ \cut }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
|
|
| 397 |
%} |
|
| 398 |
%} |
|
| 399 |
%\] |
|
| 400 |
%\item (No rule for cuts commuting with cuts.) |
|
| 401 |
%%A cut-step is immediately preceded by another cut-step: |
|
| 402 |
%\[ |
|
| 403 |
%\vlderivation{
|
|
| 404 |
% \vliin{\cut}{}{\Gamma, \Delta, \Sigma}{
|
|
| 405 |
% \vliin{\cut}{}{\Gamma, \Delta, B}{\vlhy{\Gamma, A}}{\vlhy{\Delta, \lnot{A}, B}}
|
|
| 406 |
% }{\vlhy{\Sigma, \lnot{B}}}
|
|
| 407 |
% } |
|
| 408 |
% \quad\to\quad |
|
| 409 |
%\vlderivation{
|
|
| 410 |
% \vliin{\cut}{}{\Gamma, \Delta, \Sigma}{\vlhy{\Gamma, A}}{
|
|
| 411 |
% \vliin{\cut}{}{\Delta, \Sigma, \lnot{A}}{\vlhy{\Delta, \lnot{A}, B}}{\vlhy{\Sigma, \lnot{B}}}
|
|
| 412 |
% } |
|
| 413 |
% } |
|
| 414 |
%\] |
|
| 415 |
%\end{enumerate}
|
|
| 416 |
% |
|
| 417 |
% |
|
| 418 |
% |
|
| 419 |
%\subsection{Key cases: structural steps}
|
|
| 420 |
%%[THIS SECTION MIGHT NOT BE NECESSARY] |
|
| 421 |
%We attempt to permute cuts on exponential formulae over structural steps whose principal formula is active for the cut. |
|
| 422 |
% |
|
| 423 |
%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.
|
|
| 424 |
% |
|
| 425 |
%We have two cases. |
|
| 426 |
%\begin{enumerate}
|
|
| 427 |
%\item\label{StructStepCont} The structural step preceding the cut is a weakening:
|
|
| 428 |
%\[ |
|
| 429 |
%\vlderivation{
|
|
| 430 |
%\vliin{\cut}{}{?\Gamma,\Delta}{ \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} } }{ \vlin{w}{}{ ?A^\bot }{ \vlhy{\Delta } } }
|
|
| 431 |
%} |
|
| 432 |
%\quad\to\quad |
|
| 433 |
%\vlinf{w}{}{?\Gamma,\Delta}{ \Delta }
|
|
| 434 |
%\] |
|
| 435 |
%%\item The structural step preceding the cut is a contraction: |
|
| 436 |
%%\[ |
|
| 437 |
%%\vlderivation{
|
|
| 438 |
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
|
|
| 439 |
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 440 |
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot , \Delta} } }
|
|
| 441 |
%%} |
|
| 442 |
%%\quad\to\quad |
|
| 443 |
%%\vlderivation{
|
|
| 444 |
%%\vliq{c}{}{?\Gamma, \Delta}{
|
|
| 445 |
%%\vliin{\cut}{}{?\Gamma, ?\Gamma,\Delta }{
|
|
| 446 |
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 447 |
%%}{
|
|
| 448 |
%%\vliin{\cut}{}{?\Gamma,?A^\bot , \Delta }{
|
|
| 449 |
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 450 |
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
|
|
| 451 |
%%} |
|
| 452 |
%%} |
|
| 453 |
%%} |
|
| 454 |
%%\] |
|
| 455 |
%%OR use a multicut: |
|
| 456 |
%%\[ |
|
| 457 |
%%\vlderivation{
|
|
| 458 |
%%\vliin{\cut}{}{ ?\Gamma,\Delta }{
|
|
| 459 |
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 460 |
%%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot , \Delta} } }
|
|
| 461 |
%%} |
|
| 462 |
%%\quad\to\quad |
|
| 463 |
%%\vlderivation{
|
|
| 464 |
%%\vliin{\multicut}{}{?\Gamma,?A^\bot , \Delta }{
|
|
| 465 |
%% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 466 |
%%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
|
|
| 467 |
%%} |
|
| 468 |
%%\] |
|
| 469 |
%\item The structural step preceding a cut is a contraction: |
|
| 470 |
%\[ |
|
| 471 |
%\vlderivation{
|
|
| 472 |
% \vliin{\cut}{}{?\Gamma, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
|
|
| 473 |
% \vlin{\cntr}{}{ ?A,\Sigma }{ \vlhy{ ?A,?A,\Sigma } }
|
|
| 474 |
% } |
|
| 475 |
%} |
|
| 476 |
%\quad\to\quad |
|
| 477 |
%\vlderivation{
|
|
| 478 |
% \vliq{\cntr}{}{ ?\Gamma,\Sigma }{
|
|
| 479 |
% \vliin{\cut}{}{ ?\Gamma,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
|
|
| 480 |
% \vliin{\cut}{}{ ?A,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,\Sigma } }
|
|
| 481 |
% } |
|
| 482 |
% } |
|
| 483 |
%} |
|
| 484 |
%\] |
|
| 485 |
%%\item The structural step preceding a cut is a parallel contraction: |
|
| 486 |
%%\[ |
|
| 487 |
%%\vlderivation{
|
|
| 488 |
%%\vliin{\cut}{}{?\Gamma,?\Delta, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
|
|
| 489 |
%%\vlin{}{}{ ?A,?\Delta,\Sigma }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
|
|
| 490 |
%%} |
|
| 491 |
%%} |
|
| 492 |
%%\quad\to\quad |
|
| 493 |
%%\vlderivation{
|
|
| 494 |
%%\vlin{}{}{ ?\Gamma,?\Delta,\Sigma }{
|
|
| 495 |
%%\vliin{\cut}{}{ ?\Gamma,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
|
|
| 496 |
%%\vliin{\cut}{}{ ?A,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
|
|
| 497 |
%%} |
|
| 498 |
%%} |
|
| 499 |
%%} |
|
| 500 |
%%\] |
|
| 501 |
%\end{enumerate}
|
|
| 502 |
% |
|
| 503 |
%\subsection{Key cases: logical steps}
|
|
| 504 |
%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. |
|
| 505 |
%\begin{enumerate}
|
|
| 506 |
%\item The cut-formula is multiplicative: |
|
| 507 |
%\[ |
|
| 508 |
%\vlderivation{
|
|
| 509 |
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{
|
|
| 510 |
%\vliin{\vlte}{}{ \Gamma,\Delta,A\vlte B }{ \vlhy{\Gamma,A} }{ \vlhy{\Delta,B} }
|
|
| 511 |
%}{ \vlin{\vlpa}{}{ \Sigma, A^\bot \vlpa B^\bot }{ \vlhy{\Sigma , A^\bot , B^\bot} } }
|
|
| 512 |
%} |
|
| 513 |
%\quad\to\quad |
|
| 514 |
%\vlderivation{
|
|
| 515 |
%\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{ \vlhy{\Gamma,A} }{
|
|
| 516 |
%\vliin{\cut}{}{ \Delta,\Sigma,A^\bot }{ \vlhy{\Delta,B} }{ \vlhy{\Sigma , A^\bot,B^\bot } }
|
|
| 517 |
%} |
|
| 518 |
%} |
|
| 519 |
%\] |
|
| 520 |
%\item The cut-formula is additive, |
|
| 521 |
%\[ |
|
| 522 |
%\vlderivation{
|
|
| 523 |
%\vliin{\cut}{}{ \Gamma,\Delta }{
|
|
| 524 |
%\vliin{\vlan}{}{ \Gamma,A\vlan B }{ \vlhy{\Gamma,A} }{ \vlhy{\Gamma,B} }
|
|
| 525 |
% }{ \vlin{\vlor}{}{ \Delta,A^\bot\vlor B^\bot }{ \vlhy{\Delta, A^\bot } } }
|
|
| 526 |
%} |
|
| 527 |
%\quad\to\quad |
|
| 528 |
%\vliinf{\cut}{}{ \Gamma,\Delta }{ \Gamma,A }{ \Delta,A^\bot }
|
|
| 529 |
%\] |
|
| 530 |
%where the case for the other $\vlor$-rule is symmetric. |
|
| 531 |
%\item The cut-formula is exponential. |
|
| 532 |
%\[ |
|
| 533 |
%\vlderivation{
|
|
| 534 |
%\vliin{\cut}{}{ ?\Gamma,\Delta }{
|
|
| 535 |
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
|
|
| 536 |
%}{
|
|
| 537 |
%\vlin{?}{}{ \Delta,?A^\bot }{ \vlhy{\Delta, A^\bot } }
|
|
| 538 |
%} |
|
| 539 |
%} |
|
| 540 |
%\quad\to\quad |
|
| 541 |
%\vliinf{\cut}{}{ ?\Gamma,\Delta }{ ?\Gamma,A }{ \Delta,A^\bot }
|
|
| 542 |
%\] |
|
| 543 |
%\item The cut-formula is quantified. |
|
| 544 |
%\[ |
|
| 545 |
%\vlderivation{
|
|
| 546 |
% \vliin{\cut}{}{\Gamma, \Delta}{
|
|
| 547 |
% \vlin{\forall}{}{\Gamma, \forall x. A(x)}{\vltr{\pi(a)}{\Gamma, A(a)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}}
|
|
| 548 |
% }{
|
|
| 549 |
% \vlin{\exists}{}{\Delta, \exists x . \lnot{A}(x)}{\vlhy{\Delta, \lnot{A}(t)}}
|
|
| 550 |
% } |
|
| 551 |
% } |
|
| 552 |
% \quad \to \quad |
|
| 553 |
% \vlderivation{
|
|
| 554 |
% \vliin{\cut}{}{\Gamma, \Delta}{
|
|
| 555 |
% \vltr{\pi(t)}{\Gamma, A(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 556 |
% }{\vlhy{\Delta, \lnot{A}(t)}}
|
|
| 557 |
% } |
|
| 558 |
%\] |
|
| 559 |
%\end{enumerate}
|
|
| 560 |
|
|
| CSL16/appendix.tex (revision 106) | ||
|---|---|---|
| 1 | 1 |
\appendix |
| 2 | 2 |
|
| 3 |
\begin{center} \large APPENDIX \end{center}
|
|
| 4 |
|
|
| 5 |
|
|
| 3 | 6 |
\input{appendix-preliminaries}
|
| 4 | 7 |
\input{appendix-free-cut-elim}
|
| 5 | 8 |
\input{appendix-arithmetic}
|
| ... | ... | |
| 8 | 11 |
\input{appendix-wfm}
|
| 9 | 12 |
|
| 10 | 13 |
|
| 14 |
|
|
| 11 | 15 |
% |
| 12 | 16 |
%\section{Some cut-elimination cases}
|
| 13 | 17 |
%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. |
Formats disponibles : Unified diff