Révision 109 CSL16/bc-convergence.tex

bc-convergence.tex (revision 109)
28 28

  
29 29
\begin{proof}[Proof sketch]
30 30
%	We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs. 
31
	We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves,
32
	\begin{equation}
33
	\label{eqn:prv-cvg-ih}
34
\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
35
	\end{equation}
31
	We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves $\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))$.
32
%	\begin{equation}
33
%	\label{eqn:prv-cvg-ih}
34
%\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
35
%	\end{equation}
36 36
	We proceed by induction on the structure of a BC program for $f$, and sketch only the key cases here.
37 37
%	We give some key cases in what follows.
38 38
	
39
	Suppose $f$ is defined by PRN as:
40
	\[
41
	\begin{array}{rcl}
42
	f(\epsilon,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\
43
	f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x))
44
	\end{array}
45
	\]
46
	By the inductive hypothesis we have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. We construct the proof $\pi_\epsilon$,
39
	Suppose $f(u, \vec v ; \vec x)$ is defined by PRN from functions $g(\vec v ; \vec x), h_i ( u , \vec v ; \vec x , y )$.
40
%	\[
41
%	\begin{array}{rcl}
42
%	f(\epsilon,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\
43
%	f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x))
44
%	\end{array}
45
%	\]
46
%	By the inductive hypothesis we have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. 
47
	From the inductive hypothesis for $g$, we construct the following proof,
47 48
	\begin{equation}
48 49
	\label{eqn:prn-cvg-base}
49 50
	\small
50 51
	\vlderivation{
51 52
			\vliq{\beta}{}{!\word(\vec v) , \word (\vec x) \seqar \word(f (\epsilon , \vec v ; \vec x)) }{
52 53
				\vliq{\alpha}{}{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }{
53
					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
54
%					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
55
%				\vliq{}{}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}{\vlhy{}}
56
\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}
54 57
					}
55 58
				}
56 59
			}
57 60
	\end{equation}
58
	where $\alpha $ and $\beta$ are purely logical derivations using cuts.	
61
 where $\alpha $ is purely logical and $\beta$ is obtained from $\closure{\eqspec}$ and equality.	
59 62
%	We first prove,
60 63
%	\begin{equation}
61 64
%	!\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) )
......
63 66
%	\word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )
64 67
%	\end{equation}
65 68
%	for $i=0,1$, whence we will apply $\ind$. We construct the following proofs:
66
We also construct the proofs $\pi_i$, for $i=0,1$,
69
We also construct the proofs,
67 70
	\begin{equation}
68 71
	\label{eqn:prn-cvg-ind}
69 72
	%\vlderivation{
......
90 93
	}{
91 94
		\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 ) )  }{
92 95
				\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 ) ) )   }{
93
					\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}}
96
%					\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}}
97
%\vliq{}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) ) }{\vlhy{}}
98
\vlhy{\seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) )}
94 99
				}
95 100
			}
96 101
			}
......
98 103
	}
99 104
	}
100 105
\end{equation}
101
where $\alpha$ and $\beta$ are, again, purely logical.
106
	from the inductive hypotheses for $h_i$, where $\alpha$ and $\beta$ are similar to before.
102 107
%%	so let us suppose that $\word(\vec v)$ and prove,
103 108
%	\begin{equation}
104 109
%% \forall u^{!\word} .  (\word(\vec x) \limp \word(f(u , \vec v ; \vec x)  )
......
125 130
\vliq{\lefrul{\cntr}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )  }
126 131
{
127 132
\vliin{\cut}{}{  !\word (u), !\word(\vec v), !\word (\vec v) , \word (\vec x) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )   }{
128
\vltr{\pi_\epsilon}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
133
%\vltr{\pi_\epsilon}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
134
\vlhy{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }
129 135
}
130 136
{
131 137
\vliq{\wk}{}{ !\word (u), !\word (\vec v) , \word (\vec x), \word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word ( f( u , \vec v ; \vec x ) ) }{
......
134 140
{
135 141
\vlhy{
136 142
\left\{
137
\vltreeder{\pi_i}{   !\word (a), !\word (\vec v) , \word (\vec x) \word ( f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( \succ_i u , \vec v ; \vec x ) )  }{\quad}{}{}
143
%\vltreeder{\pi_i}{   !\word (a), !\word (\vec v) , \word (\vec x) \word ( f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( \succ_i u , \vec v ; \vec x ) )  }{\quad}{}{}
144
   !\word (a), !\word (\vec v) , \word (\vec x) \word ( f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( \succ_i u , \vec v ; \vec x ) )  
138 145
\right\}_i
139 146
}
140 147
}
......
185 192
%%\]
186 193
%%TOFINISH
187 194

  
188
Safe compositions are essentially handled by many cut steps, using $\alpha$ and $\beta$ like derivations again and, crucially, left-contractions on both $!\word$ and $\word $ formulae.
195
Safe compositions are essentially handled by many cut steps, using $\alpha$ and $\beta$ like derivations again and, crucially, left-contractions on both $!\word$ and $\word $ formulae.\footnote{In the latter case, strictly speaking, we mean cuts against $\wordcntr$.} The initial functions are routine.
189 196

  
190 197

  
191
We also give the case of the conditional initial function, to exemplify the use of additives. The conditional is defined equationally as:
192
\[
193
\begin{array}{rcl}
194
C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
195
C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
196
C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
197
\end{array}
198
\]
199
Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
200
\[
201
\small
202
\vlderivation{
203
\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
204
\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) ) }{
205
\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
206
\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
207
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
208
\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
209
}
210
}
211
}
212
}{
213
\vlhy{
214
\left\{ 
215
\vlderivation{
216
\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
217
\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
218
\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
219
\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
220
\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
221
}
222
}
223
}
224
}
225
}
226
\right\}_{i = 0,1}
227
}
228
}
229
}
230
}
231
\]
232
whence the result follows by $\forall$-introduction.
233
%The other initial functions are routine.
198
%We also give the case of the conditional initial function $C (; x, y_\epsilon , y_0, y_1)$, to exemplify the use of additives. 
199
%%The conditional is defined equationally as:
200
%%\[
201
%%\begin{array}{rcl}
202
%%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
203
%%C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
204
%%C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
205
%%\end{array}
206
%%\]
207
%Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
208
%\[
209
%\small
210
%\vlderivation{
211
%\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
212
%\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) ) }{
213
%\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
214
%\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
215
%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
216
%\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
217
%}
218
%}
219
%}
220
%}{
221
%\vlhy{
222
%\left\{ 
223
%\vlderivation{
224
%\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
225
%\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
226
%\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
227
%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
228
%\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
229
%}
230
%}
231
%}
232
%}
233
%}
234
%\right\}_{i = 0,1}
235
%}
236
%}
237
%}
238
%}
239
%\]
240
%whence the result follows by $\forall$-introduction.
241
%%The other initial functions are routine.
234 242
\end{proof}
235 243

  
236 244

  

Formats disponibles : Unified diff