Index: CSL16/wfm.tex
===================================================================
--- CSL16/wfm.tex	(revision 106)
+++ CSL16/wfm.tex	(revision 107)
@@ -97,51 +97,9 @@
 			The translation is by induction on the size of $\pi$, so we proceed by inspection of its final step.
 			
 			If $\pi$ is an instance of the initial rules $\geneps, \sepeps^0 , \sepeps^1, \sepzer, \sepone$ or $\inj$ then $\vec f^\pi$ is simply the constant function $\epsilon$ (possibly with dummy inputs as required by $\type$).\footnote{This is because proofs of (in)equalities can be seen to carry no computational content.}
-			The other initial steps of $\arith$ are translated as follows:
-			\[
-			\begin{array}{ccc}
-%			\vlinf{\word_\epsilon}{}{\seqar \word (\epsilon)}{}
-%			& : &
-%			\epsilon
-%			\\ 
-			\vlinf{\genzer}{}{\word(t) \seqar \word(\succ_0 t)}{}
-			& \quad :\quad  &
-			\succ_0 ( ;x) 
-			\\
-			\vlinf{\genone}{}{\word(t) \seqar \word(\succ_1 t)}{}
-			& \quad : \quad & 
-			\succ_1 (; x)
-			\\
-%			\vlinf{\epsilon^0}{}{ \word (t)  , \epsilon = \succ_0 t \seqar }{} 
-%			& : &
-%			\epsilon
-%			\\
-%			\vlinf{\epsilon^1}{}{ \word (t)  , \epsilon = \succ_1 t \seqar }{}
-%			& : &
-%			\epsilon
-%			\\
-%			\vlinf{\succ_0}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
-%			& : &
-%			\epsilon
-%			\\
-%			\vlinf{\succ_1}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
-%			& : &
-%			\epsilon
-%			\\
-%			\vlinf{\inj}{}{\word(t), \succ_0 t = \succ_1 t \seqar}{}
-%			& : &
-%			\epsilon
-%			\\
-			\vlinf{\surj}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word. t = \succ_1 y }{}
-			&\quad : \quad  &
-			( \epsilon , \pred (  ;x) , \pred (;x ) )
-			\\
-				\vlinf{\wordcntr}{}{\word(t) \seqar \word(t) \land \word(t) }{}
-				& \quad  : \quad &
-				( \id (;x) , \id (;x) )
-			\end{array}
-			\]
-			If $\pi$ is an $\closure{\eqspec}$ initial step it is also translated simply to $\epsilon$.
+			If $\pi$ is an $\closure{\eqspec}$ or $=$ initial step it is also translated simply to $\epsilon$.
+			
+			The initial steps $\genzer, \genone , \surj$ and $\wordcntr$ are translated to $\succ_0( ; x) , \succ_1 (; x), ( \epsilon , \pred ( ;x) , \pred (; x) )$ and $(\id (;x) , \id(;x))$ respectively.
 		
 		Finally, suppose $\pi$ is a logical initial step. If $\pi $ is an instance of $\id$, i.e.\ $p \seqar p$, then we translate it to $\id$. Notice that, if $\pi$ is an instance of $\lefrul{\bot}$ (i.e.\ $p, p^\bot \seqar $ ) or $\rigrul{\bot}$ (i.e.\ $\seqar p, p^\bot$) then $p$ must be an equality $s=t$ for some terms $s,t$, since $p$ must be atomic and, by assumption, $\word$ does not occur negatively. Therefore $\pi$ is translated to tuples of $\epsilon$ as appropriate.
 			
@@ -149,39 +107,16 @@
 			
 			
 			Now we consider the inductive cases.
-			Suppose $\pi$ ends with a $\rigrul{\land}$ step:
-			\[
-			\vlderivation{
-				\vliin{\land}{}{ \Gamma, \Sigma \seqar \Delta, \Pi, A\land B }{
-					\vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
-				}{
-				\vltr{\pi_2}{ \Sigma \seqar \Pi, B }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
-			}
-		}
-		\]
-		By the inductive hypothesis let us suppose we have functions $\vec g (\vec u; \vec x)$ and $\vec h (\vec v ; \vec y)$ from $\pi_1$ and $\pi_2$ respectively, where $\type\left( \bigotimes\Gamma \right) = (\vec u; \vec x)$ and $\type \left( \bigotimes \Sigma \right) = (\vec v ; \vec y)$. Let us write $\vec g = (\vec g^\Delta , \vec g^A)$ and $\vec h = (\vec h^\Pi , \vec h^B)$, to denote the $\Delta$ and $A$ parts of $\vec g$ and the $\Pi$ and $B$ parts of $\vec h$.
-		%	So we have $\vec f^{1} (\vec x ; \vec a)$ and $\vec f^2 (\vec y ; \vec b)$ for $\pi_1 $ and $\pi_2$ respectively, by the inductive hypothesis. 
-		We construct $\vec f^\pi$ by simply rearranging these tuples of functions:
-		\[
-		\vec f^\pi (\vec u , \vec v ; \vec x , \vec y)
-		\quad := \quad
-		\left(
-		\vec g^\Delta (\vec u ; \vec x) , \vec h^\Pi (\vec v ; \vec y)  , \vec g^A (\vec u ; \vec x) , \vec h^B (\vec v ; \vec y)
-		\right)
-		\] 
-		
-		We will continue with similar notational conventions in the remainder of this argument.
-		
-		%	\anupam{bad notation since need to include free variables of sequent too. (also of theory.) Reconsider.}
-		
-		The case when $\pi$ ends with a $\lefrul{\lor}$ step is analogous to the $\rigrul{\land}$ case above.
-		
+%	
+%		We will continue with similar notational conventions in the remainder of this argument.
+%		
+%		%	\anupam{bad notation since need to include free variables of sequent too. (also of theory.) Reconsider.}
+%		
+If $\pi$ ends with a $\rigrul{\land}$ or $\lefrul{\lor}$ step then we just rearrange the tuple of functions obtained from the inductive hypothesis.
+%		The case when $\pi$ ends with a $\lefrul{\lor}$ step is analogous to the $\rigrul{\land}$ case above.		
 		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.
 		
-		
-		By assumption, there are no $\laor$, $\laand$, $?$ or $\forall$ steps occurring in $\pi$.
-		
-		
 			Suppose $\pi$ ends with a $\rigrul{\exists}$ step,
 				\[
 				\vlderivation{
@@ -209,15 +144,7 @@
 				%\]
 				
 				
-				If $\pi$ ends with a $\lefrul{\exists}$ step,
-				\[
-				\vlderivation{
-					\vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^\word . A(x) \seqar \Delta }{
-						\vltr{\pi'}{ \Gamma , A(a),  \word(a) \seqar \Delta  }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
-					}
-				}
-				\]
-				then $\vec f^{\pi}$ is exactly the same as $\vec f^{\pi'}$.
+			
 				%
 				%Suppose we have functions $\vec f' (\vec u , \vec v ; x , \vec y , \vec z)$ from $\pi'$ with $(\vec u ; \vec x )$ corresponding to $\Gamma$, $(;x)$ corresponding to $N(a)$ and $(\vec v ; \vec z)$ corresponding to $A(a)$. We define:
 				%\[
@@ -254,7 +181,7 @@
 					
 			If $\pi$ consists of a subproof $\pi'$ followed by a $\rigrul{!}$ step then $\vec f^\pi$ is exactly the same as $\vec f^{\pi'}$. If $\pi$ ends with a $\lefrul{!}$ step then we just appeal to Prop.~\ref{prop:bc-properties} to turn a safe input into a normal input.		
 				
-			Since there are no $?$ symbols in $\pi$, we can assume also that there are no $\rigrul{\cntr}$ steps in $\pi$.
+			Since there are no $?$ symbols in $\pi$, we can assume also that there are no $\rigrul{\cntr}$ steps in $\pi$.\footnote{Again, this is crucially important, since we cannot test the equality between arbitrary terms in the presence of nonlogical function symbols.}
 						
 		%		\anupam{This is important, so expand on this here or in a remark before/after.}
 				
@@ -296,42 +223,10 @@
 		%	\anupam{this is actually the main point.}
 		
 	
-		
-	
-		
-		Suppose $\pi$ ends with a $\cut$ step:
-		\[
-		\vlderivation{
-			\vliin{\cut}{}{\Gamma , \Sigma \seqar \Delta , \Pi}{
-				\vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
-			}{
-			\vltr{\pi_2}{\Sigma , A \seqar \Pi}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
-		}
-	}
-	\]
-	
-	We have two cases. First, if $A$ is free of modalities, then $\type (A)$ consists of only safe inputs. Therefore we have functions $\vec g (\vec u; \vec x)$ and $\vec h (\vec v ; \vec y, \vec z)$ from $\pi_1$ and $\pi_2 $ respectively, such that $\type(\Gamma) = (\vec u ; \vec x)$, $\type(\Sigma) = (\vec v ; \vec y )$ and $\type (A) = (;\vec z)$. Let us write $\vec g = (\vec g^\Delta , \vec g^A)$ as before, and we define $\vec f^\pi$ as follows:
-	
-	\[
-	\vec f^\pi ( \vec u , \vec v ; \vec x, \vec y)
-	\quad := \quad
-	\left(
-	\vec g^\Delta (\vec u ; \vec x) 
-	,
-	\vec h ( \vec v ; \vec y , \vec g^A ( \vec u ; \vec x ) )
-	\right)
-	\]
-	Notice that all safe inputs on the left occur hereditarily safe on the right, and so these expressions are definable in BC by Prop.~\ref{prop:bc-properties}.
-	
-	
-	
-	
-	In the other case, where $A$ may be modal, it must be of the form $!\word (t)$ since it must directly descend from the left-hand side of an induction step, by free-cut freeness.
+		If $\pi$ ends with a $\cut$ step whose cut-formula is free of modalities, then it can be directly translated to a safe composition of functions obtained by the inductive hypothesis, by relying on Prop.~\ref{prop:bc-properties}. Otherwise, the cut-formula must be of the form $!\word (t)$ since it must directly descend from the left-hand side of an induction step, by free-cut freeness.
 %	 or axiom on one side. The only such occurrence of a modality is in the conclusion of an induction step, whence such a formula has the form $!\word (t)$. 
-	 Since the cut is anchored, we can also assume that the cut formula is principal on the other side, i.e.\ $\pi$ is of the form:
-	
+	 Since the cut is anchored, we can also assume that the cut formula is principal on the other side, i.e.\ $\pi$ is of the form:	
 %	\anupam{need to check this assumption against free-cut elimination conditions. To discuss.}
-	
 \[
 \vlderivation{
 	\vliin{\cut}{}{!\Gamma , \Sigma  \seqar \Delta }{
Index: CSL16/appendix-wfm.tex
===================================================================
--- CSL16/appendix-wfm.tex	(revision 106)
+++ CSL16/appendix-wfm.tex	(revision 107)
@@ -0,0 +1,106 @@
+\section{Appendix for Sect.~\ref{sect:wfm}}
+\label{sect:app-wfm}
+
+			The other initial steps of $\arith$ are translated as follows:
+			\[
+			\begin{array}{ccc}
+%			\vlinf{\word_\epsilon}{}{\seqar \word (\epsilon)}{}
+%			& : &
+%			\epsilon
+%			\\ 
+			\vlinf{\genzer}{}{\word(t) \seqar \word(\succ_0 t)}{}
+			& \quad :\quad  &
+			\succ_0 ( ;x) 
+			\\
+			\vlinf{\genone}{}{\word(t) \seqar \word(\succ_1 t)}{}
+			& \quad : \quad & 
+			\succ_1 (; x)
+			\\
+%			\vlinf{\epsilon^0}{}{ \word (t)  , \epsilon = \succ_0 t \seqar }{} 
+%			& : &
+%			\epsilon
+%			\\
+%			\vlinf{\epsilon^1}{}{ \word (t)  , \epsilon = \succ_1 t \seqar }{}
+%			& : &
+%			\epsilon
+%			\\
+%			\vlinf{\succ_0}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
+%			& : &
+%			\epsilon
+%			\\
+%			\vlinf{\succ_1}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
+%			& : &
+%			\epsilon
+%			\\
+%			\vlinf{\inj}{}{\word(t), \succ_0 t = \succ_1 t \seqar}{}
+%			& : &
+%			\epsilon
+%			\\
+			\vlinf{\surj}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word. t = \succ_1 y }{}
+			&\quad : \quad  &
+			( \epsilon , \pred (  ;x) , \pred (;x ) )
+			\\
+				\vlinf{\wordcntr}{}{\word(t) \seqar \word(t) \land \word(t) }{}
+				& \quad  : \quad &
+				( \id (;x) , \id (;x) )
+			\end{array}
+			\]
+			
+			
+					Suppose $\pi$ ends with a $\rigrul{\land}$ step:
+						\[
+						\vlderivation{
+							\vliin{\land}{}{ \Gamma, \Sigma \seqar \Delta, \Pi, A\land B }{
+								\vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+							}{
+							\vltr{\pi_2}{ \Sigma \seqar \Pi, B }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+						}
+					}
+					\]
+					By the inductive hypothesis let us suppose we have functions $\vec g (\vec u; \vec x)$ and $\vec h (\vec v ; \vec y)$ from $\pi_1$ and $\pi_2$ respectively, where $\type\left( \bigotimes\Gamma \right) = (\vec u; \vec x)$ and $\type \left( \bigotimes \Sigma \right) = (\vec v ; \vec y)$. Let us write $\vec g = (\vec g^\Delta , \vec g^A)$ and $\vec h = (\vec h^\Pi , \vec h^B)$, to denote the $\Delta$ and $A$ parts of $\vec g$ and the $\Pi$ and $B$ parts of $\vec h$.
+					%	So we have $\vec f^{1} (\vec x ; \vec a)$ and $\vec f^2 (\vec y ; \vec b)$ for $\pi_1 $ and $\pi_2$ respectively, by the inductive hypothesis. 
+					We construct $\vec f^\pi$ by simply rearranging these tuples of functions:
+					\[
+					\vec f^\pi (\vec u , \vec v ; \vec x , \vec y)
+					\quad := \quad
+					\left(
+					\vec g^\Delta (\vec u ; \vec x) , \vec h^\Pi (\vec v ; \vec y)  , \vec g^A (\vec u ; \vec x) , \vec h^B (\vec v ; \vec y)
+					\right)
+					\] 
+					
+					
+						If $\pi$ ends with a $\lefrul{\exists}$ step,
+									\[
+									\vlderivation{
+										\vlin{\lefrul{\exists}}{}{ \Gamma, \exists x^\word . A(x) \seqar \Delta }{
+											\vltr{\pi'}{ \Gamma , A(a),  \word(a) \seqar \Delta  }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+										}
+									}
+									\]
+									then $\vec f^{\pi}$ is exactly the same as $\vec f^{\pi'}$.
+									
+										
+											Suppose $\pi$ ends with a $\cut$ step:
+											\[
+											\vlderivation{
+												\vliin{\cut}{}{\Gamma , \Sigma \seqar \Delta , \Pi}{
+													\vltr{\pi_1}{ \Gamma \seqar \Delta, A }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+												}{
+												\vltr{\pi_2}{\Sigma , A \seqar \Pi}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
+											}
+										}
+										\]
+										
+										We have two cases. First, if $A$ is free of modalities, then $\type (A)$ consists of only safe inputs. Therefore we have functions $\vec g (\vec u; \vec x)$ and $\vec h (\vec v ; \vec y, \vec z)$ from $\pi_1$ and $\pi_2 $ respectively, such that $\type(\Gamma) = (\vec u ; \vec x)$, $\type(\Sigma) = (\vec v ; \vec y )$ and $\type (A) = (;\vec z)$. Let us write $\vec g = (\vec g^\Delta , \vec g^A)$ as before, and we define $\vec f^\pi$ as follows:
+										
+										\[
+										\vec f^\pi ( \vec u , \vec v ; \vec x, \vec y)
+										\quad := \quad
+										\left(
+										\vec g^\Delta (\vec u ; \vec x) 
+										,
+										\vec h ( \vec v ; \vec y , \vec g^A ( \vec u ; \vec x ) )
+										\right)
+										\]
+										Notice that all safe inputs on the left occur hereditarily safe on the right, and so these expressions are definable in BC by Prop.~\ref{prop:bc-properties}.
+										
\ No newline at end of file
Index: CSL16/bc-convergence.tex
===================================================================
--- CSL16/bc-convergence.tex	(revision 106)
+++ CSL16/bc-convergence.tex	(revision 107)
@@ -46,6 +46,7 @@
 	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$,
 	\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) ) }{
@@ -80,6 +81,7 @@
 	%		}
 	%	}
 	%	}
+	\small
 	\vlderivation{
 	\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 ) ) }{
 	\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 ) )}{
@@ -116,14 +118,14 @@
 %		}		
 %		}
 Finally we compose these proofs as follows:
-
 \[
+\small
 \vlderivation{
 \vliq{\rigrul{\forall}}{}{ \seqar \forall u^{!\word} , \vec v^{!\word} . \forall \vec x^\word . \word ( f(u , \vec v ;\vec x)  ) }{
 \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{}{ !\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}}
 }
 {
 \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 ) ) }{
@@ -132,8 +134,8 @@
 {
 \vlhy{
 \left\{
-\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}{}{}
-\right\}_{i=0,1}
+\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}{}{}
+\right\}_i
 }
 }
 }
@@ -143,7 +145,7 @@
 }
 }
 \]
-where the steps $\inv{\land}$ are obtained from invertibility of $\lefrul{\land}$.
+for $i=0,1$, where the steps $\inv{\land}$ are obtained from invertibility of $\lefrul{\land}$.
 
 %For the inductive step, we suppose that $\word (u)$ and the proof is as follows,
 %
@@ -196,6 +198,7 @@
 \]
 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) ) }{
