Révision 79
| CSL16/free-cut-elim.tex (revision 79) | ||
|---|---|---|
| 49 | 49 |
% a rule $\rigrul{\lor}$ and a rule $\lefrul{\lor}$ is not.
|
| 50 | 50 |
|
| 51 | 51 |
A cut which is not anchored will also be called a \textit{free-cut}.
|
| 52 |
|
|
| 53 |
Let us first prove a key lemma on hereditarily principal formulas: |
|
| 54 |
\begin{lemma}\label{lem:hereditaryprincipalnonlogical}
|
|
| 55 |
A formula occurrence $A$ on the l.h.s. (resp. r.h.s.) of a sequent and hereditarily principal for a non-logical rule (R) |
|
| 56 |
cannot be of the form $A=?A'$ (resp. $A=!A'$). |
|
| 57 |
\end{lemma}
|
|
| 58 |
\begin{proof}
|
|
| 59 |
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. |
|
| 60 |
\end{proof}
|
|
| 61 |
|
|
| 52 | 62 |
Now we can state the main result of this section: |
| 53 | 63 |
\begin{theorem}
|
| 54 | 64 |
\label{thm:free-cut-elim}[Free-cut elimination]
|
| 55 | 65 |
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.
|
| 56 | 66 |
\end{theorem}
|
| 57 |
\begin{proof}
|
|
| 67 |
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. Actually the most important part of the proof will be the handling of the commutation steps, since this is where the new non-logical rules could raise some problems.
|
|
| 58 | 68 |
|
| 59 |
The proof 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. Actually the most important part of the proof will be the handling of the commutation steps, since this is where the new rules and axioms could raise some problems.
|
|
| 60 |
|
|
| 61 |
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 steps are not straightforward.
|
|
| 62 |
|
|
| 63 |
|
|
| 69 |
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 rules $(\rigrul{\forall})$, $(\lefrul{\exists})$ are done in the standard way, by using renaming of eigenvariables if necessary. In the following we will have to be careful about rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. For that we establish our second key lemma:
|
|
| 70 |
|
|
| 71 |
\begin{lemma}[Key commutations]\label{lem:keycommutations}
|
|
| 72 |
A cut of the following form, where $?A$ is non principal for $(R)$, can be commuted with the $(R)$ rule: |
|
| 73 |
\[ |
|
| 74 |
\vliinf{cut}{}{ !\Gamma', \Gamma, \Sigma' \seqar \Delta', ?A, ?\Pi, ?\Pi'}
|
|
| 75 |
{ \vlinf{(R)}{}{!\Gamma, \Sigma' \seqar \Delta', ?A, ?\Pi}{ \{ !\Gamma, \Sigma_i \seqar \Delta_i, ?A, ?\Pi \}_{i\in I} } }
|
|
| 76 |
{ \vlinf{}{}{?A, !\Gamma' \seqar ?\Pi'}{} }
|
|
| 77 |
\] |
|
| 78 |
Similarly if $(R)$ is replaced with $(\rigrul{!})$, with $?A$ in its r.h.s. context. Similarly also for the symmetric situations:
|
|
| 79 |
cut on the l.h.s. of the conclusion of an $(R)$ or a $(\lefrul{?})$ rule on a (non-principal) formula $!A$, with a sequent $!\Gamma' \seqar ?\Pi', !A$.
|
|
| 80 |
\end{lemma}
|
|
| 81 |
\begin{proof}
|
|
| 82 |
The first subderivation can be replaced by: |
|
| 83 |
\[ |
|
| 84 |
\vlinf{(R)}{}{ !\Gamma', !\Gamma, \Sigma' \seqar \Delta', ?\Pi, ?\Pi'}
|
|
| 85 |
{ \vliinf{cut}{}{\{!\Gamma', !\Gamma, \Sigma_i \seqar \Delta_i, ?\Pi,?\Pi' \}_{i\in I}} { \vlinf{}{}{ !\Gamma, \Sigma_i \seqar \Delta_i, ?A, ?\Pi}{}} { \vlinf{}{}{?A, !\Gamma' \seqar ?\Pi'}{} } }
|
|
| 86 |
\] |
|
| 87 |
Similarly for the symmetric derivation with a cut on the l.h.s. of the conclusion of an $(R)$ on a formula $!A$. |
|
| 88 |
The analogous situations with rules $(\rigrul{!})$ and $(\lefrul{?})$ are handled in the same way, and were already known in linear logic.
|
|
| 89 |
\end{proof}
|
|
| 90 |
\begin{proof} (of Thm \ref{thm:free-cut-elim})
|
|
| 64 | 91 |
Given a cut rule $c$ in a proof $\pi$, we call \emph{degree} $\deg( c)$ the number of logical connectives or quantifiers in 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.
|
| 65 | 92 |
|
| 66 | 93 |
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.
|
| ... | ... | |
| 78 | 105 |
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
|
| 79 | 106 |
|
| 80 | 107 |
In this case the commutation of $c$ with $(S_1)$ can be done in the usual way. Let us handle as an example the case where $(S_1)=(\rigrul{\laand})$.
|
| 81 |
|
|
| 108 |
{\small
|
|
| 82 | 109 |
\[ |
| 83 | 110 |
\vlderivation{
|
| 84 | 111 |
\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} }
|
| ... | ... | |
| 92 | 119 |
} |
| 93 | 120 |
} |
| 94 | 121 |
\] |
| 95 |
|
|
| 122 |
} |
|
| 96 | 123 |
%\vlderivation{
|
| 97 | 124 |
%\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
|
| 98 | 125 |
%\vliin{c_1}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
|
| ... | ... | |
| 105 | 132 |
|
| 106 | 133 |
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 |
| 107 | 134 |
$\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
|
| 108 |
$\deg{\pi'_i}\leq \deg{\pi_i}$. Therefore $\pi'_i$ has non-anchored cuts of degree strictly lower than $\deg(c)$, and thus by replacing $\pi_i$ by $\pi'_i$ for $i=1, 2$ we obtain a proof $\pi'$ such that $\deg{\pi'}<\deg{\pi}$.
|
|
| 135 |
$\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}$.
|
|
| 109 | 136 |
|
| 110 | 137 |
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are similar (see the Appendix for more examples).
|
| 111 | 138 |
|
| 112 | 139 |
\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.
|
| 113 | 140 |
|
| 114 |
First consider $(S_1)=(\rigrul{!})$. As $A$ is not principal in the conclusion of $(\rigrul{!})$ it is of the form $A=?A'$. We know that $A=?A'$ is principal in the conclusion of $(S_2)$: the rule $(S_2)$ thus cannot be a rule $(R)$ because of the condition 2. on $(R)$ rules; therefore the only possibility is that
|
|
| 115 |
$(S_2)$ is an $(\lefrul{?})$ rule. So the r.h.s. premise is of the shape $?A',!\Gamma \seqar ?\Delta$ and the commutation on the l.h.s. is possible. We can conclude as previously. The case where $(S_1)=(\lefrul{?})$ is the same.
|
|
| 141 |
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
|
|
| 142 |
$(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.
|
|
| 116 | 143 |
|
| 117 |
Now consider the case where $(S_1)=(R)$. As $A$ is not principal in the conclusion of $(R)$, here again it is of the form $A=?A'$. So as before we deduce that $(S_2)=(\lefrul{?})$, and so the r.h.s. premise is of the shape $?A',!\Gamma \seqar ?\Delta$. We can rename the free variables in the premise sequents of $(S_1)$ such that none of them belongs to $FV(!\Gamma \seqar ?\Delta)$. Then the commutation on the left-hand-side is possible, because we "enlarge" the contexts with formulas starting with a $!$ (on the l.h.s. of $\seqar$) or a $?$ (on the r.h.s. of $\seqar$). The new occurrence of $(R)$ does satisfy conditions 1. and 2.
|
|
| 118 |
|
|
| 119 |
\patrick{TODO: I will picture this case}
|
|
| 120 |
|
|
| 121 |
\end{itemize}
|
|
| 122 |
|
|
| 123 |
%\patrick{Check that all cases are ok, taking into account constraints due to: contexts of $\rigrul{!}$, contexts of $\mathcal{T}$ rules (R), condition on free variables of (R).}
|
|
| 144 |
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.
|
|
| 145 |
\end{itemize}
|
|
| 124 | 146 |
\item \textbf{Second case}: the cut-formulas on the l.h.s. and r.h.s. of $c$ are both non hereditarily principal.
|
| 125 | 147 |
|
| 126 | 148 |
After the first case we are here left with the situation where $(S_1)$ is equal to $(\rigrul{!})$, $(\lefrul{?})$ or $(R)$.
|
| 127 | 149 |
\begin{itemize}
|
| 128 | 150 |
\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.
|
| 129 |
\item Consider $(S_1)=(R)$. Again as $A$ is not principal on the l.h.s. it is of the form $A=?A'$. As $?A'$ is not principal on the r.h.s., $(S_2)$ is not a rule $(R)$. So $(S_2)$ is a logical rule, and so it admits commutation with the cut $c$.
|
|
| 151 |
\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.
|
|
| 130 | 152 |
\end{itemize}
|
| 131 | 153 |
|
| 132 | 154 |
|
Formats disponibles : Unified diff