Statistiques
| Révision :

root / CSL16 / submitted / arithmetic.tex @ 113

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

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