Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 88

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

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