Statistiques
| Révision :

root / CSL16 / final-version / arithmetic.tex @ 118

Historique | Voir | Annoter | Télécharger (21,42 ko)

1 118 adas
\section{A variant of arithmetic in linear logic}
2 118 adas
\label{sect:arithmetic}
3 118 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 118 adas
5 118 adas
6 118 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 equivalence:
7 118 adas
\(
8 118 adas
!(A\land B) \equiv (!A \land !B)
9 118 adas
\).\footnote{Notice that the right-left direction is already valid in usual linear logic, but the left-right direction requires weakening.}
10 118 adas
11 118 adas
12 118 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 118 adas
14 118 adas
15 118 adas
\newcommand{\lang}{\mathcal L}
16 118 adas
17 118 adas
\subsection{Axiomatisation and an equivalent rule system}
18 118 adas
19 118 adas
%\begin{definition}
20 118 adas
%[Language]
21 118 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 118 adas
%\end{definition}
23 118 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 118 adas
25 118 adas
As an abbreviation, we write $\word (\vec t)$ for $\bigotimes^{|\vec t|}_{i=1} \word(t_i)$.
26 118 adas
27 118 adas
\begin{remark}
28 118 adas
[Interpretation of natural numbers]
29 118 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 118 adas
\end{remark}
31 118 adas
32 118 adas
33 118 adas
The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.
34 118 adas
%\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.}
35 118 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 118 adas
37 118 adas
\newcommand{\wordcntr}{\word_\cntr}
38 118 adas
\newcommand{\natcntr}{\nat_\cntr}
39 118 adas
\newcommand{\geneps}{\word_{\epsilon}}
40 118 adas
\newcommand{\genzer}{\word_{0}}
41 118 adas
\newcommand{\genone}{\word_{1}}
42 118 adas
43 118 adas
44 118 adas
\newcommand{\sepeps}{\epsilon}
45 118 adas
\newcommand{\sepzer}{\succ_{0}}
46 118 adas
\newcommand{\sepone}{\succ_{1}}
47 118 adas
48 118 adas
\newcommand{\inj}{\mathit{inj}}
49 118 adas
\newcommand{\surj}{\mathit{surj}}
50 118 adas
51 118 adas
\newcommand{\basic}{\mathit{BASIC}}
52 118 adas
53 118 adas
\begin{definition}
54 118 adas
[Basic axioms]
55 118 adas
The theory $\basic$ consists of the following axioms:
56 118 adas
\[
57 118 adas
\small
58 118 adas
\begin{array}{rl}
59 118 adas
%\wk & (A \land B )\limp A \\
60 118 adas
%\geneps
61 118 adas
& \word(\epsilon) \\
62 118 adas
%\genzer
63 118 adas
& \forall x^\word . \word(\succ_0 x) \\
64 118 adas
%\genone
65 118 adas
& \forall x^\word . \word(\succ_1 x) \\
66 118 adas
%\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
67 118 adas
%\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
68 118 adas
%\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
69 118 adas
%\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
70 118 adas
%\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
71 118 adas
%\noalign{\smallskip}
72 118 adas
%\wordcntr & \forall x^\word . (\word(x) \land \word(x))
73 118 adas
\end{array}
74 118 adas
%\quad
75 118 adas
\begin{array}{rl}
76 118 adas
%\wk & (A \land B )\limp A \\
77 118 adas
%\geneps & \word(\epsilon) \\
78 118 adas
%\genzer & \forall x^\word . \word(\succ_0 x) \\
79 118 adas
%\genone & \forall x^\word . \word(\succ_1 x) \\
80 118 adas
%\sepeps
81 118 adas
& \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
82 118 adas
%\sepzer
83 118 adas
& \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
84 118 adas
%\sepone
85 118 adas
& \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
86 118 adas
%\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
87 118 adas
%\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
88 118 adas
%\noalign{\smallskip}
89 118 adas
%\wordcntr & \forall x^\word . (\word(x) \land \word(x))
90 118 adas
\end{array}
91 118 adas
%\quad
92 118 adas
\begin{array}{rl}
93 118 adas
%\wk & (A \land B )\limp A \\
94 118 adas
%\geneps & \word(\epsilon) \\
95 118 adas
%\genzer & \forall x^\word . \word(\succ_0 x) \\
96 118 adas
%\genone & \forall x^\word . \word(\succ_1 x) \\
97 118 adas
%\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
98 118 adas
%\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
99 118 adas
%\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
100 118 adas
%\inj
101 118 adas
& \forall x^\word . \succ_0 x \neq \succ_1 x \\
102 118 adas
%\surj
103 118 adas
& \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
104 118 adas
%\noalign{\smallskip}
105 118 adas
%\wordcntr
106 118 adas
& \forall x^\word . (\word(x) \land \word(x))
107 118 adas
\end{array}
108 118 adas
\]
109 118 adas
\end{definition}
110 118 adas
111 118 adas
These axioms insist that, in any model, the set induced by $\word (x)$ has the free algebra $\Word$ as an initial segment.
112 118 adas
Importantly, there is also a form of contraction for the $\word$ predicate.
113 118 adas
We will consider theories over $\basic$ extended by certain induction schemata:
114 118 adas
115 118 adas
\begin{definition}
116 118 adas
[Induction]
117 118 adas
The \emph{length-induction} schema $\ind$ consists of the following axioms,
118 118 adas
\[
119 118 adas
%\begin{array}{rl}
120 118 adas
%& A(\epsilon) \\
121 118 adas
%\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) ) \\
122 118 adas
%\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) ) \\
123 118 adas
%\limp & \forall x^{!\word} . A(x)
124 118 adas
%\end{array}
125 118 adas
A(\epsilon)
126 118 adas
\limp !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) )
127 118 adas
\limp  !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) )
128 118 adas
\limp  \forall x^{!\word} . A(x)
129 118 adas
\]
130 118 adas
for each formula $A(x)$.
131 118 adas
132 118 adas
For a class of formulae $\Xi$, we write $\cax{\Xi}{\ind}$ to denote the set of induction axioms when $A(x) \in \Xi$.
133 118 adas
134 118 adas
We write $I\Xi$ to denote the theory consisting of $\basic$ and $\cax{\Xi}{\ind}$.\footnote{In bounded arithmetic, the notation $I\Xi$ usually refers to a theory including usual induction on formulae of $\Xi$, i.e.\ on the numerical value of a \todo{finish this!}}
135 118 adas
\end{definition}
136 118 adas
137 118 adas
138 118 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.}
139 118 adas
\begin{proposition}
140 118 adas
[Equivalent rules]
141 118 adas
\label{prop:equiv-rules}
142 118 adas
$\basic$ is equivalent to the following set of rules,
143 118 adas
\[
144 118 adas
\small
145 118 adas
\begin{array}{l}
146 118 adas
\begin{array}{cccc}
147 118 adas
\vlinf{\geneps}{}{\seqar \word (\epsilon)}{}&
148 118 adas
\vlinf{\genzer}{}{\word(t) \seqar \word(\succ_0 t)}{}&
149 118 adas
\vlinf{\sepeps_0}{}{ \word (t)   \seqar \epsilon \neq \succ_0 t}{} &
150 118 adas
\vlinf{\sepzer}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}\\
151 118 adas
\vlinf{\inj}{}{\word(t) \seqar\succ_0 t \neq \succ_1 t}{}&
152 118 adas
\vlinf{\genone}{}{\word(t) \seqar \word(\succ_1 t)}{}&
153 118 adas
\vlinf{\sepeps_1}{}{ \word (t)   \seqar \epsilon \neq \succ_1 t }{}&
154 118 adas
\vlinf{\sepone}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
155 118 adas
\end{array}
156 118 adas
\\
157 118 adas
\vlinf{\surj}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word . t = \succ_1 y }{}
158 118 adas
\qquad
159 118 adas
\vlinf{\wordcntr}{}{\word(t) \seqar \word(t) \land \word(t) }{}
160 118 adas
\end{array}
161 118 adas
\]
162 118 adas
%\[
163 118 adas
%\vlinf{}{}{\seqar \word (\epsilon)}{}
164 118 adas
%\quad
165 118 adas
%\vlinf{}{}{\word(t) \seqar \word(\succ_0 t)}{}
166 118 adas
%\quad
167 118 adas
%\vlinf{}{}{\word(t) \seqar \word(\succ_1 t)}{}
168 118 adas
%\qquad \qquad
169 118 adas
%\vlinf{}{}{\word(t) \seqar \word(t) \land \word(t) }{}
170 118 adas
%\]
171 118 adas
%\[
172 118 adas
%\vlinf{}{}{ \word (t)  , \epsilon = \succ_0 t \seqar }{}
173 118 adas
%\quad
174 118 adas
%\vlinf{}{}{ \word (t)  , \epsilon = \succ_1 t \seqar }{}
175 118 adas
%\quad
176 118 adas
%\vlinf{}{}{\word (s) , \word (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
177 118 adas
%\quad
178 118 adas
%\vlinf{}{}{\word (s) , \word (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
179 118 adas
%\]
180 118 adas
%\[
181 118 adas
%\vlinf{}{}{\word(t), \succ_0 t = \succ_1 t \seqar}{}
182 118 adas
%\quad
183 118 adas
%\vlinf{}{}{\word (t) \seqar t = \epsilon \laor \exists y^\word . t = \succ_0 y \laor \exists y^\word . t = \succ_1 y }{}
184 118 adas
%\]
185 118 adas
%\vspace{1em}
186 118 adas
and $\ind$ is equivalent to,
187 118 adas
\begin{equation}
188 118 adas
\label{eqn:ind-rul}
189 118 adas
\small
190 118 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  }
191 118 adas
\end{equation}
192 118 adas
%\[
193 118 adas
%\small
194 118 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  }
195 118 adas
%\]
196 118 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.
197 118 adas
\end{proposition}
198 118 adas
199 118 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.
200 118 adas
201 118 adas
202 118 adas
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.
203 118 adas
204 118 adas
\begin{remark}
205 118 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.}
206 118 adas
Usually the induction rule is also equivalent to a formulation with a designated premise for the base case:
207 118 adas
\begin{equation}
208 118 adas
\label{eqn:ind-rul-base-prem}
209 118 adas
\small
210 118 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  }
211 118 adas
\end{equation}
212 118 adas
However,
213 118 adas
%but
214 118 adas
this is not true in the linear logic setting since the proof that \eqref{eqn:ind-rul-base-prem} simulates \eqref{eqn:ind-rul} above 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.
215 118 adas
\end{remark}
216 118 adas
217 118 adas
%
218 118 adas
%\subsection{Equivalent rule systems}
219 118 adas
%Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
220 118 adas
%
221 118 adas
%\[
222 118 adas
%\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
223 118 adas
%\quad
224 118 adas
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
225 118 adas
%\quad
226 118 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  }
227 118 adas
%\]
228 118 adas
%
229 118 adas
%\todo{provable equivalence, if necessary.}
230 118 adas
%
231 118 adas
%The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
232 118 adas
%
233 118 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:
234 118 adas
%\[
235 118 adas
%\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
236 118 adas
%\quad
237 118 adas
%\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
238 118 adas
%\quad
239 118 adas
%\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
240 118 adas
%\quad
241 118 adas
%\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
242 118 adas
%\]
243 118 adas
%\[
244 118 adas
%\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
245 118 adas
%\quad
246 118 adas
%\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
247 118 adas
%\quad
248 118 adas
%\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
249 118 adas
%\quad
250 118 adas
%\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
251 118 adas
%\]
252 118 adas
%\[
253 118 adas
%\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
254 118 adas
%\quad
255 118 adas
%\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
256 118 adas
%\]
257 118 adas
%%in place of their corresponding axioms.
258 118 adas
%
259 118 adas
%%\todo{in existential above, is there a prenexing problem?}
260 118 adas
%
261 118 adas
%
262 118 adas
%\anupam{
263 118 adas
%NEW INDUCTION STEP:
264 118 adas
%\[
265 118 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)}
266 118 adas
%\]
267 118 adas
%
268 118 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.
269 118 adas
%}
270 118 adas
271 118 adas
272 118 adas
\subsection{Provably convergent functions}
273 118 adas
%
274 118 adas
%\anupam{Herbrand-G\"odel equational programs from Kle52, cited in Lei94b.}
275 118 adas
%
276 118 adas
%\anupam{`coherent' programs, defined by Leivant. = consistent so has a model.}
277 118 adas
278 118 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 convergent function'.
279 118 adas
280 118 adas
\begin{definition}
281 118 adas
	[Equational specifications and convergence]
282 118 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.
283 118 adas
%	\footnote{This is the quantifier-free fragment of first-order logic with equality and no other predicate symbols.}
284 118 adas
285 118 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:
286 118 adas
	\[
287 118 adas
	\bigotimes_{A \in \eqspec} ! \forall \vec x . A
288 118 adas
	\ \limp \
289 118 adas
	\forall \vec x^{! \word} .  \word (f (\vec x) )
290 118 adas
	\]
291 118 adas
	\end{definition}
292 118 adas
293 118 adas
294 118 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 which is also essentially in \cite{Leivant94:found-delin-ptime}:
295 118 adas
\begin{proposition}
296 118 adas
	\label{prop:eq-spec-model}
297 118 adas
%	For every equational specification $\eqspec$, its universal closure has a model.
298 118 adas
The universal closure of any coherent ES $\eqspec$ has a model satisfying $\basic + \ind$.
299 118 adas
\end{proposition}
300 118 adas
301 118 adas
%\begin{proof}
302 118 adas
%%\todo{ take $\Word \cup \{\bot\}$ or use completeness? Omit if no time. }
303 118 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$.
304 118 adas
%\todo{replace with argument using completeness.}
305 118 adas
%\end{proof}
306 118 adas
307 118 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.
308 118 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.}
309 118 adas
	We avoid this problem by appealing to the deduction theorem and further invertibility arguments:
310 118 adas
311 118 adas
312 118 adas
	Let us write $\closure{\eqspec}$ for the closure of a specification $\eqspec$ under substitution of terms for free variables.
313 118 adas
314 118 adas
	\begin{lemma}
315 118 adas
		\label{lemma:spec-norm-form}
316 118 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) )$.
317 118 adas
	\end{lemma}
318 118 adas
	\begin{proof}[Proof sketch]
319 118 adas
		By deduction, Thm.~\ref{thm:deduction}, and invertibility arguments.
320 118 adas
	\end{proof}
321 118 adas
322 118 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.
323 118 adas
324 118 adas
325 118 adas
\subsection{$\word$-guarded quantifiers, rules and cut-reduction cases}
326 118 adas
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:
327 118 adas
328 118 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.
329 118 adas
%
330 118 adas
%
331 118 adas
\begin{definition}
332 118 adas
%[Quantifier hierarchy]
333 118 adas
	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$.}
334 118 adas
	The class $\sigone$ is the closure of $\sigzer$ by $\exists$, $\lor$ and $\land$.
335 118 adas
%	For $i> 0$ we define $\Sigma^\word_i$ and $\Pi^\word_i$ as follows:
336 118 adas
%	\begin{itemize}
337 118 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$.
338 118 adas
%		\item If $A \in \Sigma^\word_i$ then $\exists x^\word . A \in \Sigma^\word_i$.
339 118 adas
%		\item If $A \in \Pi^\word_i$ then $\forall x^\word . A \in \Pi^\word_i$.
340 118 adas
%		\item If $A,B \in \Sigma^\word_i$ then $A \lor B$ and $A\land B \in \Sigma^\word_i$.
341 118 adas
%		\item If $A,B \in \Pi^\word_i$ then $A \lor B$ and $A\land B \in \Pi^\word_i$.
342 118 adas
%	\end{itemize}
343 118 adas
%	We add $+$ in superscript to a class to restrict it to formulae where $\word$ occurs in only positive context.
344 118 adas
\end{definition}
345 118 adas
346 118 adas
For the remainder of this article we mainly work with the theory $\arith$, i.e.\ $\basic + \cax{\sigone}{\ind}$.
347 118 adas
348 118 adas
%\vspace{1em}
349 118 adas
350 118 adas
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}.
351 118 adas
%To this end we introduce rules for these guarded quantifiers and show that they are compatible with free-cut elimination.
352 118 adas
%
353 118 adas
%For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
354 118 adas
%For the quantifiers $\exists x^\word $ and $\forall x^\word$ we
355 118 adas
Therefore we define the following rules, which are already derivable:
356 118 adas
\[
357 118 adas
%\begin{array}{cc}
358 118 adas
%\vlinf{}{}{\Gamma \seqar \Delta, \forall x^\word . A(x)}{\Gamma, \word(a) \seqar \Delta , A(a)}
359 118 adas
%\quad & \quad
360 118 adas
%\vlinf{}{}{\Gamma, \word(t),\forall x^\word A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
361 118 adas
%\\
362 118 adas
%\noalign{\bigskip}
363 118 adas
%\vlinf{}{}{\Gamma , \exists x^\word A(x) \seqar \Delta}{\Gamma, \word(a), A(a) \seqar \Delta}
364 118 adas
%\quad &\quad
365 118 adas
%\vlinf{}{}{\Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x)}{\Gamma  \seqar \Delta, A(t)}
366 118 adas
%\end{array}
367 118 adas
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^\word . A(x)}{\Gamma, \word(a) \seqar \Delta , A(a)}
368 118 adas
\quad
369 118 adas
\vlinf{}{}{\Gamma, \word(t),\forall x^\word A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
370 118 adas
\quad
371 118 adas
\vlinf{}{}{\Gamma , \exists x^\word A(x) \seqar \Delta}{\Gamma, \word(a), A(a) \seqar \Delta}
372 118 adas
\quad
373 118 adas
\vlinf{}{}{\Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x)}{\Gamma  \seqar \Delta, A(t)}
374 118 adas
\]
375 118 adas
376 118 adas
%\begin{proposition}
377 118 adas
%	Any principal cut between the quantifier rules above and a logical step is reducible.
378 118 adas
%	\end{proposition}
379 118 adas
380 118 adas
We now show that these rules are compatible with free-cut elimination.
381 118 adas
382 118 adas
\begin{proposition}\label{prop:logicalstepguardedquantifer}
383 118 adas
	Any cut between the principal formula of a quantifier rule above and the principal formula of  a logical step is reducible.
384 118 adas
	\end{proposition}
385 118 adas
\begin{proof}
386 118 adas
 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.
387 118 adas
\end{proof}
388 118 adas
389 118 adas
		\begin{corollary}
390 118 adas
		[Free-cut elimination for guarded quantifiers]
391 118 adas
		\label{cor:free-cut-elim-guarded-quants}
392 118 adas
		  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.
393 118 adas
\end{corollary}
394 118 adas
%\begin{proof}
395 118 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:
396 118 adas
%  \begin{itemize}
397 118 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,
398 118 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}.
399 118 adas
%  \end{itemize}
400 118 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.
401 118 adas
%\end{proof}
402 118 adas
403 118 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.