Statistiques
| Révision :

root / CSL16 / appendix.tex @ 37

Historique | Voir | Annoter | Télécharger (14,33 ko)

1
\appendix
2

    
3
\section{Some cut-elimination cases}
4
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.
5

    
6
As well as all usual rules, we have the induction rule:
7
\[
8
\vlinf{\indr}{(x \notin FV (\Gamma) )}{? \Gamma, A^\perp (0) , A(t)}{? \Gamma , A^\perp (x) , A(s x) }
9
\]
10

    
11
We give all the various cut-reduction cases in the following section but first we give a simple cut-elimination argument.
12

    
13
\subsection{A basic (free-)cut elimination argument}
14
We give an argument that easily scales to free-cut elimination, i.e.\ in the presence of non-logical rules.
15

    
16
\newcommand{\anarrow}[2]{\overset{#1}{\underset{#2}{\longrightarrow}}}
17
\newcommand{\cutredlin}{\mathit{ma}}
18
\newcommand{\cutredexp}{exp}
19

    
20
\begin{definition}
21
	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.
22
\end{definition}
23

    
24
\newcommand{\rk}{\mathsf{rk}}
25
	\renewcommand{\deg}{\mathsf{deg}}
26
\begin{definition}
27
	[Measures]
28
	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.
29
\end{definition}
30

    
31
\begin{proposition}
32
If $\pi$ is not $\anarrow{}{\cutredlin}$-normal then there is a derivation $L:\pi \anarrow{*}{\cutredlin} \pi'$ such that $\deg(\pi')< \deg(\pi)$.
33
\end{proposition}
34
\begin{proof}
35
	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.
36
	
37
	Now to the general case, we simply apply the above procedure to the subproof above a topmost cut in $\pi$.
38
\end{proof}
39
\begin{corollary}
40
	$\anarrow{}{\cutredlin}$ is weakly normalising.
41
\end{corollary}
42

    
43

    
44
\newcommand{\cntdown}{\mathit{cn}}
45
\begin{definition}
46
	[Lazy contraction]
47
	Let $\anarrow{}{\cntdown}$ comprise of the following reduction steps:
48
	\begin{enumerate}
49
		\item The commuting steps,
50
			\[
51
			\vlderivation{
52
				\vlin{\rho}{}{\Gamma', ?A, }{
53
					\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ? A, ? A}}
54
				}
55
			}
56
			\quad\to \quad
57
			\vlderivation{
58
				\vlin{\cntr}{}{\Gamma', ?A}{
59
					\vlin{\rho}{}{\Gamma', ?A, ?A}{\vlhy{\Gamma, ? A, ? A}}
60
				}
61
			}	
62
			\]
63
			for each unary rule $\rho$.
64
			\item 
65
			The key steps:
66
			\[ 	
67
			\begin{array}{rcl}
68
			\vlderivation{
69
				\vlin{\cntr}{}{\Gamma, ?A}{
70
					\vlin{\wk}{}{\Gamma, ?A, ?A}{\vlhy{\Gamma, ?A}}
71
				}
72
			}
73
			\quad &\to & \quad
74
			\Gamma, ?A 
75
%			\]
76
%			and
77
%			\[
78
\\
79
\noalign{\smallskip}
80
				\vlderivation{
81
					\vlin{\wk}{}{\Gamma, ?A, ?A}{
82
						\vlin{\cntr}{}{\Gamma, ?A}{\vlhy{\Gamma, ?A, ?A}}
83
					}
84
				}
85
				\quad &\to& \quad
86
				\Gamma, ?A, ?A
87
							\end{array}
88
			\].
89
\item The commuting steps,
90
\[
91
	\vlderivation{
92
		\vliin{\rho}{}{\Gamma ,?A}{
93
			\vlin{\cntr}{}{\Gamma_1, ?A}{\vlhy{\Gamma_1, ?A, ?A}}
94
		}{\vlhy{\Gamma_2}}
95
	}
96
	\quad \to \quad
97
	\vlderivation{
98
		\vlin{\cntr}{}{\Gamma, ?A}{
99
			\vliin{\rho}{}{\Gamma,?A, ?A}{\vlhy{\Gamma_1, ?A, ?A}}{ \vlhy{\Gamma_2} }
100
		}
101
	}
102
\]
103
%\[
104
%\begin{array}{rcl}
105
%	\vlderivation{
106
%		\vliin{\land}{}{\Gamma, \Delta, ?A, B\land C}{
107
%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
108
%		}{\vlhy{\Delta, C}}
109
%	}
110
%	\quad &\to &\quad
111
%	\vlderivation{
112
%		\vlin{\cntr}{}{\Gamma, \Delta, ?A, B\land C}{
113
%			\vliin{\land}{}{\Gamma, \Delta, ?A, ?A, B\land C}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, C} }
114
%		}
115
%	}
116
%%	\]
117
%%	
118
%%	\[
119
%\\
120
%\noalign{\smallskip}
121
%	\vlderivation{
122
%		\vliin{\cut}{}{\Gamma, \Delta, ?A}{
123
%			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
124
%		}{\vlhy{\Delta, \lnot{B}}}
125
%	}
126
%	\quad &\to& \quad
127
%	\vlderivation{
128
%		\vlin{\cntr}{}{\Gamma, \Delta, ?A}{
129
%			\vliin{\cut}{}{\Gamma, \Delta, ?A, ?A}{\vlhy{\Gamma, ?A, ?A, B}}{ \vlhy{\Delta, \lnot{B}} }
130
%		}
131
%	}
132
%\end{array}
133
%\]
134
for each binary rule $\rho \in \{ \land, \cut \}$.
135
\item The commuting step:
136
	\[
137
	\vlderivation{
138
		\vliin{\vlan}{}{\Gamma, ?A, B\vlan C}{
139
			\vlin{\cntr}{}{\Gamma, ?A, B}{\vlhy{\Gamma, ?A, ?A, B}}
140
		}{\vlhy{\Gamma, ?A, B}}
141
	}
142
	\quad \to \quad
143
	\vlderivation{
144
		\vlin{\cntr}{}{\Gamma, ?A, B\vlan C}{
145
			\vliin{\vlan}{}{\Gamma, ?A, ?A, B\vlan C}{\vlhy{\Gamma, ?A, ?A, B}}{
146
				\vlin{\wk}{}{\Gamma, ?A, ?A, C}{\vlhy{\Gamma, ?A, C}}
147
			}
148
		}
149
	}
150
	\]
151
	\end{enumerate}
152
	For binary rules:
153

    
154
\end{definition}
155
\begin{proposition}
156
	$\anarrow{}{\cntdown}$ is weakly normalising
157
	, modulo $\cntr$-$\cntr$ redexes,
158
	and degree-preserving. 
159
	If $\pi$ is $\anarrow{}{\cutredlin}$-normal and $\pi \downarrow_\cntdown \pi'$, then so is $\pi'$.
160
\end{proposition}
161
\begin{proof}
162
	By induction on the number of redexes in a proof. Start with bottommost redex, by induction on number of inference steps beneath it.
163
\end{proof}
164

    
165
\begin{remark}
166
	Only weakly normalising since $\cntr$ can commute with $\cntr$, allowing cycles.
167
\end{remark}
168

    
169
\begin{proposition}
170
	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)$.
171
\end{proposition}
172

    
173

    
174

    
175
\subsection{Base cases}
176

    
177
\[
178
\vlderivation{
179
\vliin{\cut}{}{ \Gamma,a }{ \vlhy{\Gamma,a} }{ \vlin{\id}{}{a,a^\bot}{ \vlhy{} } }
180
}
181
\quad\to\quad
182
\vlderivation{
183
\Gamma,a
184
}
185
\]
186

    
187
\[
188
\vlderivation{
189
\vliin{\cut}{}{\Gamma}{ \vlin{\bot}{}{ \Gamma,\bot }{ \vlhy{\Gamma} } }{ \vlin{1}{}{1}{ \vlhy{} } }
190
}
191
\quad\to\quad
192
\vlderivation{
193
\Gamma
194
}
195
\]
196

    
197
\[
198
\vlderivation{
199
\vliin{\cut}{}{ \Gamma,\Delta,\top }{ \vlin{\top}{}{ \Gamma,\top,0 }{ \vlhy{} } }{ \vlhy{\Delta , \top } }
200
}
201
\quad\to\quad
202
\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
203
\]
204

    
205
\subsection{Commutative cases}
206
These are the cases when the principal formula of a step is not active for the cut-step below.
207

    
208
\begin{enumerate}
209
\item The cut-step is immediately preceded by an initial step. Note that only the case for $\top$ applies:
210
\[
211
\vlderivation{
212
\vliin{\cut}{}{\Gamma,\Delta,\top}{ 
213
\vlin{\top}{  }{ \Gamma,\top,A }{ \vlhy{} }
214
 }{ \vlhy{\Delta,A^\bot } }
215
}
216
\quad\to\quad
217
\vlinf{\top}{}{ \Gamma,\Delta,\top }{}
218
\]
219
%Notice that this commutation eliminates the cut entirely and preserves the height of all cuts below.
220
\item\label{CaseCommOneStep} A cut-step is immediately preceded by a step $\rho$ with exactly one premiss:
221
\[
222
\vlderivation{
223
\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
224
}
225
\]
226
We have three subcases:
227
\begin{enumerate}
228
\item\label{subcase:unary-commutation-vanilla} 
229
%$\Delta$ consists of only $?$-ed formulae or 
230
If $\rho \notin \{! , \indr \}$ then we can simply permute as follows:
231
\begin{equation}
232
\label{eqn:com-case-unary-simple}
233
\vlderivation{
234
\vliin{\cut}{}{\Gamma',\Delta}{\vlin{\rho}{}{\Gamma',A}{\vlhy{\Gamma,A}}}{\vlhy{A^\bot , \Delta}}
235
}
236
\quad \to \quad
237
\vlderivation{
238
\vlin{\rho}{}{\Gamma',\Delta}{
239
\vliin{\cut}{}{\Gamma,\Delta}{\vlhy{\Gamma,A}}{\vlhy{A^\bot , \Delta}}
240
}
241
}
242
\end{equation}
243
(If $\rho$ was $\forall$ then we might need to rename some free variables in $\Delta$.)
244
\item $\rho $ is a $!$-step. Therefore $\Gamma$ has the form $? \Sigma , B$ and $A$ has the form $?C$, yielding the following situation:
245
\[
246
\vlderivation{
247
\vliin{\cut}{}{? \Sigma, !B, \Delta }{
248
\vlin{!}{}{? \Sigma, !B , ?C}{\vlhy{?\Sigma , B , ?C}  }
249
}{
250
\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
251
}
252
}
253
\]
254
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.
255
\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.
256
% yielding the following situation:
257
%\[
258
%\vlderivation{
259
%	\vliin{\cut}{}{? \Sigma, B^\perp (0) , B(t), \Delta }{
260
%		\vlin{\indr}{}{? \Sigma, B^\perp (0) , B(t) , ?C}{\vlhy{?\Sigma , B^\perp(x) , B(s x) , ?C}  }
261
%	}{
262
%	\vlin{\rho'}{}{!C^\perp , \Delta}{\vlhy{\vlvdots}}
263
%}
264
%}
265
%\]
266
\end{enumerate}
267

    
268

    
269

    
270
\item A cut-step is immediately preceded by a $\vlte $-step:
271
\[
272
\vlderivation{
273
\vliin{\cut}{}{\Gamma,\Delta,\Sigma,A\vlte B }{
274
\vliin{\vlte}{}{\Gamma,\Delta,A\vlte B,C }{\vlhy{\Gamma,A,C}}{\vlhy{\Delta,B}}
275
}{\vlhy{ \Sigma , C^\bot  }}
276
}
277
\quad\to\quad
278
\vlderivation{
279
\vliin{\vlte}{}{\Gamma,\Delta,\Sigma,A\vlte B}{
280
\vliin{\cut}{}{\Gamma,\Sigma,A}{\vlhy{\Gamma,A,C}}{\vlhy{\Sigma,C^\bot}}
281
}{\vlhy{\Delta,B}}
282
}
283
\]
284
%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.
285
\item\label{CommCaseAmpersand} A cut-step is immediately preceded by a $\vlan$-step.
286
\[
287
\vlderivation{
288
\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} }
289
}
290
\quad\to\quad
291
\vlderivation{
292
\vliin{\vlan}{}{\Gamma,\Delta,A\vlan B }{
293
\vliin{cut}{}{\Gamma,\Delta,A }{ \vlhy{\Gamma,A,C} }{ \vlhy{ \Delta,C^\bot } }
294
}{
295
\vliin{ \cut }{}{\Gamma,\Delta,B}{ \vlhy{\Gamma,B,C } }{ \vlhy{\Delta,C^\bot} }
296
}
297
}
298
\]
299
\item (No rule for cuts commuting with cuts.)
300
%A cut-step is immediately preceded by another cut-step:
301
\[
302
\vlderivation{
303
	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{
304
		\vliin{\cut}{}{\Gamma, \Delta, B}{\vlhy{\Gamma, A}}{\vlhy{\Delta, \lnot{A}, B}}
305
		}{\vlhy{\Sigma, \lnot{B}}}
306
	}
307
	\quad\to\quad
308
\vlderivation{
309
	\vliin{\cut}{}{\Gamma, \Delta, \Sigma}{\vlhy{\Gamma, A}}{
310
		\vliin{\cut}{}{\Delta, \Sigma, \lnot{A}}{\vlhy{\Delta, \lnot{A}, B}}{\vlhy{\Sigma, \lnot{B}}}
311
		}
312
	}
313
\]
314
\end{enumerate}
315

    
316

    
317

    
318
\subsection{Key cases: structural steps}
319
%[THIS SECTION MIGHT NOT BE NECESSARY]
320
We attempt to permute cuts on exponential formulae over structural steps whose principal formula is active for the cut. 
321

    
322
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. 
323

    
324
We have two cases.
325
\begin{enumerate}
326
\item\label{StructStepCont} The structural step preceding the cut is a weakening:
327
\[
328
\vlderivation{
329
\vliin{\cut}{}{?\Gamma,\Delta}{ \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} } }{ \vlin{w}{}{ ?A^\bot }{ \vlhy{\Delta	} } }
330
}
331
\quad\to\quad
332
\vlinf{w}{}{?\Gamma,\Delta}{ \Delta }
333
\]
334
%\item The structural step preceding the cut is a contraction:
335
%\[
336
%\vlderivation{
337
%\vliin{\cut}{}{ ?\Gamma,\Delta }{
338
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
339
%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
340
%}
341
%\quad\to\quad
342
%\vlderivation{
343
%\vliq{c}{}{?\Gamma, \Delta}{
344
%\vliin{\cut}{}{?\Gamma, ?\Gamma,\Delta }{
345
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
346
%}{
347
%\vliin{\cut}{}{?\Gamma,?A^\bot , \Delta }{
348
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
349
%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
350
%}
351
%}
352
%}
353
%\]
354
%OR use a multicut:
355
%\[
356
%\vlderivation{
357
%\vliin{\cut}{}{ ?\Gamma,\Delta }{
358
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
359
%}{ \vlin{c}{}{ ?A^\bot , \Delta }{ \vlhy{ ?A^\bot , ?A^\bot ,  \Delta} } }
360
%}
361
%\quad\to\quad
362
%\vlderivation{
363
%\vliin{\multicut}{}{?\Gamma,?A^\bot , \Delta }{
364
% \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
365
%}{ \vlhy{?A^\bot , ?A^\bot , \Delta } }
366
%}
367
%\]
368
\item The structural step preceding a cut is a contraction:
369
\[
370
\vlderivation{
371
	\vliin{\cut}{}{?\Gamma, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
372
		\vlin{\cntr}{}{ ?A,\Sigma }{ \vlhy{ ?A,?A,\Sigma } }
373
	}
374
}
375
\quad\to\quad
376
\vlderivation{
377
	\vliq{\cntr}{}{ ?\Gamma,\Sigma }{
378
		\vliin{\cut}{}{ ?\Gamma,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
379
			\vliin{\cut}{}{ ?A,?\Gamma,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,\Sigma } }
380
		}
381
	}
382
}
383
\]
384
%\item The structural step preceding a cut is a parallel contraction:
385
%\[
386
%\vlderivation{
387
%\vliin{\cut}{}{?\Gamma,?\Delta, \Sigma }{ \vlhy{?\Gamma,!A^\bot} }{
388
%\vlin{}{}{ ?A,?\Delta,\Sigma }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
389
%}
390
%}
391
%\quad\to\quad
392
%\vlderivation{
393
%\vlin{}{}{ ?\Gamma,?\Delta,\Sigma }{
394
%\vliin{\cut}{}{ ?\Gamma,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot } }{
395
%\vliin{\cut}{}{ ?A,?\Gamma,?\Delta,?\Delta,\Sigma }{ \vlhy{?\Gamma,!A^\bot} }{ \vlhy{ ?A,?A,?\Delta,?\Delta,\Sigma } }
396
%}
397
%}
398
%}
399
%\]
400
\end{enumerate}
401

    
402
\subsection{Key cases: logical steps}
403
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.
404
\begin{enumerate}
405
\item The cut-formula is multiplicative:
406
\[
407
\vlderivation{
408
\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{
409
\vliin{\vlte}{}{ \Gamma,\Delta,A\vlte B }{ \vlhy{\Gamma,A} }{ \vlhy{\Delta,B} }
410
}{ \vlin{\vlpa}{}{ \Sigma, A^\bot \vlpa B^\bot }{ \vlhy{\Sigma , A^\bot , B^\bot} } }
411
}
412
\quad\to\quad
413
\vlderivation{
414
\vliin{\cut}{}{ \Gamma,\Delta,\Sigma }{ \vlhy{\Gamma,A} }{
415
\vliin{\cut}{}{ \Delta,\Sigma,A^\bot }{ \vlhy{\Delta,B} }{ \vlhy{\Sigma , A^\bot,B^\bot } }
416
}
417
}
418
\]
419
\item The cut-formula is additive,
420
\[
421
\vlderivation{
422
\vliin{\cut}{}{ \Gamma,\Delta }{ 
423
\vliin{\vlan}{}{ \Gamma,A\vlan B }{ \vlhy{\Gamma,A} }{ \vlhy{\Gamma,B} }
424
 }{ \vlin{\vlor}{}{ \Delta,A^\bot\vlor B^\bot }{ \vlhy{\Delta, A^\bot } } }
425
}
426
\quad\to\quad
427
\vliinf{\cut}{}{ \Gamma,\Delta }{ \Gamma,A }{ \Delta,A^\bot }
428
\]
429
where the case for the other $\vlor$-rule is symmetric.
430
\item The cut-formula is exponential.
431
\[
432
\vlderivation{
433
\vliin{\cut}{}{ ?\Gamma,\Delta }{
434
 \vlin{!}{}{ ?\Gamma,!A }{ \vlhy{?\Gamma , A} }
435
}{
436
\vlin{?}{}{ \Delta,?A^\bot }{ \vlhy{\Delta, A^\bot } }
437
}
438
}
439
\quad\to\quad
440
\vliinf{\cut}{}{ ?\Gamma,\Delta }{ ?\Gamma,A }{ \Delta,A^\bot }
441
\]
442
\item The cut-formula is quantified.
443
\[
444
\vlderivation{
445
	\vliin{\cut}{}{\Gamma, \Delta}{
446
		\vlin{\forall}{}{\Gamma, \forall x. A(x)}{\vltr{\pi(a)}{\Gamma, A(a)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}}
447
		}{
448
		\vlin{\exists}{}{\Delta, \exists x . \lnot{A}(x)}{\vlhy{\Delta, \lnot{A}(t)}}
449
		}
450
	}
451
	\quad \to \quad
452
	\vlderivation{
453
		\vliin{\cut}{}{\Gamma, \Delta}{
454
			\vltr{\pi(t)}{\Gamma, A(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
455
			}{\vlhy{\Delta, \lnot{A}(t)}}
456
		}
457
\]
458
\end{enumerate}
459