root / CSL16 / arithmetic.tex @ 52
Historique | Voir | Annoter | Télécharger (5,6 ko)
| 1 |
\section{A variant of arithmetic in linear logic}
|
|---|---|
| 2 |
|
| 3 |
For the remainder of this article we consider an axiomatisation of arithmetic based on Bellantoni and Hofmann in \cite{BelHof:02}.
|
| 4 |
|
| 5 |
|
| 6 |
For pretty much all variants discussed we will actually 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 |
(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 |
\subsection{Based on Bellantoni-Hoffmann, Leivant, etc.}
|
| 16 |
|
| 17 |
\newcommand{\natcntr}{\nat\mathit{cntr}}
|
| 18 |
\newcommand{\geneps}{\nat_{\epsilon}}
|
| 19 |
\newcommand{\genzer}{\nat_{0}}
|
| 20 |
\newcommand{\genone}{\nat_{1}}
|
| 21 |
|
| 22 |
|
| 23 |
\newcommand{\sepeps}{\epsilon}
|
| 24 |
\newcommand{\sepzer}{\succ_{0}}
|
| 25 |
\newcommand{\sepone}{\succ_{1}}
|
| 26 |
|
| 27 |
\newcommand{\inj}{\mathit{inj}}
|
| 28 |
\newcommand{\surj}{\mathit{surj}}
|
| 29 |
|
| 30 |
\begin{definition}
|
| 31 |
[Arithmetic] |
| 32 |
$A^1_2$ consists of the following axioms: |
| 33 |
\[ |
| 34 |
\begin{array}{rl}
|
| 35 |
\wk & (A \land B )\limp A \\ |
| 36 |
\natcntr & \forall x^N . (N(x) \land N(x)) \\ |
| 37 |
\geneps & \nat(\epsilon) \\ |
| 38 |
\genzer & \forall x^N . N(\succ_0 x) \\ |
| 39 |
\genone & \forall x^N . N(\succ_1 x) \\ |
| 40 |
\sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\ |
| 41 |
\sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\ |
| 42 |
\sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\ |
| 43 |
\inj & \forall x^N . \succ_0 x \neq \succ_1 x \\ |
| 44 |
\surj & \forall x^N . (x = \epsilon \lor \exists y^N . x = \succ_0 y \lor \exists y^N . x = \succ_1 y ) \\ |
| 45 |
\noalign{\bigskip}
|
| 46 |
\pind & 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)
|
| 47 |
\end{array}
|
| 48 |
\] |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
\subsection{Equivalent rule systems}
|
| 53 |
Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent: |
| 54 |
|
| 55 |
\[ |
| 56 |
\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
|
| 57 |
\quad |
| 58 |
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
|
| 59 |
\quad |
| 60 |
\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 }
|
| 61 |
\] |
| 62 |
|
| 63 |
\todo{provable equivalence, if necessary.}
|
| 64 |
|
| 65 |
The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
|
| 66 |
|
| 67 |
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: |
| 68 |
\[ |
| 69 |
\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
|
| 70 |
\quad |
| 71 |
\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
|
| 72 |
\quad |
| 73 |
\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
|
| 74 |
\quad |
| 75 |
\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
|
| 76 |
\] |
| 77 |
\[ |
| 78 |
\vlinf{\epsilon^0}{}{ \nat (t) , \epsilon = \succ_0 t \seqar }{}
|
| 79 |
\quad |
| 80 |
\vlinf{\epsilon^1}{}{ \nat (t) , \epsilon = \succ_1 t \seqar }{}
|
| 81 |
\quad |
| 82 |
\vlinf{\succ_0}{}{\nat (s) , \nat (t) , \succ_0 s = \succ_0 t\seqar s = t }{}
|
| 83 |
\quad |
| 84 |
\vlinf{\succ_1}{}{\nat (s) , \nat (t) , \succ_1 s = \succ_1 t\seqar s = t }{}
|
| 85 |
\] |
| 86 |
\[ |
| 87 |
\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
|
| 88 |
\quad |
| 89 |
\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
|
| 90 |
\] |
| 91 |
%in place of their corresponding axioms. |
| 92 |
|
| 93 |
%\todo{in existential above, is there a prenexing problem?}
|
| 94 |
|
| 95 |
|
| 96 |
\anupam{
|
| 97 |
NEW INDUCTION STEP: |
| 98 |
\[ |
| 99 |
\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)}
|
| 100 |
\] |
| 101 |
|
| 102 |
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. |
| 103 |
} |
| 104 |
|
| 105 |
\end{definition}
|
| 106 |
|
| 107 |
\subsection{$\nat$-hierarchy}
|
| 108 |
|
| 109 |
\begin{definition}
|
| 110 |
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. |
| 111 |
|
| 112 |
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: |
| 113 |
\begin{itemize}
|
| 114 |
\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$.
|
| 115 |
\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$. |
| 116 |
\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$. |
| 117 |
\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$. |
| 118 |
\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$. |
| 119 |
\end{itemize}
|
| 120 |
\end{definition}
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination: |
| 128 |
|
| 129 |
\[ |
| 130 |
\begin{array}{cc}
|
| 131 |
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
|
| 132 |
\quad & \quad |
| 133 |
\vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma, A(t) \seqar \Delta}
|
| 134 |
\\ |
| 135 |
\noalign{\bigskip}
|
| 136 |
\vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
|
| 137 |
\quad &\quad |
| 138 |
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma \seqar \Delta, A(t)}
|
| 139 |
\end{array}
|
| 140 |
\] |