Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 59

Historique | Voir | Annoter | Télécharger (10,13 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 59 adas
91 59 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.}
92 54 adas
\begin{proposition}
93 54 adas
[Equivalent rules]
94 54 adas
$\basic$ is equivalent to the following set of rules,
95 34 adas
\[
96 54 adas
\vlinf{}{}{\seqar \nat (\epsilon)}{}
97 39 adas
\quad
98 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
99 34 adas
\quad
100 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
101 54 adas
\qquad \qquad
102 54 adas
\vlinf{}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
103 34 adas
\]
104 39 adas
\[
105 54 adas
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
106 39 adas
\quad
107 54 adas
\vlinf{}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
108 39 adas
\quad
109 54 adas
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
110 39 adas
\quad
111 54 adas
\vlinf{}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
112 39 adas
\]
113 39 adas
\[
114 54 adas
\vlinf{}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
115 39 adas
\quad
116 54 adas
\vlinf{}{}{\nat (t) \seqar t = \epsilon \laor \exists y^\nat . t = \succ_0 y \laor \exists y^\nat . t = \succ_1 y }{}
117 39 adas
\]
118 54 adas
\vspace{1em}
119 54 adas
and $\ind$ is equivalent to,
120 54 adas
\[
121 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  }
122 54 adas
\]
123 54 adas
where, in all cases, $t$ varies over arbitrary terms.
124 54 adas
\end{proposition}
125 34 adas
126 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.
127 54 adas
\begin{proof}
128 54 adas
We give only the case for induction, the others being routine.
129 34 adas
130 54 adas
Let us assume the induction axiom and derive the rule.
131 34 adas
132 54 adas
\todo{}
133 54 adas
\end{proof}
134 39 adas
135 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.
136 43 adas
137 54 adas
%
138 54 adas
%\subsection{Equivalent rule systems}
139 54 adas
%Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
140 54 adas
%
141 54 adas
%\[
142 54 adas
%\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
143 54 adas
%\quad
144 54 adas
%\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
145 54 adas
%\quad
146 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  }
147 54 adas
%\]
148 54 adas
%
149 54 adas
%\todo{provable equivalence, if necessary.}
150 54 adas
%
151 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.
152 54 adas
%
153 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:
154 54 adas
%\[
155 54 adas
%\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
156 54 adas
%\quad
157 54 adas
%\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
158 54 adas
%\quad
159 54 adas
%\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
160 54 adas
%\quad
161 54 adas
%\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
162 54 adas
%\]
163 54 adas
%\[
164 54 adas
%\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{}
165 54 adas
%\quad
166 54 adas
%\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
167 54 adas
%\quad
168 54 adas
%\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
169 54 adas
%\quad
170 54 adas
%\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
171 54 adas
%\]
172 54 adas
%\[
173 54 adas
%\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
174 54 adas
%\quad
175 54 adas
%\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
176 54 adas
%\]
177 54 adas
%%in place of their corresponding axioms.
178 54 adas
%
179 54 adas
%%\todo{in existential above, is there a prenexing problem?}
180 54 adas
%
181 54 adas
%
182 54 adas
%\anupam{
183 54 adas
%NEW INDUCTION STEP:
184 54 adas
%\[
185 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)}
186 54 adas
%\]
187 54 adas
%
188 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.
189 54 adas
%}
190 33 adas
191 54 adas
192 54 adas
193 57 adas
\subsection{$\word$-guarded quantifiers, rules and cut-reduction cases}
194 33 adas
195 33 adas
\begin{definition}
196 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.
197 33 adas
198 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:
199 33 adas
	\begin{itemize}
200 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$.
201 34 adas
		\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$.
202 34 adas
		\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$.
203 34 adas
		\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$.
204 34 adas
		\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$.
205 33 adas
	\end{itemize}
206 33 adas
\end{definition}
207 33 adas
208 33 adas
209 33 adas
210 33 adas
211 34 adas
212 34 adas
213 33 adas
For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
214 33 adas
215 33 adas
\[
216 33 adas
\begin{array}{cc}
217 33 adas
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
218 33 adas
\quad & \quad
219 33 adas
\vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
220 33 adas
\\
221 33 adas
\noalign{\bigskip}
222 33 adas
\vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
223 33 adas
\quad &\quad
224 33 adas
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma  \seqar \Delta, A(t)}
225 33 adas
\end{array}
226 33 adas
\]
227 57 adas
228 57 adas
\begin{proposition}
229 57 adas
	Any principal cut between the quantifier rules above and a logical step is reducible.
230 57 adas
	\end{proposition}
231 57 adas
232 57 adas
233 57 adas
	\begin{corollary}
234 57 adas
		[Free-cut elimination for guarded quantifiers]
235 57 adas
		\todo{}
236 57 adas
	\end{corollary}