Révision 93

CSL16/arithmetic.tex (revision 93)
220 220
Usually the induction axiom is also equivalent to a formulation with a designated premise for the base case, e.g.:
221 221
\begin{equation}
222 222
\label{eqn:ind-rul-base-prem}
223
\vliiinf{}{}{ !N(t) , !\Gamma  \seqar A(t), ?\Delta }{!\Gamma \seqar A(\epsilon)}{ !N(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !N(a) , !\Gamma, A(a) \seqar A(\succ_1 a) , ?\Delta  }
223
\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  }
224 224
\end{equation}
225 225
However, this is not true in the linear logic setting since the proof that \eqref{eqn:ind-rul-base-prem} simulates the one we gave relies on contraction on the formula $A(\epsilon)$, which is not in general available, and so \eqref{eqn:ind-rul-base-prem} is somewhat weaker. This distinction turns out to be crucial in Sect.~\ref{sect:bc-convergence}, namely when proving the convergence of functions defined by predicative recursion on notation.
226 226
\end{remark}
CSL16/wfm.tex (revision 93)
100 100
			The other initial steps of $\arith$ are translated as follows:
101 101
			\[
102 102
			\begin{array}{ccc}
103
%			\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
103
%			\vlinf{\word_\epsilon}{}{\seqar \word (\epsilon)}{}
104 104
%			& : &
105 105
%			\epsilon
106 106
%			\\ 
......
112 112
			& \quad : \quad & 
113 113
			\succ_1 (; x)
114 114
			\\
115
%			\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{} 
115
%			\vlinf{\epsilon^0}{}{ \word (t)  , \epsilon = \succ_0 t \seqar }{} 
116 116
%			& : &
117 117
%			\epsilon
118 118
%			\\
119
%			\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
119
%			\vlinf{\epsilon^1}{}{ \word (t)  , \epsilon = \succ_1 t \seqar }{}
120 120
%			& : &
121 121
%			\epsilon
122 122
%			\\
123
%			\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
123
%			\vlinf{\succ_0}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
124 124
%			& : &
125 125
%			\epsilon
126 126
%			\\
127
%			\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
127
%			\vlinf{\succ_1}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
128 128
%			& : &
129 129
%			\epsilon
130 130
%			\\
131
%			\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
131
%			\vlinf{\inj}{}{\word(t), \succ_0 t = \succ_1 t \seqar}{}
132 132
%			& : &
133 133
%			\epsilon
134 134
%			\\
......
185 185
			Suppose $\pi$ ends with a $\rigrul{\exists}$ step,
186 186
				\[
187 187
				\vlderivation{
188
					\vlin{\rigrul{\exists}}{}{ \Gamma, \nat(t) \seqar \Delta , \exists x^\nat . A(x) }{
188
					\vlin{\rigrul{\exists}}{}{ \Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x) }{
189 189
						\vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
190 190
					}
191 191
				}
......
212 212
				If $\pi$ ends with a $\lefrul{\exists}$ step,
213 213
				\[
214 214
				\vlderivation{
215
					\vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^N . A(x) \seqar \Delta }{
216
						\vltr{\pi'}{ \Gamma , A(a),  N(a) \seqar \Delta  }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
215
					\vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^\word . A(x) \seqar \Delta }{
216
						\vltr{\pi'}{ \Gamma , A(a),  \word(a) \seqar \Delta  }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
217 217
					}
218 218
				}
219 219
				\]
......
227 227
%				\anupam{should just be same? Consider variable naming, just in case.}
228 228
%				\anupam{This is probably where the consideration for free variables is.}
229 229
				
230
				%Suppose we have functions $\vec g (\vec v  , \vec w ; \vec x , y , \vec z)$ where $(\vec v ; \vec x) $ corresponds to $\Gamma$, $y$ corresponds to $\nat(a)$ and $(\vec w ; \vec z) $ corresponds to $A(a)$. Then we define:
230
				%Suppose we have functions $\vec g (\vec v  , \vec w ; \vec x , y , \vec z)$ where $(\vec v ; \vec x) $ corresponds to $\Gamma$, $y$ corresponds to $\word(a)$ and $(\vec w ; \vec z) $ corresponds to $A(a)$. Then we define:
231 231
				%\[
232 232
				%\vec f ( \vec v , \vec w ; \vec x , y , \vec z )
233 233
				%\]
......
326 326
	
327 327
	
328 328
	
329
	In the other case, where $A$ may be modal, it must be of the form $!\nat (t)$ since it must directly descend from the left-hand side of an induction step, by free-cut freeness.
330
%	 or axiom on one side. The only such occurrence of a modality is in the conclusion of an induction step, whence such a formula has the form $!\nat (t)$. 
329
	In the other case, where $A$ may be modal, it must be of the form $!\word (t)$ since it must directly descend from the left-hand side of an induction step, by free-cut freeness.
330
%	 or axiom on one side. The only such occurrence of a modality is in the conclusion of an induction step, whence such a formula has the form $!\word (t)$. 
331 331
	 Since the cut is anchored, we can also assume that the cut formula is principal on the other side, i.e.\ $\pi$ is of the form:
332 332
	
333 333
%	\anupam{need to check this assumption against free-cut elimination conditions. To discuss.}
......
335 335
\[
336 336
\vlderivation{
337 337
	\vliin{\cut}{}{!\Gamma , \Sigma  \seqar \Delta }{
338
		\vlin{\rigrul{!}}{}{!\Gamma \seqar  !\nat(t)}{
339
			\vltr{\pi_1'}{!\Gamma \seqar  \nat(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
338
		\vlin{\rigrul{!}}{}{!\Gamma \seqar  !\word(t)}{
339
			\vltr{\pi_1'}{!\Gamma \seqar  \word(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
340 340
			}
341 341
		}{
342
		\vltr{\pi_2}{ !\nat(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
342
		\vltr{\pi_2}{ !\word(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
343 343
		}
344 344
	}
345 345
\]
346 346
 where 
347 347
% $\pi_2$ ends with a $\ind$ step for which  $A(x)$ is the induction formula, and 
348
 we assume there are no side-formulae on the right of the end-sequent of $\pi_1$ for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h (  v , \vec w ; \vec x)$ from $\pi_1'$ and $\pi_2$ respectively, where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$,  $!\nat(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
348
 we assume there are no side-formulae on the right of the end-sequent of $\pi_1$ for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h (  v , \vec w ; \vec x)$ from $\pi_1'$ and $\pi_2$ respectively, where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$,  $!\word(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
349 349
\[
350 350
\vec f^\pi (\vec u , \vec w ; \vec x)
351 351
\quad := \quad
......
385 385
	Finally, suppose $\pi$ ends with an $\ind$ step. Since there are no occurrences of $?$ in $\pi$ we can again assume that there are no side formulae on the right of any induction step. Thus $\pi$ is of the form:
386 386
	\[
387 387
	\vlderivation{
388
		\vliin{\ind}{}{ !\nat (t), !\Gamma  ,  A(\epsilon) \seqar A(t) }{
389
			\vltr{\pi_0}{!\nat(a) , !\Gamma ,  A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
388
		\vliin{\ind}{}{ !\word (t), !\Gamma  ,  A(\epsilon) \seqar A(t) }{
389
			\vltr{\pi_0}{!\word(a) , !\Gamma ,  A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
390 390
		}{
391
		\vltr{\pi_1}{!\nat(a), !\Gamma ,  A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
391
		\vltr{\pi_1}{!\word(a), !\Gamma ,  A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
392 392
	}
393 393
}
394 394
\]
395 395
%\anupam{is this better with a premiss for the base case?}
396 396

  
397
By the inductive hypothesis we have functions $\vec g^0 (u , \vec v ; \vec x)$ and $\vec g^1 (u , \vec v ; \vec x)$ with $u$, $\vec v$ and $\vec x$ corresponding to $!\nat(a)$, $!\Gamma$ and $A(a)$ respectively. We define $\vec f^\pi$ by simultaneous predicative recursion on notation as follows:
397
By the inductive hypothesis we have functions $\vec g^0 (u , \vec v ; \vec x)$ and $\vec g^1 (u , \vec v ; \vec x)$ with $u$, $\vec v$ and $\vec x$ corresponding to $!\word(a)$, $!\Gamma$ and $A(a)$ respectively. We define $\vec f^\pi$ by simultaneous predicative recursion on notation as follows:
398 398
\[
399 399
\begin{array}{rcll}
400 400
\vec f^\pi ( \epsilon, \vec v ; \vec x ) & := & \vec x & \\
CSL16/biblio.bib (revision 93)
204 204
  publisher={North-Holland, Amsterdam},
205 205
  note={and ed.}
206 206
}
207
@article{Girard87,
208
  author    = {Jean{-}Yves Girard},
209
  title     = {Linear Logic},
210
  journal   = {Theor. Comput. Sci.},
211
  volume    = {50},
212
  pages     = {1--102},
213
  year      = {1987},
214
  url       = {http://dx.doi.org/10.1016/0304-3975(87)90045-4},
215
  doi       = {10.1016/0304-3975(87)90045-4},
216
  timestamp = {Wed, 07 Sep 2011 12:13:20 +0200},
217
  biburl    = {http://dblp.uni-trier.de/rec/bib/journals/tcs/Girard87},
218
  bibsource = {dblp computer science bibliography, http://dblp.org}
219
}
207 220

  
208 221

  
209 222

  
CSL16/preliminaries.tex (revision 93)
1 1
\section{Preliminaries}
2
%
3
%\todo{consider removing and just have a section on linear logic, including free-cut elimination.}
2 4

  
3
\todo{consider removing and just have a section on linear logic, including free-cut elimination.}
4 5

  
5
\anupam{mention equality axioms and first-order theories and models at some point.}
6
%
7
%
8
%\paragraph*{Notation}
9
%Fix conventions here for use throughout:
10
%\begin{itemize}
11
%\item Eigenvariables: $a, b , c$.
12
%\item (Normal) variables: $u,v,w$. (only when distinction is important, e.g.\ $u^{!\nat}$).
13
%\item (Safe) variables: $x,y,z$. (as above, e.g.\ $x^\nat$.)
14
%\item Terms: $r,s,t$.
15
%\item Formulae: $A,B,C$.
16
%\item Atomic formulae: $p,q$.
17
%\item Free variables in a term, formula, sequent: $FV(u)$, $FV(A)$, $FV(\Gamma)$
18
%\item Sequents: $\Gamma, \Delta, \Sigma, \Pi$.
19
%\item lists of formulas $A(\vec{x})$, $!A(\vec{x})$ (in particular for $A=N$).
20
%\item Proofs: $\pi, \rho, \sigma$.
21
%\item Theories: $\mathcal T$. Sequent systems: $\mathcal S$.
22
%\end{itemize}
23
%
24
%\subsection{Linear logic}
6 25

  
26
%\anupam{use a system that is already in De Morgan form, for simplicity.}
27
%\anupam{Have skipped units, can reconsider this when in arithmetic. Also in affine setting can be recovered by any contradiction/tautology.}
7 28

  
8
\paragraph*{Notation}
9
Fix conventions here for use throughout:
10
\begin{itemize}
11
\item Eigenvariables: $a, b , c$.
12
\item (Normal) variables: $u,v,w$. (only when distinction is important, e.g.\ $u^{!\nat}$).
13
\item (Safe) variables: $x,y,z$. (as above, e.g.\ $x^\nat$.)
14
\item Terms: $r,s,t$.
15
\item Formulae: $A,B,C$.
16
\item Atomic formulae: $p,q$.
17
\item Free variables in a term, formula, sequent: $FV(u)$, $FV(A)$, $FV(\Gamma)$
18
\item Sequents: $\Gamma, \Delta, \Sigma, \Pi$.
19
\item lists of formulas $A(\vec{x})$, $!A(\vec{x})$ (in particular for $A=N$).
20
\item Proofs: $\pi, \rho, \sigma$.
21
\item Theories: $\mathcal T$. Sequent systems: $\mathcal S$.
22
\end{itemize}
29
We formulate linear logic without units with usual notation for the multiplicatives, additives and exponentials from \cite{Girard87}. We restrict negation to the atoms, thus formulae are always in De Morgan normal form, and this is reflected in the sequent system below. We have included rules for arbitrary weakening for working in affine settings.
23 30

  
24
\subsection{Linear logic}
31
%\anupam{positive and negative.}
25 32

  
26
\anupam{use a system that is already in De Morgan form, for simplicity.}
27
\anupam{Have skipped units, can reconsider this when in arithmetic. Also in affine setting can be recovered by any contradiction/tautology.}
28 33

  
29 34

  
30
\anupam{positive and negative.}
31

  
32
\todo{$\limp$ abbreviation for ...}
33
\todo{bracketing}
34

  
35
\begin{definition}\label{def:LLsequentcalculus}
35
\begin{definition}
36 36
%[Sequent calculus for linear logic]
37 37
[Sequent calculus for affine linear logic]
38
\label{def:LLsequentcalculus}
38 39

  
39
We define the following calculus in De Morgan normal form:
40
We define the following calculus:
40 41
\[
41 42
\begin{array}{l}
42 43
\begin{array}{cccc}
......
110 111
\end{array}
111 112
\end{array}
112 113
\]
113
where $p$ atomic, $i \in \{ 1,2 \}$ and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
114
where $p$ is atomic, $i \in \{ 1,2 \}$ and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
114 115
\end{definition}
115
  These rules will be called logical rules. As usual logical rules come with a notion of \textit{principal formulas}, which are a subset of the rules in the conclusion, e.g.:
116
%\todo{$\limp$ abbreviation for ...}
117
%\todo{bracketing}
118

  
119
We do not formally include a symbol for implication but we sometimes write $A \limp B$ as shorthand for $\lnot{A} \lor B$, where $\lnot A$ is the De Morgan dual of $A$. We often omit brackets under associativity of, and when writing long implications we assume the right-most bracketing.
120

  
121
\anupam{mention equality axioms and first-order theories and models at some point.}
122

  
123
  These rules come with a notion of \textit{principal formula}, which are a subset of the rules in the conclusion, e.g.:
116 124
  $A \lor B$ in rule $\lefrul{\lor}$ (and similarly for all rules for connectives); $?A$ in rule $\rigrul{\cntr}$.
117 125
     
118 126
 Observe that we do not consider here any exchange rules, the sequence are made of multisets of formulas and exchanges are implicit. 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$).   In the following though, by linear logic we will mean affine linear logic.
......
174 182
 	sometimes coincide axiom with initial rule;
175 183
 	}
176 184
 
177
\subsection{Deduction theorem}
185
\subsection{Some basic proof-theoretic results}
178 186

  
179 187
\anupam{also add once the invertibility stuff here.}
180 188

  
CSL16/bc-convergence.tex (revision 93)
57 57
	where $\alpha$ is,
58 58
	\[
59 59
	\vlderivation{
60
	%	\vliin{\cut}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x)) }{
61
	%		\vlin{\rigrul{!}}{}{\seqar !\nat (v)}{
62
	%			\vlin{assump}{}{\seqar \nat (\vec v)}{\vlhy{}}
60
	%	\vliin{\cut}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x)) }{
61
	%		\vlin{\rigrul{!}}{}{\seqar !\word (v)}{
62
	%			\vlin{assump}{}{\seqar \word (\vec v)}{\vlhy{}}
63 63
	%			}
64 64
	%		}{
65 65
			\vliin{\cut}{}{ !\word (\vec v ) , \word (\vec x) \seqar \word (g (\vec v ; \vec x )) }{
66 66
				\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }
67 67
				}{
68
				\vliq{\lefrul{\forall}}{  }{ !\word (\vec v) , \word (\vec x) , \forall \vec v^{!\word} . \forall \vec x^\word \nat (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x )) }{
68
				\vliq{\lefrul{\forall}}{  }{ !\word (\vec v) , \word (\vec x) , \forall \vec v^{!\word} . \forall \vec x^\word \word (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x )) }{
69 69
					\vlin{\id}{}{\word (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x ))}{\vlhy{}}
70 70
					}
71 71
				}
......
99 99
	\begin{equation}
100 100
	\label{eqn:prn-cvg-ind}
101 101
	%\vlderivation{
102
	%	\vlin{\rigrul{\limp}}{}{ \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) )  \seqar \nat (\vec x) \limp \nat( f(\succ_i u , \vec v ; \vec x) ) }{
103
	%	\vliq{\gamma}{}{\nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) )  \seqar \nat( f(\succ_i u , \vec v ; \vec x) )   }{
104
	%		\vliin{\lefrul{\limp}}{}{\nat(\vec x), \nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) )  \seqar \nat( f(\succ_i u , \vec v ; \vec x) )    }{
105
	%			\vlin{\id}{}{\nat(\vec x) \seqar \nat (\vec x) }{\vlhy{}}
102
	%	\vlin{\rigrul{\limp}}{}{ \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) )  \seqar \word (\vec x) \limp \word( f(\succ_i u , \vec v ; \vec x) ) }{
103
	%	\vliq{\gamma}{}{\word(\vec x), \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) )  \seqar \word( f(\succ_i u , \vec v ; \vec x) )   }{
104
	%		\vliin{\lefrul{\limp}}{}{\word(\vec x), \word(\vec x), \word(\vec x) \limp \word ( f(u, \vec v ; \vec x) )  \seqar \word( f(\succ_i u , \vec v ; \vec x) )    }{
105
	%			\vlin{\id}{}{\word(\vec x) \seqar \word (\vec x) }{\vlhy{}}
106 106
	%			}{
107
	%			\vliq{\beta}{}{  \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( f(\succ_i u , \vec v ; \vec x) ) }{
108
	%				\vliq{\alpha}{}{ \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( h_i( u , \vec v ; \vec x , f( u, \vec v ; \vec x )) ) }{
109
	%					\vltr{IH}{ \seqar \forall  u^{!\nat}, \vec v^{!\nat} . \forall \vec x^\nat , y^\nat . \nat( h_i (u, \vec v ; \vec x, y) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
107
	%			\vliq{\beta}{}{  \word (\vec x) , \word (f(u , \vec v ; \vec x) ) \seqar \word ( f(\succ_i u , \vec v ; \vec x) ) }{
108
	%				\vliq{\alpha}{}{ \word (\vec x) , \word (f(u , \vec v ; \vec x) ) \seqar \word ( h_i( u , \vec v ; \vec x , f( u, \vec v ; \vec x )) ) }{
109
	%					\vltr{IH}{ \seqar \forall  u^{!\word}, \vec v^{!\word} . \forall \vec x^\word , y^\word . \word( h_i (u, \vec v ; \vec x, y) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
110 110
	%					}
111 111
	%				}
112 112
	%			}
......
120 120
	\vlin{\id}{}{\word (\vec x) \seqar \word (\vec x)}{\vlhy{}}
121 121
	}{
122 122
		\vliq{\beta}{}{ !\word (u) , !\word(\vec v)  , \word (\vec x) , \word (f ( u , \vec v ; \vec x ) ) \seqar \word (f (\succ_i u , \vec{v} ; \vec x ) )  }{
123
				\vliq{\alpha}{}{  !\word (u) , !\word (\vec v)  , \word (\vec x) , \nat (f ( u , \vec v ; \vec x ) ) \seqar \word ( h_i ( u , \vec v ; \vec x , f( u , \vec v ; \vec x ) ) )   }{
124
					\vltr{\IH}{ \seqar \forall u^{!\word} , \vec v^{!\nat} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) ) }{ \vlhy{\quad} }{\vlhy{}}{\vlhy{\quad}}
123
				\vliq{\alpha}{}{  !\word (u) , !\word (\vec v)  , \word (\vec x) , \word (f ( u , \vec v ; \vec x ) ) \seqar \word ( h_i ( u , \vec v ; \vec x , f( u , \vec v ; \vec x ) ) )   }{
124
					\vltr{\IH}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) ) }{ \vlhy{\quad} }{\vlhy{}}{\vlhy{\quad}}
125 125
				}
126 126
			}
127 127
			}
......
131 131
\end{equation}
132 132
where $\alpha$ and $\beta$ are constructed similarly to before.
133 133
	
134
%%	so let us suppose that $\nat(\vec v)$ and prove,
134
%%	so let us suppose that $\word(\vec v)$ and prove,
135 135
%	\begin{equation}
136
%% \forall u^{!\nat} .  (\nat(\vec x) \limp \nat(f(u , \vec v ; \vec x)  )
137
%!\nat (u) , !\nat (\vec v) , \nat (\vec x) \seqar \nat ( f(u, \vec v ; \vec x) )
136
%% \forall u^{!\word} .  (\word(\vec x) \limp \word(f(u , \vec v ; \vec x)  )
137
%!\word (u) , !\word (\vec v) , \word (\vec x) \seqar \word ( f(u, \vec v ; \vec x) )
138 138
%	\end{equation}
139 139
%	by $\cax{\Sigma^N_1}{\pind}$ on $u$. After this the result will follow by $\forall$-introduction for $u, \vec v , \vec x$.
140 140
	
141 141
%	In the base case we have the following proof,
142 142
%	\[
143 143
%	\vlderivation{
144
%	\vlin{\rigrul{\limp}}{}{ \seqar \nat (\vec x) \limp \nat (f(\epsilon , \vec v ; \vec x )) }{
145
%		\vliq{\beta}{}{ \nat (\vec x) \seqar \nat ( f( \epsilon , \vec v ; \vec x) ) }{
146
%			\vliq{\alpha}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x) ) }{
147
%				\vltr{IH}{\seqar \forall v^{!\nat} . \forall x^\nat . \nat( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
144
%	\vlin{\rigrul{\limp}}{}{ \seqar \word (\vec x) \limp \word (f(\epsilon , \vec v ; \vec x )) }{
145
%		\vliq{\beta}{}{ \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x) ) }{
146
%			\vliq{\alpha}{}{ \word (\vec x) \seqar \word ( g (\vec v ; \vec x) ) }{
147
%				\vltr{IH}{\seqar \forall v^{!\word} . \forall x^\word . \word( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
148 148
%				}
149 149
%			}
150 150
%		}		
......
181 181
\]
182 182
where the steps \todo{minor steps}
183 183

  
184
%For the inductive step, we suppose that $\nat (u)$ and the proof is as follows,
184
%For the inductive step, we suppose that $\word (u)$ and the proof is as follows,
185 185
%
186 186
%where the steps indicated $\alpha$ and $\beta$ are analogous to those for the base case.
187 187
%%, and $\gamma$ is an instance of the general scheme:
188 188
%%\begin{equation}
189 189
%%\label{eqn:nat-cntr-left-derivation}
190 190
%%\vlderivation{
191
%%	\vliin{\cut}{}{ \nat (t) , \Gamma \seqar \Delta }{
192
%%		\vlin{\natcntr}{}{ \nat (t) \seqar \nat (t) \land \nat (t) }{\vlhy{}}
191
%%	\vliin{\cut}{}{ \word (t) , \Gamma \seqar \Delta }{
192
%%		\vlin{\wordcntr}{}{ \word (t) \seqar \word (t) \land \word (t) }{\vlhy{}}
193 193
%%		}{
194
%%		\vlin{\lefrul{\land}}{}{\nat (t)  \land \nat (t) , \Gamma \seqar \Delta}{ \vlhy{\nat (t)  ,\nat (t) , \Gamma \seqar \Delta} }
194
%%		\vlin{\lefrul{\land}}{}{\word (t)  \land \word (t) , \Gamma \seqar \Delta}{ \vlhy{\word (t)  ,\word (t) , \Gamma \seqar \Delta} }
195 195
%%		}
196 196
%%	}
197 197
%%\end{equation}
......
229 229
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:
230 230
\[
231 231
\vlderivation{
232
	\vliq{\rigrul{\forall}}{}{ \seqar \forall\vec u^{!\nat} . \forall \vec x^\nat . \nat( f(\vec u ; \vec x ) ) }{
233
		\vliq{\beta}{}{ !\nat (\vec u) , \nat (\vec x) \seqar \nat ( f( \vec u ; \vec x ) ) }{
234
			\vliq{\cntr}{}{  !\nat (\vec u) , \nat (\vec x) \seqar \nat ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  ) )  }{
235
				\vliiiq{\cut}{}{!\nat (\vec u) , \dots ,  !\nat (\vec u) , \nat (\vec x) , \dots , \nat (\vec x) \seqar \nat ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  ) )   }{
232
	\vliq{\rigrul{\forall}}{}{ \seqar \forall\vec u^{!\word} . \forall \vec x^\word . \word( f(\vec u ; \vec x ) ) }{
233
		\vliq{\beta}{}{ !\word (\vec u) , \word (\vec x) \seqar \word ( f( \vec u ; \vec x ) ) }{
234
			\vliq{\cntr}{}{  !\word (\vec u) , \word (\vec x) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  ) )  }{
235
				\vliiiq{\cut}{}{!\word (\vec u) , \dots ,  !\word (\vec u) , \word (\vec x) , \dots , \word (\vec x) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  ) )   }{
236 236
					\vlhy{
237 237
						\left\{  
238 238
						\vlderivation{
239
							\vlin{\rigrul{!}}{}{ !\nat (\vec u) \seqar !\nat ( g_i (\vec u ;) ) }{
240
								\vliq{\alpha}{}{ !\nat (\vec u) \seqar \nat ( g_i (\vec u ;) }{
241
									\vltr{\IH}{ \forall \vec u^{!\nat} . \nat (g_i (\vec u ;) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
239
							\vlin{\rigrul{!}}{}{ !\word (\vec u) \seqar !\word ( g_i (\vec u ;) ) }{
240
								\vliq{\alpha}{}{ !\word (\vec u) \seqar \word ( g_i (\vec u ;) }{
241
									\vltr{\IH}{ \forall \vec u^{!\word} . \word (g_i (\vec u ;) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
242 242
									}
243 243
								}
244 244
							}
......
248 248
					\vlhy{
249 249
						\left\{
250 250
						\vlderivation{
251
							\vliq{\alpha}{}{ !\nat ( \vec u )  , \nat (\vec x) \seqar \nat  ( g_j' ( \vec u ; \vec x ) ) }{
252
								\vltr{\IH}{ \seqar \forall \vec u^{!\nat}. \forall \vec x^\nat . \nat ( g_j' (\vec u ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
251
							\vliq{\alpha}{}{ !\word ( \vec u )  , \word (\vec x) \seqar \word  ( g_j' ( \vec u ; \vec x ) ) }{
252
								\vltr{\IH}{ \seqar \forall \vec u^{!\word}. \forall \vec x^\word . \word ( g_j' (\vec u ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
253 253
								}
254 254
							}
255 255
						\right\}_{j \leq |\vec g'|}
256 256
						}
257 257
					}{
258
					\vliq{\alpha}{}{ !\nat ( \vec g (\vec u ;) ) , \nat ( \vec g ' ( \vec u ; \vec x ) ) \seqar \nat ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  )  ) ) }{
259
						\vltr{\IH}{ \seqar \forall \vec v^{!\nat} . \forall \vec y^\nat . \nat ( h( \vec v ; \vec y ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
258
					\vliq{\alpha}{}{ !\word ( \vec g (\vec u ;) ) , \word ( \vec g ' ( \vec u ; \vec x ) ) \seqar \word ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  )  ) ) }{
259
						\vltr{\IH}{ \seqar \forall \vec v^{!\word} . \forall \vec y^\word . \word ( h( \vec v ; \vec y ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
260 260
						}
261 261
					}
262 262
				}
......
281 281
Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
282 282
\[
283 283
\vlderivation{
284
\vliq{}{}{ \nat (x) , \nat (\vec y) \seqar \nat ( C(; x ,\vec y) )}{
285
\vliin{2\cdot \laor}{}{ x = \epsilon \laor \exists z^\nat . x = \succ_0 z \laor \exists z^\nat x = \succ_1 z , \nat (\vec y) \seqar \nat ( C(;x \vec y) ) }{
286
\vliq{}{}{ x = \epsilon , \nat (\vec y) \seqar \nat ( C(; x , \vec y) ) }{
287
\vliq{}{}{ \nat (\vec y) \seqar \nat ( C( ; \epsilon , \vec y ) ) }{
288
\vlin{\wk}{}{ \nat (\vec y) \seqar \nat (y_\epsilon) }{ 
289
\vlin{\id}{}{\nat (y_\epsilon) \seqar \nat ( y_\epsilon )}{\vlhy{}}
284
\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
285
\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) ) }{
286
\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
287
\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
288
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
289
\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
290 290
}
291 291
}
292 292
}
......
294 294
\vlhy{
295 295
\left\{ 
296 296
\vlderivation{
297
\vlin{\lefrul{\exists}}{}{ \exists z^\nat . x = \succ_i z , \nat (\vec y) \seqar \nat ( C(;x , \vec y) ) }{
298
\vliq{}{}{ x = \succ_i a , \nat (\vec y ) \seqar \nat (C(; x ,\vec y)) }{
299
\vliq{}{}{ \nat (\vec y) \seqar \nat ( C(; \succ_i a , \vec y ) ) }{
300
\vlin{\wk}{}{ \nat (\vec y) \seqar \nat (y_i) }{
301
\vlin{\id}{}{\nat (y_i) \seqar \nat (y_i)}{\vlhy{}}
297
\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
298
\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
299
\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
300
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
301
\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
302 302
}
303 303
}
304 304
}

Formats disponibles : Unified diff