Révision 113

CSL16/introduction.tex (revision 113)
26 26
%    We illustrate in the same time the relationship between  $\mathcal{A}_2^1$ and linear logic, which was hinted but not investigated in the original paper  \cite{BelHof:02}.  
27 27
We conclude in Sect.~\ref{sect:conclusions} with a survey of related work and some avenues for further applications of the free-cut elimination result. 
28 28

  
29
A version of this article with full proofs is available at \cite{BaiDas}.
29
%More detailed proofs of the various results herein can be found in the appendices, Sects.~\ref{sect:app-preliminaries}-\ref{sect:app-wfm}.
30 30
   
31

  
31
This is a version of the article \cite{BaiDas} with appendices containing further proof details in the appendices, Sects.~\ref{sect:app-preliminaries}-\ref{sect:app-wfm}. Everything else remains the same, with the exception of this paragraph.
CSL16/main.tex (revision 113)
93 93

  
94 94
\bibliographystyle{plain}
95 95
\bibliography{biblio}
96
%
97
%\newpage
98
%
99
%\input{appendix}
100 96

  
97
\newpage
98

  
99
\input{appendix}
100

  
101 101
\end{document}
CSL16/appendix-bc-convergence.tex (revision 113)
1
\section{Appendix for Sect.~\ref{sect:bc-convergence}}
1
\section{Further proof details for Thm.~\ref{thm:arith-proves-bc-conv}, Sect.~\ref{sect:bc-convergence}}
2 2
\label{sect:app-bc-conv}
3
In $\pi_\epsilon$, $\alpha$ is,
3

  
4
For derivation \eqref{eqn:prn-cvg-base} $\alpha$ is,
4 5
	\[
5 6
	\vlderivation{
6 7
	%	\vliin{\cut}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x)) }{
......
20 21
	\]
21 22
	and $\beta$ is:
22 23
	\[
24
	\hspace{-1em}
25
	\small
23 26
	\vlderivation{
24 27
		\vliin{\cut}{}{!\word (\vec v) , \word (\vec x) \seqar \word ( f ( \epsilon , \vec v ; \vec x ) ) }{
25 28
			\vlhy{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }
......
42 45
	
43 46
	By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $h$ and each $g_i$ and $g_j'$ in place of $f$. We construct the required proof as follows:
44 47
	\[
48
	\hspace{-1em}
49
	\tiny
45 50
	\vlderivation{
46 51
		\vliq{\rigrul{\forall}}{}{ \seqar \forall\vec u^{!\word} . \forall \vec x^\word . \word( f(\vec u ; \vec x ) ) }{
47 52
			\vliq{\beta}{}{ !\word (\vec u) , \word (\vec x) \seqar \word ( f( \vec u ; \vec x ) ) }{
......
95 100
	\small
96 101
	\vlderivation{
97 102
		\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
98
			\vliin{2\cdot \laor}{}{ x = \epsilon \laor \exists z^\word . x = \succ_0 z \laor \exists z^\word x = \succ_1 z , \word (\vec y) \seqar \word ( C(;x \vec y) ) }{
103
			\vlin{2\cdot \laor}{}{ x = \epsilon \laor \exists z^\word . x = \succ_0 z \laor \exists z^\word x = \succ_1 z , \word (\vec y) \seqar \word ( C(;x \vec y) ) }{ \vlhy{
104
				\vlderivation{
99 105
				\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
100
					\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
101
						\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
102
							\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
103
						}
104
					}
106
									\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
107
										\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
108
											\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
109
										}
110
									}
111
								}
105 112
				}
106
			}{
107
			\vlhy{
113
\qquad
108 114
				\left\{ 
109 115
				\vlderivation{
110 116
					\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
CSL16/wfm.tex (revision 113)
42 42
		
43 43
		\begin{definition}
44 44
			[Typing]
45
			\label{dfn:typing}
45 46
			To each $(\forall, ?)$-free $\word^+$-formula $A$ we associate a sorted tuple of variables $\type (A)$, intended to range over $\Word$, as follows:
46 47
			\[
47 48
%			\begin{array}{rcll}
......
132 133
		
133 134
		\begin{definition}
134 135
			[Translation]
136
			\label{dfn:translation-of-proofs}
135 137
			We give a translation from a free-cut free $\closure{\eqspec} \cup \arith $ proof $\pi$, satisfying properties \ref{item:no-neg-word}, \ref{item:no-forall}, \ref{item:no-quest}, \ref{item:no-laor-step} of Prop.~\ref{prop:freedom} above, of a sequent $\Gamma \seqar \Delta$ to BC programs for a tuple of functions $\vec f^\pi$ with arguments $\type \left(\bigotimes\Gamma\right)$ such that $|\vec f^\pi | = | \type\left(\bigparr\Delta\right)|$.
136 138
			
137 139
			
CSL16/appendix-wfm.tex (revision 113)
1
\section{Appendix for Sect.~\ref{sect:wfm}}
1
\section{Further details on Dfn.~\ref{dfn:translation-of-proofs}, Sect.~\ref{sect:wfm}}
2 2
\label{sect:app-wfm}
3 3

  
4
			The other initial steps of $\arith$ are translated as follows:
4
%\paragraph*{Further details on Dfn.~\ref{dfn:translation-of-proofs}}
5
			The initial steps of $\arith$ are translated as follows,
5 6
			\[
6 7
			\begin{array}{ccc}
7 8
%			\vlinf{\word_\epsilon}{}{\seqar \word (\epsilon)}{}
......
45 46
				( \id (;x) , \id (;x) )
46 47
			\end{array}
47 48
			\]
49
			and the remaining initial steps are translated to $\epsilon$.
48 50
			
49 51
			
50 52
					Suppose $\pi$ ends with a $\rigrul{\land}$ step:
......
131 133
												\]
132 134
												
133 135
												
134
												Proof of main result:
135
														\begin{proof}
136
															[Proof of Thm.~\ref{thm:main-result}]
137
															%		[Proof sketch]
138
															By Thm.~\ref{thm:free-cut-elim} and Lemma~\ref{lemma:spec-norm-form} we have a free-cut free proof $\pi$ in $\closure{\eqspec} \cup \arith$ of $!\word (\vec x ) \seqar \word (f (\vec x))$. By Lemma~\ref{lemma:witness-invariant} above this means that $\vec a = \vec x \cimp f^\pi (\vec a) = f(\vec x)$ is true in any model of $\qfindth$ satisfying $\eqspec$ and $\eqspec^\pi$. 
139
															%		Since some model must exist by coherence (cf.\ Prop.~\ref{prop:eq-spec-model}), we have that 
140
															Using the fact that $\eqspec \cup \eqspec^\pi$ is coherent we can construct such a model, similarly to Prop.~\ref{prop:eq-spec-model}, which will contain $\Word$ as an initial segment, in which we must have $f^\pi (\vec x) = f (\vec x)$ for every $\vec x \in \Word$, as required.\todo{polish}
141
														\end{proof}
136

  
137
%														\begin{proof}
138
%															[Proof of Thm.~\ref{thm:main-result}]
139
%															%		[Proof sketch]
140
%															By Thm.~\ref{thm:free-cut-elim} and Lemma~\ref{lemma:spec-norm-form} we have a free-cut free proof $\pi$ in $\closure{\eqspec} \cup \arith$ of $!\word (\vec x ) \seqar \word (f (\vec x))$. By Lemma~\ref{lemma:witness-invariant} above this means that $\vec a = \vec x \cimp f^\pi (\vec a) = f(\vec x)$ is true in any model of $\qfindth$ satisfying $\eqspec$ and $\eqspec^\pi$. 
141
%															%		Since some model must exist by coherence (cf.\ Prop.~\ref{prop:eq-spec-model}), we have that 
142
%															Using the fact that $\eqspec \cup \eqspec^\pi$ is coherent we can construct such a model, similarly to Prop.~\ref{prop:eq-spec-model}, which will contain $\Word$ as an initial segment, in which we must have $f^\pi (\vec x) = f (\vec x)$ for every $\vec x \in \Word$, as required.\todo{polish}
143
%														\end{proof}
CSL16/appendix-arithmetic.tex (revision 113)
1
\section{Appendix for Sect.~\ref{sect:arithmetic}}
1
\section{Proofs and further remarks for Sect.~\ref{sect:arithmetic}}
2 2
\label{sect:app-arithmetic}
3 3

  
4 4
\begin{proof}[Proof of Prop.~\ref{prop:equiv-rules}]
......
6 6

  
7 7
First, let us assume the induction axiom and derive the rule:
8 8
\[
9
%\small
9
\hspace{-2.5em}
10
\small
10 11
\vlderivation{
11 12
\vliq{\cntr}{}{ !\word (t) , !\Gamma, A(\epsilon) \seqar A(t) , ?\Delta }{
12 13
\vlin{2\cdot\cut}{}{!\word(t) , !\Gamma,  !\Gamma, A(\epsilon) \seqar A(t) , ?\Delta, ?\Delta }{
......
63 64
where the proofs $\pi_i$ are obtainable from just logical rules.
64 65
\end{proof}
65 66

  
66
Induction rule with designated base case:
67
\paragraph*{Formulation of induction with designated premise for base case}
68
Here is the induction rule when there is a designated premise for the base case.
67 69
\begin{equation}
68 70
\label{eqn:ind-rul-base-prem}
69 71
\vliiinf{}{}{ !\word(t) , !\Gamma  \seqar A(t), ?\Delta }{!\Gamma \seqar A(\epsilon)}{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_1 a) , ?\Delta  }
70 72
\end{equation}
73
As mentioned, this is not equivalent to the formulation given, due to the linear logic setting. From an axiomatic point of view, it is equivalent to the $\ind$ axiom with $!A(\epsilon)$ in place of $A(\epsilon)$.
71 74

  
75
%Proof that coherent ESs have a model:
76
%\begin{proof}[Proof of Prop.~\ref{prop:eq-spec-model}]
77
%	%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
78
%	Consider the standard model $\Word $ extended by an element $\infty$ with $\succ_0 \infty = \succ_1 \infty = \infty$. Setting $\word = \Word$ means this model satisfies $\basic$. Now, for each function symbol $f$, define $f(\sigma) = \tau$ for every $\sigma, \tau \in \Word$ for which this equation is forced by $\eqspec$. Otherwise define $f(\sigma) = f(\infty) = \infty$.
79
%%	\todo{replace with argument using completeness.}
80
%\end{proof}
72 81

  
73
Proof that coherent ESs have a model:
74
\begin{proof}
75
	%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
76
	Consider the standard model $\Word $ extended by an element $\infty$ with $\succ_0 \infty = \succ_1 \infty = \infty$. Setting $\word = \Word$ means this model satisfies $\basic$. Now, for each function symbol $f$, define $f(\sigma) = \tau$ for every $\sigma, \tau \in \Word$ for which this equation is forced by $\eqspec$. Otherwise define $f(\sigma) = f(\infty) = \infty$.
77
%	\todo{replace with argument using completeness.}
78
\end{proof}
79

  
80
Proof that guarded quantifiers are compatible with free-cut elimination:
82
%Proof that guarded quantifiers are compatible with free-cut elimination:
81 83
\begin{proof}[Proof of Cor.~\ref{cor:free-cut-elim-guarded-quants}]
82 84
	First translate the proof $\pi$ into the proof $\pi_0$ where all guarded quantifiers rules have been replaced by their derivation, and say that two rule instances in $\pi_0$ are \textit{siblings} if they come from the same derivation of a guarded quantifier rule. So in $\pi_0$ any two sibling rules are consecutive. Now observe that in the free-cut elimination procedure:
83 85
	\begin{itemize}
CSL16/appendix-free-cut-elim.tex (revision 113)
1
\section{Proofs of Sect. \ref{sect:free-cut-elim}: free-cut elimination}
1
\section{Proofs and further remarks for Sect.~\ref{sect:free-cut-elim}}
2 2

  
3
\paragraph*{Discussion on Dfn.~\ref{def:anchoredcut}}
4
 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.
5
  % Consider for instance the following derivation, where we have underlined principal formulas:
6
  Consider the following derivation, where principal formulas are underlined:
7
\[
8
\vlderivation{
9
\vliin{\cut_2}{}{\seqar \Pi}{
10
\vliin{\cut_1}{}{\seqar C \land D}{
11
\vlin{\rigrul{\lor}}{}{ \seqar\underline{ A \lor B} }{\vlhy{\seqar A,B}}
12
}{
13
\vlin{(R)}{}{ \underline{A\lor B} \seqar \underline{C\land D} }{ \vlhy{\Sigma \seqar \Delta} }
14
}
15
}{
16
\vlin{\lefrul{\land}}{}{ \underline{C\land D} \seqar \Pi }{\vlhy{C, D \seqar \Pi}}
17
}
18
}
19
\]
20

  
21
  Here $cut_1$ is anchored in this sense, but not $cut_2$. This is why we need the more general definition of \emph{hereditarily principal formula}.
22

  
23

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

  
8 29
     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:
......
13 34
    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 35
    \end{proof}
15 36

  
16
Now we have all the necessary lemmas to proceed with the proof of the theorem.
17
    \begin{proof} (of Thm  \ref{thm:free-cut-elim})
37
Now we have all the necessary lemmas to proceed with the proof of the main theorem.
38
    \begin{proof}[Proof of Thm  \ref{thm:free-cut-elim}]
18 39
    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 40
       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 41
    
......
22 43
\[    
23 44
     \vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
24 45
\]
25
    Intuitively we proceed as follows: if $A$ is not hereditarily principal in one of its premises  we will try to commute $c$ with the rule along its left premise  $(S_1)$, and if it is not possible commute it   with the rule along its right premise  $(S_2)$, by using Lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:standardcommutations}; if $A$ is hereditarily principal in both premises we proceed with a cut-elimination step, as in standard linear logic. For this second step, the delicate part is the elimination of exponential cuts, for which we use a big-step reduction; it works well because the contexts in the non-logical rules $(R)$ are marked with $!$ (resp. $?$) on the l.h.s. (resp. r.h.s.). 
46
    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 LHS (resp. RHS). 
26 47
    
27 48
    So, let us distinguish the various cases:
28 49
       \begin{itemize}
29
    \item \textbf{First case}: the cut-formula $A$ on the l.h.s. of  $c$ is non hereditarily principal. 
50
    \item \textbf{First case}: the cut-formula $A$ on the LHS of  $c$ is not hereditarily principal. 
30 51
    
31 52
\begin{itemize}
32 53
\item Consider first the situation where $(S_1)$ is not one of the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$.
33 54

  
34 55
In this case the commutation of $c$ with $(S_1)$ can be done in the usual way, by using Lemma \ref{lem:standardcommutations}. Let us handle as an example the case where $(S_1)=(\rigrul{\laand})$.
35
{\small
56

  
36 57
\[
37
\vlderivation{
58
\begin{array}{cc}
59
& \vlderivation{
38 60
\vliin{c}{}{ \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi }{ \vliin{S_1=\rigrul{\vlan}}{}{\Gamma  \seqar B_1\vlan B_2, \Delta, A}{ \vlhy{\Gamma  \seqar B_1, \Delta, A} }{\vlhy{\Gamma  \seqar  B_2,\Delta, A}}}{ \vlhy{ \Sigma, A \seqar  \Pi} }
39
}
40
\quad\to\quad
41
\vlderivation{
61
} \\
62
\noalign{\bigskip}
63
\to\qquad\qquad  
64
& \vlderivation{
42 65
\vliin{\rigrul{\vlan}}{}{  \Gamma, \Sigma \seqar B_1\vlan B_2, \Delta, \Pi  }{
43 66
\vliin{c_1}{}{\Gamma,\Sigma \seqar B_1, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_1, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
44 67
}{
45 68
\vliin{c_2}{}{\Gamma,\Sigma \seqar B_2, \Delta, \Pi }{ \vlhy{\Gamma  \seqar B_2, \Delta, A} }{\vlhy{ \Sigma, A \seqar  \Pi} }
46 69
}
47 70
}
71
\end{array}
48 72
\]
49
}
50 73

  
74

  
51 75
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 76
$\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 77
$\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 78

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

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

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

  
84 108
      \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 109
      
86
       Assume w.l.o.g. that it is the right premise which is conclusion of $\lefrul{\cntr}$ or $\lefrul{!}$ on $!A$, and thus the only possibility for the left premise is to  be conclusion of $\rigrul{!}$.  This is rule $(S_1)$ on the picture, last rule of the subderivation $\pi_1$, and we denote its conclusion as $!\Gamma' \seqar ?\Delta', !A$. We will use here a global rewriting step. For that consider in $\pi_2$ all the top-most direct ancestors of the cut-formula $!A$, that is to say direct ancestors which do not have any more direct ancestors above. Let us denote them as $!A^{j}$ for $1\leq j \leq k$. Observe that each $!A^{j}$ is principal formula of a rule $\lefrul{!}$ or $\lefrul{wk}$. Denote by $\rho$ the subderivation
110
       Assume without loss of generality 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 111
       of $\pi_2$ which has as leaves the sequents premises of these  $\lefrul{!}$ or $\lefrul{wk}$ rules with conclusion containing $!A^{j}$.
88
       Let $\rho'$ be a derivation obtained from $\rho$ by renaming if necessary eigenvariables occurring in premises of rules $\lefrul{\exists}$, $\rigrul{\forall}$, $(R)$  so that none of them belongs to $FV(!\Gamma', ?\Delta')$, where we recall that $!\Gamma' \seqar ?\Delta',!A$ is the l.h.s. premise of the cut $c$.
112
       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 LHS premise of the cut $c$.
89 113
  Now, let $\pi'_1$ be the immediate subderivation of $\pi_1$, of conclusion       $!\Gamma' \seqar ?\Delta',A$.  We then define the derivation 
90 114
  $\rho''$ obtained from   $\rho'$ in the following way:
91 115
  \begin{itemize}
92 116
  \item add a cut $c_j$ with (a copy) of $\pi'_1$ on $A^j$ at each leaf which is premise of a rule  $\lefrul{!}$;
93
  \item add to each sequent coming from $\rho'$  an additional context $!\Gamma'$ on the l.h.s. and an additional context $?\Delta'$ on the r.h.s., and additional $wk$ rules to introduce these formulas below the $\lefrul{wk}$ rules on formulas $!A^{j}$;
117
  \item add to each sequent coming from $\rho'$  an additional context $!\Gamma'$ on the LHS and an additional context $?\Delta'$ on the RHS, and additional $wk$ rules to introduce these formulas below the $\lefrul{wk}$ rules on formulas $!A^{j}$;
94 118
  \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 119
  \end{itemize}
96 120
  
97
  It can be checked that  $\rho''$ is a valid derivation, because all the conditions for context-sensitive rules $(\rigrul{\forall})$, $(\lefrul{\exists})$, $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ are satisfied. In particular the rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ are satisfied because the contexts have been enlarged with $!$ formulas on the l.h.s. of the sequents ($!\Gamma'$) and ?  formulas on the r.h.s. of the sequents ($?\Gamma'$).  
121
  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 LHS of the sequents ($!\Gamma'$) and ?  formulas on the RHS. of the sequents ($?\Gamma'$).  
98 122
  
99 123
  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 124

  
......
105 129
           \end{itemize}
106 130
     \end{itemize}
107 131
     \end{proof}
132
     
133
     
134
%\begin{remark}
135
%[Complexity]
136
%The exponential sub-case replaces a cut of degree $d$ by at most $|\pi|$ cuts of degree $d-1$, and also at most squares the size of the proof. 
137
%\end{remark}
108 138

  
109 139
%\section{Some cut-elimination cases}
110 140
%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.
CSL16/appendix-preliminaries.tex (revision 113)
1
\section{Appendix for Sect.~\ref{sect:preliminaries}}
1
\section{Proof of Thm.~\ref{thm:deduction}, Sect.~\ref{sect:preliminaries}}
2 2
\label{sect:app-preliminaries}
3 3

  
4
Equality axioms:
4
%Equality axioms:
5
%\[
6
% \begin{array}{rl}
7
%\refl & \forall x . x = x \\
8
%\symm & \forall x, y. (x = y \limp y = x )\\
9
%\trans & \forall x , y , z . ( x = y \limp y = z \limp x = z ) \\
10
%\subst_f & \forall \vec x , \vec y . (\vec x = \vec y \limp f(\vec x) = f(\vec y) ) \\
11
%\subst_P & \forall \vec x , \vec y. (\vec x = \vec y \limp P(\vec x) \limp P(\vec y)  )
12
% \end{array}
13
% \]
14

  
15
%\begin{theorem}[Theorem \ref{thm:deduction}]
16
%tt
17
%\end{theorem}
18
 
19
% \begin{proof}[Proof of Thm.~\ref{thm:deduction}]
20
Suppose $\theory \cup \{ A \}$ proves $B$ and let $\pi$ be a $\theory$-derivation with end-sequent $\seqar B$ and leaves $\seqar A$, i.e.:
5 21
\[
6
 \begin{array}{rl}
7
\refl & \forall x . x = x \\
8
\symm & \forall x, y. (x = y \limp y = x )\\
9
\trans & \forall x , y , z . ( x = y \limp y = z \limp x = z ) \\
10
\subst_f & \forall \vec x , \vec y . (\vec x = \vec y \limp f(\vec x) = f(\vec y) ) \\
11
\subst_P & \forall \vec x , \vec y. (\vec x = \vec y \limp P(\vec x) \limp P(\vec y)  )
12
 \end{array}
13
 \]
22
\vltreeder{\pi}{ \seqar B }{ \seqar A }{\vldots}{\seqar A}
23
\]
24

  
25
Then construct the following $\theory$-proof of $!A \limp B$,
26
\[
27
\vlderivation{
28
\vlin{\rigrul{\limp}}{}{\seqar !A \limp B}{
29
\vltr{!A, \pi }{ !A \seqar B }{
30
\vlin{\lefrul{!}}{}{!A \seqar A}{
31
\vlin{\id}{}{A\seqar A}{\vlhy{}}
32
}
33
}{ \vlhy{\vldots} }{
34
\vlin{\lefrul{!}}{}{!A \seqar A}{
35
\vlin{\id}{}{A\seqar A}{\vlhy{}}
36
}
37
}
38
}
39
}
40
\]
41
where $!A, \pi$ is obtained by appending $!A$ to the antecedent of each sequent in $\pi$, inserting left-contraction steps when necessary. Free variable conditions are satisfied since $A$ is closed (and so also $!A$) and side-conditions are satisfied since $!A$ is a $!$-formula.
42

  
43
For the other direction simply extend any $\theory$-proof of $!A \limp B$ as follows:
44
\[
45
\vlderivation{
46
\vliin{\cut}{}{ \seqar B }{
47
\vlin{\rigrul{!}}{}{\seqar !A }{\vlhy{\seqar A}}
48
}{
49
\vliq{ \inv{{\limp}} }{}{ !A \seqar B }{ \vlhy{\seqar !A \limp B }}
50
}
51
}
52
\]
53

  
54

  
55
% \end{proof}

Formats disponibles : Unified diff