Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 56

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

1
\section{A variant of arithmetic in linear logic}
2

    
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

    
5

    
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
\[
8
!(A\land B) \equiv (!A \land !B)
9
\]
10
Notice that the right-left direction is already valid in usual linear logic, but the left-right direction requires weakening.
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 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
\end{definition}
23

    
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

    
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}
30

    
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.
35

    
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}}
41

    
42

    
43
\newcommand{\sepeps}{\epsilon}
44
\newcommand{\sepzer}{\succ_{0}}
45
\newcommand{\sepone}{\succ_{1}}
46

    
47
\newcommand{\inj}{\mathit{inj}}
48
\newcommand{\surj}{\mathit{surj}}
49

    
50
\newcommand{\basic}{\mathit{BASIC}}
51

    
52
\begin{definition}
53
[Basic axioms]
54
The theory $\basic$ consists of the following axioms:
55
\[
56
\begin{array}{rl}
57
%\wk & (A \land B )\limp A \\
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)) 
68
\end{array}
69
\]
70
\end{definition}
71

    
72
\begin{definition}
73
[Induction]
74
The induction schema, denoted $\ind$, consists of the following schema,
75
\[
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}
82
\]
83
for each formula $A(x)$.
84

    
85
For a class of formulae $\Xi$, we write $\cax{\Xi}{\ind}$ to denote the set of induction axioms when $A(x) \in \Xi$. 
86

    
87
We write $I\Xi$ to denote the theory consisting of $\basic$ and $\cax{\Xi}{\ind}$.
88
\end{definition}
89

    
90
\begin{proposition}
91
[Equivalent rules]
92
$\basic$ is equivalent to the following set of rules,
93
\[
94
\vlinf{}{}{\seqar \nat (\epsilon)}{}
95
\quad
96
\vlinf{}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
97
\quad
98
\vlinf{}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
99
\qquad \qquad 
100
\vlinf{}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
101
\]
102
\[
103
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{} 
104
\quad
105
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
106
\quad
107
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
108
\quad
109
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
110
\]
111
\[
112
\vlinf{}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
113
\quad
114
\vlinf{}{}{\nat (t) \seqar t = \epsilon \laor \exists y^\nat . t = \succ_0 y \laor \exists y^\nat . t = \succ_1 y }{}
115
\]
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_1 a) , ?\Delta  }
120
\]
121
where, in all cases, $t$ varies over arbitrary terms.
122
\end{proposition}
123

    
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.
127

    
128
Let us assume the induction axiom and derive the rule.
129

    
130
\todo{}
131
\end{proof}
132

    
133
Notice, in particular, that for the 
134

    
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
%}
188

    
189

    
190

    
191
\subsection{$\nat$-hierarchy}
192

    
193
\begin{definition}
194
	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
	
196
	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
	\begin{itemize}
198
		\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
		\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$.
200
		\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$.
201
		\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$.
202
		\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$.
203
	\end{itemize}
204
\end{definition}
205

    
206

    
207

    
208

    
209

    
210

    
211
For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
212

    
213
\[
214
\begin{array}{cc}
215
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
216
\quad & \quad
217
\vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
218
\\
219
\noalign{\bigskip}
220
\vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
221
\quad &\quad 
222
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma  \seqar \Delta, A(t)}
223
\end{array}
224
\]