Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 108

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

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