Statistiques
| Révision :

root / CSL16 / draft / arithmetic.tex @ 111

Historique | Voir | Annoter | Télécharger (20,69 ko)

1 101 adas
\section{A variant of arithmetic in linear logic}
2 101 adas
\label{sect:arithmetic}
3 101 adas
For the remainder of this article we will consider an implementation of arithmetic in the sequent calculus based on the theory $\bharith$ of Bellantoni and Hofmann in \cite{BelHof:02}. The axioms that we present are obtained from $\bharith$ by using linear logic connectives in place of their analogues, calibrating the use of additives or multiplicatives in order to be compatible with the completeness and witnessing arguments that we present in Sects.~\ref{sect:bc-convergence} and \ref{sect:wfm}. We also make use of free variables and the structural delimiters of the sequent calculus to control the logical complexity of nonlogical rules.
4 101 adas
5 101 adas
6 101 adas
We will work in the \emph{affine} variant of linear logic, which validates weakening: $(A \land B )\limp A$. There are many reasons for this; essentially it does not have much effect on complexity while also creating a more robust proof theory. For example it induces the following equivalence:\footnote{Notice that the right-left direction is already valid in usual linear logic, but the left-right direction requires weakening.}
7 101 adas
\[
8 101 adas
!(A\land B) \equiv (!A \land !B)
9 101 adas
\]
10 101 adas
11 101 adas
12 101 adas
%We define a variant of arithmetic inspired by Bellantoni and Hofmann's $A^1_2$. We describe later some connections to bounded arithmetic.
13 101 adas
14 101 adas
15 101 adas
\newcommand{\lang}{\mathcal L}
16 101 adas
17 101 adas
\subsection{Axiomatisation and an equivalent rule system}
18 101 adas
19 101 adas
%\begin{definition}
20 101 adas
%[Language]
21 101 adas
We consider the language $\lang$ consisting of the constant symbol $\epsilon$, unary function symbols $\succ_0 , \succ_1$ and the predicate symbol  $\word$, together with function symbols $f,g,h$ etc.
22 101 adas
%\end{definition}
23 101 adas
$\lang$-structures are typically extensions of $\Word = \{ 0,1 \}^*$, in which $\epsilon, \succ_0, \succ_1$ are intended to have their usual interpretations. The $\word$ predicate is intended to indicate those elements of the model that are binary words (in the same way as Peano's $N$ predicate indicates those elements that are natural numbers).
24 101 adas
25 101 adas
As an abbreviation, we write $\word (\vec t)$ for $\bigotimes^{|\vec t|}_{i=1} \word(t_i)$.
26 101 adas
27 101 adas
\begin{remark}
28 101 adas
[Interpretation of natural numbers]
29 101 adas
Notice that the set $\Nat^+$ of positive integers is $\lang$-isomorphic to $\Word$ under the interpretation $\{ \epsilon \mapsto 1 , \succ_0 (x) \mapsto 2x , \succ_1 (x) \mapsto 2x+1 \}$, so we could equally consider what follows as theories over $\Nat^+$.
30 101 adas
\end{remark}
31 101 adas
32 101 adas
33 101 adas
The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.
34 101 adas
%\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.}
35 101 adas
Let us write $\forall x^\word . A$ for $\forall x . ( \word(x) \limp A )$ and $\exists x^\word . A$ for $\exists x . ( \word(x) \land A )$. We use the abbreviations $\forall x^{!\word}$ and $\exists x^{!\word}$ similarly.
36 101 adas
37 101 adas
\newcommand{\wordcntr}{\word_\cntr}
38 101 adas
\newcommand{\natcntr}{\nat_\cntr}
39 101 adas
\newcommand{\geneps}{\word_{\epsilon}}
40 101 adas
\newcommand{\genzer}{\word_{0}}
41 101 adas
\newcommand{\genone}{\word_{1}}
42 101 adas
43 101 adas
44 101 adas
\newcommand{\sepeps}{\epsilon}
45 101 adas
\newcommand{\sepzer}{\succ_{0}}
46 101 adas
\newcommand{\sepone}{\succ_{1}}
47 101 adas
48 101 adas
\newcommand{\inj}{\mathit{inj}}
49 101 adas
\newcommand{\surj}{\mathit{surj}}
50 101 adas
51 101 adas
\newcommand{\basic}{\mathit{BASIC}}
52 101 adas
53 101 adas
\begin{definition}
54 101 adas
[Basic axioms]
55 101 adas
The theory $\basic$ consists of the following axioms:
56 101 adas
\[
57 101 adas
\begin{array}{rl}
58 101 adas
%\wk & (A \land B )\limp A \\
59 101 adas
\geneps & \word(\epsilon) \\
60 101 adas
\genzer & \forall x^\word . \word(\succ_0 x) \\
61 101 adas
\genone & \forall x^\word . \word(\succ_1 x) \\
62 101 adas
\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
63 101 adas
\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
64 101 adas
\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
65 101 adas
\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
66 101 adas
\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
67 101 adas
\noalign{\smallskip}
68 101 adas
\wordcntr & \forall x^\word . (\word(x) \land \word(x))
69 101 adas
\end{array}
70 101 adas
\]
71 101 adas
\end{definition}
72 101 adas
73 101 adas
These axioms insist that, in any model, the set induced by $\word (x)$ has the free algebra $\Word$ as an initial segment.
74 101 adas
Importantly, there is also a form of contraction for the $\word$ predicate.
75 101 adas
We will consider theories over $\basic$ extended by induction schemata:
76 101 adas
77 101 adas
\begin{definition}
78 101 adas
[Induction]
79 101 adas
The $\ind$ schema consists of the following axioms,
80 101 adas
\[
81 101 adas
%\begin{array}{rl}
82 101 adas
%& A(\epsilon) \\
83 101 adas
%\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) ) \\
84 101 adas
%\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) ) \\
85 101 adas
%\limp & \forall x^{!\word} . A(x)
86 101 adas
%\end{array}
87 101 adas
A(\epsilon)
88 101 adas
\limp !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) )
89 101 adas
\limp  !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) )
90 101 adas
\limp  \forall x^{!\word} . A(x)
91 101 adas
\]
92 101 adas
for each formula $A(x)$.
93 101 adas
94 101 adas
For a class of formulae $\Xi$, we write $\cax{\Xi}{\ind}$ to denote the set of induction axioms when $A(x) \in \Xi$.
95 101 adas
96 101 adas
We write $I\Xi$ to denote the theory consisting of $\basic$ and $\cax{\Xi}{\ind}$.
97 101 adas
\end{definition}
98 101 adas
99 101 adas
100 101 adas
%\anupam{in fact just give general case for a universal closed formula. Then remark about invertibility of negation giving purely positive initial steps. These occur in section 6 so no need to write them out here.}
101 101 adas
\begin{proposition}
102 101 adas
[Equivalent rules]
103 101 adas
$\basic$ is equivalent to the following set of rules,
104 101 adas
\[
105 101 adas
\begin{array}{l}
106 101 adas
\begin{array}{cccc}
107 101 adas
\vlinf{\geneps}{}{\seqar \word (\epsilon)}{}&
108 101 adas
\vlinf{\genzer}{}{\word(t) \seqar \word(\succ_0 t)}{}&
109 101 adas
\vlinf{\sepeps_0}{}{ \word (t)   \seqar \epsilon \neq \succ_0 t}{} &
110 101 adas
\vlinf{\sepzer}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}\\
111 101 adas
\vlinf{\inj}{}{\word(t) \seqar\succ_0 t \neq \succ_1 t}{}&
112 101 adas
\vlinf{\genone}{}{\word(t) \seqar \word(\succ_1 t)}{}&
113 101 adas
\vlinf{\sepeps_1}{}{ \word (t)   \seqar \epsilon \neq \succ_1 t }{}&
114 101 adas
\vlinf{\sepone}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
115 101 adas
\end{array}
116 101 adas
\\
117 101 adas
\vlinf{\surj}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word . t = \succ_1 y }{}
118 101 adas
\qquad
119 101 adas
\vlinf{\wordcntr}{}{\word(t) \seqar \word(t) \land \word(t) }{}
120 101 adas
\end{array}
121 101 adas
\]
122 101 adas
%\[
123 101 adas
%\vlinf{}{}{\seqar \word (\epsilon)}{}
124 101 adas
%\quad
125 101 adas
%\vlinf{}{}{\word(t) \seqar \word(\succ_0 t)}{}
126 101 adas
%\quad
127 101 adas
%\vlinf{}{}{\word(t) \seqar \word(\succ_1 t)}{}
128 101 adas
%\qquad \qquad
129 101 adas
%\vlinf{}{}{\word(t) \seqar \word(t) \land \word(t) }{}
130 101 adas
%\]
131 101 adas
%\[
132 101 adas
%\vlinf{}{}{ \word (t)  , \epsilon = \succ_0 t \seqar }{}
133 101 adas
%\quad
134 101 adas
%\vlinf{}{}{ \word (t)  , \epsilon = \succ_1 t \seqar }{}
135 101 adas
%\quad
136 101 adas
%\vlinf{}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
137 101 adas
%\quad
138 101 adas
%\vlinf{}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
139 101 adas
%\]
140 101 adas
%\[
141 101 adas
%\vlinf{}{}{\word(t), \succ_0 t = \succ_1 t \seqar}{}
142 101 adas
%\quad
143 101 adas
%\vlinf{}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word . t = \succ_1 y }{}
144 101 adas
%\]
145 101 adas
%\vspace{1em}
146 101 adas
and $\ind$ is equivalent to,
147 101 adas
\[
148 101 adas
\vliinf{\ind}{}{ !\word(t) , !\Gamma , A(\epsilon) \seqar A(t), ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !\word(a) , !\Gamma, A(a) \seqar A(\succ_1 a) , ?\Delta  }
149 101 adas
\]
150 101 adas
where, in all cases, $t$ varies over arbitrary terms and the eigenvariable $a$ does not occur in the lower sequent of the $\ind$ rule.
151 101 adas
\end{proposition}
152 101 adas
153 101 adas
Note, in particular, that since this system of rules is closed under substitution of terms for free variables, free-cut elimination, Thm.~\ref{thm:free-cut-elim}, applies.
154 101 adas
\begin{proof}
155 101 adas
We give only the case for induction, the others being routine.
156 101 adas
157 101 adas
First, let us assume the induction axiom and derive the rule:
158 101 adas
\[
159 101 adas
%\small
160 101 adas
\vlderivation{
161 101 adas
\vliq{\cntr}{}{ !\word (t) , !\Gamma, A(\epsilon) \seqar A(t) , ?\Delta }{
162 101 adas
\vlin{2\cdot\cut}{}{!\word(t) , !\Gamma,  !\Gamma, A(\epsilon) \seqar A(t) , ?\Delta, ?\Delta }{
163 101 adas
\vlhy{
164 101 adas
{
165 101 adas
\left\{
166 101 adas
\vlderivation{
167 101 adas
\vlin{\rigrul{!}}{}{ !\Gamma \seqar ! \forall x^{!\word} . ( A(x) \limp A(\succ_i x) ) , ?\Delta }{
168 101 adas
\vlin{\rigrul{\forall}}{}{ !\Gamma \seqar  \forall x^{!\word} . ( A(x) \limp A(\succ_i x) ) , ?\Delta }{
169 101 adas
\vlin{2\cdot\rigrul{\limp}}{}{ !\Gamma \seqar !\word (a) \limp A(a) \limp A(\succ_i a) , ?\Delta }{\vlhy{ !\word (a) ,!\Gamma , A(a) \seqar A(\succ_i a) , ?\Delta }}
170 101 adas
}
171 101 adas
}
172 101 adas
}
173 101 adas
\right\}_{i=0,1}
174 101 adas
}
175 101 adas
\qquad
176 101 adas
{
177 101 adas
\vlderivation{
178 101 adas
\vliq{\inv{\forall} }{}{ !\word (t), A(\epsilon) ,\{!\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) )\}_{i=0,1} \seqar A(t) }{
179 101 adas
\vliq{\inv{\limp}}{}{ A(\epsilon) , \{!\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) )\}_{i=0,1}  \seqar \forall x^{!\word} .A(x) }{
180 101 adas
\vlhy{
181 101 adas
\seqar
182 101 adas
%A(\epsilon)
183 101 adas
%\limp !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) )
184 101 adas
%\limp  !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) )
185 101 adas
%\limp  \forall x^{!\word} . A(x)
186 101 adas
\ind
187 101 adas
}
188 101 adas
}
189 101 adas
}
190 101 adas
}
191 101 adas
}
192 101 adas
}
193 101 adas
}
194 101 adas
}
195 101 adas
}
196 101 adas
\]
197 101 adas
Now we assume the induction rule and derive the axiom,
198 101 adas
\[
199 101 adas
\vlderivation{
200 101 adas
\vlin{3\cdot\rigrul{\limp}}{}{\seqar \ind }{
201 101 adas
\vlin{\rigrul{\limp},\rigrul{\forall}}{}{\{ !\forall x^{!\word} . ( A(x) \limp A(\succ_i x) ) \}_{i=0,1} , A(\epsilon) \seqar \forall x^{!\word} . A(x) }{
202 101 adas
\vlin{\ind}{}{!\word (t) , \{ !\forall x^{!\word} . ( A(x) \limp A(\succ_i x) ) \}_{i=0,1} \seqar A(b) }{
203 101 adas
\vlhy{
204 101 adas
\left\{
205 101 adas
\vltreeder{\pi_i}{ !\word (a) , \{ !\forall x^{!\word} . ( A(x) \limp A(\succ_i x) ) \}_{i=0,1} , A(a) \seqar A(\succ_i a) }{\quad}{}{\quad }
206 101 adas
\right\}_{i=0,1}
207 101 adas
}
208 101 adas
}
209 101 adas
}
210 101 adas
}
211 101 adas
}
212 101 adas
\]
213 101 adas
where the proofs $\pi_i$ are obtainable from just logical rules.
214 101 adas
\end{proof}
215 101 adas
216 101 adas
Notice, in particular, that when converting from an $\ind$ axiom instance to a rule instance (or vice-versa) the induction formula remains the same. For this reason when we consider theories that impose logical restrictions on induction we can use either interchangeably.
217 101 adas
218 101 adas
\begin{remark}
219 101 adas
%\anupam{Mention that two induction rules are not the same. This is crucial in, e.g.\ the completeness section for the case of PRN.}
220 101 adas
Usually the induction axiom is also equivalent to a formulation with a designated premise for the base case, e.g.:
221 101 adas
\begin{equation}
222 101 adas
\label{eqn:ind-rul-base-prem}
223 101 adas
\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  }
224 101 adas
\end{equation}
225 101 adas
However, this is not true in the linear logic setting since the proof that \eqref{eqn:ind-rul-base-prem} simulates the one we gave relies on contraction on the formula $A(\epsilon)$, which is not in general available, and so \eqref{eqn:ind-rul-base-prem} is somewhat weaker. This distinction turns out to be crucial in Sect.~\ref{sect:bc-convergence}, namely when proving the convergence of functions defined by predicative recursion on notation.
226 101 adas
\end{remark}
227 101 adas
228 101 adas
%
229 101 adas
%\subsection{Equivalent rule systems}
230 101 adas
%Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
231 101 adas
%
232 101 adas
%\[
233 101 adas
%\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
234 101 adas
%\quad
235 101 adas
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
236 101 adas
%\quad
237 101 adas
%\vliinf{\pind}{}{ !N(t) , !\Gamma , A(\epsilon) \seqar A(t), ?\Delta }{ !N(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta }{ !N(a) , !\Gamma, A(a) \seqar A(\succ_0 a) , ?\Delta  }
238 101 adas
%\]
239 101 adas
%
240 101 adas
%\todo{provable equivalence, if necessary.}
241 101 adas
%
242 101 adas
%The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
243 101 adas
%
244 101 adas
%Finally, for each universally quantified axiom, we consider instead the schema of initial rules with unbound terms in place of universally quantified variables, again for proof theoretic reasons:
245 101 adas
%\[
246 101 adas
%\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
247 101 adas
%\quad
248 101 adas
%\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
249 101 adas
%\quad
250 101 adas
%\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
251 101 adas
%\quad
252 101 adas
%\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
253 101 adas
%\]
254 101 adas
%\[
255 101 adas
%\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
256 101 adas
%\quad
257 101 adas
%\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
258 101 adas
%\quad
259 101 adas
%\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
260 101 adas
%\quad
261 101 adas
%\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
262 101 adas
%\]
263 101 adas
%\[
264 101 adas
%\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
265 101 adas
%\quad
266 101 adas
%\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
267 101 adas
%\]
268 101 adas
%%in place of their corresponding axioms.
269 101 adas
%
270 101 adas
%%\todo{in existential above, is there a prenexing problem?}
271 101 adas
%
272 101 adas
%
273 101 adas
%\anupam{
274 101 adas
%NEW INDUCTION STEP:
275 101 adas
%\[
276 101 adas
%\vliiinf{\pind}{}{!\Gamma, !\nat(t) , \nat (\vec x) \seqar A(t, \vec x) }{!\Gamma , \nat (\vec x) \seqar A(\epsilon, \vec x) }{ !\Gamma, !\nat (a) , \nat (\vec x) , A(a, \vec x) \seqar A(\succ_i a, \vec x) }{!\Gamma, !\nat (a) , \nat (\vec x) , A(a, \vec x) \seqar A(\succ_i a, \vec x)}
277 101 adas
%\]
278 101 adas
%
279 101 adas
%Need to examine strength of this: somewhat weaker since needs actual premiss for base case (only significant because of linear logic), but somewhat stronger because of use of $\nat(\vec x)$ on the left in context.
280 101 adas
%}
281 101 adas
282 101 adas
283 101 adas
\subsection{Provably convergent functions}
284 101 adas
%
285 101 adas
%\anupam{Herbrand-G\"odel equational programs from Kle52, cited in Lei94b.}
286 101 adas
%
287 101 adas
%\anupam{`coherent' programs, defined by Leivant. = consistent so has a model.}
288 101 adas
289 101 adas
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'.
290 101 adas
291 101 adas
\begin{definition}
292 101 adas
	[Equational specifications and convergence]
293 101 adas
	An \emph{equational specification} (ES) is a set of equations between terms. We say that an ES is \emph{coherent} if the equality between any two distinct ground terms cannot be proved by equational logic.
294 101 adas
%	\footnote{This is the quantifier-free fragment of first-order logic with equality and no other predicate symbols.}
295 101 adas
296 101 adas
	The \emph{convergence statement} $\conv (f , \eqspec)$ for an equational specification $\eqspec$ and a function symbol $f$ (that occurs in $\eqspec$) is the following formula:
297 101 adas
	\[
298 101 adas
	\bigotimes_{A \in \eqspec} ! \forall \vec x . A
299 101 adas
	\ \limp \
300 101 adas
	\forall \vec x^{! \word} .  \word (f (\vec x) )
301 101 adas
	\]
302 101 adas
	\end{definition}
303 101 adas
304 101 adas
305 101 adas
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:
306 101 adas
\begin{proposition}
307 101 adas
	\label{prop:eq-spec-model}
308 101 adas
%	For every equational specification $\eqspec$, its universal closure has a model.
309 101 adas
The universal closure of any coherent ES $\eqspec$ has a model satisfying $\basic \cup \ind$.
310 101 adas
\end{proposition}
311 101 adas
312 101 adas
\begin{proof}
313 101 adas
%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
314 101 adas
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$.
315 101 adas
\todo{replace with argument using completeness.}
316 101 adas
\end{proof}
317 101 adas
318 101 adas
	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.
319 101 adas
%	\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.}
320 101 adas
	We avoid this problem by appealing to the deduction theorem and further invertibility arguments:
321 101 adas
322 101 adas
323 101 adas
	Let us write $\closure{\eqspec}$ for the closure of a specification $\eqspec$ under substitution of terms.
324 101 adas
325 101 adas
	\begin{lemma}
326 101 adas
		\label{lemma:spec-norm-form}
327 101 adas
	A system $\system$ proves $\conv (f , \eqspec)$ if and only if $\system \cup \closure{\eqspec}$ proves $!\word (\vec a) \seqar \word ( f (\vec a) )$.
328 101 adas
	\end{lemma}
329 101 adas
	\begin{proof}[Proof sketch]
330 101 adas
		By deduction, Thm.~\ref{thm:deduction}, and invertibility arguments.
331 101 adas
	\end{proof}
332 101 adas
333 101 adas
	Notice that the initial rules from $ \closure{\eqspec}$ are also closed under term substitution, and so compatible with free-cut elimination, and that $\closure{\eqspec}$ and $\word (\vec a) \seqar \word ( f (\vec a) )$ are free of negation and universal quantifiers.
334 101 adas
335 101 adas
336 101 adas
\subsection{$\word$-guarded quantifiers, rules and cut-reduction cases}
337 101 adas
We formulate a quantifier hierarchy here analogous to the arithmetical hierarchy, where each class is closed under positive multiplicative operations.
338 101 adas
339 101 adas
%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.
340 101 adas
%
341 101 adas
%
342 101 adas
\begin{definition}
343 101 adas
[Quantifier hierarchy]
344 101 adas
	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:
345 101 adas
	\begin{itemize}
346 101 adas
		\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$.
347 101 adas
		\item If $A \in \Sigma^\word_i$ then $\exists x^\word . A \in \Sigma^\word_i$.
348 101 adas
		\item If $A \in \Pi^\word_i$ then $\forall x^\word . A \in \Pi^\word_i$.
349 101 adas
		\item If $A,B \in \Sigma^\word_i$ then $A \lor B$ and $A\land B \in \Sigma^\word_i$.
350 101 adas
		\item If $A,B \in \Pi^\word_i$ then $A \lor B$ and $A\land B \in \Pi^\word_i$.
351 101 adas
	\end{itemize}
352 101 adas
	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$.}
353 101 adas
\end{definition}
354 101 adas
355 101 adas
For the remainder of this article we mainly work with the theory $\arith$, i.e.\ $\basic + \cax{\sigone}{\ind}$.
356 101 adas
357 101 adas
\vspace{1em}
358 101 adas
359 101 adas
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.
360 101 adas
361 101 adas
%For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
362 101 adas
%For the quantifiers $\exists x^\word $ and $\forall x^\word$ we
363 101 adas
We define the following rules, which are derivable:
364 101 adas
\[
365 101 adas
\begin{array}{cc}
366 101 adas
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^\word . A(x)}{\Gamma, \word(a) \seqar \Delta , A(a)}
367 101 adas
\quad & \quad
368 101 adas
\vlinf{}{}{\Gamma, \word(t),\forall x^\word A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
369 101 adas
\\
370 101 adas
\noalign{\bigskip}
371 101 adas
\vlinf{}{}{\Gamma , \exists x^\word A(x) \seqar \Delta}{\Gamma, \word(a), A(a) \seqar \Delta}
372 101 adas
\quad &\quad
373 101 adas
\vlinf{}{}{\Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x)}{\Gamma  \seqar \Delta, A(t)}
374 101 adas
\end{array}
375 101 adas
\]
376 101 adas
377 101 adas
%\begin{proposition}
378 101 adas
%	Any principal cut between the quantifier rules above and a logical step is reducible.
379 101 adas
%	\end{proposition}
380 101 adas
\begin{proposition}\label{prop:logicalstepguardedquantifer}
381 101 adas
	Any cut between the principal formula of a quantifier rule above and the principal formula of  a logical step is reducible.
382 101 adas
	\end{proposition}
383 101 adas
\begin{proof}
384 101 adas
 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.
385 101 adas
\end{proof}
386 101 adas
387 101 adas
		\begin{corollary}
388 101 adas
		[Free-cut elimination for guarded quantifiers]
389 101 adas
		  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.
390 101 adas
\end{corollary}
391 101 adas
\begin{proof}
392 101 adas
  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:
393 101 adas
  \begin{itemize}
394 101 adas
  \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,
395 101 adas
  \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}.
396 101 adas
  \end{itemize}
397 101 adas
  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.
398 101 adas
\end{proof}
399 101 adas
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.