| 3 |
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 initial rules 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 later sections. We also make use free variables and the structural delimiters of the sequent calculus to control the logical complexity of nonlogical rules.
|
| 4 |
4 |
|
| 5 |
5 |
|
| 6 |
|
We 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 has not much effect on complexity while also creating a more robust proof theory. For example it induces the following equivalence:
|
|
6 |
Henceforth, 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 has not much effect on complexity while also creating a more robust proof theory. For example it induces the following equivalence:
|
| 7 |
7 |
\[
|
| 8 |
8 |
!(A\land B) \equiv (!A \land !B)
|
| 9 |
9 |
\]
|
| ... | ... | |
| 14 |
14 |
|
| 15 |
15 |
\newcommand{\lang}{\mathcal L}
|
| 16 |
16 |
|
| 17 |
|
\subsection{Logical setting and basic axioms}
|
|
17 |
\subsection{Axiomatisation and an equivalent rule system}
|
| 18 |
18 |
|
| 19 |
19 |
\begin{definition}
|
| 20 |
20 |
[Language]
|
| ... | ... | |
| 23 |
23 |
|
| 24 |
24 |
$\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).
|
| 25 |
25 |
|
|
26 |
\begin{remark}
|
|
27 |
[Interpretation of natural numbers]
|
|
28 |
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 the following axiomatisations as theories over $\Nat^+$.
|
|
29 |
\end{remark}
|
| 26 |
30 |
|
| 27 |
|
The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.} They insist that, in any model, the set induced by $\word (x)$ has the free algebra $\Word$ as an initial segment.
|
| 28 |
31 |
|
|
32 |
The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.
|
|
33 |
%\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.}
|
|
34 |
They insist that, in any model, the set induced by $\word (x)$ has the free algebra $\Word$ as an initial segment. We also have a designated contraction rule for the $\word$ predicate.
|
| 29 |
35 |
|
| 30 |
|
\newcommand{\natcntr}{\nat_\mathit{cntr}}
|
| 31 |
|
\newcommand{\geneps}{\nat_{\epsilon}}
|
| 32 |
|
\newcommand{\genzer}{\nat_{0}}
|
| 33 |
|
\newcommand{\genone}{\nat_{1}}
|
|
36 |
\newcommand{\wordcntr}{\word_\cntr}
|
|
37 |
\newcommand{\natcntr}{\nat_\cntr}
|
|
38 |
\newcommand{\geneps}{\word_{\epsilon}}
|
|
39 |
\newcommand{\genzer}{\word_{0}}
|
|
40 |
\newcommand{\genone}{\word_{1}}
|
| 34 |
41 |
|
| 35 |
42 |
|
| 36 |
43 |
\newcommand{\sepeps}{\epsilon}
|
| ... | ... | |
| 48 |
55 |
\[
|
| 49 |
56 |
\begin{array}{rl}
|
| 50 |
57 |
%\wk & (A \land B )\limp A \\
|
| 51 |
|
\natcntr & \forall x^N . (N(x) \land N(x)) \\
|
| 52 |
|
\geneps & \nat(\epsilon) \\
|
| 53 |
|
\genzer & \forall x^N . N(\succ_0 x) \\
|
| 54 |
|
\genone & \forall x^N . N(\succ_1 x) \\
|
| 55 |
|
\sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
|
| 56 |
|
\sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\
|
| 57 |
|
\sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\
|
| 58 |
|
\inj & \forall x^N . \succ_0 x \neq \succ_1 x \\
|
| 59 |
|
\surj & \forall x^N . (x = \epsilon \laor \exists y^N . x = \succ_0 y \laor \exists y^N . x = \succ_1 y ) \\
|
| 60 |
|
\noalign{\bigskip}
|
| 61 |
|
\ind & A(\epsilon) \limp !( \forall x^{!\nat} . ( A(x) \limp A(\succ_0 x) ) ) \limp !( \forall x^{!\nat} . ( A(x) \limp A(\succ_1 x) ) ) \limp \forall x^{!\nat} . A(x)
|
|
58 |
\geneps & \word(\epsilon) \\
|
|
59 |
\genzer & \forall x^\word . \word(\succ_0 x) \\
|
|
60 |
\genone & \forall x^\word . \word(\succ_1 x) \\
|
|
61 |
\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
|
|
62 |
\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
|
|
63 |
\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
|
|
64 |
\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
|
|
65 |
\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
|
|
66 |
\noalign{\smallskip}
|
|
67 |
\wordcntr & \forall x^\word . (\word(x) \land \word(x))
|
| 62 |
68 |
\end{array}
|
| 63 |
69 |
\]
|
|
70 |
\end{definition}
|
| 64 |
71 |
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
\subsection{Equivalent rule systems}
|
| 68 |
|
Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
|
| 69 |
|
|
|
72 |
\begin{definition}
|
|
73 |
[Induction]
|
|
74 |
The induction schema, denoted $\ind$, consists of the following schema,
|
| 70 |
75 |
\[
|
| 71 |
|
\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
|
| 72 |
|
\quad
|
| 73 |
|
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
|
| 74 |
|
\quad
|
| 75 |
|
\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 }
|
|
76 |
\begin{array}{rl}
|
|
77 |
& A(\epsilon) \\
|
|
78 |
\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) ) \\
|
|
79 |
\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) ) \\
|
|
80 |
\limp & \forall x^{!\word} . A(x)
|
|
81 |
\end{array}
|
| 76 |
82 |
\]
|
|
83 |
for each formula $A(x)$.
|
| 77 |
84 |
|
| 78 |
|
\todo{provable equivalence, if necessary.}
|
|
85 |
For a class of formulae $\Xi$, we write $\cax{\Xi}{\ind}$ to denote the set of induction axioms when $A(x) \in \Xi$.
|
| 79 |
86 |
|
| 80 |
|
The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
|
|
87 |
We write $I\Xi$ to denote the theory consisting of $\basic$ and $\cax{\Xi}{\ind}$.
|
|
88 |
\end{definition}
|
| 81 |
89 |
|
| 82 |
|
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:
|
|
90 |
\begin{proposition}
|
|
91 |
[Equivalent rules]
|
|
92 |
$\basic$ is equivalent to the following set of rules,
|
| 83 |
93 |
\[
|
| 84 |
|
\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
|
|
94 |
\vlinf{}{}{\seqar \nat (\epsilon)}{}
|
| 85 |
95 |
\quad
|
| 86 |
|
\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
|
|
96 |
\vlinf{}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
|
| 87 |
97 |
\quad
|
| 88 |
|
\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
|
| 89 |
|
\quad
|
| 90 |
|
\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
|
|
98 |
\vlinf{}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
|
|
99 |
\qquad \qquad
|
|
100 |
\vlinf{}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
|
| 91 |
101 |
\]
|
| 92 |
102 |
\[
|
| 93 |
|
\vlinf{\epsilon^0}{}{ \nat (t) , \epsilon = \succ_0 t \seqar }{}
|
|
103 |
\vlinf{}{}{ \nat (t) , \epsilon = \succ_0 t \seqar }{}
|
| 94 |
104 |
\quad
|
| 95 |
|
\vlinf{\epsilon^1}{}{ \nat (t) , \epsilon = \succ_1 t \seqar }{}
|
|
105 |
\vlinf{}{}{ \nat (t) , \epsilon = \succ_1 t \seqar }{}
|
| 96 |
106 |
\quad
|
| 97 |
|
\vlinf{\succ_0}{}{\nat (s) , \nat (t) , \succ_0 s = \succ_0 t\seqar s = t }{}
|
|
107 |
\vlinf{}{}{\nat (s) , \nat (t) , \succ_0 s = \succ_0 t\seqar s = t }{}
|
| 98 |
108 |
\quad
|
| 99 |
|
\vlinf{\succ_1}{}{\nat (s) , \nat (t) , \succ_1 s = \succ_1 t\seqar s = t }{}
|
|
109 |
\vlinf{}{}{\nat (s) , \nat (t) , \succ_1 s = \succ_1 t\seqar s = t }{}
|
| 100 |
110 |
\]
|
| 101 |
111 |
\[
|
| 102 |
|
\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
|
|
112 |
\vlinf{}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
|
| 103 |
113 |
\quad
|
| 104 |
|
\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
|
|
114 |
\vlinf{}{}{\nat (t) \seqar t = \epsilon \laor \exists y^\nat . t = \succ_0 y \laor \exists y^\nat . t = \succ_1 y }{}
|
| 105 |
115 |
\]
|
| 106 |
|
%in place of their corresponding axioms.
|
|
116 |
\vspace{1em}
|
|
117 |
and $\ind$ is equivalent to,
|
|
118 |
\[
|
|
119 |
\vliinf{}{}{ !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 }
|
|
120 |
\]
|
|
121 |
where, in all cases, $t$ varies over arbitrary terms.
|
|
122 |
\end{proposition}
|
| 107 |
123 |
|
| 108 |
|
%\todo{in existential above, is there a prenexing problem?}
|
|
124 |
Note, in particular, that since this set of rules is closed under substitution of terms for free variables, free-cut elimination, Thm.~\ref{thm:free-cut-elim}, applies.
|
|
125 |
\begin{proof}
|
|
126 |
We give only the case for induction, the others being routine.
|
| 109 |
127 |
|
|
128 |
Let us assume the induction axiom and derive the rule.
|
| 110 |
129 |
|
| 111 |
|
\anupam{
|
| 112 |
|
NEW INDUCTION STEP:
|
| 113 |
|
\[
|
| 114 |
|
\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)}
|
| 115 |
|
\]
|
|
130 |
\todo{}
|
|
131 |
\end{proof}
|
| 116 |
132 |
|
| 117 |
|
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.
|
| 118 |
|
}
|
|
133 |
Notice, in particular, that for the
|
| 119 |
134 |
|
| 120 |
|
\end{definition}
|
|
135 |
%
|
|
136 |
%\subsection{Equivalent rule systems}
|
|
137 |
%Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
|
|
138 |
%
|
|
139 |
%\[
|
|
140 |
%\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
|
|
141 |
%\quad
|
|
142 |
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
|
|
143 |
%\quad
|
|
144 |
%\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 }
|
|
145 |
%\]
|
|
146 |
%
|
|
147 |
%\todo{provable equivalence, if necessary.}
|
|
148 |
%
|
|
149 |
%The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
|
|
150 |
%
|
|
151 |
%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:
|
|
152 |
%\[
|
|
153 |
%\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
|
|
154 |
%\quad
|
|
155 |
%\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
|
|
156 |
%\quad
|
|
157 |
%\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
|
|
158 |
%\quad
|
|
159 |
%\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
|
|
160 |
%\]
|
|
161 |
%\[
|
|
162 |
%\vlinf{\epsilon^0}{}{ \nat (t) , \epsilon = \succ_0 t \seqar }{}
|
|
163 |
%\quad
|
|
164 |
%\vlinf{\epsilon^1}{}{ \nat (t) , \epsilon = \succ_1 t \seqar }{}
|
|
165 |
%\quad
|
|
166 |
%\vlinf{\succ_0}{}{\nat (s) , \nat (t) , \succ_0 s = \succ_0 t\seqar s = t }{}
|
|
167 |
%\quad
|
|
168 |
%\vlinf{\succ_1}{}{\nat (s) , \nat (t) , \succ_1 s = \succ_1 t\seqar s = t }{}
|
|
169 |
%\]
|
|
170 |
%\[
|
|
171 |
%\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
|
|
172 |
%\quad
|
|
173 |
%\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
|
|
174 |
%\]
|
|
175 |
%%in place of their corresponding axioms.
|
|
176 |
%
|
|
177 |
%%\todo{in existential above, is there a prenexing problem?}
|
|
178 |
%
|
|
179 |
%
|
|
180 |
%\anupam{
|
|
181 |
%NEW INDUCTION STEP:
|
|
182 |
%\[
|
|
183 |
%\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)}
|
|
184 |
%\]
|
|
185 |
%
|
|
186 |
%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.
|
|
187 |
%}
|
| 121 |
188 |
|
|
189 |
|
|
190 |
|
| 122 |
191 |
\subsection{$\nat$-hierarchy}
|
| 123 |
192 |
|
| 124 |
193 |
\begin{definition}
|