root / CSL16 / arithmetic.tex @ 53
Historique | Voir | Annoter | Télécharger (7,08 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 | 53 | adas | We 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 | 53 | adas | \subsection{Logical setting and basic axioms}
|
| 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 | 53 | adas | |
| 27 | 53 | adas | The `basic' axioms are essentially the axioms of Robinson arithmetic (or Peano Arithmetic without induction) without axioms for addition and multiplication.\footnote{They are also similar to the `generative' axioms of Leivant's intrinsic theories [cite] for this signature.} They insist that, in any model, the set induced by $\word (x)$ has the free algebra $\Word$ as an initial segment.
|
| 28 | 53 | adas | |
| 29 | 53 | adas | |
| 30 | 53 | adas | \newcommand{\natcntr}{\nat_\mathit{cntr}}
|
| 31 | 33 | adas | \newcommand{\geneps}{\nat_{\epsilon}}
|
| 32 | 33 | adas | \newcommand{\genzer}{\nat_{0}}
|
| 33 | 33 | adas | \newcommand{\genone}{\nat_{1}}
|
| 34 | 33 | adas | |
| 35 | 33 | adas | |
| 36 | 33 | adas | \newcommand{\sepeps}{\epsilon}
|
| 37 | 33 | adas | \newcommand{\sepzer}{\succ_{0}}
|
| 38 | 33 | adas | \newcommand{\sepone}{\succ_{1}}
|
| 39 | 33 | adas | |
| 40 | 33 | adas | \newcommand{\inj}{\mathit{inj}}
|
| 41 | 33 | adas | \newcommand{\surj}{\mathit{surj}}
|
| 42 | 33 | adas | |
| 43 | 53 | adas | \newcommand{\basic}{\mathit{BASIC}}
|
| 44 | 53 | adas | |
| 45 | 33 | adas | \begin{definition}
|
| 46 | 53 | adas | [Basic axioms] |
| 47 | 53 | adas | The theory $\basic$ consists of the following axioms: |
| 48 | 33 | adas | \[ |
| 49 | 33 | adas | \begin{array}{rl}
|
| 50 | 53 | adas | %\wk & (A \land B )\limp A \\ |
| 51 | 33 | adas | \natcntr & \forall x^N . (N(x) \land N(x)) \\ |
| 52 | 33 | adas | \geneps & \nat(\epsilon) \\ |
| 53 | 33 | adas | \genzer & \forall x^N . N(\succ_0 x) \\ |
| 54 | 33 | adas | \genone & \forall x^N . N(\succ_1 x) \\ |
| 55 | 33 | adas | \sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\ |
| 56 | 33 | adas | \sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\ |
| 57 | 33 | adas | \sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\ |
| 58 | 33 | adas | \inj & \forall x^N . \succ_0 x \neq \succ_1 x \\ |
| 59 | 53 | adas | \surj & \forall x^N . (x = \epsilon \laor \exists y^N . x = \succ_0 y \laor \exists y^N . x = \succ_1 y ) \\ |
| 60 | 33 | adas | \noalign{\bigskip}
|
| 61 | 53 | adas | \ind & 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)
|
| 62 | 33 | adas | \end{array}
|
| 63 | 33 | adas | \] |
| 64 | 33 | adas | |
| 65 | 34 | adas | |
| 66 | 34 | adas | |
| 67 | 34 | adas | \subsection{Equivalent rule systems}
|
| 68 | 34 | adas | Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent: |
| 69 | 34 | adas | |
| 70 | 33 | adas | \[ |
| 71 | 34 | adas | \vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
|
| 72 | 34 | adas | \quad |
| 73 | 34 | adas | \vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
|
| 74 | 34 | adas | \quad |
| 75 | 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 }
|
| 76 | 33 | adas | \] |
| 77 | 33 | adas | |
| 78 | 34 | adas | \todo{provable equivalence, if necessary.}
|
| 79 | 33 | adas | |
| 80 | 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.
|
| 81 | 34 | adas | |
| 82 | 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: |
| 83 | 34 | adas | \[ |
| 84 | 39 | adas | \vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
|
| 85 | 39 | adas | \quad |
| 86 | 34 | adas | \vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
|
| 87 | 34 | adas | \quad |
| 88 | 39 | adas | \vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
|
| 89 | 34 | adas | \quad |
| 90 | 39 | adas | \vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
|
| 91 | 34 | adas | \] |
| 92 | 39 | adas | \[ |
| 93 | 39 | adas | \vlinf{\epsilon^0}{}{ \nat (t) , \epsilon = \succ_0 t \seqar }{}
|
| 94 | 39 | adas | \quad |
| 95 | 39 | adas | \vlinf{\epsilon^1}{}{ \nat (t) , \epsilon = \succ_1 t \seqar }{}
|
| 96 | 39 | adas | \quad |
| 97 | 39 | adas | \vlinf{\succ_0}{}{\nat (s) , \nat (t) , \succ_0 s = \succ_0 t\seqar s = t }{}
|
| 98 | 39 | adas | \quad |
| 99 | 39 | adas | \vlinf{\succ_1}{}{\nat (s) , \nat (t) , \succ_1 s = \succ_1 t\seqar s = t }{}
|
| 100 | 39 | adas | \] |
| 101 | 39 | adas | \[ |
| 102 | 39 | adas | \vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
|
| 103 | 39 | adas | \quad |
| 104 | 39 | adas | \vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
|
| 105 | 39 | adas | \] |
| 106 | 39 | adas | %in place of their corresponding axioms. |
| 107 | 34 | adas | |
| 108 | 34 | adas | %\todo{in existential above, is there a prenexing problem?}
|
| 109 | 34 | adas | |
| 110 | 34 | adas | |
| 111 | 43 | adas | \anupam{
|
| 112 | 43 | adas | NEW INDUCTION STEP: |
| 113 | 43 | adas | \[ |
| 114 | 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)}
|
| 115 | 43 | adas | \] |
| 116 | 39 | adas | |
| 117 | 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. |
| 118 | 43 | adas | } |
| 119 | 43 | adas | |
| 120 | 33 | adas | \end{definition}
|
| 121 | 33 | adas | |
| 122 | 33 | adas | \subsection{$\nat$-hierarchy}
|
| 123 | 33 | adas | |
| 124 | 33 | adas | \begin{definition}
|
| 125 | 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. |
| 126 | 33 | adas | |
| 127 | 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: |
| 128 | 33 | adas | \begin{itemize}
|
| 129 | 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$.
|
| 130 | 34 | adas | \item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$. |
| 131 | 34 | adas | \item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$. |
| 132 | 34 | adas | \item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$. |
| 133 | 34 | adas | \item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$. |
| 134 | 33 | adas | \end{itemize}
|
| 135 | 33 | adas | \end{definition}
|
| 136 | 33 | adas | |
| 137 | 33 | adas | |
| 138 | 33 | adas | |
| 139 | 33 | adas | |
| 140 | 34 | adas | |
| 141 | 34 | adas | |
| 142 | 33 | adas | For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination: |
| 143 | 33 | adas | |
| 144 | 33 | adas | \[ |
| 145 | 33 | adas | \begin{array}{cc}
|
| 146 | 33 | adas | \vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
|
| 147 | 33 | adas | \quad & \quad |
| 148 | 33 | adas | \vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma, A(t) \seqar \Delta}
|
| 149 | 33 | adas | \\ |
| 150 | 33 | adas | \noalign{\bigskip}
|
| 151 | 33 | adas | \vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
|
| 152 | 33 | adas | \quad &\quad |
| 153 | 33 | adas | \vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma \seqar \Delta, A(t)}
|
| 154 | 33 | adas | \end{array}
|
| 155 | 33 | adas | \] |