Statistiques
| Révision :

root / CSL16 / bc-convergence.tex @ 91

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

1 33 adas
2 71 adas
\section{Convergence of Bellantoni-Cook programs in $\arith$}
3 88 adas
\label{sect:bc-convergence}
4 73 adas
%\anupam{In this section, use whatever form of the deduction theorem is necessary and reverse engineer precise statement later.}
5 34 adas
6 89 adas
In this section we show that $I\sigzer$, and so also $\arith$, proves the convergence of any equational specification induced by a BC program. Since BC programs can compute any polynomial-time function, we obtain a completeness result. In the next section we will show the converse, that any provably convergent function of $\arith$ is polynomial-time computable.
7 34 adas
8 89 adas
The underlying construction of the proof here is similar in spirit to those occurring in \cite{Cantini02} and \cite{Leivant94:found-delin-ptime}. In fact, like in those works, only quantifier-free positive induction is required, but here we moreover must take care to respect additive and multiplicative behaviour of linear connectives, thereby achieving a somewhat stronger result.
9 89 adas
10 73 adas
We will assume the formulation of BC programs with regular PRN, not simultaneous PRN.
11 59 adas
12 59 adas
13 73 adas
%\subsection{Convergence in arithmetic}
14 60 adas
15 56 pbaillot
%\begin{theorem}
16 56 pbaillot
%	[Convergence]
17 56 pbaillot
%	If $\Phi(f)$ is an equational specification corresponding to a BC-program defining $f$, then $\cax{\Sigma^N_1}{\pind} \proves  \ !\Phi(f) \limp \forall \vec{x}^{!N} . N(f(\vec x))$.
18 56 pbaillot
%\end{theorem}
19 56 pbaillot
20 73 adas
%We first want to show that the system ${\Sigma^{\word}_1}-{\pind}$ is expressive enough, that is to say that all polynomial-time functions can be represented by some equational specifications that are provably total. To do so   we consider equational specifications of BC-programs.
21 33 adas
\begin{theorem}
22 73 adas
%	[Convergence]
23 90 adas
\label{thm:arith-proves-bc-conv}
24 89 adas
	If $\eqspec$ is a BC program defining a function $f$, then $I\sigzer$ proves $\conv(f, \eqspec)$.
25 33 adas
\end{theorem}
26 75 adas
27 75 adas
\anupam{Consider informalising some of these arguments under (some version of) the deduction theorem. Formal stuff can be put in an appendix. Maybe add a remark somewhere about arguing informally under deduction, taking care for non-modalised formulae.}
28 75 adas
29 33 adas
\begin{proof}
30 40 adas
%	We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs.
31 89 adas
	We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves,
32 33 adas
	\begin{equation}
33 40 adas
	\label{eqn:prv-cvg-ih}
34 73 adas
\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
35 33 adas
	\end{equation}
36 73 adas
	We proceed by induction on the structure of a BC program for $f$.
37 73 adas
%	We give some key cases in what follows.
38 33 adas
39 40 adas
	Suppose $f$ is defined by PRN as:
40 33 adas
	\[
41 33 adas
	\begin{array}{rcl}
42 40 adas
	f(0,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\
43 40 adas
	f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x))
44 33 adas
	\end{array}
45 33 adas
	\]
46 75 adas
	By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. We construct the following proof:
47 33 adas
	\begin{equation}
48 75 adas
	\label{eqn:prn-cvg-base}
49 75 adas
	\vlderivation{
50 75 adas
			\vliq{\beta}{}{!\word(\vec v) , \word (\vec x) \seqar \word(f (\epsilon , \vec v ; \vec x)) }{
51 75 adas
				\vliq{\alpha}{}{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }{
52 75 adas
					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
53 75 adas
					}
54 75 adas
				}
55 75 adas
			}
56 33 adas
	\end{equation}
57 75 adas
	where $\alpha$ is,
58 75 adas
	\[
59 75 adas
	\vlderivation{
60 75 adas
	%	\vliin{\cut}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x)) }{
61 75 adas
	%		\vlin{\rigrul{!}}{}{\seqar !\nat (v)}{
62 75 adas
	%			\vlin{assump}{}{\seqar \nat (\vec v)}{\vlhy{}}
63 75 adas
	%			}
64 75 adas
	%		}{
65 75 adas
			\vliin{\cut}{}{ !\word (\vec v ) , \word (\vec x) \seqar \word (g (\vec v ; \vec x )) }{
66 75 adas
				\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }
67 75 adas
				}{
68 75 adas
				\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 )) }{
69 75 adas
					\vlin{\id}{}{\word (g(\vec v ; \vec x )) \seqar \word (g(\vec v ; \vec x ))}{\vlhy{}}
70 75 adas
					}
71 75 adas
				}
72 75 adas
	%		}
73 75 adas
		}
74 75 adas
	\]
75 75 adas
	and $\beta$ is:
76 75 adas
	\[
77 75 adas
	\vlderivation{
78 75 adas
		\vliin{\cut}{}{!\word (\vec v) , \word (\vec x) \seqar \word ( f ( \epsilon , \vec v ; \vec x ) ) }{
79 75 adas
			\vlhy{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }
80 75 adas
			}{
81 75 adas
			\vliin{\cut}{}{ \word (g (\vec v ; \vec x) ) \seqar \word (f (\epsilon, \vec v ; \vec x) ) }{
82 75 adas
				\vlin{\closure{\eqspec}}{}{ \seqar f(\epsilon , \vec v ; \vec x) = g(\vec v ; \vec x) }{\vlhy{}}
83 75 adas
				}{
84 75 adas
				\vlin{=}{}{\word ( g(\vec v ; \vec x) ) , f(\epsilon , \vec v ; \vec x) = g(\vec v ; \vec x)  \seqar \word (f (\epsilon, \vec v ; \vec x) ) }{\vlhy{}}
85 75 adas
				}
86 75 adas
			}
87 75 adas
		}
88 75 adas
	\]
89 33 adas
90 75 adas
%	We first prove,
91 75 adas
%	\begin{equation}
92 75 adas
%	!\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) )
93 75 adas
%	\seqar
94 75 adas
%	\word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )
95 75 adas
%	\end{equation}
96 75 adas
%	for $i=0,1$, whence we will apply $\ind$. We construct the following proofs:
97 75 adas
98 75 adas
We also construct, for $i=0,1$, the proofs,
99 75 adas
	\begin{equation}
100 75 adas
	\label{eqn:prn-cvg-ind}
101 75 adas
	%\vlderivation{
102 75 adas
	%	\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 75 adas
	%	\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 75 adas
	%		\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 75 adas
	%			\vlin{\id}{}{\nat(\vec x) \seqar \nat (\vec x) }{\vlhy{}}
106 75 adas
	%			}{
107 75 adas
	%			\vliq{\beta}{}{  \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( f(\succ_i u , \vec v ; \vec x) ) }{
108 75 adas
	%				\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 75 adas
	%					\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}}
110 75 adas
	%					}
111 75 adas
	%				}
112 75 adas
	%			}
113 75 adas
	%		}
114 75 adas
	%	}
115 75 adas
	%	}
116 75 adas
	\vlderivation{
117 75 adas
	\vlin{\lefrul{\land}}{}{ !\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) ) }{
118 75 adas
	\vlin{\lefrul{\cntr}}{}{  !\word (a) , !\word (\vec v) , \word (\vec x) , \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )}{
119 75 adas
	\vliin{\rigrul{\land}}{}{   !\word (a) , !\word (\vec v) , \word(\vec x),  \word (\vec x) , \word (f( a , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )}{
120 75 adas
	\vlin{\id}{}{\word (\vec x) \seqar \word (\vec x)}{\vlhy{}}
121 75 adas
	}{
122 75 adas
		\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 75 adas
				\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 75 adas
					\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}}
125 75 adas
				}
126 75 adas
			}
127 75 adas
			}
128 75 adas
	}
129 75 adas
	}
130 75 adas
	}
131 75 adas
\end{equation}
132 75 adas
where $\alpha$ and $\beta$ are constructed similarly to before.
133 75 adas
134 75 adas
%%	so let us suppose that $\nat(\vec v)$ and prove,
135 75 adas
%	\begin{equation}
136 75 adas
%% \forall u^{!\nat} .  (\nat(\vec x) \limp \nat(f(u , \vec v ; \vec x)  )
137 75 adas
%!\nat (u) , !\nat (\vec v) , \nat (\vec x) \seqar \nat ( f(u, \vec v ; \vec x) )
138 75 adas
%	\end{equation}
139 75 adas
%	by $\cax{\Sigma^N_1}{\pind}$ on $u$. After this the result will follow by $\forall$-introduction for $u, \vec v , \vec x$.
140 75 adas
141 75 adas
%	In the base case we have the following proof,
142 75 adas
%	\[
143 48 adas
%	\vlderivation{
144 48 adas
%	\vlin{\rigrul{\limp}}{}{ \seqar \nat (\vec x) \limp \nat (f(\epsilon , \vec v ; \vec x )) }{
145 48 adas
%		\vliq{\beta}{}{ \nat (\vec x) \seqar \nat ( f( \epsilon , \vec v ; \vec x) ) }{
146 48 adas
%			\vliq{\alpha}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x) ) }{
147 48 adas
%				\vltr{IH}{\seqar \forall v^{!\nat} . \forall x^\nat . \nat( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
148 48 adas
%				}
149 48 adas
%			}
150 48 adas
%		}
151 48 adas
%		}
152 33 adas
153 75 adas
154 77 adas
Finally we compose these proofs as follows:
155 75 adas
156 77 adas
\[
157 77 adas
\vlderivation{
158 77 adas
\vliq{\rigrul{\forall}}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word . \word ( f(u , \vec v ;\vec x)  ) }{
159 77 adas
\vliq{\lefrul{\cntr}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )  }
160 77 adas
{
161 77 adas
\vliin{\cut}{}{  !\word (u), !\word(\vec v), !\word (\vec v) , \word (\vec x) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )   }{
162 77 adas
\vltr{}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
163 77 adas
}
164 77 adas
{
165 77 adas
\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 ) ) }{
166 77 adas
\vliq{\land\text{-}\mathit{inv}}{}{  !\word (u), !\word (\vec v) , \word (\vec x) ,\word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( u , \vec v ; \vec x ) )  }{
167 77 adas
\vlin{\ind}{}{   !\word (u), !\word (\vec v) , \word (\vec x) \land \word ( f( \epsilon , \vec v ; \vec x ) ) \seqar \word (\vec x) \land \word ( f( u , \vec v ; \vec x ) )  }
168 77 adas
{
169 77 adas
\vlhy{
170 77 adas
\left\{
171 77 adas
\vltreeder{}{   !\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}{}{}
172 77 adas
\right\}_{i=0,1}
173 77 adas
}
174 77 adas
}
175 77 adas
}
176 77 adas
}
177 77 adas
}
178 77 adas
}
179 77 adas
}
180 77 adas
}
181 77 adas
\]
182 77 adas
where the steps \todo{minor steps}
183 40 adas
184 77 adas
%For the inductive step, we suppose that $\nat (u)$ and the proof is as follows,
185 40 adas
%
186 77 adas
%where the steps indicated $\alpha$ and $\beta$ are analogous to those for the base case.
187 77 adas
%%, and $\gamma$ is an instance of the general scheme:
188 77 adas
%%\begin{equation}
189 77 adas
%%\label{eqn:nat-cntr-left-derivation}
190 77 adas
%%\vlderivation{
191 77 adas
%%	\vliin{\cut}{}{ \nat (t) , \Gamma \seqar \Delta }{
192 77 adas
%%		\vlin{\natcntr}{}{ \nat (t) \seqar \nat (t) \land \nat (t) }{\vlhy{}}
193 77 adas
%%		}{
194 77 adas
%%		\vlin{\lefrul{\land}}{}{\nat (t)  \land \nat (t) , \Gamma \seqar \Delta}{ \vlhy{\nat (t)  ,\nat (t) , \Gamma \seqar \Delta} }
195 77 adas
%%		}
196 77 adas
%%	}
197 77 adas
%%\end{equation}
198 77 adas
%
199 77 adas
%%
200 77 adas
%%For the inductive step, we need to show that,
201 77 adas
%%\[
202 77 adas
%%\forall x^{!N} . (( N(\vec y) \limp N( f(x, \vec x ; \vec y) ) ) \limp N(\vec y) \limp N(f(\succ_i x , \vec x ; \vec y) )   )
203 77 adas
%%\]
204 77 adas
%%so let us suppose that $N(x)$ and we give the following proof:
205 77 adas
%%\[
206 77 adas
%%\vlderivation{
207 77 adas
%%	\vlin{N\cntr}{}{N(y) \limp ( N(y ) \limp N(f( x , \vec x ; \vec y ) ) ) \limp N(f (\succ_i x , \vec x ; \vec y)  ) }{
208 77 adas
%%		\vliin{}{}{N(y) \limp N(y) \limp ( N(y ) \limp N(f( x , \vec x ; \vec y ) ) ) \limp N(f (\succ_i x , \vec x ; \vec y)  ) }{
209 77 adas
%%			\vliin{}{}{ N(y) \limp N(y) \limp ( N(y) \limp N( f(x, \vec x ; \vec y) ) ) \limp N( h_i (x , \vec x ; \vec y , f(x , \vec x ; \vec y) ) ) }{
210 77 adas
%%				\vltr{MLL}{( N(\vec y) \limp (N (\vec y) \limp N(f(x, \vec x ; \vec y) )) \limp N(f(x, \vec x ; \vec y)) }{\vlhy{\quad }}{\vlhy{\ }}{\vlhy{\quad }}
211 77 adas
%%			}{
212 77 adas
%%			\vlhy{2}
213 77 adas
%%		}
214 77 adas
%%	}{
215 77 adas
%%	\vlhy{3}
216 77 adas
%%}
217 77 adas
%%}
218 77 adas
%%}
219 77 adas
%%\]
220 77 adas
%%TOFINISH
221 50 adas
222 50 adas
Suppose $f$ is defined by safe composition as follows:
223 50 adas
\[
224 50 adas
f( \vec u ; \vec x )
225 50 adas
\quad = \quad
226 50 adas
h( \vec g (\vec u ; )  ; \vec g' ( \vec u ; \vec x ) )
227 50 adas
\]
228 50 adas
229 50 adas
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 50 adas
\[
231 50 adas
\vlderivation{
232 50 adas
	\vliq{\rigrul{\forall}}{}{ \seqar \forall\vec u^{!\nat} . \forall \vec x^\nat . \nat( f(\vec u ; \vec x ) ) }{
233 50 adas
		\vliq{\beta}{}{ !\nat (\vec u) , \nat (\vec x) \seqar \nat ( f( \vec u ; \vec x ) ) }{
234 50 adas
			\vliq{\cntr}{}{  !\nat (\vec u) , \nat (\vec x) \seqar \nat ( h( \vec g(\vec u ;) ; \vec g' ( \vec u ; \vec x )  ) )  }{
235 50 adas
				\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 )  ) )   }{
236 50 adas
					\vlhy{
237 50 adas
						\left\{
238 50 adas
						\vlderivation{
239 50 adas
							\vlin{\rigrul{!}}{}{ !\nat (\vec u) \seqar !\nat ( g_i (\vec u ;) ) }{
240 50 adas
								\vliq{\alpha}{}{ !\nat (\vec u) \seqar \nat ( g_i (\vec u ;) }{
241 50 adas
									\vltr{\IH}{ \forall \vec u^{!\nat} . \nat (g_i (\vec u ;) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
242 50 adas
									}
243 50 adas
								}
244 50 adas
							}
245 50 adas
						\right\}_{i \leq |\vec g| }
246 50 adas
						}
247 50 adas
					}{
248 50 adas
					\vlhy{
249 50 adas
						\left\{
250 50 adas
						\vlderivation{
251 50 adas
							\vliq{\alpha}{}{ !\nat ( \vec u )  , \nat (\vec x) \seqar \nat  ( g_j' ( \vec u ; \vec x ) ) }{
252 50 adas
								\vltr{\IH}{ \seqar \forall \vec u^{!\nat}. \forall \vec x^\nat . \nat ( g_j' (\vec u ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
253 50 adas
								}
254 50 adas
							}
255 50 adas
						\right\}_{j \leq |\vec g'|}
256 50 adas
						}
257 50 adas
					}{
258 50 adas
					\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 50 adas
						\vltr{\IH}{ \seqar \forall \vec v^{!\nat} . \forall \vec y^\nat . \nat ( h( \vec v ; \vec y ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
260 50 adas
						}
261 50 adas
					}
262 50 adas
				}
263 50 adas
			}
264 50 adas
		}
265 50 adas
	}
266 50 adas
\]
267 50 adas
where $\alpha$ and $\beta$ are similar to before.
268 50 adas
269 50 adas
\todo{reformat a bit}
270 50 adas
271 53 adas
It remains to check the initial functions.
272 50 adas
273 53 adas
Consider the conditional function, defined equationally as:
274 53 adas
\[
275 53 adas
\begin{array}{rcl}
276 53 adas
C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
277 53 adas
C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
278 53 adas
C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1
279 53 adas
\end{array}
280 53 adas
\]
281 53 adas
Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
282 53 adas
\[
283 53 adas
\vlderivation{
284 53 adas
\vliq{}{}{ \nat (x) , \nat (\vec y) \seqar \nat ( C(; x ,\vec y) )}{
285 53 adas
\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 53 adas
\vliq{}{}{ x = \epsilon , \nat (\vec y) \seqar \nat ( C(; x , \vec y) ) }{
287 53 adas
\vliq{}{}{ \nat (\vec y) \seqar \nat ( C( ; \epsilon , \vec y ) ) }{
288 53 adas
\vlin{\wk}{}{ \nat (\vec y) \seqar \nat (y_\epsilon) }{
289 53 adas
\vlin{\id}{}{\nat (y_\epsilon) \seqar \nat ( y_\epsilon )}{\vlhy{}}
290 53 adas
}
291 53 adas
}
292 53 adas
}
293 53 adas
}{
294 53 adas
\vlhy{
295 53 adas
\left\{
296 53 adas
\vlderivation{
297 53 adas
\vlin{\lefrul{\exists}}{}{ \exists z^\nat . x = \succ_i z , \nat (\vec y) \seqar \nat ( C(;x , \vec y) ) }{
298 53 adas
\vliq{}{}{ x = \succ_i a , \nat (\vec y ) \seqar \nat (C(; x ,\vec y)) }{
299 53 adas
\vliq{}{}{ \nat (\vec y) \seqar \nat ( C(; \succ_i a , \vec y ) ) }{
300 53 adas
\vlin{\wk}{}{ \nat (\vec y) \seqar \nat (y_i) }{
301 53 adas
\vlin{\id}{}{\nat (y_i) \seqar \nat (y_i)}{\vlhy{}}
302 53 adas
}
303 53 adas
}
304 53 adas
}
305 53 adas
}
306 53 adas
}
307 53 adas
\right\}_{i = 0,1}
308 53 adas
}
309 53 adas
}
310 53 adas
}
311 53 adas
}
312 53 adas
\]
313 53 adas
whence the result follows by $\forall$-introduction.
314 53 adas
\todo{reformat a bit}
315 53 adas
316 53 adas
Other initial functions are far simpler.
317 53 adas
318 33 adas
\end{proof}
319 40 adas
320 40 adas
321 53 adas
322 53 adas
323 53 adas
324 53 adas
325 53 adas
326 53 adas
327 53 adas
328 53 adas
329 53 adas
330 53 adas
331 53 adas
332 53 adas
333 53 adas
334 53 adas
335 53 adas
336 53 adas
337 53 adas
338 53 adas
339 53 adas
340 53 adas
341 53 adas
342 53 adas
343 53 adas
344 53 adas
345 53 adas
346 53 adas
347 53 adas
348 53 adas
349 53 adas
350 53 adas
351 53 adas
352 53 adas
353 53 adas
354 53 adas
355 53 adas
356 53 adas
357 53 adas
358 53 adas
359 53 adas