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