Index: CSL16/preliminaries.tex
===================================================================
--- CSL16/preliminaries.tex	(revision 109)
+++ CSL16/preliminaries.tex	(revision 110)
@@ -35,10 +35,9 @@
 
 \begin{definition}
 %[Sequent calculus for linear logic]
-[Sequent calculus for affine linear logic]
+%[Sequent calculus for affine linear logic]
 \label{def:LLsequentcalculus}
-
-We define the following calculus:
+The sequent calculus for (affine) linear logic is as follows:
 \[
 \small
 \begin{array}{l}
@@ -113,12 +112,12 @@
 \end{array}
 \end{array}
 \]
-where $p$ is atomic, $i \in \{ 1,2 \}$ and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
+where $p$ is atomic, $i \in \{ 1,2 \}$, $t$ is a term and the eigenvariable $a$ does not occur free in $\Gamma$ or $\Delta$.
 \end{definition}
 %\todo{$\limp$ abbreviation for ...}
 %\todo{bracketing}
 
-We do not formally include a symbol for implication but we sometimes write $A \limp B$ as shorthand for $\lnot{A} \lor B$, where $\lnot A$ is the De Morgan dual of $A$. We often omit brackets under associativity of, and when writing long implications we assume the right-most bracketing.
+We do not formally include a symbol for implication but we sometimes write $A \limp B$ as shorthand for $\lnot{A} \lor B$, where $\lnot A$ is the De Morgan dual of $A$. We often omit brackets under associativity, and when writing long implications we assume the right-most bracketing.
 
 We will use standard terminology to track formulae in proofs, as presented in e.g.\ \cite{Buss98:intro-proof-theory}.
 In particular, each rule has a distinguished \textit{principal formula}, e.g.\
@@ -129,12 +128,12 @@
   % Observe that we do not consider here any exchange rules, the sequence are made of multisets of formulas and exchanges are implicit. Note that this system is \textit{affine} in the sense that it includes general weakening rules $\rigrul{\wk}$ and  $\lefrul{\wk}$, while in linear logic   $\rigrul{\wk}$ (resp. $\lefrul{\wk}$) is restricted to formulas of the form $?A$ (resp. $!A$).   In the following though, by linear logic we will mean affine linear logic.
   \subsection{Theories and systems}
   
-  \anupam{need to add a note on semantics}
-  \anupam{mention equality rules}
+%  \anupam{need to add a note on semantics}
+%  \anupam{mention equality rules}
 %  \anupam{mention equality axioms and first-order theories and models at some point.}
   
  A \emph{language} is a set of nonlogical symbols (i.e.\ constants, functions, predicates) and a \emph{theory} a set of closed formulae over some language. We assume that all theories contain the axioms of equality:
- \[
+% \[
 % \begin{array}{rl}
 %\refl & \forall x . x = x \\
 %\symm & \forall x, y. (x = y \limp y = x )\\
@@ -143,11 +142,14 @@
 %\subst_P & \forall \vec x , \vec y. (\vec x = \vec y \limp P(\vec x) \limp P(\vec y)  )
 % \end{array}
 %\left\{
+\begin{equation}
+\label{eqn:equality-theory}
 \begin{array}{l}
 \forall x . x = x \quad, \quad \forall x, y. (x = y \limp y = x )\quad, \quad \forall x , y , z . ( x = y \limp y = z \limp x = z ) \\ \forall \vec x , \vec y . (\vec x = \vec y \limp f(\vec x) = f(\vec y) )  \quad , \quad \forall \vec x , \vec y. (\vec x = \vec y \limp P(\vec x) \limp P(\vec y)  )
 \end{array}
+\end{equation}
 %\right\}
- \]
+% \]
   where $\vec x = \vec y$ is shorthand for $x_1 = y_1 \land \vldots \land x_n = y_n$.
     
 \newcommand{\init}{\mathit{init}}    
@@ -160,8 +162,8 @@
  where, in each rule $(R)$, $I$ is a finite possibly empty set (indicating the number of premises) and we assume the following conditions and terminology:
  \begin{enumerate}
  \item In $(R)$ the formulas of $\Sigma', \Delta'$  are called \textit{principal}, those of $\Sigma_i, \Delta_i$ are called \textit{active}, and those of   
-$ !\Gamma,  ? \Pi$ are called \textit{context formulas}. In $\init$ $A$ is called a principal formula;
-\item Each rule $(R)$ comes with a list $a_1$, \dots, $a_k$ of eigenvariables such that each $a_j$ appears in exactly one $\Sigma_i, \Delta_i$ (so in some active formulas of exactly one premise)  and does not appear in  $\Sigma', \Delta'$ nor $ !\Gamma,  ? \Pi$;
+$ !\Gamma,  ? \Pi$ are called \textit{context formulas}. In $\init$ $A$ is called a principal formula.
+\item Each rule $(R)$ comes with a list $a_1$, \dots, $a_k$ of eigenvariables such that each $a_j$ appears in exactly one $\Sigma_i, \Delta_i$ (so in some active formulas of exactly one premise)  and does not appear in  $\Sigma', \Delta'$ or $ !\Gamma,  ? \Pi$.
     \item A system $\system$ of rules must be closed under substitutions of free variables by terms (where these substitutions do not contain the eigenvariables $a_j$ in their domain or codomain).  
    \item $ \Sigma'$ (resp. $\Delta'$) does not contain any formula of the shape $?A$ (resp. $!A$).  
  \end{enumerate}
@@ -183,18 +185,24 @@
 
   
     
-    To each theory $\theory$ we formally associate the system obtained by adding $\seqar A$ as an $\init$ rule for each $A \in \theory$.\footnote{Notice that this naively satisfies condition 3 since theories consist of only closed formulae.}  A proof in such a system will be called a \textit{ $\mathcal T$-proof}, or just {proof} when there is no risk of confusion.
+    To each theory $\theory$ we formally associate the system of $\init$ rules $\seqar A$ for each $A \in \theory$.\footnote{Notice that this naively satisfies condition 3 since theories consist of only closed formulae.}  A proof in such a system will be called a \textit{ $\mathcal T$-proof}, or just {proof} when there is no risk of confusion.
+
+
+
+
 %    
 %  
 %  In what follows we will be interested in an example of theory  $\mathcal T$ which is a form of arithmetic.
    
-   Let us give an example of a possible nonlogical rule that appears later in Sect.~\ref{sect:arithmetic}:
-   
-   \[
-	\vliinf{\ind}{}{ !\word(t), !\Gamma , A(\epsilon) \seqar A(t) , ?\Delta }{!\Gamma , !\word(a), A(a) \seqar A(s_0 a ), ?\Delta }{ !\Gamma , !\word(a), A(a) \seqar A(s_1 a ), ?\Delta }
-\]
+%   Let us give an example of a possible nonlogical rule that appears later in Sect.~\ref{sect:arithmetic}:
+%   
+%   \[
+%	\vliinf{\ind}{}{ !\word(t), !\Gamma , A(\epsilon) \seqar A(t) , ?\Delta }{!\Gamma , !\word(a), A(a) \seqar A(s_0 a ), ?\Delta }{ !\Gamma , !\word(a), A(a) \seqar A(s_1 a ), ?\Delta }
+%\]
+%
+%So here we have $I=\{0,1\}$ (two premises), $\Sigma_i=!\word(a), A(a)$ and $\Delta_i= A(s_i a )$ for $i=0,1$, $\Sigma'= !\word(t), A(\epsilon)$, $\Delta'= A(t)$. So condition 2 is satisfied provided $a\notin FV(!\Gamma, ?\Delta)$ and $a \notin FV(t)$. 
 
-So here we have $I=\{0,1\}$ (two premises), $\Sigma_i=!\word(a), A(a)$ and $\Delta_i= A(s_i a )$ for $i=0,1$, $\Sigma'= !\word(t), A(\epsilon)$, $\Delta'= A(t)$. So condition 2 is satisfied provided $a\notin FV(!\Gamma, ?\Delta)$ and $a \notin FV(t)$. 
+
 %\[
 %	\vliinf{}{(x \notin \FV(\Gamma, \Delta))}{ !\Gamma , A(\epsilon) \seqar A(t) , ?\Delta }{ !\Gamma , A(x) \seqar A(s_0 x ), ?\Delta }{ !\Gamma, A(x) \seqar A( s_1 x ) , ?\Delta}
 %	\]
@@ -212,9 +220,16 @@
 % 	sometimes use same symbol for theory and system if fixed in advance;
 % 	sometimes coincide axiom with initial rule;
 % 	}
+
+
+\begin{remark}
+	[Semantics]
+	The models we consider are usual Henkin models, with linear connectives interpreted by their classical counterparts. Consequently, we do not have any completeness theorem for our theories, but we do have soundness.
+\end{remark}
+
  
 \subsection{Some basic proof-theoretic results}
-We briefly survey some well-known results for theories of linear logic, on which we rely in later sections.
+We briefly survey some well-known results for theories of linear logic.
 
 A rule is \emph{invertible} if each of its upper sequents is derivable from its lower sequent.
 \begin{proposition}
@@ -241,13 +256,34 @@
 \begin{theorem}
 	[Deduction, folklore]
 	\label{thm:deduction}
-	If $\theory$ is a theory, $A $ is a closed formula and $\mathcal T \cup\{A\}$ proves $B$, then $\mathcal{T}$ proves $!A \limp B$.
+	For any theory $\theory$ and closed formula $A $, $\mathcal T \cup\{A\}$ proves $B$ if and only if $\mathcal{T}$ proves $!A \limp B$.
 \end{theorem}
 
-The occurrence of $!$ in the deduction theorem above is very important, and is also one of the reasons it can be difficult to reason informally in theories over linear logic.
+%The occurrence of $!$ in the deduction theorem above is crucial; this restriction is one of the reasons it can be difficult to reason informally in theories over linear logic.
 
 
+For example, we can work in the following quantifier-free system for the theory of equality:
+\begin{proposition}
+	[Equality rules]
+	\eqref{eqn:equality-theory} is equivalent to the following system of rules,
+	\[
+	\vlinf{}{}{\seqar t = t}{}
+	\qquad
+	\vlinf{}{}{s = t \seqar t = s}{}
+	\qquad 
+	\vlinf{}{}{r = s, s= t \seqar r = t}{}
+	\qquad 
+	\vlinf{}{}{\vec s = \vec t \seqar f(\vec s) = f(\vec t)}{}
+	\qquad
+	\vlinf{}{}{\vec s = \vec t, P(\vec s) \seqar P(\vec t)}{}
+	\]
+	where $r,s,t $ range over terms.
+\end{proposition}
 
+
+
+
+
 %\subsection{Converting axioms to rules in $\MELLW$}
 %
 %\begin{proposition}
Index: CSL16/appendix-free-cut-elim.tex
===================================================================
--- CSL16/appendix-free-cut-elim.tex	(revision 109)
+++ CSL16/appendix-free-cut-elim.tex	(revision 110)
@@ -1,5 +1,10 @@
 \section{Proofs of Sect. \ref{sect:free-cut-elim}: free-cut elimination}
 
+ \begin{proof}
+ 	[Proof of Lemma~\ref{lem:hereditaryprincipalnonlogical}]
+ 	Assume that $A$ is an occurrence of formula on the l.h.s. of the sequent and hereditarily principal for a non-logical rule (R), then a direct ancestor of this formula is principal for (R) and thus by condition 4. $A$ cannot be of the form $?A'$. The other case is identical.
+ \end{proof}
+
      Define the  \textit{degree} of a formula as the number of logical connectives or quantifiers in it.  Let us first state an easy building-block of the proof, which comes from standard linear logic:
     \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
     Any cut $c$ whose cut-formulas $A$ are both principal formulas of logical rules distinct from $?$, $!$, $wk$, $cntr$ rules can be replaced in one step by cuts on formulas of strictly lower degree (0, 1 or 2 cuts).
Index: CSL16/bc-convergence.tex
===================================================================
--- CSL16/bc-convergence.tex	(revision 109)
+++ CSL16/bc-convergence.tex	(revision 110)
@@ -3,10 +3,11 @@
 \label{sect:bc-convergence}
 %\anupam{In this section, use whatever form of the deduction theorem is necessary and reverse engineer precise statement later.}
 
-In this section we show that $I\sigzer$, and so also $\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.
+In this section we show that $I\sigzer$, and so also $\arith$, proves the convergence of any equational specification induced by a BC program, hence any function in $\FP$. 
+%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.
+%
+The underlying construction of the proof here is similar in spirit to those occurring in \cite{Cantini02} and \cite{Leivant94:found-delin-ptime}. In fact, like in those works, only quantifier-free positive induction is required, but here we moreover must take care to respect additive and multiplicative behaviour of linear connectives.
 
-The underlying construction of the proof here is similar in spirit to those occurring in \cite{Cantini02} and \cite{Leivant94:found-delin-ptime}. In fact, like in those works, only quantifier-free positive induction is required, but here we moreover must take care to respect additive and multiplicative behaviour of linear connectives, thereby achieving a somewhat stronger result.
-
 We will assume the formulation of BC programs with regular PRN, not simultaneous PRN.
 
 
Index: CSL16/introduction.tex
===================================================================
--- CSL16/introduction.tex	(revision 109)
+++ CSL16/introduction.tex	(revision 110)
@@ -1,15 +1,31 @@
 \section{Introduction}
-\anupam{i put all the notes/suggestions at the end, before references.}
+%\anupam{i put all the notes/suggestions at the end, before references.}
  
-  Free-cut elimination is a rewriting procedure on formal proofs in systems including non-logical axioms and rules, typically induction rules, introduced in \cite{Takeuti87}. It yields proofs in normal form where essentially each cut has at least one of its cut formulas introduced as a principal formula of a non-logical axiom or rule. It is important in proof-theory for complexity results for first-order theories, in particular it has been extensively used in bounded arithmetic for proving complexity bounds on representable functions, by the \textit{witnessing methods} \cite{Buss86book}. 
+  \emph{Free-cut elimination}\footnote{Also known as \emph{anchored} or \emph{directed} completeness, \emph{partial} cut-elimination or \emph{weak} cut-elimination in other works.} is a normalisation procedure on formal proofs in systems including nonlogical rules, e.g.\ the axioms and induction rules in arithmetic, introduced in \cite{Takeuti87}. It yields proofs in a form where essentially each cut step has at least one of its cut formulas principal for a nonlogical step. It is an important tool for proving witnessing theorems in first-order theories, and in particular it has been extensively used in \emph{bounded arithmetic} for proving complexity bounds on representable functions, by the \textit{witness function method} \cite{Buss86book}. 
   
-   Linear logic can be seen as a decomposition of both intuitionistic and classical logic, based on a thorough analysis of the duplications and erasing of formulas in proofs -- the structural rules, and has been used in particular in such areas as the proofs-as-programs approach to computation, proof search and logic programming. By controlling  structural rules with specific connectives, the \textit{exponential} modalities, linear logic has allowed for a fine study of complexity bounds in cut-elimination procedures, leading in particular to the definition of variants with polynomial time complexity \cite{Girard98}. However most of this work has been done for 'purely logical' linear logic, or at least for variants with full cut elimination procedure. 
+   Linear logic \cite{Girard87} can be seen as a decomposition of both intuitionistic and classical logic, based on a thorough analysis of duplication and erasure of formulas in proofs (i.e.\ the structural rules), and has been particularly useful in proofs-as-programs correspondences, proof search \cite{Andreoli92} and logic programming \cite{Miller04}. By controlling  structural rules with designated modalities, the \textit{exponentials}, linear logic has allowed for a fine study of complexity bounds in the Curry-Howard interpretation, leading to variants with polynomial-time complexity \cite{GirardSS92:bounded-ll} \cite{Girard98} \cite{Lafont04}. 
+%   However most of this work has been done for 'purely logical' linear logic, or at least for variants with full cut elimination procedure. 
    
-    In this paper we aim at exploring in which way the complementary techniques of free-cut elimination and linear logic can be combined to analyze properties of first-order theories in which structural rules play a critical r\^ole. We believe this to be of a general interest, in particular to understand in a more global way the combined effects of induction principles and structural rules in proof-theory. Some related works  have been carried out by considering extensions of linear logic, in particular with fix point rules \cite{Baelde12}, but to our knowledge no general study of free-cut elimination in linear logic had been undertaken. Our first contribution will be to give a natural extension of linear logic with first-order theories and to provide general sufficient conditions on non-logical axioms and rules for the system to admit a free-cut elimination theorem.
+    In this work we explore how the finer granularity of linear logic can be used to control complexity in \emph{first-order theories}, restricting the provably convergent functions rather than the typable terms as in the propositional setting.
+%     aim at exploring in which way the complementary techniques of free-cut elimination and linear logic can be combined to analyze properties of first-order theories in which structural rules play a critical r\^ole. 
+    We believe this to be of general interest, and in particular to understand the effect of substructural restrictions on nonlogical rules, e.g.\ induction, in mathematical theories. Some related works exist, in particular the na\"ive set theories of Girard and Terui \cite{Girard94:lll} \cite{Terui04}, but overall it seems that the first-order proof theory of linear logic is still rather undeveloped; in particular, to our knowledge, there seems to be no general form of free-cut elimination available in the literature (although special cases occur in \cite{LincolnMSS92} and \cite{Baelde12}). Thus our first contribution, in Sect.~\ref{sect:free-cut-elim}, will be to provide general sufficient conditions on nonlogical axioms and rules for a first-order linear logic system to admit free-cut elimination.
     
-    In a second step we will illustrate the usage of our free-cut elimination theorem by an application to the area of arithmetic systems for complexity classes. Our starting point is an arithmetic system based on modal logic and due to Bellantoni-Hofmann \cite{BelHof:02}, called $\mathcal{A}_2^1$, characterizing the polynomial time functions. In this system following Leivant \cite{Leivant94:intrinsic-theories} functions are defined by first-order equational specifications. The main result of $\mathcal{A}_2^1$ is then that the provably total functions are exactly the polynomial time class. These systems differ from the bounded arithmetic approach \cite{Buss86book} in the sense that they do not employ bounds on quantifiers, but use restrictions of the induction principle based either on the modality connective  \cite{BelHof:02} or on a ramification of formulas  \cite{Leivant94:intrinsic-theories}. The proof-technique employed is in both case a realizability argument, which is applied to an intuitionistic version of the system. In  \cite{BelHof:02} the target language of the realizability argument is a higher-order language \cite{Hofmann00}, SLR, based on safe recursion \cite{BellantoniCook92}. In a second step the result is extended to the classical variant $\mathcal{A}_2^1$ by using the Friedman A translation.
+    \newcommand{\FP}{\mathbf{FP}}
     
-    Our contribution will be to show that witnessing methods coming from bounded arithmetic \cite{Buss86book} can be employed to prove bounds directly for classical systems similar to $\mathcal{A}_2^1$ by taking advantage of free-cut elimination. Actually we will consider a weaker version of $\mathcal{A}_2^1$, where induction is restricted to a smaller class of formulas (\textit{positive} formulas) in a way similar to Leivant's $RT_0$ system \cite{Leivant94:intrinsic-theories}.
-    We illustrate in the same time the relationship between  $\mathcal{A}_2^1$ and linear logic, which was hinted but not investigated in the original paper  \cite{BelHof:02}.  
+    We illustrate the usefulness of such a result by proving a witnessing theorem for a fragment of arithmetic in linear logic, showing that the provably convergent functions are precisely the polynomial-time computable functions (Sects.~\ref{sect:bc-convergence} and \ref{sect:wfm}), henceforth denoted $\FP$. Our starting point is an axiomatisation based on a modal logic due to Bellantoni and Hofmann \cite{BelHof:02}, called $\mathcal{A}_2^1$, already known to characterise $\FP$.
+%    In this system ,following Leivant \cite{Leivant94:intrinsic-theories} functions are defined by first-order equational specifications. 
+%    The main result of $\mathcal{A}_2^1$ is then that the provably total functions are exactly the polynomial time class. 
+    This approach, and that of \cite{Leivant94:found-delin-ptime} before, differs from the bounded arithmetic approach in that it does not employ bounds on quantifiers, but rather restricts nonlogical rules by substructural features of the modality \cite{BelHof:02} or by a \emph{ramification} of formulas  \cite{Leivant94:intrinsic-theories}. The proof technique employed in both cases is a realisability argument, for which \cite{Leivant94:found-delin-ptime} operates directly in intuitionistic logic, whereas \cite{BelHof:02} obtains a result for a classical logic via a double-negation translation, relying on a higher-type generalisation of \emph{safe recursion}
+%     which is applied to an intuitionistic version of the theory. In  \cite{BelHof:02} the target language of the realizability argument is a higher-order language \cite{Hofmann00}, SLR, based on safe recursion 
+     \cite{BellantoniCook92}. 
+%     In a second step the result is extended to the classical variant $\mathcal{A}_2^1$ by using the Friedman A translation.
+    
+    We show that Buss' witness function method can be employed to extract functions directly for classical systems similar to $\mathcal{A}_2^1$ based in linear logic, by taking advantage of free-cut elimination. The De Morgan normal form available in classical (linear) logic means that the functions we extract remain at ground type, based on the usual safe recursive programs of \cite{BelHof:02}. A similar proof method was used by Cantini in \cite{Cantini02}, who uses combinatory terms as the model of computation as opposed to the equational specifications in this work.\footnote{This turns out to be important due to the handling of right-contraction steps in the witnessing argument.}
    
+   Our result holds for an apparently weaker theory than $\mathcal{A}_2^1$, with induction restricted to positive existential formulas in a way similar to Leivant's $\mathit{RT}_0$ system in \cite{Leivant94:intrinsic-theories}, but the precise relationship between the two logical settings is unclear.
+%    We illustrate in the same time the relationship between  $\mathcal{A}_2^1$ and linear logic, which was hinted but not investigated in the original paper  \cite{BelHof:02}.  
+We conclude in Sect.~\ref{sect:conclusions} with a survey of related work and some avenues for further applications of the free-cut elimination result. 
 
+A version of this article with full proofs is available at \cite{BaiDas}.
+   
+
Index: CSL16/bc.tex
===================================================================
--- CSL16/bc.tex	(revision 109)
+++ CSL16/bc.tex	(revision 110)
@@ -1,17 +1,18 @@
 
 \section{Bellantoni-Cook characterisation of polynomial-time functions}
 
-We recall the Bellantoni-Cook  algebra BC of programs defined by safe recursion on notation \cite{BellantoniCook92}. These will be employed for proving both the completeness   (all polynomial time functions are provably total) and the soundness result (all provably total functions are polynomial time) of our system. We consider function symbols $f$ over the domain  $\Word$ which have \textit{normal} and \textit{safe} arguments. Each symbol is given with an arity $m$ and a number $n\leq m$ of normal arguments, and will be denoted as $f(\vec{u};\vec{x})$ where $\vec{u}$ (resp. $\vec{x}$) are the normal (resp. safe) arguments.
-We say that an expression is well-sorted if the arities of function symbols in it is respected.
+We recall the Bellantoni-Cook  algebra BC of programs defined by \emph{safe} (or \emph{predicative}) recursion on notation \cite{BellantoniCook92}. These will be employed for proving both the completeness   (all polynomial time functions are provably convergent) and the soundness result (all provably total functions are polynomial time) of $\arith$. We consider function symbols $f$ over the domain  $\Word$ with sorted arguments $(\vec u ; \vec x)$, where the inputs $\vec u$ are called \textit{normal} and $\vec x$ are called \textit{safe}. 
+%Each symbol is given with an arity $m$ and a number $n\leq m$ of normal arguments, and will be denoted as $f(\vec{u};\vec{x})$ where $\vec{u}$ (resp. $\vec{x}$) are the normal (resp. safe) arguments.
+%We say that an expression is well-sorted if the arities of function symbols in it is respected.
 
 %\patrick{Note that below I used the terminology 'BC programs', to distinguish them from 'functions' in the extensional sense, which I find clearer. But if you prefer to keep 'BC functions' it is all right for me.}
 \begin{definition}
 	[BC programs]
-	BC is the set of programs over $\Word$ generated by the following initial functions and closure schemes.
+	BC is the set of programs generated as follows:
 	%	\paragraph{Initial functions}
 %	The initial functions are:
 	\begin{enumerate}
-		\item The constant function $\epsilon$ which takes no arguments and outputs $\epsilon \in \Word$.
+		\item The constant functions $\epsilon^k$ which takes $k$ arguments and outputs $\epsilon \in \Word$.
 		\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$.
 		\item The successor functions $\succ_i ( ; x) := xi$ for $i = 0,1$.
 		\item The predecessor function $\pred (; x) := \begin{cases}
@@ -37,7 +38,7 @@
 %		\end{cases}$.
 	\end{enumerate}
 	
-	One considers the following closure schemes:
+%	One considers the following closure schemes:
 	\begin{enumerate}
 	\setcounter{enumi}{5}
 	\item Predicative recursion on notation (PRN). If $g, h_0, h_1 $ are in BC then so is $f$ defined by,
@@ -55,11 +56,12 @@
 	so long as the expression is well-formed.
 	\end{enumerate}
 	\end{definition}
-Note that the  programs of this class can be defined by equational specifications in a natural way, and in the following we will thus silently identify a BC program with the corresponding equational specification.
+%Note that the  programs of this class can be defined by equational specifications in a natural way, and in the following we will thus silently identify a BC program with the corresponding equational specification.
 
-Now, the main property of BC programs is
-\begin{theorem}\cite{BellantoniCook92}
-The class of functions representable by BC programs is the class FP.
+We will implicitly identify a BC program with the equational specification it induces.
+The main property of BC programs is:
+\begin{theorem}[\cite{BellantoniCook92}]
+The class of functions representable by BC programs is $\FP$.
 \end{theorem}	
 Actually this property remains true if one replaces the PRN scheme by the following more general simultaneous PRN scheme \cite{BellantoniThesis}:
 
@@ -78,7 +80,8 @@
 
 %\anupam{we implicitly associate a BC program with its equational specification} 
 
-Consider a well-formed expression $t$ built from function symbols, initial functions and variables. One says that a variable $y$ is \textit{hereditarily safe} in $t$ if  for every subexpression $f(\vec{r}; \vec{s})$ of $t$ the terms in $\vec{r}$ do not contain any occurrence of $y$.  For instance $y$ is hereditarily safe in $f(u;y,g(v;y))$, but not in $f(g(v;y);x)$.
+Consider a well-formed expression $t$ built from function symbols and variables. We say that a variable $y$ occurs \textit{hereditarily safe} in $t$ if, for every subexpression $f(\vec{r}; \vec{s})$ of $t$, the terms in $\vec{r}$ do not contain $y$.
+For instance $y$ occurs hereditarily safe in $f(u;y,g(v;y))$, but not in $f(g(v;y);x)$.
 \begin{proposition}
 [Properties of BC programs]
 \label{prop:bc-properties}
Index: CSL16/main.tex
===================================================================
--- CSL16/main.tex	(revision 109)
+++ CSL16/main.tex	(revision 110)
@@ -32,19 +32,23 @@
 %\titlerunning{A Sample LIPIcs Article} %optional, in case that the title is too long; the running title should fit into the top page column
 
 %% Please provide for each author the \author and \affil macro, even when authors have the same affiliation, i.e. for each author there needs to be the  \author and \affil macros
-\author[1]{Patrick Baillot}
-\author[2]{Anupam Das}
-\affil[1]{Dummy University Computing Laboratory, Address/City, Country\\
-  \texttt{open@dummyuniversity.org}}
-\affil[2]{Department of Informatics, Dummy College, Address/City, Country\\
-  \texttt{access@dummycollege.org}}
-\authorrunning{J.\,Q. Open and J.\,R. Access} %mandatory. First: Use abbreviated first/middle names. Second (only in severe cases): Use first author plus 'et. al.'
+\author{Patrick Baillot}
+\author{Anupam Das}
+\affil{LIP, Universit\'e de Lyon, CNRS, ENS Lyon, INRIA, Universit\'e Claude-Bernard Lyon 1, Milyon
+%	\\
+%	\texttt{open@dummyuniversity.org}
+	}
+%\affil[1]{Dummy University Computing Laboratory, Address/City, Country\\
+%  \texttt{open@dummyuniversity.org}}
+%\affil[2]{Department of Informatics, Dummy College, Address/City, Country\\
+%  \texttt{access@dummycollege.org}}
+\authorrunning{P.\ Baillot and A.\ Das} %mandatory. First: Use abbreviated first/middle names. Second (only in severe cases): Use first author plus 'et. al.'
 
-\Copyright{John Q. Open and Joan R. Access}%mandatory, please use full first names. LIPIcs license is "CC-BY";  http://creativecommons.org/licenses/by/3.0/
+\Copyright{Patrick Baillot and Anupam Das}%mandatory, please use full first names. LIPIcs license is "CC-BY";  http://creativecommons.org/licenses/by/3.0/
 
-\subjclass{Dummy classification -- please refer to \url{http://www.acm.org/about/class/ccs98-html}}% mandatory: Please choose ACM 1998 classifications from http://www.acm.org/about/class/ccs98-html . E.g., cite as "F.1.1 Models of Computation". 
-\keywords{Dummy keyword -- please provide 1--5 keywords}% mandatory: Please provide 1-5 keywords
-% Author macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%\subjclass{Dummy classification -- please refer to \url{http://www.acm.org/about/class/ccs98-html}}% mandatory: Please choose ACM 1998 classifications from http://www.acm.org/about/class/ccs98-html . E.g., cite as "F.1.1 Models of Computation". 
+%\keywords{Dummy keyword -- please provide 1--5 keywords}% mandatory: Please provide 1-5 keywords
+%% Author macros::end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %Editor-only macros:: begin (do not touch as author)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \EventEditors{John Q. Open and Joan R. Acces}
@@ -63,7 +67,8 @@
 \maketitle
 
 \begin{abstract}
-We prove a general form of `free-cut elimination' for first-order theories in linear logic, yielding normal forms of proofs where cuts are anchored to nonlogical steps. To demonstrate the usefulness of this result, we consider a version of Peano Arithmetic in linear logic, based on a previous axiomatisation by Bellantoni and Hofmann. We prove a witnessing theorem for a fragment of this arithmetic via the `witness function method', showing that the provably total functions are precisely the polynomial-time functions. The programs extracted are implemented in the framework of `safe' recursive functions, due to Bellantoni and Cook, where the ! modality of linear logic corresponds to normal inputs of a safe recursive function. We conclude with some comments for further applications of the free-cut elimination result. 
+We prove a general form of `free-cut elimination' for first-order theories in linear logic, yielding normal forms of proofs where cuts are anchored to nonlogical steps. To demonstrate the usefulness of this result, we consider a version of arithmetic in linear logic, based on a previous axiomatisation by Bellantoni and Hofmann. We prove a witnessing theorem for a fragment of this arithmetic via the `witness function method', showing that the provably convergent functions are precisely the polynomial-time functions. The programs extracted are implemented in the framework of `safe' recursive functions, due to Bellantoni and Cook, where the ! modality of linear logic corresponds to normal inputs of a safe recursive program. 
+%We conclude with some comments for further applications of the free-cut elimination result. 
  \end{abstract}
 
 
@@ -88,9 +93,9 @@
 
 \bibliographystyle{plain}
 \bibliography{biblio}
+%
+%\newpage
+%
+%\input{appendix}
 
-\newpage
-
-\input{appendix}
-
 \end{document}
\ No newline at end of file
Index: CSL16/arithmetic.tex
===================================================================
--- CSL16/arithmetic.tex	(revision 109)
+++ CSL16/arithmetic.tex	(revision 110)
@@ -269,7 +269,7 @@
 %
 %\anupam{`coherent' programs, defined by Leivant. = consistent so has a model.}
 
-As in the work of Bellantoni and Hofmann \cite{BelHof:02} and Leivant before \cite{Leivant94:found-delin-ptime}, our model of computation is that of Herbrand-G\"odel style \emph{equational specifications}. These are expressive enough to define every partial recursive function, which is the reason why we also need the $\word$ predicate to have a meaningful notion of `provably total function'.
+As in the work of Bellantoni and Hofmann \cite{BelHof:02} and Leivant before \cite{Leivant94:found-delin-ptime}, our model of computation is that of Herbrand-G\"odel style \emph{equational specifications}. These are expressive enough to define every partial recursive function, which is the reason why we also need the $\word$ predicate to have a meaningful notion of `provably convergent function'.
 
 \begin{definition}
 	[Equational specifications and convergence]
@@ -285,25 +285,25 @@
 	\end{definition}
 	
 	
-The notion of coherence appeared in \cite{Leivant94:found-delin-ptime} and it is important to prevent a convergence statement from being a vacuous implication. In this work we will typically consider only coherent ESs, relying on the following result:
+The notion of coherence appeared in \cite{Leivant94:found-delin-ptime} and it is important to prevent a convergence statement from being a vacuous implication. In this work we will typically consider only coherent ESs, relying on the following result which is also essentially in \cite{Leivant94:found-delin-ptime}:
 \begin{proposition}
 	\label{prop:eq-spec-model}
 %	For every equational specification $\eqspec$, its universal closure has a model.
-The universal closure of any coherent ES $\eqspec$ has a model satisfying $\basic \cup \ind$.
+The universal closure of any coherent ES $\eqspec$ has a model satisfying $\basic + \ind$.
 \end{proposition}
 
-\begin{proof}
-%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
-Consider the standard model $\Word $ extended by an element $\infty$ with $\succ_0 \infty = \succ_1 \infty = \infty$. Setting $\word = \Word$ means this model satisfies $\basic$. Now, for each function symbol $f$, define $f(\sigma) = \tau$ for every $\sigma, \tau \in \Word$ for which this equation is forced by $\eqspec$. Otherwise define $f(\sigma) = f(\infty) = \infty$.
-\todo{replace with argument using completeness.}
-\end{proof}
+%\begin{proof}
+%%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
+%Consider the standard model $\Word $ extended by an element $\infty$ with $\succ_0 \infty = \succ_1 \infty = \infty$. Setting $\word = \Word$ means this model satisfies $\basic$. Now, for each function symbol $f$, define $f(\sigma) = \tau$ for every $\sigma, \tau \in \Word$ for which this equation is forced by $\eqspec$. Otherwise define $f(\sigma) = f(\infty) = \infty$.
+%\todo{replace with argument using completeness.}
+%\end{proof}
 
 	One issue is that a convergence statement contains universal quantifiers, which is problematic for the extraction of functions by the witness function method later on.
 %	\footnote{Intuitively universal quantifiers can be interpreted by type 1 functions. From here, in an intuitionistic setting, a $\forall$-right step can be directly realised, but in the classical setting the presence of side-formulae on the right can cause issues for constructivity.}
 	We avoid this problem by appealing to the deduction theorem and further invertibility arguments:
 	
 	
-	Let us write $\closure{\eqspec}$ for the closure of a specification $\eqspec$ under substitution of terms.
+	Let us write $\closure{\eqspec}$ for the closure of a specification $\eqspec$ under substitution of terms for free variables.
 	
 	\begin{lemma}
 		\label{lemma:spec-norm-form}
@@ -317,33 +317,36 @@
 
 
 \subsection{$\word$-guarded quantifiers, rules and cut-reduction cases}
-We formulate a quantifier hierarchy here analogous to the arithmetical hierarchy, where each class is closed under positive multiplicative operations.
+We consider a quantifier hierarchy here analogous to the arithmetical hierarchy, where each class is closed under positive multiplicative operations. In the scope of this work we are only concerned with the first level:
 
 %We now introduce a quantifier hierarchy of formulae so we can identify the theories that we will be concerned with for the remainder of this article.
 %
 %
 \begin{definition}
-[Quantifier hierarchy]
-	We define $\Sigma^\word_0 = \Pi^\word_0 $ as the class of multiplicative formulae that are free of quantifiers. For $i> 0$ we define $\Sigma^\word_i$ and $\Pi^\word_i$ as follows:
-	\begin{itemize}
-		\item If $A \in \Sigma^\word_{i-1} \cup \Pi^\word_{i-1}$ then $A \in \Sigma^\word_i$ and $A \in \Pi^\word_i$.
-		\item If $A \in \Sigma^\word_i$ then $\exists x^\word . A \in \Sigma^\word_i$.
-		\item If $A \in \Pi^\word_i$ then $\forall x^\word . A \in \Pi^\word_i$.
-		\item If $A,B \in \Sigma^\word_i$ then $A \lor B$ and $A\land B \in \Sigma^\word_i$.
-		\item If $A,B \in \Pi^\word_i$ then $A \lor B$ and $A\land B \in \Pi^\word_i$.
-	\end{itemize}
-	We add $+$ in superscript to a class to restrict it to formulae where $\word$ occurs in only positive context.\footnote{Since our proof system is in De Morgan normal form, this is equivalent to saying that there is no occurrence of $\word^\bot$.}
+%[Quantifier hierarchy]
+	We define $\sigzer $ as the class of multiplicative formulae that are free of quantifiers where $\word$ occurs positively.\footnote{Since our proof system is in De Morgan normal form, this is equivalent to saying that there is no occurrence of $\word^\bot$.}
+	The class $\sigone$ is the closure of $\sigzer$ by $\exists$, $\lor$ and $\land$.
+%	For $i> 0$ we define $\Sigma^\word_i$ and $\Pi^\word_i$ as follows:
+%	\begin{itemize}
+%		\item If $A \in \Sigma^\word_{i-1} \cup \Pi^\word_{i-1}$ then $A \in \Sigma^\word_i$ and $A \in \Pi^\word_i$.
+%		\item If $A \in \Sigma^\word_i$ then $\exists x^\word . A \in \Sigma^\word_i$.
+%		\item If $A \in \Pi^\word_i$ then $\forall x^\word . A \in \Pi^\word_i$.
+%		\item If $A,B \in \Sigma^\word_i$ then $A \lor B$ and $A\land B \in \Sigma^\word_i$.
+%		\item If $A,B \in \Pi^\word_i$ then $A \lor B$ and $A\land B \in \Pi^\word_i$.
+%	\end{itemize}
+%	We add $+$ in superscript to a class to restrict it to formulae where $\word$ occurs in only positive context.
 \end{definition}
 
 For the remainder of this article we mainly work with the theory $\arith$, i.e.\ $\basic + \cax{\sigone}{\ind}$.
 
-\vspace{1em}
+%\vspace{1em}
 
-It will be useful for us to work with proofs with the `guarded' quantifiers $\forall x^\word$ and $\exists x^\word$ in place of there unguarded counterparts, in particular to carry out the argument in Sect.~\ref{sect:wfm}. To this end we introduce rules for these guarded quantifiers and show that they are compatible with free-cut elimination.
-
+It will be useful for us to work with proofs using the `guarded' quantifiers $\forall x^\word$ and $\exists x^\word$ in place of there unguarded counterparts, in particular to carry out the argument in Sect.~\ref{sect:wfm}. 
+%To this end we introduce rules for these guarded quantifiers and show that they are compatible with free-cut elimination.
+%
 %For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
 %For the quantifiers $\exists x^\word $ and $\forall x^\word$ we 
-We define the following rules, which are derivable:
+Therefore we define the following rules, which are already derivable:
 \[
 %\begin{array}{cc}
 %\vlinf{}{}{\Gamma \seqar \Delta, \forall x^\word . A(x)}{\Gamma, \word(a) \seqar \Delta , A(a)}
@@ -367,23 +370,28 @@
 %\begin{proposition}
 %	Any principal cut between the quantifier rules above and a logical step is reducible.
 %	\end{proposition}
+
+We now show that these rules are compatible with free-cut elimination.
+
 \begin{proposition}\label{prop:logicalstepguardedquantifer}
 	Any cut between the principal formula of a quantifier rule above and the principal formula of  a logical step is reducible.
 	\end{proposition}
 \begin{proof}
- In the case of such a cut on $\forall x^\word . A(x)$ formula, the reduction is obtained by performing successively the two reduction steps for the $\forall$ and $\limp$ connectives. The case of   $\exists x^\word A(x)$ is similar. 
+ For a cut on $\forall x^\word . A(x)$, the reduction is obtained by performing successively the two reduction steps for the $\forall$ and $\limp$ connectives. The case of $\exists x^\word A(x)$ is similar. 
 \end{proof}	
 	
 		\begin{corollary}
 		[Free-cut elimination for guarded quantifiers]
-		  Given a system  $\system$, any  $\system$-proof $\pi$ using $\exists x^\word $ and $\forall x^\word$  rules can be transformed into a $\system$-proof $\pi'$ with same end sequent and no free cuts.
+		\label{cor:free-cut-elim-guarded-quants}
+		  Given a system  $\system$, any  $\system$-proof $\pi$ using $\exists x^\word $ and $\forall x^\word$  rules can be transformed into free-cut free form.
 \end{corollary}
-\begin{proof}
-  First translate the proof $\pi$ into the proof $\pi_0$ where all guarded quantifiers rules have been replaced by their derivation, and say that two rule instances in $\pi_0$ are \textit{siblings} if they come from the same derivation of a guarded quantifier rule. So in $\pi_0$ any two sibling rules are consecutive. Now observe that in the free-cut elimination procedure:
-  \begin{itemize}
-  \item when we do a commutation step of a cut with a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by another commutation of cut with its sibling,
-  \item when we do a logical cut-elimination step on a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by a logical cut-elimination step on its sibling, as illustrated by Prop. \ref{prop:logicalstepguardedquantifer}.
-  \end{itemize}
-  In this way sibling rules remain consecutive in the proof-tree throughout the reduction, and the procedure transforms the proof into one with only anchored cuts.
-\end{proof}
+%\begin{proof}
+%  First translate the proof $\pi$ into the proof $\pi_0$ where all guarded quantifiers rules have been replaced by their derivation, and say that two rule instances in $\pi_0$ are \textit{siblings} if they come from the same derivation of a guarded quantifier rule. So in $\pi_0$ any two sibling rules are consecutive. Now observe that in the free-cut elimination procedure:
+%  \begin{itemize}
+%  \item when we do a commutation step of a cut with a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by another commutation of cut with its sibling,
+%  \item when we do a logical cut-elimination step on a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by a logical cut-elimination step on its sibling, as illustrated by Prop. \ref{prop:logicalstepguardedquantifer}.
+%  \end{itemize}
+%  In this way sibling rules remain consecutive in the proof-tree throughout the reduction, and the procedure transforms the proof into one with only anchored cuts.
+%\end{proof}
+
 As a consequence of this Corollary observe that any $I\Sigma^\word_{i}$-proof (ot $I\Pi^\word_{i}$-proof) can be transformed into a proof which is free-cut free and whose formulas contain only $\word$-guarded quantifiers.   
\ No newline at end of file
Index: CSL16/wfm.tex
===================================================================
--- CSL16/wfm.tex	(revision 109)
+++ CSL16/wfm.tex	(revision 110)
@@ -1,13 +1,15 @@
 \section{Witness function method}
 \label{sect:wfm}
-We now prove the converse to the last section: any provably convergent function in $\arith$ is polynomial-time computable.
-To this end we use the \emph{witness function method} (WFM), a common technique in {bounded arithmetic} \cite{Buss86book}.
+We now prove the converse to the last section: any provably convergent function in $\arith$ is polynomial-time computable
+%.
+%To this end we use the \emph{witness function method} (WFM), a common technique in {bounded arithmetic} \cite{Buss86book}.
+using the witness function method (WFM) \cite{Buss86book}.
 
 The WFM differs from realisability and Dialectica style witnessing arguments mainly since it does not require functionals at higher type. Instead a translation is conducted directly from a proof in De Morgan normal form, i.e.\ with negation pushed to the atoms, relying on classical logic. 
-Free-cut elimination is employed to control the quantifer complexity of formulae occurring in a proof, although here we furthermore use it to control the presence of \emph{contraction} in a proof, to which we have access via the modalities of linear logic.
+%Free-cut elimination is employed to control the quantifer complexity of formulae occurring in a proof, although here we furthermore use it to control the presence of \emph{contraction} in a proof, to which we have access via the modalities of linear logic. This
 %Free-cut elimination is employed to control the logical complexity of formulae occurring in a proof, and a formal `witness' predicate plays a similar role to the realisability predicate.
 
-The combination of De Morgan normalisation and free-cut elimination plays a similar role to the double negation translation, and this is even more evident in our setting where the transformation of a classical proof to anchored form can be seen to be a partial `constructivisation' of the proof. As well as eliminating the (nonconstructive) occurrences of the $\forall$-right rule, as usual for the WFM, the linear logic refinement of the logical connectives means that right-contraction steps is also eliminated. This is important due to the fact that we are in a setting where programs are equational specifications, not formulae (as in bounded arithmetic) or combinatory terms (as in applicative theories), so we cannot in general decide atomic formulae.
+The combination of De Morgan normalisation and free-cut elimination plays a similar role to the double-negation translation, and this is even more evident in our setting where the transformation of a classical proof to free-cut free form can be seen to be a partial `constructivisation' of the proof. As well as eliminating the (nonconstructive) occurrences of the $\forall$-right rule, as usual for the WFM, the linear logic refinement of the logical connectives means that right-contraction steps is also eliminated. This is important due to the fact that we are in a setting where programs are equational specifications, not formulae (as in bounded arithmetic \cite{Buss86book}) or combinatory terms (as in applicative theories \cite{Cantini02}), so we cannot in general decide atomic formulae.
 
 %Some key features of this method are the following:
 %\begin{itemize}
@@ -35,7 +37,8 @@
 		
 		\subsection{The translation}
 		
-We will associate to each (free-cut free) proof of a convergence statement in $\arith$ a function on $\Word$ defined by a BC program. In the next section we will show that this function satisfies the equational specification of the convergence statement, hence showing that any provably convergent function of $\arith$ is polynomial-time computable.\footnote{Strictly speaking, we will also require the equational specification at hand to be coherent, cf.\ Prop.~\ref{prop:eq-spec-model}.}
+We will associate to each (free-cut free) proof of a convergence statement in $\arith$ a function on $\Word$ defined by a BC program. In the next section we will show that this function satisfies the equational specification of the convergence statement.
+%, hence showing that any provably convergent function of $\arith$ is polynomial-time computable.\footnote{Strictly speaking, we will also require the equational specification at hand to be coherent, cf.\ Prop.~\ref{prop:eq-spec-model}.}
 		
 		\begin{definition}
 			[Typing]
@@ -104,13 +107,13 @@
 %			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}
 		
-					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.
+					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 input variables, normal and safe respectively.
 %		\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.}
 		
 	
 		Let us fix a particular (coherent) equational specification $\eqspec(f)$. Rather than directly considering $\arith$-proofs of $\conv ( f , \eqspec )$, we will consider a $\closure{\eqspec} \cup \arith $ sequent proof of $!\word (\vec x) \seqar \word (f (\vec x) )$, under Lemma~\ref{lemma:spec-norm-form}. 
 %		
-		Our crucial use of free-cut elimination is in the following result, which yields strong regularity properties:
+		Free-cut elimination crucially yields strong regularity properties:
 		
 		\begin{proposition}
 			[Freedom]
@@ -347,10 +350,11 @@
 
 %\anupam{need to mention that this predicate is similar to realisability predicate in absence, and indeed is presented like that for applicative theories, which also rely on free-cut elimination.}
 
-Now that we have seen how to extract BC functions from proofs, we show that these functions satisfy the appropriate semantic properties, namely the equational program $\eqspec$ we started with. For this we turn to a quantifier-free classical theory, in a similar fashion to $\mathit{PV}$ for $S^1_2$ in \cite{Buss86book} or system $T$ in G\"odel's Dialectica interpretation. This is adequate since we only care about extensional properties of extracted functions at this stage, the complexity properties already handled by the BC programs we just constructed.
+Now that we have seen how to extract BC functions from proofs, we show that these functions satisfy the appropriate semantic properties, namely the equational program $\eqspec$ we started with. For this we turn to a quantifier-free classical theory, in a similar fashion to $\mathit{PV}$ for $S^1_2$ in \cite{Buss86book} or system $T$ in G\"odel's Dialectica interpretation. This is adequate since we only care about extensional properties of extracted functions at this stage.\footnote{We could equally use a realisability approach, as done in e.g.\ \cite{Cantini02} and other works in applicative theories, since the formulae we deal with are essentially positive and so there is not much difference between the two approaches. Indeed here the witness predicate plays the same role as the realisability predicate in other works.}
+%, the complexity properties already handled by the BC programs we just constructed.
 
-We point out that we could equally use a realisability approach, as done in e.g.\ \cite{Cantini02} and other works in applicative theories, since the formulae we deal with are essentially positive and so there is not much difference between the two approaches. Indeed here the witness predicate plays the same role as the realisability predicate in other works.
 
+
 %The witness predicate of the WFM is similar to the realisability predicate, and this is even more true in out setting
 
 Let $\qfindth$ be the classical theory over the language $\{ \epsilon, \succ_0, \succ_1 , (f^k_i )\}$ obtained from the axioms $\sepeps, \sepzer, \sepone, \inj, \surj$ and $\ind$ by dropping all relativisations to $\word$ (or $!\word$), replacing all linear connectives by their classical counterparts, and restricting induction to only quantifier-free formulae.
@@ -365,7 +369,8 @@
 		\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$:
+			\label{dfn:wit-pred}
+			For formulae $A, B$ of $\arith$ 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$:
 %			 $A$ with free variables amongst $\vec a$:
 		
 		\renewcommand{\sigma}{a}
@@ -437,9 +442,9 @@
 		\end{definition}
 		%	\todo{problem: what about complexity of checking equality? }
 		
-		\begin{remark}
+%		\begin{remark}
 		Notice that, unlike in the bounded arithmetic setting where the $\word$ predicate is redundant (since variables are tacitly assumed to range over $\word$), we do not parametrise the witness predicate by an assignment to the free variables of a formula. Instead these dependencies are taken care of by the explicit occurrences of the $\word$ predicate in $\arith$.
-		\end{remark}
+%		\end{remark}
 		
 %		\todo{Reformulate above later if necessary.}
 		
@@ -456,7 +461,7 @@
 
 \begin{lemma}
 \label{lemma:witness-invariant}
-Let $\pi$ be a free-cut free proof in $\closure{\eqspec}\cup \arith$, satisfying properties \ref{item:no-neg-word}, \ref{item:no-forall}, \ref{item:no-quest}, \ref{item:no-laor-step} of Prop.~\ref{prop:freedom}, of a sequent $\Gamma \seqar \Delta $. Let $\eqspec^\pi$ denote the equational specification induced by the BC program for $\vec f^\pi$.\footnote{We assume that the function symbols occurring in $\eqspec^\pi$ are distinct from those occurring in $\eqspec$.} Then $\qfindth$ proves:
+Let $\pi$ be a free-cut free proof in $\closure{\eqspec}\cup \arith$, satisfying properties \ref{item:no-neg-word}, \ref{item:no-forall}, \ref{item:no-quest}, \ref{item:no-laor-step} of Prop.~\ref{prop:freedom}, of a sequent $\Gamma \seqar \Delta $. Let $\eqspec^\pi$ denote the equational specification for $\vec f^\pi$.\footnote{We assume that the function symbols occurring in $\eqspec^\pi$ are distinct from those occurring in $\eqspec$.} Then $\qfindth$ proves:
 \[
 \left(\forall \eqspec \cand \forall \eqspec^\pi \cand \witness{}{\bigotimes \Gamma} (\vec a)\right) \cimp \witness{}{\bigparr \Delta } (\vec f^\pi(\vec a))
 \]
@@ -480,9 +485,9 @@
 	
 	
 	\begin{proof}[Proof sketch]
-	By structural induction on $\pi$, again, following the definition of $\vec f^\pi$. 
+	By structural induction on $\pi$, again, following the definition of $\vec f^\pi$.\footnote{Notice that, since we are in a classical theory, the proof of the above lemma can be carried out in an arbitrary model, by the completeness theorem, greatly easing the exposition.}
 	\end{proof}	
-	Notice that, since we are in a classical theory, the proof of the above lemma can be carried out in an arbitrary model, by the completeness theorem, greatly easing the exposition.
+
 	
 	Finally, we arrive at our main result, providing a converse to Thm.~\ref{thm:arith-proves-bc-conv}.
 		
@@ -501,10 +506,11 @@
 %		\end{equation}
 		\end{theorem}
 		\begin{proof}
-%		[Proof sketch]
-		By Thm.~\ref{thm:free-cut-elim} and Lemma~\ref{lemma:spec-norm-form} we have a free-cut free proof $\pi$ in $\closure{\eqspec} \cup \arith$ of $!\word (\vec x ) \seqar \word (f (\vec x))$. By Lemma~\ref{lemma:witness-invariant} above this means that $\vec a = \vec x \cimp f^\pi (\vec a) = f(\vec x)$ is true in any model of $\qfindth$ satisfying $\eqspec$ and $\eqspec^\pi$. 
-%		Since some model must exist by coherence (cf.\ Prop.~\ref{prop:eq-spec-model}), we have that 
-		Using the fact that $\eqspec \cup \eqspec^\pi$ is coherent we can construct such a model, similarly to Prop.~\ref{prop:eq-spec-model}, which will contain $\Word$ as an initial segment, in which we must have $f^\pi (\vec x) = f (\vec x)$ for every $\vec x \in \Word$, as required.\todo{polish}
+		[Proof sketch]
+%		By Thm.~\ref{thm:free-cut-elim} and Lemma~\ref{lemma:spec-norm-form} we have a free-cut free proof $\pi$ in $\closure{\eqspec} \cup \arith$ of $!\word (\vec x ) \seqar \word (f (\vec x))$. By Lemma~\ref{lemma:witness-invariant} above this means that $\vec a = \vec x \cimp f^\pi (\vec a) = f(\vec x)$ is true in any model of $\qfindth$ satisfying $\eqspec$ and $\eqspec^\pi$. 
+%%		Since some model must exist by coherence (cf.\ Prop.~\ref{prop:eq-spec-model}), we have that 
+%		Using the fact that $\eqspec \cup \eqspec^\pi$ is coherent we can construct such a model, similarly to Prop.~\ref{prop:eq-spec-model}, which will contain $\Word$ as an initial segment, in which we must have $f^\pi (\vec x) = f (\vec x)$ for every $\vec x \in \Word$, as required.\todo{polish}
+Follows from Lemmas~\ref{lemma:spec-norm-form} and \ref{lemma:witness-invariant}, Dfn.~\ref{dfn:wit-pred} and coherence of $\eqspec$, cf.~\ref{prop:eq-spec-model}.
 		\end{proof}
 		
 %			\begin{proof}
Index: CSL16/biblio.bib
===================================================================
--- CSL16/biblio.bib	(revision 109)
+++ CSL16/biblio.bib	(revision 110)
@@ -234,13 +234,57 @@
   pages={1--78},
   year={1998}
 }
+@incollection{Miller04,
+	year = {2004},
+	author = {Dale Miller},
+	editor = {Thomas Ehrhard},
+	pages = {316--119},
+	booktitle = {Linear Logic in Computer Science},
+	publisher = {Cambridge University Press},
+	title = {Overview of Linear Logic Programming}
+}
 
 
 
 
+@article{Andreoli92,
+	author    = {Jean{-}Marc Andreoli},
+	title     = {Logic Programming with Focusing Proofs in Linear Logic},
+	journal   = {J. Log. Comput.},
+	volume    = {2},
+	number    = {3},
+	pages     = {297--347},
+	year      = {1992},
+	url       = {http://dx.doi.org/10.1093/logcom/2.3.297},
+	doi       = {10.1093/logcom/2.3.297},
+	timestamp = {Wed, 29 Jun 2011 15:52:24 +0200},
+	biburl    = {http://dblp.uni-trier.de/rec/bib/journals/logcom/Andreoli92},
+	bibsource = {dblp computer science bibliography, http://dblp.org}
+}
+@article{FriedmanM92,
+	author    = {Harvey Friedman and
+	Robert K. Meyer},
+	title     = {Whither Relevant Arithmetic?},
+	journal   = {J. Symb. Log.},
+	volume    = {57},
+	number    = {3},
+	pages     = {824--831},
+	year      = {1992},
+	url       = {http://dx.doi.org/10.2307/2275433},
+	doi       = {10.2307/2275433},
+	timestamp = {Tue, 05 Aug 2014 16:36:24 +0200},
+	biburl    = {http://dblp.uni-trier.de/rec/bib/journals/jsyml/FriedmanM92},
+	bibsource = {dblp computer science bibliography, http://dblp.org}
+}
 
 
 
+@preprint{BaiDas,
+	author = {Patrick Baillot and Anupam Das},
+	title = {Free-cut elimination in linear logic and an application to a feasible arithmetic},
+	year = {2016},
+	note = {\url{http://www.anupamdas.com/free-cut-elim-ll-feas.pdf}}
+	}
 
 
 
@@ -265,5 +309,3 @@
 
 
 
-
-
Index: CSL16/free-cut-elim.tex
===================================================================
--- CSL16/free-cut-elim.tex	(revision 109)
+++ CSL16/free-cut-elim.tex	(revision 110)
@@ -1,33 +1,35 @@
 \section{Free-cut elimination in linear logic}
 \label{sect:free-cut-elim}
 % While in plain logical systems such as linear logic cut rules can be eliminated, this is in general not the case anymore when one considers extension with a theory $\mathcal T$ . For this reason we need now to define the kind of cuts that  will remain in proofs after reduction. We will call these \textit{anchored cuts}. 
-  We need first to define which cuts will remain in proofs after reduction. They are called \textit{anchored cuts}.
-   Our first idea would be to consider as anchored  a cut whose cut-formulas  $A$ in the two premises are both principal for their rule, and at least one of these rules is non-logical. Now, the problem with this tentative definition is that a rule (R) of  $\mathcal T$ can contain several principal formulas  (in $\Sigma'$, $\Delta'$) and so we would like to allow an anchored cut on each of these principal formulas.
-  % Consider for instance the following derivation, where we have underlined principal formulas:
-  See for instance (the principal formulas are underlined):
-  \patrick{Anupam, could you please display this derivation in a suitable way?}
-  \[
-  \vlderivation{
-\vliin{cut_2}{}{ \seqar  \Delta}{
-\vliin{cut_1}{}{\seqar A_2 }{\vlin{\rigrul{\lor}}{}{\seqar \underline{A_1}}{}}{\vliin{(R)}{}{\underline{A_1}\seqar \underline{A_2}}{}{} }
-}{
-\vliin{\lefrul{\land}}{}{\underline{A_2}\seqar \Delta}{}{}
-}
-}
-\]
-  Here $cut_1$ is anchored in this sense, but not $cut_2$.   Therefore we propose a more general definition:
+  We need first to define which cuts will remain in proofs after reduction.
+%  They are called \textit{anchored cuts}.
+%   Our first idea would be to consider as anchored  a cut whose cut-formulas  $A$ in the two premises are both principal for their rule, and at least one of these rules is non-logical. Now, the problem with this tentative definition is that a rule (R) of  $\mathcal T$ can contain several principal formulas  (in $\Sigma'$, $\Delta'$) and so we would like to allow an anchored cut on each of these principal formulas.
+%  % Consider for instance the following derivation, where we have underlined principal formulas:
+%  See for instance (the principal formulas are underlined):
+%  \patrick{Anupam, could you please display this derivation in a suitable way?}
+%  \[
+%  \vlderivation{
+%\vliin{cut_2}{}{ \seqar  \Delta}{
+%\vliin{cut_1}{}{\seqar A_2 }{\vlin{\rigrul{\lor}}{}{\seqar \underline{A_1}}{}}{\vliin{(R)}{}{\underline{A_1}\seqar \underline{A_2}}{}{} }
+%}{
+%\vliin{\lefrul{\land}}{}{\underline{A_2}\seqar \Delta}{}{}
+%}
+%}
+%\]
+%  Here $cut_1$ is anchored in this sense, but not $cut_2$.   Therefore we propose a more general definition:
+Since our nonlogical rules may have many principal formulae on which we permit cuts to be anchored, we need a slightly more general notion than `principal formula'.
     \begin{definition}\label{def:anchoredcut}
-  We define in a mutual inductive way the notion of \textit{hereditarily principal formula} and \textit{anchored cut} in a $\mathcal T$-proof :
+  We define in a mutual inductive way the notion of \textit{hereditarily principal formula} and \textit{anchored cut} in a $\system$-proof for a system $\system$:
   \begin{itemize}
-  \item A formula $A$ in a sequent $\Gamma \seqar \Delta$ is \textit{hereditarily principal} for a rule (S), if either (i) the sequent is conclusion of the rule (S) and $A$ is principal in it, or 
-(ii)  the sequent is conclusion of an anchored cut,  the direct ancestor of $A$ in the corresponding premise is hereditarily principal for the rule (S), and the rule (S) is non-logical.
-  \item An instance of cut rule is an \textit{anchored cut} if  either its cut-formulas $A$ in the two premises are both hereditarily principal for non-logical rules, or one is hereditarily principal for a non-logical rule and the other one is principal for a logical rule.
+  \item A formula $A$ in a sequent $\Gamma \seqar \Delta$ is \textit{hereditarily principal} for a rule (S), if either (i) the sequent is in the conclusion (S) and $A$ is principal in it, or 
+(ii)  the sequent is in the conclusion of an anchored cut, the direct ancestor of $A$ in the corresponding premise is hereditarily principal for the rule (S), and the rule (S) is nonlogical.
+  \item A cut-step is an \textit{anchored cut} if  either of its cut-formulas $A$ in the two premises are both hereditarily principal for nonlogical steps, or one is hereditarily principal for a nonlogical step and the other one is principal for a logical step.
   \end{itemize}
   \end{definition}
-  So as a consequence of this definition, an anchored cut on a formula $A$ is of the following form:
+  As a consequence of this definition, an anchored cut on a formula $A$ has the following properties:
   \begin{itemize}
-  \item at least one of the two premises of the cut has above it a sub-branch of the proof which starts (top-down) with a non-logical rule (R) with $A$ as one of its principal formulas, and then a sequence of anchored cuts  in which $A$ is part of the context;
-  \item the other premise is either of the same form, or a logical rule with principal formula $A$. 
+  \item At least one of the two premises of the cut has above it a sub-branch of the proof which starts (top-down) with a nonlogical rule (R) with $A$ as one of its principal formulas, and then a sequence of anchored cuts in which $A$ is part of the context.
+  \item The other premise is either of the same form, or a logical step with principal formula $A$. 
   \end{itemize}
   
 %  Now, for instance a cut on a (principal) formula $A \lor B$ between a rule $\rigrul{\lor}$ and a rule (R) (where  $A \lor B$ occurs in $\Sigma'$) is anchored, while a cut between 
@@ -35,41 +37,43 @@
    
    A cut which is not anchored will also be called a \textit{free-cut}.
   
-  With this new definition both $cut_1$ and $cut_2$ in the previous example are anchored.
+%  With this new definition both $cut_1$ and $cut_2$ in the previous example are anchored.
    
 %   \patrick{@Anupam: if we need to shorten this part, I think we should anyway keep the key lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:keycommutations}.  In the proof of the thm itself, I would give priority to keep the first case, maybe by skipping the first situation and keeping the second item, $S_1$=$!r$, $?l$ or $R$. Second case could be kept too, and third case could be briefly summarized and pushed in the appendix or online version.}
    
-   Let us first prove a key lemma on hereditarily principal formulas:
+%   Let us first prove a key lemma on hereditarily principal formulas:
+Due to condition 4 in Sect.~\ref{sect:preliminaries}, we have the following:
    \begin{lemma}\label{lem:hereditaryprincipalnonlogical}
-   A formula occurrence $A$ on the l.h.s. (resp. r.h.s.) of a sequent and hereditarily principal for a non-logical rule (R) 
+   A formula occurrence $A$ on the LHS (resp.\ RHS) of a sequent and hereditarily principal for a nonlogical rule (R) 
    cannot be of the form $A=?A'$ (resp. $A=!A'$).
    \end{lemma}
-   \begin{proof}
-   Assume that $A$ is an occurrence of formula on the l.h.s. of the sequent and hereditarily principal for a non-logical rule (R), then a direct ancestor of this formula is principal for (R) and thus by condition 4. $A$ cannot be of the form $?A'$. The other case is identical.
-   \end{proof}
+  
    
    Now we can state the main result of this section:
    \begin{theorem}
-   \label{thm:free-cut-elim}[Free-cut elimination]
-    Given a theory  $\mathcal{T}$, any  $\mathcal T$-proof $\pi$ can be transformed into a $\mathcal T$-proof $\pi'$ with same conclusion sequent and without any free-cut.
+   [Free-cut elimination]
+   \label{thm:free-cut-elim}
+    Given a system  $\system$, any  $\system$-proof $\pi$ can be transformed into a $\system$-proof $\pi'$ with same conclusion sequent and without any free-cuts.
    \end{theorem}
     %The proof will be given below. It will proceed
-     The proof proceeds in a way similar to the classical proof of cut elimination for linear logic, but here for eliminating only free-cuts, and one has to check that all steps of the reasoning are compatible with the fact that the proof here also contains $\mathcal{T}$ rules. 
-%     Define the \textit{degree} of a formula as the number of logical connectives or quantifiers in it.  Let us first state an easy building-block of the proof, which comes from standard linear logic:
-%    \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
-%    Any cut $c$ whose cut-formulas $A$ are both principal formulas of logical rules distinct from $?$, $!$, $wk$, $cntr$ rules can be replaced in one step by cuts on formulas of strictly lower degree (0, 1 or 2 cuts).
-%    \end{lemma}
-%    \begin{proof}
-%    This is exactly as in plain linear logic. Just note that the case of a quantifier formula involves a substitution by a term $t$ throughout the proof, and this is where we need condition 3 on non-logical rules requiring that they are closed by substitution.
-%    \end{proof}
-    Actually the most important part of the proof of Thm \ref{thm:free-cut-elim} is  the handling of the commutation steps, since this is where the new non-logical rules could raise some problems.
+     The proof proceeds in a way similar to the classical proof of cut elimination for linear logic,
+%, but here for eliminating only free-cuts, and one has to check that all steps of the reasoning are compatible with the fact that the proof here also contains $\mathcal{T}$ rules. 
+%%     Define the \textit{degree} of a formula as the number of logical connectives or quantifiers in it.  Let us first state an easy building-block of the proof, which comes from standard linear logic:
+%%    \begin{lemma}[Logical non-exponential cut-elimination steps]\label{lem:logical steps}
+%%    Any cut $c$ whose cut-formulas $A$ are both principal formulas of logical rules distinct from $?$, $!$, $wk$, $cntr$ rules can be replaced in one step by cuts on formulas of strictly lower degree (0, 1 or 2 cuts).
+%%    \end{lemma}
+%%    \begin{proof}
+%%    This is exactly as in plain linear logic. Just note that the case of a quantifier formula involves a substitution by a term $t$ throughout the proof, and this is where we need condition 3 on non-logical rules requiring that they are closed by substitution.
+%%    \end{proof}
+%    Actually the most important part of the proof of Thm \ref{thm:free-cut-elim} is  the handling of the commutation steps, since this is where the new non-logical rules could raise some problems.
+but eliminating only free-cuts and verifying compatibility with our notion of nonlogical rule, in particular for the commutation cases.
      
-     First, observe that the only rules in which there is a condition on the context are the following ones: $(\rigrul{\forall})$, $(\lefrul{\exists})$, $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. These are thus the rules for which the commutation with cut steps are not straightforward. Commutations with logical rules  other than $(\rigrul{!})$, $(\lefrul{?})$ are done in the standard way, as in plain linear logic:
+     First, observe that the only rules in which there is a condition on the context are the following ones: $(\rigrul{\forall})$, $(\lefrul{\exists})$, $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. These are thus the rules for which the commutation with cut steps are not straightforward. Commutations with logical rules  other than $(\rigrul{!})$, $(\lefrul{?})$ are done in the standard way, as in pure linear logic:\footnote{Note that, for the $(\rigrul{\forall})$, $(\lefrul{\exists})$ rules, there might also be a global renaming of eigenvariables if necessary.}
      \begin{lemma}[Standard commutations]\label{lem:standardcommutations}
      Any logical rule  distinct from $(\rigrul{!})$, $(\lefrul{?})$ can be commuted top-down with any cut $c$. If the logical rule is binary this will produce two cuts.
      \end{lemma}
-    (Just remind that for  $(\rigrul{\forall})$, $(\lefrul{\exists})$ rules this can involve renaming of eigenvariables if necessary.)
     
+    
 %     In the following we will need to be more careful about rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$. For that we establish our second key lemma:
         For rules $(\rigrul{!})$, $(\lefrul{?})$, $(R)$ we establish our second key lemma:
   \begin{lemma}[Key commutations]\label{lem:keycommutations}
@@ -77,33 +81,44 @@
  \[
      \vliinf{cut}{}{ !\Gamma', \Gamma,  \Sigma'   \seqar \Delta', ?A, ?\Pi, ?\Pi'}
                     { \vlinf{(R)}{}{!\Gamma, \Sigma'  \seqar \Delta', ?A, ?\Pi}{  \{ !\Gamma, \Sigma_i  \seqar \Delta_i, ?A, ?\Pi \}_{i\in I} } }
-                    {  \vlinf{}{}{?A, !\Gamma' \seqar  ?\Pi'}{} } 
+                    {  
+%                    	\vlinf{}{}{?A, !\Gamma' \seqar  ?\Pi'}{} 
+?A, !\Gamma' \seqar  ?\Pi'
+                    	} 
 \]
-    Similarly if $(R)$ is replaced with $(\rigrul{!})$, with $?A$ in its r.h.s. context. Similarly also for the symmetric situations:
-    cut on the l.h.s. of the conclusion of an $(R)$ or a $(\lefrul{?})$ rule on a (non-principal) formula $!A$, with a sequent $!\Gamma' \seqar  ?\Pi', !A$.
+    Similarly if $(R)$ is replaced with $(\rigrul{!})$, with $?A$ in its RHS context, and also for the symmetric situations:
+    cut on the LHS of the conclusion of an $(R)$ or a $(\lefrul{?})$ step on a (non-principal) formula $!A$, with a sequent $!\Gamma' \seqar  ?\Pi', !A$.
   \end{lemma}  
      \begin{proof}
-     The first subderivation can be replaced by:
+     The left subderivation can be replaced by:
       \[
      \vlinf{(R)}{}{ !\Gamma', !\Gamma,  \Sigma'   \seqar \Delta', ?\Pi, ?\Pi'}
-                                 { \vliinf{cut}{}{\{!\Gamma', !\Gamma, \Sigma_i  \seqar \Delta_i, ?\Pi,?\Pi' \}_{i\in I}} { \vlinf{}{}{ !\Gamma, \Sigma_i  \seqar \Delta_i, ?A, ?\Pi}{}} {  \vlinf{}{}{?A, !\Gamma' \seqar  ?\Pi'}{} } }
+                                 { \vliinf{cut}{}{\{!\Gamma', !\Gamma, \Sigma_i  \seqar \Delta_i, ?\Pi,?\Pi' \}_{i\in I}} {
+%                                 		 \vlinf{}{}{ !\Gamma, \Sigma_i  \seqar \Delta_i, ?A, ?\Pi}{}
+ !\Gamma, \Sigma_i  \seqar \Delta_i, ?A, ?\Pi
+                                 		 } {
+%                                 		  \vlinf{}{}{?A, !\Gamma' \seqar  ?\Pi'}{} 
+?A, !\Gamma' \seqar  ?\Pi'
+                                 		  } }
                                  \]
      Here if an eigenvariable in $\Sigma_i, \Delta_i$ happens to be free in $!\Gamma', ?\Pi'$ we rename it to avoid the collision, which is possible because by condition 2 on non-logical rules these eigenvariables do not appear in $\Sigma', \Delta'$ or $!\Gamma, ?\Pi$. So the occurrence of $(R)$ in this new subderivation is valid.
      
-     Similarly  for the symmetric derivation with a   cut on the l.h.s. of the conclusion of an $(R)$ on a formula $!A$.
-     The analogous situations with rules  $(\rigrul{!})$ and $(\lefrul{?})$ are handled in the same way, and were already known in linear logic.
+     Similarly  for the symmetric derivation with a cut on the LHS of the conclusion of an $(R)$ on a formula $!A$.
+     The analogous situations with rules  $(\rigrul{!})$ and $(\lefrul{?})$ are handled in the same way, as usual in linear logic.
      \end{proof}
      %Now we have all the necessary lemmas to proceed with the proof of the theorem.
-    Now we can proceed:
-    \begin{proof} (proof sketch of Thm  \ref{thm:free-cut-elim})
-    Given a cut rule $c$ in a proof $\pi$, we call  \emph{degree} $\deg( c)$  the number of connectives and quantifiers of its  cut-formula. Now the \emph{degree} of the proof $\deg( \pi)$ is the multiset of the degrees of its non-anchored formulas. The degrees will be compared with the multiset ordering.
+
+    Now we can prove the main free-cut elimination result:
+    \begin{proof}[Proof sketch of Thm.~\ref{thm:free-cut-elim}]
+    Given a cut step $c$ in a proof $\pi$, we call  \emph{degree} $\deg( c)$  the number of connectives and quantifiers of its  cut-formula. Now the \emph{degree} of the proof $\deg( \pi)$ is the multiset of the degrees of its non-anchored formulas. The degrees will be compared with the multiset ordering.
        The demonstration proceeds by induction on the degree  $\deg( \pi)$.  For a given degree we proceed with a sub-induction on the \textit{height} $\height{\pi}$ of the proof.
     
     Consider a proof $\pi$ of non-null degree. We want to show how to reduce it to a proof of strictly lower degree. Consider a top-most non-anchored cut $c$ in $\pi$, that is to say such that there is no non-anchored cut above $c$.  Let us call $A$ the cut-formula, and $(S_1)$ (resp. $(S_2)$) the rule above the left (resp. right) premise of $c$.  
 \[    
      \vliinf{c \; \; \cut}{}{\Gamma, \Sigma \seqar \Delta , \Pi}{ \vlinf{S_1}{}{\Gamma \seqar \Delta, A}{} }{\vlinf{S_2}{}{\Sigma, A \seqar \Pi}{}}
 \]
-    Intuitively we proceed as follows: if $A$ is not hereditarily principal in one of its premises  we will try to commute $c$ with the rule along its left premise  $(S_1)$, and if it is not possible commute it   with the rule along its right premise  $(S_2)$, by using Lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:standardcommutations}; if $A$ is hereditarily principal in both premises we proceed with a cut-elimination step, as in standard linear logic. For this second step, the delicate part is the elimination of exponential cuts, for which we use a big-step reduction; it works well because the contexts in the non-logical rules $(R)$ are marked with $!$ (resp. $?$) on the l.h.s. (resp. r.h.s.). See the appendix for the full proof.
+    Intuitively we proceed as follows: if $A$ is not hereditarily principal in one of its premises  we try to commute $c$ with the rule along its left premise  $(S_1)$, and if not possible then commute it with the rule along its right premise $(S_2)$, by Lemmas \ref{lem:hereditaryprincipalnonlogical} and \ref{lem:standardcommutations}. If $A$ is hereditarily principal in both premises we proceed with a cut-elimination step, as in standard linear logic. For this second step, the delicate part is the elimination of exponential cuts, for which we use a big-step reduction. This works because the contexts in the nonlogical rules $(R)$ are marked with $!$ (resp. $?$) on the LHS (resp. RHS). 
+%    See the appendix for the full proof.
     \end{proof}
     
 %   \begin{itemize}
Index: CSL16/appendix-arithmetic.tex
===================================================================
--- CSL16/appendix-arithmetic.tex	(revision 109)
+++ CSL16/appendix-arithmetic.tex	(revision 110)
@@ -68,3 +68,21 @@
 \label{eqn:ind-rul-base-prem}
 \vliiinf{}{}{ !\word(t) , !\Gamma  \seqar A(t), ?\Delta }{!\Gamma \seqar A(\epsilon)}{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_1 a) , ?\Delta  }
 \end{equation}
+
+
+Proof that coherent ESs have a model:
+\begin{proof}
+	%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
+	Consider the standard model $\Word $ extended by an element $\infty$ with $\succ_0 \infty = \succ_1 \infty = \infty$. Setting $\word = \Word$ means this model satisfies $\basic$. Now, for each function symbol $f$, define $f(\sigma) = \tau$ for every $\sigma, \tau \in \Word$ for which this equation is forced by $\eqspec$. Otherwise define $f(\sigma) = f(\infty) = \infty$.
+%	\todo{replace with argument using completeness.}
+\end{proof}
+
+Proof that guarded quantifiers are compatible with free-cut elimination:
+\begin{proof}[Proof of Cor.~\ref{cor:free-cut-elim-guarded-quants}]
+	First translate the proof $\pi$ into the proof $\pi_0$ where all guarded quantifiers rules have been replaced by their derivation, and say that two rule instances in $\pi_0$ are \textit{siblings} if they come from the same derivation of a guarded quantifier rule. So in $\pi_0$ any two sibling rules are consecutive. Now observe that in the free-cut elimination procedure:
+	\begin{itemize}
+		\item when we do a commutation step of a cut with a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by another commutation of cut with its sibling,
+		\item when we do a logical cut-elimination step on a $\forall$ (resp. $\exists$ rule) that has a sibling, we can follow it by a logical cut-elimination step on its sibling, as illustrated by Prop. \ref{prop:logicalstepguardedquantifer}.
+	\end{itemize}
+	In this way sibling rules remain consecutive in the proof-tree throughout the reduction, and the procedure transforms the proof into one with only anchored cuts.
+\end{proof}
\ No newline at end of file
Index: CSL16/appendix-wfm.tex
===================================================================
--- CSL16/appendix-wfm.tex	(revision 109)
+++ CSL16/appendix-wfm.tex	(revision 110)
@@ -128,4 +128,14 @@
 												\vec f^\pi (\vec u , \vec v ; \vec x)
 												\quad := \quad
 												\vec f' (\vec u, \vec u , \vec v ; \vec x)
-												\]
\ No newline at end of file
+												\]
+												
+												
+												Proof of main result:
+														\begin{proof}
+															[Proof of Thm.~\ref{thm:main-result}]
+															%		[Proof sketch]
+															By Thm.~\ref{thm:free-cut-elim} and Lemma~\ref{lemma:spec-norm-form} we have a free-cut free proof $\pi$ in $\closure{\eqspec} \cup \arith$ of $!\word (\vec x ) \seqar \word (f (\vec x))$. By Lemma~\ref{lemma:witness-invariant} above this means that $\vec a = \vec x \cimp f^\pi (\vec a) = f(\vec x)$ is true in any model of $\qfindth$ satisfying $\eqspec$ and $\eqspec^\pi$. 
+															%		Since some model must exist by coherence (cf.\ Prop.~\ref{prop:eq-spec-model}), we have that 
+															Using the fact that $\eqspec \cup \eqspec^\pi$ is coherent we can construct such a model, similarly to Prop.~\ref{prop:eq-spec-model}, which will contain $\Word$ as an initial segment, in which we must have $f^\pi (\vec x) = f (\vec x)$ for every $\vec x \in \Word$, as required.\todo{polish}
+														\end{proof}
\ No newline at end of file
Index: CSL16/conclusions.tex
===================================================================
--- CSL16/conclusions.tex	(revision 109)
+++ CSL16/conclusions.tex	(revision 110)
@@ -1,10 +1,12 @@
 %\section{Conclusions}
 
 \section{Conclusions}
+\label{sect:conclusions}
 
-As mentioned in the introduction, our motivation for this work is to conduct a proof-theoretic study of first-order theories in linear logic, in particular to construct theories corresponding to various functional complexity classes.
+As mentioned in the introduction, our motivation for this work is to commence a proof-theoretic study of first-order theories in linear logic, in particular from the point of view of complexity.
+To this end we proved a general form of `free-cut elimination' that generalises forms occurring in prior works, e.g.\ \cite{LincolnMSS92}. We adapted an arithmetic of Bellantoni and Hofmann in \cite{BelHof:02} to the linear logic setting, and used the free-cut elimination result, via the witness function method \cite{Buss86book}, to prove that a fragment of this arithmetic characterises $\FP$.
 
-We proved a general form of `free-cut elimination' that generalises forms occurring in prior works, e.g.\ \cite{LincolnMSS92} \anupam{mention Baelde/Miller?}. Our starting point was an axiomatisation proposed by Bellantoni and Hofmann in \cite{BelHof:02}, adapted to the linear logic setting. We identified a fragment, $\arith$, of the arithmetic that is sound and complete with respect to polynomial-time functions, using the free-cut elimination theorem and witness function method that is common in bounded arithmetic and applicative theories.
+%. Our starting point was an axiomatisation proposed by Bellantoni and Hofmann in \cite{BelHof:02}, adapted to the linear logic setting. We identified a fragment, $\arith$, of the arithmetic that is sound and complete with respect to polynomial-time functions, using the free-cut elimination theorem and witness function method that is common in bounded arithmetic and applicative theories.
 
 % To see if analogues of various results can be useful for the construction of theories corresponding to various complexity classes. In particular we are interested in the following conventions:
 
@@ -15,23 +17,26 @@
 %
 %Regarding \ref{item:crit-ground-type}, almost all approaches 
 
-\subsection{Related work}
+%\subsection{Related work}
 From the point of view of constructing theories for complexity classes, the choice of linear logic and witness function method satisfies two particular desiderata:
 
 \begin{enumerate}
-\item\label{item:crit-implicit-complexity} Complexity controlled by `implicit' means.
+\item\label{item:crit-implicit-complexity} Complexity controlled by `implicit' means, not explicit bounds.
 %, e.g.\ modalities or ramification, as in \cite{Leivant94:found-delin-ptime}. 
-\item\label{item:crit-ground-type} Extraction of programs using only ground types.
+\item\label{item:crit-ground-type} Extraction of programs relies on functions of only ground type.
 \end{enumerate}
 
-From this point of view, the most relevant related work is that of Cantini \cite{Cantini02}, based on an \emph{applicative theory}, which we recently became aware of. The main difference here is the choice of model of computation: Cantini uses terms of combinatory logic, whereas we use equational specifications (ESs). This choice necessitates a vastly different proof-theoretic treatment. In particular, equality between terms is not decidable in the ES framework, and so there is no apparent constructive interpretation of the right-contraction rule, which usually requires a `test' function. This is why Bellantoni and Hofmann require a double-negation translation into intuitionistic logic and the use functionals at higher types, and why Leivant disregards classical logic altogether in \cite{Leivant94:found-delin-ptime}. Notice that this is precisely why our use of linear logic is important: the control of $?$ occurrences in a proof allows us to sidestep this problem. At the same time we are able to remain in a classical linear setting. We do not think that either model of computation is better, but rather that it is interesting to observe how such a choice affects the proof-theoretic considerations at hand.
+From this point of view, a relevant related work is that of Cantini \cite{Cantini02}, based on an \emph{applicative theory}, which we recently became aware of. The main difference here is the choice of model of computation: Cantini uses terms of combinatory logic, whereas we use equational specifications (ESs). 
+As we have mentioned, this choice necessitates a different proof-theoretic treatment, in particular since equality between terms is not decidable in the ES framework, hindering any constructive interpretation of the right-contraction rule. This is why Bellantoni and Hofmann require a double-negation translation into intuitionistic logic and the use functionals at higher types, and why Leivant disregards classical logic altogether in \cite{Leivant94:found-delin-ptime}. Notice that this is precisely why our use of linear logic is important: the control of $?$ occurrences in a proof allows us to sidestep this problem. At the same time we are able to remain in a classical linear setting. We do not think that either model of computation is better, but rather that it is interesting to observe how such a choice affects the proof-theoretic considerations at hand.
 
-Our use of linear logic can, in some sense, be seen as a refinement of Leivant's result in \cite{Leivant94:found-delin-ptime}, where positive existential comprehension in intuitionistic second-order logic is found to correspond to polynomial time. The necessity of intuitionistic logic is since any double-negation translation from classical logic would break the positivity criterion. In this work we have observed that the further restriction to non-modal formulae in nonlogical rules is sufficient to carry out a witnessing argument directly from a classical setting, while remaining complete for polynomial-time functions. \todo{comprehension vs induction. Check this is not bullshit!}
-\patrick{hmm, I am not sure I understand how our use of linear logic can be viewed as a refinement of this work.}
+%Our use of linear logic can, in some sense, be seen as a refinement of Leivant's result in \cite{Leivant94:found-delin-ptime}, where positive existential comprehension in intuitionistic second-order logic is found to correspond to polynomial time. The necessity of intuitionistic logic is since any double-negation translation from classical logic would break the positivity criterion. In this work we have observed that the further restriction to non-modal formulae in nonlogical rules is sufficient to carry out a witnessing argument directly from a classical setting, while remaining complete for polynomial-time functions. \todo{comprehension vs induction. Check this is not bullshit!}
+%\patrick{hmm, I am not sure I understand how our use of linear logic can be viewed as a refinement of this work.}
 
-Most works on the relationships between linear logic and complexity fit in the approach of the proofs-as-programs correspondence and study variants of linear logic with weak exponential modalities,   e.g.\ bounded linear logic \cite{GirardSS92:bounded-ll}, light linear logic and elementary linear logic \cite{Girard94:lll}. However, Terui considers a na\"ive set theory \cite{Terui04} that is also sound and complete for polynomial time and is based on light linear logic\footnote{He also presents a cut-elimination result but, interestingly, it is entirely complementary to that which we present here: he obtains full cut-elimination since he works in a system without full exponentials and with Comprehension as the only nonlogical axiom. Since the latter admits a cut-reduction step, the former ensures that cut-elimination eventually terminates by a \emph{height-based} argument, contrary to our argument that analyses the \emph{degrees} of cut-formulae.}. His approach relies on functionals at higher type, using light linear logic to type the extracted functionals. Another work using linear logic to characterize  complexity classes by using totality proofs is \cite{Lasson11} but it is tailored for second-order logic.
- The status of first-order theories is more developed for other substructural logics, for instance \emph{relevant logic} [cite?], although we do not know of any works connecting such logics to computational complexity.
 
+
+Most works on the relationships between linear logic and complexity fit in the approach of the proofs-as-programs correspondence and study variants of linear logic with weak exponential modalities \cite{GirardSS92:bounded-ll} \cite{Girard94:lll} \cite{Lafont04}. However, Terui considers a na\"ive set theory \cite{Terui04} that also characterises $\FP$ and is based on light linear logic\footnote{He also presents a cut-elimination result but, interestingly, it is entirely complementary to that which we present here: he obtains full cut-elimination since he works in a system without full exponentials and with Comprehension as the only nonlogical axiom. Since the latter admits a cut-reduction step, the former ensures that cut-elimination eventually terminates by a \emph{height-based} argument, contrary to our argument that analyses the \emph{degrees} of cut-formulae.}. His approach relies on functionals at higher type, using light linear logic to type the extracted functionals. Another work using linear logic to characterize  complexity classes by using convergence proofs is \cite{Lasson11} but it is tailored for second-order logic.
+ The status of first-order theories is more developed for other substructural logics, for instance \emph{relevant logic} \cite{FriedmanM92}, although we do not know of any works connecting such logics to computational complexity.
+
 %Most works on the relationships between linear logic and complexity concern the construction of \emph{type systems}, e.g.\ bounded linear logic \cite{GirardSS92:bounded-ll}, light linear logic and elementary linear logic \cite{Girard94:lll}, soft linear logic \cite{Lafont04}. However, Terui considers a na\"ive set theory \cite{Terui04} that is also sound and complete for polynomial time and is based on light linear logic. His approach relies on functionals at higher type, using light linear logic to type the extracted functionals.\footnote{He also presents a cut-elimination result but, interestingly, it is entirely complementary to that which we present here: he obtains full cut-elimination since he works in a system without full exponentials and with Comprehension as the only nonlogical axiom. Since the latter admits a cut-reduction step, the former ensures that cut-elimination eventually terminates by a \emph{height-based} argument, contrary to our argument that analyses the \emph{degrees} of cut-formulae.} The status of first-order theories is more developed for other substructural logics, for instance \emph{relevant logic} [cite?], although we do not know of any works connecting such logics to computational complexity.
 
 Concerning the relationship between linear logic and safe recursion, note that an embedding of a variant of safe recursion into light linear logic has been carried studied in \cite{Murawski04}, but this is in the setting of functional computation and is quite different from the present approach. Observe however that a difficulty in this setting  was the non-linear treatment of safe arguments which here we manage by including in our theory a duplication axiom for $W$. 
@@ -39,7 +44,7 @@
 We have already mentioned the work of Bellantoni and Hofmann \cite{BelHof:02}, which was somewhat the inspiration behind this work. Our logical setting is very similar to theirs, under a certain identification of symbols, but there is a curious disconnect in our use of the additive disjunction for the $\surj$ axiom. They rely on just one variant of disjunction. As we said, they rely on a double-negation translation and thus functionals at higher-type.
 
 
-\anupam{mention bounded arithmetic?}
+%\anupam{mention bounded arithmetic?}
 %
 %Finally, the approach of bounded arithmetic 
 %
@@ -59,18 +64,24 @@
  
 
          
-\subsection{Further work}
-\todo{finish!}
+%\subsection{Further work}
+%\todo{finish!}
 
-Say something about minimisation and the polynomial hierarchy. Could be achieved by controlling contraction/additives, since this requires a notion of tests.
+%
+In further work we would like to apply the free-cut elimination theorem to theories based on other models of computation, namely the formula model employed in bounded arithmetic \cite{Buss86book}. We believe that the WFM could be used at a much finer level in this setting,\footnote{One reason for this is that atomic formulae are decidable, and so we can have more freedom with the modalities in induction steps.} and extensions of the theory for other complexity classes, for instance the polynomial hierarchy, might be easier to obtain.
+%
+%Say something about minimisation and the polynomial hierarchy. Could be achieved by controlling contraction/additives, since this requires a notion of tests.
+%
+%As we mentioned in the context section, there are many choices of model of computation when constructing theories. Applicative theories use combinatory algebra and in this work we have used equational specifications. Theories of bounded arithmetic, however, use arithmetic formulae to code computation sequences. The advantage of this is that any closed formula can be evaluated, and so equality is decidable. 
+%
+%We think the true power of the witness function method lies in an approach such as this, although we 
+%
+%
 
-As we mentioned in the context section, there are many choices of model of computation when constructing theories. Applicative theories use combinatory algebra and in this work we have used equational specifications. Theories of bounded arithmetic, however, use arithmetic formulae to code computation sequences. The advantage of this is that any closed formula can be evaluated, and so equality is decidable. 
-
-We think the true power of the witness function method lies in an approach such as this, although we 
-
-
-Polynomial hierarchy? Cite Reinhard/Isobel and their cited works.
+The problem of right-contraction seems to also present in work by Leivant \cite{Leivant94:found-delin-ptime}, which uses equational specifications, where the restriction to positive comprehension to characterise polynomial-time only goes through in an intuitionistic setting. It would be interesting to see if a linear logic refinement could reproduce that result in the classical setting, as we did here.
 %
+%Polynomial hierarchy? Cite Reinhard/Isobel and their cited works.
+%
 %\newpage
 %
 %
