Index: CSL16/preliminaries.tex
===================================================================
--- CSL16/preliminaries.tex	(revision 108)
+++ CSL16/preliminaries.tex	(revision 109)
@@ -40,6 +40,7 @@
 
 We define the following calculus:
 \[
+\small
 \begin{array}{l}
 \begin{array}{cccc}
 \vlinf{\lefrul{\bot}}{}{p, \lnot{p} \seqar }{}
Index: CSL16/bc-convergence.tex
===================================================================
--- CSL16/bc-convergence.tex	(revision 108)
+++ CSL16/bc-convergence.tex	(revision 109)
@@ -28,34 +28,37 @@
 
 \begin{proof}[Proof sketch]
 %	We write function symbols in $\arith$ with arguments delimited by $;$, as for BC-programs. 
-	We appeal to Lemma~\ref{lemma:spec-norm-form} and show that $\closure{\eqspec} \cup I\sigzer$ proves,
-	\begin{equation}
-	\label{eqn:prv-cvg-ih}
-\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
-	\end{equation}
+	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))$.
+%	\begin{equation}
+%	\label{eqn:prv-cvg-ih}
+%\forall \vec{u}^{!\word} . \forall \vec{x}^\word . \word(f(\vec u ; \vec x))
+%	\end{equation}
 	We proceed by induction on the structure of a BC program for $f$, and sketch only the key cases here.
 %	We give some key cases in what follows.
 	
-	Suppose $f$ is defined by PRN as:
-	\[
-	\begin{array}{rcl}
-	f(\epsilon,\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 have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. We construct the proof $\pi_\epsilon$,
+	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 )$.
+%	\[
+%	\begin{array}{rcl}
+%	f(\epsilon,\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 have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$. 
+	From the inductive hypothesis for $g$, we construct the following proof,
 	\begin{equation}
 	\label{eqn:prn-cvg-base}
 	\small
 	\vlderivation{
 			\vliq{\beta}{}{!\word(\vec v) , \word (\vec x) \seqar \word(f (\epsilon , \vec v ; \vec x)) }{
 				\vliq{\alpha}{}{!\word (\vec v) , \word (\vec x) \seqar \word (g (\vec v ; \vec x) ) }{
-					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+%					\vltr{\IH}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+%				\vliq{}{}{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}{\vlhy{}}
+\vlhy{\seqar \forall \vec v^{!\word} . \forall \vec x^\word . \word (g (\vec v ; \vec x))}
 					}
 				}
 			}
 	\end{equation}
-	where $\alpha $ and $\beta$ are purely logical derivations using cuts.	
+ where $\alpha $ is purely logical and $\beta$ is obtained from $\closure{\eqspec}$ and equality.	
 %	We first prove,
 %	\begin{equation}
 %	!\word (a) , !\word (\vec v) , \word (\vec x) \land \word (f( a , \vec v ; \vec x ) )
@@ -63,7 +66,7 @@
 %	\word (\vec x) \land \word (f( \succ_i a , \vec v ; \vec x ) )
 %	\end{equation}
 %	for $i=0,1$, whence we will apply $\ind$. We construct the following proofs:
-We also construct the proofs $\pi_i$, for $i=0,1$,
+We also construct the proofs,
 	\begin{equation}
 	\label{eqn:prn-cvg-ind}
 	%\vlderivation{
@@ -90,7 +93,9 @@
 	}{
 		\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 ) )  }{
 				\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 ) ) )   }{
-					\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}}
+%					\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}}
+%\vliq{}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) ) }{\vlhy{}}
+\vlhy{\seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word , y^\word  .  \word ( h_i ( u, \vec v ; \vec x, y ) )}
 				}
 			}
 			}
@@ -98,7 +103,7 @@
 	}
 	}
 \end{equation}
-where $\alpha$ and $\beta$ are, again, purely logical.
+	from the inductive hypotheses for $h_i$, where $\alpha$ and $\beta$ are similar to before.
 %%	so let us suppose that $\word(\vec v)$ and prove,
 %	\begin{equation}
 %% \forall u^{!\word} .  (\word(\vec x) \limp \word(f(u , \vec v ; \vec x)  )
@@ -125,7 +130,8 @@
 \vliq{\lefrul{\cntr}}{}{ !\word (u), !\word (\vec v) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )  }
 {
 \vliin{\cut}{}{  !\word (u), !\word(\vec v), !\word (\vec v) , \word (\vec x) , \word (\vec x) \seqar  \word ( f(u , \vec v ;\vec x)  )   }{
-\vltr{\pi_\epsilon}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+%\vltr{\pi_\epsilon}{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+\vlhy{ !\word (\vec v) , \word (\vec x) \seqar \word ( f( \epsilon , \vec v ; \vec x ) ) }
 }
 {
 \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,7 +140,8 @@
 {
 \vlhy{
 \left\{
-\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}{}{}
+%\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}{}{}
+   !\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 ) )  
 \right\}_i
 }
 }
@@ -185,52 +192,53 @@
 %%\]
 %%TOFINISH
 
-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.
+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.
 
 
-We also give the case of the conditional initial function, to exemplify the use of additives. The conditional is defined equationally as:
-\[
-\begin{array}{rcl}
-C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
-C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
-C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
-\end{array}
-\]
-Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
-\[
-\small
-\vlderivation{
-\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
-\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) ) }{
-\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
-\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
-\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
-\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
-}
-}
-}
-}{
-\vlhy{
-\left\{ 
-\vlderivation{
-\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
-\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
-\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
-\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
-\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
-}
-}
-}
-}
-}
-\right\}_{i = 0,1}
-}
-}
-}
-}
-\]
-whence the result follows by $\forall$-introduction.
-%The other initial functions are routine.
+%We also give the case of the conditional initial function $C (; x, y_\epsilon , y_0, y_1)$, to exemplify the use of additives. 
+%%The conditional is defined equationally as:
+%%\[
+%%\begin{array}{rcl}
+%%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
+%%C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
+%%C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
+%%\end{array}
+%%\]
+%Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
+%\[
+%\small
+%\vlderivation{
+%\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
+%\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) ) }{
+%\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
+%\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
+%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
+%\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
+%}
+%}
+%}
+%}{
+%\vlhy{
+%\left\{ 
+%\vlderivation{
+%\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
+%\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
+%\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
+%\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
+%\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
+%}
+%}
+%}
+%}
+%}
+%\right\}_{i = 0,1}
+%}
+%}
+%}
+%}
+%\]
+%whence the result follows by $\forall$-introduction.
+%%The other initial functions are routine.
 \end{proof}
 
 
Index: CSL16/bc.tex
===================================================================
--- CSL16/bc.tex	(revision 108)
+++ CSL16/bc.tex	(revision 109)
@@ -20,11 +20,16 @@
 		\end{cases}$.
 		\item The conditional function 
 		\[
-\begin{array}{rcl}
-C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
-C(; x0 , y_\epsilon , y_0, y_1) & = & y_0 \\
-C(; x1 , y_\epsilon , y_0, y_1) & = & y_1 
-\end{array}
+%\begin{array}{rcl}
+%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
+%C(; x0 , y_\epsilon , y_0, y_1) & = & y_0 \\
+%C(; x1 , y_\epsilon , y_0, y_1) & = & y_1 
+%\end{array}
+C (; \epsilon, y_\epsilon , y_0, y_1  ) := y_\epsilon 
+\quad
+C(; x0 , y_\epsilon , y_0, y_1) := y_0 
+\quad
+C(; x1 , y_\epsilon , y_0, y_1) := y_1 
 \]
 %		$\cond (;x,y,z) := \begin{cases}
 %		y & \mbox{ if } x=x' 0 \\
@@ -82,8 +87,7 @@
 \item The identity function is in BC.
 \item Let $t$ be a well-formed expression built from BC programs and variables, denote its free variables as $\{u_1,\dots, u_n,x_1,\dots, x_k\}$, and assume for for each $1\leq i\leq k$, $x_i$ is hereditarily safe in $t$. Then the function $f$ defined
 by $f(u_1,\dots, u_n,x_1,\dots, x_k):=t$ is a BC program.
-\item Assume $f$ is a BC program, then the program $g$ defined as
-$$ g(\vec{u},v;\vec{x}):=f(\vec{u};v,\vec{x})$$
+\item If $f$ is a BC program, then the program $g(\vec{u},v;\vec{x})$ defined as $f(\vec{u};v,\vec{x})$
 is also a BC program.
 \end{enumerate}
 
Index: CSL16/appendix-bc-convergence.tex
===================================================================
--- CSL16/appendix-bc-convergence.tex	(revision 108)
+++ CSL16/appendix-bc-convergence.tex	(revision 109)
@@ -79,4 +79,49 @@
 		}
 	\]
 	where $\alpha$ and $\beta$ are similar to before.
-	
\ No newline at end of file
+	
+	
+	We also give the case of the conditional initial function $C (; x, y_\epsilon , y_0, y_1)$, to exemplify the use of additives. 
+	%The conditional is defined equationally as:
+	%\[
+	%\begin{array}{rcl}
+	%C (; \epsilon, y_\epsilon , y_0, y_1  ) & = & y_\epsilon \\
+	%C(; \succ_0 x , y_\epsilon , y_0, y_1) & = & y_0 \\
+	%C(; \succ_1 x , y_\epsilon , y_0, y_1) & = & y_1 
+	%\end{array}
+	%\]
+	Let $\vec y = ( y_\epsilon , y_0, y_1 )$ and construct the required proof as follows:
+	\[
+	\small
+	\vlderivation{
+		\vliq{}{}{ \word (x) , \word (\vec y) \seqar \word ( C(; x ,\vec y) )}{
+			\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) ) }{
+				\vliq{}{}{ x = \epsilon , \word (\vec y) \seqar \word ( C(; x , \vec y) ) }{
+					\vliq{}{}{ \word (\vec y) \seqar \word ( C( ; \epsilon , \vec y ) ) }{
+						\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_\epsilon) }{ 
+							\vlin{\id}{}{\word (y_\epsilon) \seqar \word ( y_\epsilon )}{\vlhy{}}
+						}
+					}
+				}
+			}{
+			\vlhy{
+				\left\{ 
+				\vlderivation{
+					\vlin{\lefrul{\exists}}{}{ \exists z^\word . x = \succ_i z , \word (\vec y) \seqar \word ( C(;x , \vec y) ) }{
+						\vliq{}{}{ x = \succ_i a , \word (\vec y ) \seqar \word (C(; x ,\vec y)) }{
+							\vliq{}{}{ \word (\vec y) \seqar \word ( C(; \succ_i a , \vec y ) ) }{
+								\vlin{\wk}{}{ \word (\vec y) \seqar \word (y_i) }{
+									\vlin{\id}{}{\word (y_i) \seqar \word (y_i)}{\vlhy{}}
+								}
+							}
+						}
+					}
+				}
+				\right\}_{i = 0,1}
+			}
+		}
+	}
+}
+\]
+whence the result follows by $\forall$-introduction.
+%The other initial functions are routine.
\ No newline at end of file
Index: CSL16/wfm.tex
===================================================================
--- CSL16/wfm.tex	(revision 108)
+++ CSL16/wfm.tex	(revision 109)
@@ -41,18 +41,56 @@
 			[Typing]
 			To each $(\forall, ?)$-free $\word^+$-formula $A$ we associate a sorted tuple of variables $\type (A)$, intended to range over $\Word$, as follows:
 			\[
+%			\begin{array}{rcll}
+%			\type (\word (t)) & := & (;x^{\word (t)} ) & \\
+%			\type(s = t) & := & ( ; x^{s = t}) & \\
+%			\type (s \neq t) & := & ( ;x^{s\neq t} )\\
+%%			\type (A \lor B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
+%			\type (A \star B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
+%			\type (! A) & : = & ( \vec u ,\vec x  ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
+%			\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
+%			%	\type (\forall x^N . A) & := & \Nat \to \type(A)
+%			\end{array}
+%
 			\begin{array}{rcll}
 			\type (\word (t)) & := & (;x^{\word (t)} ) & \\
-			\type(s = t) & := & ( ; x^{s = t}) & \\
-			\type (s \neq t) & := & ( ;x^{s\neq t} )\\
-%			\type (A \lor B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
-			\type (A \star B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
-			\type (! A) & : = & ( \vec u ,\vec x  ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
-			\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
-			%	\type (\forall x^N . A) & := & \Nat \to \type(A)
+			\type(s = t) & := & ( ; x^{s = t}) & 
+%			\\
+%			\type (s \neq t) & := & ( ;x^{s\neq t} )\\
+%%			\type (A \lor B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
+%			\type (A \star B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
+%			\type (! A) & : = & ( \vec u ,\vec x  ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
+%			\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
+%			%	\type (\forall x^N . A) & := & \Nat \to \type(A)
 			\end{array}
+			\quad
+						\begin{array}{rcll}
+%						\type (\word (t)) & := & (;x^{\word (t)} ) & \\
+%						\type(s = t) & := & ( ; x^{s = t}) & \\
+						\type (s \neq t) & := & ( ;x^{s\neq t} )\\
+			%			\type (A \lor B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
+%						\type (A \star B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
+						\type (! A) & : = & ( \vec u ,\vec x  ; ) & 
+%						\text{if $\type(A) = (\vec u ; \vec x )$.} \\
+%						\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
+%						%	\type (\forall x^N . A) & := & \Nat \to \type(A)
+						\end{array}
+						\quad
+									\begin{array}{rcll}
+%									\type (\word (t)) & := & (;x^{\word (t)} ) & \\
+%									\type(s = t) & := & ( ; x^{s = t}) & \\
+%									\type (s \neq t) & := & ( ;x^{s\neq t} )\\
+%						%			\type (A \lor B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
+									\type (A \star B)  & : = & (\vec u , \vec v ; \vec x , \vec y) & 
+%									\text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} 
+									\\
+%									\type (! A) & : = & ( \vec u ,\vec x  ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
+									\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & 
+%									\text{if $\type (A) = (\vec u ; \vec x)$.}
+									%	\type (\forall x^N . A) & := & \Nat \to \type(A)
+									\end{array}
 			\]
-			For a sorted tuple $(u_1 , \dots u_m ; x_1 , \dots ,x_n )$ we write $|(\vec u ; \vec x)|$ to denote its length, i.e.\ $m+n$.
+			where $\type(A)  = (\vec u ; \vec x)$ and $\star \in \{ \lor , \land, \laor, \laand \}$.
 			%	where $\nu$ designates that the inputs are normal.
 		\end{definition}
 		
@@ -66,7 +104,7 @@
 %			On the other hand, since we are working in affine logic, we do in general have $!(A \land B) \cong !A \land !B$.
 %		\end{remark}
 		
-		This sorted tuple corresponds to the input variables, normal and safe respectively, for the BC programs that we will define.
+					For a sorted tuple $(u_1 , \dots u_m ; x_1 , \dots ,x_n )$ we write $|(\vec u ; \vec x)|$ to denote its length, i.e.\ $m+n$. This sorted tuple corresponds to the input variables, normal and safe respectively, for the BC programs that we will define.
 %		\footnote{It becomes important here that we are considering proofs of a convergence statement, since a free-cut free $\arith$-proof of a convergence statement cannot contain any $\lor$ symbols in the scope of a $!$. This could cause an issue in the above definition since we do not in general have the equivalence $!(A \lor B) \equiv !A \lor !B$. On the other hand, the equivalence $!(A\land B) \equiv !A \land !B$ follows since we are in the affine setting.}
 		
 	
@@ -117,24 +155,29 @@
 		If $\pi$ consists of a subproof $\pi'$ ending with a $\lefrul{\land}$ or $\rigrul{\lor}$-step, then $\vec f^\pi$ is exactly $\vec f^{\pi'}$.
 			By assumption, there are no $\laor$, $\laand$, $?$ or $\forall$ steps occurring in $\pi$, and if $\pi$ consists of a subproof $\pi'$ followed by a $\lefrul{\exists}$ step then $\vec f^\pi$ is exactly the same as $\vec f^{\pi'}$, under possible reordering of the tuple.
 		
-			Suppose $\pi$ ends with a $\rigrul{\exists}$ step,
+			Suppose $\pi$ consists of a subproof $\pi'$ followed by a $\rigrul{\exists}$ step,
 				\[
 				\vlderivation{
 					\vlin{\rigrul{\exists}}{}{ \Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x) }{
-						\vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+%						\vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+\vlhy{ \Gamma \seqar \Delta , A(t) }
 					}
 				}
 				\]
-				so by the inductive hypothesis we have functions $\vec f^\Delta , \vec f^{A(t)}$ with arguments $(\vec u ; \vec x )= \type(\bigotimes \Gamma)$. We define $\vec f^\pi$ as follows:
-				\[
+				so by the inductive hypothesis we have functions $\vec f^\Delta , \vec f^{A(t)}$ with arguments $(\vec u ; \vec x )= \type(\bigotimes \Gamma)$. We define 
+%				$\vec f^\pi$ as follows:
+%				\[
+				$
 				\vec f^\pi (\vec u ; \vec x , y)
-				\quad := \quad
+%				\quad := \quad
+				$ as $
 				\left( 
 				\vec f^\Delta (\vec u ; \vec x) ,
 				{\id (;y)},
 				\vec f^{A(t)} (\vec u; \vec x)  
 				\right)
-				\]
+$.				
+%\]
 		%		(The identity function on $y$ is defined from successor, predecessor and safe composition).
 				
 				
@@ -217,16 +260,18 @@
 \vlderivation{
 	\vliin{\cut}{}{!\Gamma , \Sigma  \seqar \Delta }{
 		\vlin{\rigrul{!}}{}{!\Gamma \seqar  !\word(t)}{
-			\vltr{\pi_1'}{!\Gamma \seqar  \word(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+%			\vltr{\pi_1'}{!\Gamma \seqar  \word(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+\vlhy{!\Gamma \seqar  \word(t)}
 			}
 		}{
-		\vltr{\pi_2}{ !\word(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+%		\vltr{\pi_2}{ !\word(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
+\vlhy{ !\word(t), \Sigma\seqar \Delta}
 		}
 	}
 \]
  where 
 % $\pi_2$ ends with a $\ind$ step for which  $A(x)$ is the induction formula, and 
- we assume there are no side-formulae on the right of the end-sequent of $\pi_1$ for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h (  v , \vec w ; \vec x)$ from $\pi_1'$ and $\pi_2$ respectively, where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$,  $!\word(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
+ we assume there are no side-formulae on the right of the end-sequent of the left subproof for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h (  v , \vec w ; \vec x)$ where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$,  $!\word(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
 \[
 \vec f^\pi (\vec u , \vec w ; \vec x)
 \quad := \quad
@@ -267,9 +312,11 @@
 	\[
 	\vlderivation{
 		\vliin{\ind}{}{ !\word (t), !\Gamma  ,  A(\epsilon) \seqar A(t) }{
-			\vltr{\pi_0}{!\word(a) , !\Gamma ,  A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+%			\vltr{\pi_0}{!\word(a) , !\Gamma ,  A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+\vlhy{!\word(a) , !\Gamma ,  A(a) \seqar A(\succ_0 a)}
 		}{
-		\vltr{\pi_1}{!\word(a), !\Gamma ,  A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+%		\vltr{\pi_1}{!\word(a), !\Gamma ,  A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+\vlhy{!\word(a), !\Gamma ,  A(a)\seqar A(\succ_1 a)}
 	}
 }
 \]
@@ -277,10 +324,12 @@
 
 By the inductive hypothesis we have functions $\vec g^0 (u , \vec v ; \vec x)$ and $\vec g^1 (u , \vec v ; \vec x)$ with $u$, $\vec v$ and $\vec x$ corresponding to $!\word(a)$, $!\Gamma$ and $A(a)$ respectively. We define $\vec f^\pi$ by simultaneous predicative recursion on notation as follows:
 \[
-\begin{array}{rcll}
-\vec f^\pi ( \epsilon, \vec v ; \vec x ) & := & \vec x & \\
-\vec f^\pi ( \succ_i u , \vec v ; \vec x) & := & \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) )
-\end{array}
+%\begin{array}{rcll}
+%\vec f^\pi ( \epsilon, \vec v ; \vec x ) & := & \vec x & \\
+%\vec f^\pi ( \succ_i u , \vec v ; \vec x) & := & \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) )
+%\end{array}
+\vec f^\pi ( \epsilon, \vec v ; \vec x ) := \vec x  \qquad
+\vec f^\pi ( \succ_i u , \vec v ; \vec x) :=  \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) )
 \]
 
 %\anupam{check this}
@@ -313,7 +362,7 @@
 	
 %	\todo{add cases for $\laor$ and $\neq$.}
 	
-		\newcommand{\witness}[2]{\mathit{Witness}^{#1}_{#2}}
+		\newcommand{\witness}[2]{\mathit{Wit}^{#1}_{#2}}
 		\begin{definition}
 			[Witness predicate]
 			For formulae $A, B$ satisfying properties \ref{item:no-neg-word}, \ref{item:no-forall}, \ref{item:no-quest} of Prop.~\ref{prop:freedom}, we define the following `witness' predicate as a quantifier-free formula of $\qfindth$:
@@ -321,21 +370,70 @@
 		
 		\renewcommand{\sigma}{a}
 			\[
-			\begin{array}{rcll}
-			\witness{}{A} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
-			\witness{}{A} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
-						\witness{}{A} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
-			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) & 
-						\text{for $\star \in \{ \lor,\laor\}$.} 
+%			\begin{array}{rcll}
+%			\witness{}{A} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
+%			\witness{}{A} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
+%						\witness{}{A} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
+%			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) & 
+%						\text{for $\star \in \{ \lor,\laor\}$.} 
+%			\\
+%			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) & 
+%						\text{for $\star \in \{ \land, \laand \}$.} 
+%			\\
+%			\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A  ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
+%			\witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
+%			\end{array}
+			\begin{array}{rcl}
+			\witness{}{\word (t)} (\sigma) & := & \sigma = t 
+%			\text{if $A$ is $\word (t)$.} 
 			\\
-			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) & 
-						\text{for $\star \in \{ \land, \laand \}$.} 
+			\witness{}{s=t} (\sigma) & := & s=t 
+%			\text{if $A$ is $s=t$.} 
 			\\
-			\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A  ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
+			\witness{}{s \neq t} (\sigma) & := & s\neq t 
+%			\text{if $A$ is $s\neq t$.} 
+\\
+%			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) & 
+%			\text{for $\star \in \{ \lor,\laor\}$.} 
+%			\\
+%			\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) & 
+%			\text{for $\star \in \{ \land, \laand \}$.} 
+%			\\
+%			\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A  ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
 			\witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
 			\end{array}
+			\quad
+						\begin{array}{rcl}
+%						\witness{}{\word (t)} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
+%						\witness{}{s=t} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
+%						\witness{}{s \neq t} (\sigma) & := & s\neq t & 
+%						\text{if $A$ is $s\neq t$.} 
+%						\\
+						\witness{}{A \bullet B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) 
+%						\text{for $\star \in \{ \lor,\laor\}$.} 
+						\\
+						\witness{}{A \circ B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B )  
+%						\text{for $\star \in \{ \land, \laand \}$.} 
+						\\
+						\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A  ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) 
+%						 \\
+%						\witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
+						\end{array}
+%						\begin{array}{rcl}
+%%						\witness{}{\word (t)} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
+%%						\witness{}{s=t} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
+%%						\witness{}{s \neq t} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
+%%						\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) & 
+%%						\text{for $\star \in \{ \lor,\laor\}$.} 
+%%						\\
+%%						\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := &  \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) & 
+%%						\text{for $\star \in \{ \land, \laand \}$.} 
+%%						\\
+%						\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A  ) & := & \witness{}{A}(\vec \sigma^A , \sigma )  \\
+%						\witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
+%						\end{array}			
 			\]
-			where $|\vec \sigma^A| = |\type (A)|$ and $|\vec \sigma^B| = |\type (B)| $.
+			where $\bullet \in \{ \lor, \laor \}$, $\circ \in \{ \land,\laand \}$, $|\vec \sigma^A| = |\type (A)|$ and $|\vec \sigma^B| = |\type (B)| $.
 		\end{definition}
 		%	\todo{problem: what about complexity of checking equality? }
 		
Index: CSL16/arithmetic.tex
===================================================================
--- CSL16/arithmetic.tex	(revision 108)
+++ CSL16/arithmetic.tex	(revision 109)
@@ -54,11 +54,15 @@
 [Basic axioms]
 The theory $\basic$ consists of the following axioms:
 \[
+\small
 \begin{array}{rl}
 %\wk & (A \land B )\limp A \\
-\geneps & \word(\epsilon) \\
-\genzer & \forall x^\word . \word(\succ_0 x) \\
-\genone & \forall x^\word . \word(\succ_1 x) \\
+%\geneps 
+& \word(\epsilon) \\
+%\genzer 
+& \forall x^\word . \word(\succ_0 x) \\
+%\genone 
+& \forall x^\word . \word(\succ_1 x) \\
 %\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
 %\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
 %\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
@@ -67,21 +71,24 @@
 %\noalign{\smallskip}
 %\wordcntr & \forall x^\word . (\word(x) \land \word(x)) 
 \end{array}
-\quad
+%\quad
 \begin{array}{rl}
 %\wk & (A \land B )\limp A \\
 %\geneps & \word(\epsilon) \\
 %\genzer & \forall x^\word . \word(\succ_0 x) \\
 %\genone & \forall x^\word . \word(\succ_1 x) \\
-\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
-\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
-\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
+%\sepeps 
+& \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
+%\sepzer 
+& \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
+%\sepone 
+& \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
 %\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
 %\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
 %\noalign{\smallskip}
 %\wordcntr & \forall x^\word . (\word(x) \land \word(x)) 
 \end{array}
-\quad
+%\quad
 \begin{array}{rl}
 %\wk & (A \land B )\limp A \\
 %\geneps & \word(\epsilon) \\
@@ -90,10 +97,13 @@
 %\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
 %\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
 %\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
-\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
-\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
+%\inj 
+& \forall x^\word . \succ_0 x \neq \succ_1 x \\
+%\surj 
+& \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
 %\noalign{\smallskip}
-\wordcntr & \forall x^\word . (\word(x) \land \word(x)) 
+%\wordcntr 
+& \forall x^\word . (\word(x) \land \word(x)) 
 \end{array}
 \]
 \end{definition}
@@ -131,6 +141,7 @@
 \label{prop:equiv-rules}
 $\basic$ is equivalent to the following set of rules,
 \[
+\small
 \begin{array}{l}
 \begin{array}{cccc}
 \vlinf{\geneps}{}{\seqar \word (\epsilon)}{}&
@@ -174,6 +185,7 @@
 %\vspace{1em}
 and $\ind$ is equivalent to,
 \[
+\small
 \vliinf{\ind}{}{ !\word(t) , !\Gamma , A(\epsilon) \seqar A(t), ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_1 a) , ?\Delta  }
 \]
 where, in all cases, $t$ varies over arbitrary terms and the eigenvariable $a$ does not occur in the lower sequent of the $\ind$ rule.
