Révision 14

CSL16/feas-arith-wfm.tex (revision 14)
125 125
	\newcommand{\pind}{\mathit{PIND}}
126 126
	\newcommand{\cax}[2]{#1\text{-}#2}
127 127

  
128
          % sizes
129
          \newcommand{\height}[1]{\mathit{h}(#1)}
128 130

  
129

  
130 131
% Author macros::begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
131 132
\title{Free-cut elimination in linear logic: an application to implicit complexity}
132 133
%\titlerunning{A Sample LIPIcs Article} %optional, in case that the title is too long; the running title should fit into the top page column
......
199 200
\anupam{Have skipped units, can reconsider this when in arithmetic. Also in affine setting can be recovered by any contradiction/tautology.}
200 201

  
201 202
\begin{definition}\label{def:LLsequentcalculus}
202
[Sequent calculus for linear logic]
203
%[Sequent calculus for linear logic]
204
[Sequent calculus for affine linear logic]
205

  
206
\patrick{2Anupam: is there a reason for considering only axioms on atomic formulas $p$?}
207

  
208
\patrick{Note that here I changed the system to consider directly affine linear logic}
209

  
203 210
We define the following calculus in De Morgan normal form:
204 211
\[
205 212
\begin{array}{l}
......
249 256
\noalign{\bigskip}
250 257
%\text{Structural:} & & & \\
251 258
%\noalign{\bigskip}
252
\vlinf{\lefrul{\wk}}{}{\Gamma, !A \seqar \Delta}{\Gamma \seqar \Delta}
259

  
260
%\vlinf{\lefrul{\wk}}{}{\Gamma, !A \seqar \Delta}{\Gamma \seqar \Delta}  %% linear logic weakening
261
\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
253 262
&
254 263
\vlinf{\lefrul{\cntr}}{}{\Gamma, !A \seqar \Delta}{\Gamma, !A, !A \seqar \Delta}
255 264
&
256
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, ?A }{\Gamma \seqar \Delta}
265
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, ?A }{\Gamma \seqar \Delta}   %% linear logic weakening
266

  
267
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A }{\Gamma \seqar \Delta}
257 268
&
258 269
\vlinf{\rigrul{\cntr}}{}{\Gamma \seqar \Delta, ?A}{\Gamma \seqar \Delta, ?A, ?A}
259 270
\\
......
264 275
&
265 276
\vlinf{\rigrul{\exists}}{}{\Gamma \seqar \Delta, \exists x . A(x)}{ \Gamma \seqar \Delta, A(t)}
266 277
&
267
\vlinf{\rigrul{\forall}}{}{\Gamma \seqar \Delta, \forall x . A(x)}{ \Gamma \seqar \Delta, A(a) }
278
\vlinf{\rigrul{\forall}}{}{\Gamma \seqar \Delta, \forall x . A(x)}{ \Gamma \seqar \Delta, A(a) } \\
279
\noalign{\bigskip}
280
 \vliinf{mix}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \Gamma \seqar \Delta}{\Sigma \seqar \Pi} &&&
268 281
\end{array}
269 282
\end{array}
270 283
\]
271 284
where $p$ atomic, $i \in \{ 1,2 \}$ and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
272 285
\end{definition}
273

  
286
 Note that this system is \textit{affine} in the sense that it includes general weakening rules $\rigrul{\wk}$ and  $\lefrul{\wk}$, while in linear logic   $\rigrul{\wk}$ (resp. $\lefrul{\wk}$) is restricted to formulas of the form $?A$ (resp. $!A$). The rule $mix$ is included so that this system admits cut elimination. In the following though by linear logic we will mean affine linear logic.
287
 
274 288
  We will consider extensions of linear logic with a \textit{theory}  $\mathcal T$ consisting in a finite set of additional axioms and rules, depicted as:
275 289

  
276 290
 \[
......
301 315
   
302 316
   Now we can state the main result of this section:
303 317
   \begin{theorem}
304
    GIven a theory  $\mathcal T$, any  $\mathcal T$-proof $\pi$ can be transformed into a $\mathcal T$-proof $\pi'$ with same conclusion sequent and in which all cuts are anchored.
318
    Given a theory  $\mathcal T$, any  $\mathcal T$-proof $\pi$ can be transformed into a $\mathcal T$-proof $\pi'$ with same conclusion sequent and in which all cuts are anchored.
305 319
   \end{theorem}
320
   \begin{proof}
321
   \patrick{The proof below is still in progress...}
306 322
   
323
    The proof will proceed in a way similar to the classical proof of cut elimination for linear logic, but here for eliminating only non-anchored 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}$ axioms and rules.
324
    
325
    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.
326
    
327
    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.
328
    
329
    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$. We distinguish 3 cases for $c$:
330
    \begin{itemize}
331
    \item \textbf{First case}: the cut $c$ is non principal for its left premise. 
332
    
333
     Call (S) the last rule above the left premise of $c$. We perform a commutation step between (S) and $c$. We examine here the case where (S)=($\rigrul{\laand}$). 
334
     
335
     \[
336
\vlderivation{
337
\vliin{c}{}{ \Gamma,\Delta,A\vlan B }{ \vliin{\vlan}{}{\Gamma,A\vlan B,C}{ \vlhy{\Gamma,A,C} }{\vlhy{\Gamma,B,C}}}{ \vlhy{\Delta, C^\bot} }
338
}
339
\quad\to\quad
340
\vlderivation{
341
\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
342
\vliin{c_1}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
343
}{
344
\vliin{c_2 }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
345
}
346
}
347
\]
348

  
349
\patrick{TODO: adapt to two-sided sequents here}
350

  
351
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
352
$\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
353
$\deg{\pi'_i}\leq \deg{\pi_i}$. Therefor $\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}$.  
354

  
355
The case (S)=($\lefrul{\laor}$) is identical, and the other cases are easier and described in the Appendix. 
356
    \item \textbf{Second case}: the cut $c$ is non principal for its right premise. 
357
    
358
    This is similar to the first case, by proceeding with a commutation case on the right. 
359
     \item \textbf{Third case}: the cut $c$ is principal for its left and right premises. Then we consider the following sub-cases, in order:
360
     \begin{itemize}
361
      \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$. Assume w.l.o.g. that it is the right premise, so a rule $\lefrul{\cntr}$ or $\lefrul{!}$ on $!A$.  We will use here a global rewriting step. For that consider in $\pi$ 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}$.
362
      
363
      Now examine the left premise of $c$, with principal formula $!A$.
364
      
365
      \patrick{to be continued...}
366
      
367
      \item \textbf{logical sub-case}: assume both premises of $c$ are conclusions of rules others than $?$, $!$, $wk$, $cntr$.
368
      
369
      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. See the Appendix.
370
      
371
      \item \textbf{weakening sub-case}: the remaining case is when one of the premises of $c$ is a $wk$ rule and the other one is a rule distinct from $cntr$, $\rigrul{?}$ or $\lefrul{!}$. W.l.o.g. assume that the left premise of $c$ is conclusion of $\lefrul{\wk}$. If the right premise is conclusion of say rule $\rigrul{\land}$ on a formula $A_1\land A_2$, then $c$ is replaced by two cuts $c_i$ ($i=1,2$) on a formula $A_i$ obtained (on the left) by a $\lefrul{\wk}$ rule. These two cuts are of strictly lower degree than $c$, so we are done. We proceed in a similar way in the cases of rules introducing connectives $\lor$, $\laand$, $\laor$, $\forall$, $\exists$. Now,there remains the case where the right premise is a $\rigrul{\wk}$: then the cut can be eliminated by erasing the two $wk$ rules and using instead a $mix$ rule. In this case also the degree has decreased.
372
      
373
      \patrick{Display the rewriting step here}.
374
      
375
     \end{itemize}
376
     
377
      
378
    \end{itemize}
379
     
380
   \end{proof}
381
   
307 382
\subsection{Deduction theorem}
308 383

  
309 384
[cite Avron:`semantics and proof theory of linear logic']

Formats disponibles : Unified diff