Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 56

Historique | Voir | Annoter | Télécharger (9,43 ko)

1 47 adas
\section{A variant of arithmetic in linear logic}
2 33 adas
3 53 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 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 47 adas
5 47 adas
6 54 adas
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 33 adas
\[
8 33 adas
!(A\land B) \equiv (!A \land !B)
9 33 adas
\]
10 53 adas
Notice that the right-left direction is already valid in usual linear logic, but the left-right direction requires weakening.
11 33 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 53 adas
\begin{definition}
20 53 adas
[Language]
21 53 adas
We define the language $\lang$ consisting of the constant symbol $\epsilon$, unary function symbols $\succ_0 , \succ_1$ and the predicate symbol  $\word$, together with countably many function symbols $f,g,h$ etc.
22 53 adas
\end{definition}
23 53 adas
24 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).
25 53 adas
26 54 adas
\begin{remark}
27 54 adas
[Interpretation of natural numbers]
28 54 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 the following axiomatisations as theories over $\Nat^+$.
29 54 adas
\end{remark}
30 53 adas
31 53 adas
32 54 adas
The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.
33 54 adas
%\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.}
34 54 adas
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.
35 53 adas
36 54 adas
\newcommand{\wordcntr}{\word_\cntr}
37 54 adas
\newcommand{\natcntr}{\nat_\cntr}
38 54 adas
\newcommand{\geneps}{\word_{\epsilon}}
39 54 adas
\newcommand{\genzer}{\word_{0}}
40 54 adas
\newcommand{\genone}{\word_{1}}
41 33 adas
42 33 adas
43 33 adas
\newcommand{\sepeps}{\epsilon}
44 33 adas
\newcommand{\sepzer}{\succ_{0}}
45 33 adas
\newcommand{\sepone}{\succ_{1}}
46 33 adas
47 33 adas
\newcommand{\inj}{\mathit{inj}}
48 33 adas
\newcommand{\surj}{\mathit{surj}}
49 33 adas
50 53 adas
\newcommand{\basic}{\mathit{BASIC}}
51 53 adas
52 33 adas
\begin{definition}
53 53 adas
[Basic axioms]
54 53 adas
The theory $\basic$ consists of the following axioms:
55 33 adas
\[
56 33 adas
\begin{array}{rl}
57 53 adas
%\wk & (A \land B )\limp A \\
58 54 adas
\geneps & \word(\epsilon) \\
59 54 adas
\genzer & \forall x^\word . \word(\succ_0 x) \\
60 54 adas
\genone & \forall x^\word . \word(\succ_1 x) \\
61 54 adas
\sepeps & \forall x^\word . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
62 54 adas
\sepzer & \forall x^\word , y^\word. ( \succ_0 x = \succ_0 y \limp x=y ) \\
63 54 adas
\sepone & \forall x^\word , y^\word. ( \succ_1 x = \succ_1 y \limp x=y ) \\
64 54 adas
\inj & \forall x^\word . \succ_0 x \neq \succ_1 x \\
65 54 adas
\surj & \forall x^\word . (x = \epsilon \laor \exists y^\word . x = \succ_0 y \laor \exists y^\word . x = \succ_1 y ) \\
66 54 adas
\noalign{\smallskip}
67 54 adas
\wordcntr & \forall x^\word . (\word(x) \land \word(x))
68 33 adas
\end{array}
69 33 adas
\]
70 54 adas
\end{definition}
71 33 adas
72 54 adas
\begin{definition}
73 54 adas
[Induction]
74 54 adas
The induction schema, denoted $\ind$, consists of the following schema,
75 33 adas
\[
76 54 adas
\begin{array}{rl}
77 54 adas
& A(\epsilon) \\
78 54 adas
\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_0 x) ) ) \\
79 54 adas
\limp & !(\forall x^{!\word} . ( A(x) \limp A(\succ_1 x) ) ) \\
80 54 adas
\limp & \forall x^{!\word} . A(x)
81 54 adas
\end{array}
82 33 adas
\]
83 54 adas
for each formula $A(x)$.
84 33 adas
85 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$.
86 33 adas
87 54 adas
We write $I\Xi$ to denote the theory consisting of $\basic$ and $\cax{\Xi}{\ind}$.
88 54 adas
\end{definition}
89 34 adas
90 54 adas
\begin{proposition}
91 54 adas
[Equivalent rules]
92 54 adas
$\basic$ is equivalent to the following set of rules,
93 34 adas
\[
94 54 adas
\vlinf{}{}{\seqar \nat (\epsilon)}{}
95 39 adas
\quad
96 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
97 34 adas
\quad
98 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
99 54 adas
\qquad \qquad
100 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
101 34 adas
\]
102 39 adas
\[
103 54 adas
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
104 39 adas
\quad
105 54 adas
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
106 39 adas
\quad
107 54 adas
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
108 39 adas
\quad
109 54 adas
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
110 39 adas
\]
111 39 adas
\[
112 54 adas
\vlinf{}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
113 39 adas
\quad
114 54 adas
\vlinf{}{}{\nat (t) \seqar t = \epsilon \laor \exists y^\nat . t = \succ_0 y \laor \exists y^\nat . t = \succ_1 y }{}
115 39 adas
\]
116 54 adas
\vspace{1em}
117 54 adas
and $\ind$ is equivalent to,
118 54 adas
\[
119 55 pbaillot
\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_1 a) , ?\Delta  }
120 54 adas
\]
121 54 adas
where, in all cases, $t$ varies over arbitrary terms.
122 54 adas
\end{proposition}
123 34 adas
124 54 adas
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 54 adas
\begin{proof}
126 54 adas
We give only the case for induction, the others being routine.
127 34 adas
128 54 adas
Let us assume the induction axiom and derive the rule.
129 34 adas
130 54 adas
\todo{}
131 54 adas
\end{proof}
132 39 adas
133 54 adas
Notice, in particular, that for the
134 43 adas
135 54 adas
%
136 54 adas
%\subsection{Equivalent rule systems}
137 54 adas
%Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
138 54 adas
%
139 54 adas
%\[
140 54 adas
%\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
141 54 adas
%\quad
142 54 adas
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
143 54 adas
%\quad
144 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  }
145 54 adas
%\]
146 54 adas
%
147 54 adas
%\todo{provable equivalence, if necessary.}
148 54 adas
%
149 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.
150 54 adas
%
151 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:
152 54 adas
%\[
153 54 adas
%\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
154 54 adas
%\quad
155 54 adas
%\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
156 54 adas
%\quad
157 54 adas
%\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
158 54 adas
%\quad
159 54 adas
%\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
160 54 adas
%\]
161 54 adas
%\[
162 54 adas
%\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
163 54 adas
%\quad
164 54 adas
%\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
165 54 adas
%\quad
166 54 adas
%\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
167 54 adas
%\quad
168 54 adas
%\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
169 54 adas
%\]
170 54 adas
%\[
171 54 adas
%\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
172 54 adas
%\quad
173 54 adas
%\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
174 54 adas
%\]
175 54 adas
%%in place of their corresponding axioms.
176 54 adas
%
177 54 adas
%%\todo{in existential above, is there a prenexing problem?}
178 54 adas
%
179 54 adas
%
180 54 adas
%\anupam{
181 54 adas
%NEW INDUCTION STEP:
182 54 adas
%\[
183 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)}
184 54 adas
%\]
185 54 adas
%
186 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.
187 54 adas
%}
188 33 adas
189 54 adas
190 54 adas
191 33 adas
\subsection{$\nat$-hierarchy}
192 33 adas
193 33 adas
\begin{definition}
194 34 adas
	Let us define the quantifiers $\exists x^\nat . A$ and $\forall x^\nat . A$ as $\exists x . (\nat(x) \land A)$ and $\forall x . (\nat (x) \limp A) $ respectively.
195 33 adas
196 34 adas
	We define $\Sigma^N_0 = \Pi^N_0 $ as the class of formulae that are free of quantifiers. For $i> 0$ we define $\Sigma^\nat_i$ and $\Pi^\nat_i$ as follows:
197 33 adas
	\begin{itemize}
198 34 adas
		\item If $A \in \Sigma^\nat_{i-1} \cup \Pi^\nat_{i-1}$ then $A \in \Sigma^\nat_i$ and $A \in \Pi^\nat_i$.
199 34 adas
		\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$.
200 34 adas
		\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$.
201 34 adas
		\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$.
202 34 adas
		\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$.
203 33 adas
	\end{itemize}
204 33 adas
\end{definition}
205 33 adas
206 33 adas
207 33 adas
208 33 adas
209 34 adas
210 34 adas
211 33 adas
For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
212 33 adas
213 33 adas
\[
214 33 adas
\begin{array}{cc}
215 33 adas
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
216 33 adas
\quad & \quad
217 33 adas
\vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
218 33 adas
\\
219 33 adas
\noalign{\bigskip}
220 33 adas
\vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
221 33 adas
\quad &\quad
222 33 adas
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma  \seqar \Delta, A(t)}
223 33 adas
\end{array}
224 33 adas
\]