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