Index: CSL16/bc-convergence.tex
===================================================================
--- CSL16/bc-convergence.tex	(revision 39)
+++ CSL16/bc-convergence.tex	(revision 40)
@@ -51,37 +51,40 @@
 	\end{definition}
 
 
+\anupam{simultaneous recursion?}
 
 \subsection{Convergence in arithmetic}
 \begin{theorem}
 	[Convergence]
-	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))$.
+	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))$.
 \end{theorem}
 \begin{proof}
-	We show by induction on the structure of a BC-program for $f(\vec x ; \vec y)$ that:
+%	We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs. 
+	We show by induction on the structure of a BC-program for $f(\vec u ; \vec x)$ that:
 	\begin{equation}
-	\Phi(f) , \cax{\Sigma^N_1}{\pind} \proves \ \forall \vec{x}^{!N} . \forall \vec{y}^N . N(f(\vec x ; \vec y))
+	\label{eqn:prv-cvg-ih}
+	\Phi(f) \proves \ \forall \vec{u}^{!\nat} . \forall \vec{x}^\nat . \nat(f(\vec u ; \vec x))
 	\end{equation}
 	We give some key cases in what follows.
 	
-	Suppose $f$ is defined by PRN by:
+	Suppose $f$ is defined by PRN as:
 	\[
 	\begin{array}{rcl}
-	f(0,\vec x ; \vec y) & = & g(\vec x ; \vec y) \\
-	f(\succ_i x , \vec x ; \vec y) & = & h_i (x, \vec x ; \vec y , f(x , \vec x ; \vec y))
+	f(0,\vec v ; \vec x) & = & g(\vec v ; \vec x) \\
+	f(\succ_i u , \vec v; \vec x) & = & h_i (u, \vec v ; \vec x , f(u , \vec v ; \vec x))
 	\end{array}
 	\]
-	By the inductive hypothesis we already have that $g, h_0, h_1$ are provably convergent, so let us suppose that $N(\vec x)$ and prove,
+	By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$, so let us suppose that $\nat(\vec v)$ and prove,
 	\begin{equation}
-	\forall x^{!N} . ( N(\vec y) \limp N(f(x , \vec x ; \vec y)  )
+ \forall u^{!\nat} .  (\nat(\vec x) \limp \nat(f(u , \vec v ; \vec x)  )
 	\end{equation}
-	by $\cax{\Sigma^N_1}{\pind}$ on $x$.
+	by $\cax{\Sigma^N_1}{\pind}$ on $u$.
 	
 	In the base case we have the following proof:
 	\[
 	\vlderivation{
-		\vliin{}{}{N(\vec y) \limp N(f(0, \vec x ; \vec y))}{
-			\vltr{IH}{N(\vec y) \limp N(g(\vec x ; \vec y))}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+		\vliin{}{}{\nat(\vec x) \limp \nat(f(\epsilon, \vec v ; \vec x))}{
+			\vltr{IH}{\nat(\vec x) \limp N(g(\vec x ; \vec y))}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
 		}{
 		\vlin{}{}{N(g (\vec x ; \vec y) ) \limp N(f(0, \vec x ; \vec y)) }{
 			\vlin{}{}{g(\vec x ; \vec y) = f(0 , \vec x ; \vec y)}{\vlhy{}}
@@ -90,25 +93,48 @@
 }
 \]
 
-For the inductive step, we need to show that,
+For the inductive step, we suppose that $\nat (u)$ and the proof is as follows,
 \[
-\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) )   )
-\]
-so let us suppose that $N(x)$ and we give the following proof:
-\[
 \vlderivation{
-	\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)  ) }{
-		\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)  ) }{
-			\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) ) ) }{
-				\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 }}
+	\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) ) }{
+	\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) )   }{
+		\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) )    }{
+			\vlin{\id}{}{\nat(\vec x) \seqar \nat (\vec x) }{\vlhy{}}
 			}{
-			\vlhy{2}
+			\vliq{\beta}{}{  \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( f(\succ_i u , \vec v ; \vec x) ) }{
+				\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 )) ) }{
+					\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}}
+					}
+				}
+			}
 		}
-	}{
-	\vlhy{3}
-}
-}
-}
+	}
+	}
 \]
-TOFINISH
+where the steps indicated $\alpha, \beta, \gamma$ are obtained by \todo{}
+
+%
+%For the inductive step, we need to show that,
+%\[
+%\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) )   )
+%\]
+%so let us suppose that $N(x)$ and we give the following proof:
+%\[
+%\vlderivation{
+%	\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)  ) }{
+%		\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)  ) }{
+%			\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) ) ) }{
+%				\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 }}
+%			}{
+%			\vlhy{2}
+%		}
+%	}{
+%	\vlhy{3}
+%}
+%}
+%}
+%\]
+%TOFINISH
 \end{proof}
+
+
Index: CSL16/macros.tex
===================================================================
--- CSL16/macros.tex	(revision 39)
+++ CSL16/macros.tex	(revision 40)
@@ -103,5 +103,7 @@
 	\newcommand{\pind}{\mathit{PIND}}
 	\newcommand{\cax}[2]{#1\text{-}#2}
 
+	\newcommand{\arith}{A^1_2}
+
           % sizes
           \newcommand{\height}[1]{\mathit{h}(#1)}
