Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 94

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