| 1 |
1 |
|
| 2 |
2 |
\section{Convergence of Bellantoni-Cook programs in $\arith$}
|
| 3 |
3 |
|
| 4 |
|
\anupam{In this section, use whatever form of the deduction theorem is necessary and reverse engineer precise statement later.}
|
|
4 |
%\anupam{In this section, use whatever form of the deduction theorem is necessary and reverse engineer precise statement later.}
|
| 5 |
5 |
|
|
6 |
In this section we show that $\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.
|
| 6 |
7 |
|
|
8 |
We will assume the formulation of BC programs with regular PRN, not simultaneous PRN.
|
| 7 |
9 |
|
| 8 |
10 |
|
|
11 |
%\subsection{Convergence in arithmetic}
|
| 9 |
12 |
|
| 10 |
|
|
| 11 |
|
\subsection{Convergence in arithmetic}
|
| 12 |
|
|
| 13 |
13 |
%\begin{theorem}
|
| 14 |
14 |
% [Convergence]
|
| 15 |
15 |
% 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))$.
|
| 16 |
16 |
%\end{theorem}
|
| 17 |
17 |
|
| 18 |
|
We first want to show that the system ${\Sigma^{\word}_1}-{\pind}$ is expressive enough, that is to say that all poynomial-time functions can be represented by some equational specifications that are provably total. To do so we consider equational specifications of BC-programs.
|
|
18 |
%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.
|
| 19 |
19 |
\begin{theorem}
|
| 20 |
|
[Convergence]
|
| 21 |
|
If $\Phi(f)$ is an equational specification corresponding to a BC-program defining $f$, then $\cax{\Sigma^{\word}_1}{\pind} \proves \ !\Phi(f) \limp \forall \vec{x}^{!\word} . \word(f(\vec x))$.
|
|
20 |
% [Convergence]
|
|
21 |
If $\eqspec$ is a BC program defining a function $f$, then $\arith$ proves $\conv(f, \eqspec)$.
|
| 22 |
22 |
\end{theorem}
|
| 23 |
23 |
\begin{proof}
|
| 24 |
24 |
% We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs.
|
| 25 |
|
We show by induction on the structure of a BC-program for $f(\vec u ; \vec x)$ that:
|
|
25 |
We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup \arith$ proves,
|
| 26 |
26 |
\begin{equation}
|
| 27 |
27 |
\label{eqn:prv-cvg-ih}
|
| 28 |
|
\Phi(f) \proves \ \forall \vec{u}^{!\nat} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
|
|
28 |
\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
|
| 29 |
29 |
\end{equation}
|
| 30 |
|
We give some key cases in what follows.
|
|
30 |
We proceed by induction on the structure of a BC program for $f$.
|
|
31 |
% We give some key cases in what follows.
|
| 31 |
32 |
|
| 32 |
33 |
Suppose $f$ is defined by PRN as:
|
| 33 |
34 |
\[
|