| 13 |
13 |
|
| 14 |
14 |
\begin{definition}
|
| 15 |
15 |
[BC functions]
|
| 16 |
|
BC is the set of functions generated by the following initial functions and closure schemes.
|
|
16 |
BC is the set of functions over $\Word$ generated by the following initial functions and closure schemes.
|
| 17 |
17 |
|
| 18 |
18 |
% \paragraph{Initial functions}
|
| 19 |
19 |
There are the following initial functions:
|
| 20 |
20 |
\begin{enumerate}
|
| 21 |
|
\item The constant function $0$ which takes no arguments and outputs $0 \in \Nat$.
|
| 22 |
|
\item The projection functions $\pi^{m,n}_k ( x_1 , \dots , x_m ; x_{m+1} , \dots, x_{m+n} ) := x_k$ for $n,m \in \Nat$ and $1 \leq k \leq m+n$.
|
|
21 |
\item The constant function $\epsilon$ which takes no arguments and outputs $\epsilon \in \Word$.
|
|
22 |
\item The projection functions $\pi^{m,n}_k ( x_1 , \dots , x_m ; x_{m+1} , \dots, x_{m+n} ) := x_k$ for $n,m \in \Word$ and $1 \leq k \leq m+n$.
|
| 23 |
23 |
\item The successor functions $\succ_i ( ; x) := xi$ for $i = 0,1$.
|
| 24 |
24 |
\item The predecessor function $\pred (; x) := \begin{cases}
|
| 25 |
|
0 & x = 0 \\
|
| 26 |
|
x' & x = x'i
|
|
25 |
\epsilon & \mbox{ if } x = \epsilon \\
|
|
26 |
x' & \mbox{ if } x = x'i
|
| 27 |
27 |
\end{cases}$.
|
| 28 |
28 |
\item The conditional function $\cond (;x,y,z) := \begin{cases}
|
| 29 |
|
y & x \mod{2} = 0 \\
|
|
29 |
y & \mbox{ if } x=x' 0 \\
|
| 30 |
30 |
z & \text{otherwise}
|
| 31 |
31 |
\end{cases}$.
|
| 32 |
32 |
\end{enumerate}
|
| ... | ... | |
| 34 |
34 |
There are the following closure properties.
|
| 35 |
35 |
\begin{enumerate}
|
| 36 |
36 |
\setcounter{enumi}{5}
|
| 37 |
|
\item Predicative recursion on notation. If $g, h_0, h_1 $ are in BC then so is the function $f$ defined by,
|
|
37 |
\item Predicative recursion on notation (PRN). If $g, h_0, h_1 $ are in BC then so is the function $f$ defined by,
|
| 38 |
38 |
\[
|
| 39 |
39 |
\begin{array}{rcl}
|
| 40 |
40 |
f(0, \vec v ; \vec x) & := & g(\vec v ; \vec x) \\
|
| ... | ... | |
| 49 |
49 |
so long as the expression is well-formed.
|
| 50 |
50 |
\end{enumerate}
|
| 51 |
51 |
\end{definition}
|
|
52 |
|
|
53 |
% \begin{definition}
|
|
54 |
% [BC functions]
|
|
55 |
% BC is the set of functions generated by the following initial functions and closure schemes.
|
|
56 |
%
|
|
57 |
%% \paragraph{Initial functions}
|
|
58 |
% There are the following initial functions:
|
|
59 |
% \begin{enumerate}
|
|
60 |
% \item The constant function $0$ which takes no arguments and outputs $0 \in \Nat$.
|
|
61 |
% \item The projection functions $\pi^{m,n}_k ( x_1 , \dots , x_m ; x_{m+1} , \dots, x_{m+n} ) := x_k$ for $n,m \in \Nat$ and $1 \leq k \leq m+n$.
|
|
62 |
% \item The successor functions $\succ_i ( ; x) := xi$ for $i = 0,1$.
|
|
63 |
% \item The predecessor function $\pred (; x) := \begin{cases}
|
|
64 |
% 0 & x = 0 \\
|
|
65 |
% x' & x = x'i
|
|
66 |
% \end{cases}$.
|
|
67 |
% \item The conditional function $\cond (;x,y,z) := \begin{cases}
|
|
68 |
% y & x \mod{2} = 0 \\
|
|
69 |
% z & \text{otherwise}
|
|
70 |
% \end{cases}$.
|
|
71 |
% \end{enumerate}
|
|
72 |
%
|
|
73 |
% There are the following closure properties.
|
|
74 |
% \begin{enumerate}
|
|
75 |
% \setcounter{enumi}{5}
|
|
76 |
% \item Predicative recursion on notation. If $g, h_0, h_1 $ are in BC then so is the function $f$ defined by,
|
|
77 |
% \[
|
|
78 |
% \begin{array}{rcl}
|
|
79 |
% f(0, \vec v ; \vec x) & := & g(\vec v ; \vec x) \\
|
|
80 |
% f (\succ_i u , \vec v ; \vec x ) & := & h_i ( u , \vec v ; \vec x , f (u , \vec v ; \vec x) )
|
|
81 |
% \end{array}
|
|
82 |
% \]
|
|
83 |
% for $i = 0,1$, so long as the expressions are well-formed (i.e.\ in number/sort of arguments).
|
|
84 |
% \item Safe composition. If $g, \vec h, \vec h'$ are in BC then so is $f$ defined by,
|
|
85 |
% \[
|
|
86 |
% f (\vec u ; \vec x) \quad := \quad g ( \vec h(\vec u ; ) ; \vec h' (\vec u ; \vec x) )
|
|
87 |
% \]
|
|
88 |
% so long as the expression is well-formed.
|
|
89 |
% \end{enumerate}
|
|
90 |
% \end{definition}
|
| 52 |
91 |
|
| 53 |
92 |
|
|
93 |
|
| 54 |
94 |
\anupam{simultaneous recursion?}
|
| 55 |
95 |
|
| 56 |
96 |
\subsection{Convergence in arithmetic}
|