Statistiques
| Révision :

root / CSL16 / arithmetic.tex @ 40

Historique | Voir | Annoter | Télécharger (4,98 ko)

1
\section{Some variants of arithmetic in linear logic}
2

    
3
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:
4
\[
5
!(A\land B) \equiv (!A \land !B)
6
\]
7
(The right-left direction is already valid in usual linear logic, but the left-right direction requires weakening).
8

    
9
We define a variant of arithmetic inspired by Bellantoni and Hofmann's $A^1_2$. We describe later some connections to bounded arithmetic.
10

    
11

    
12
\subsection{Based on Bellantoni-Hoffmann, Leivant, etc.}
13

    
14
\newcommand{\natcntr}{\nat\mathit{cntr}}
15
\newcommand{\geneps}{\nat_{\epsilon}}
16
\newcommand{\genzer}{\nat_{0}}
17
\newcommand{\genone}{\nat_{1}}
18

    
19

    
20
\newcommand{\sepeps}{\epsilon}
21
\newcommand{\sepzer}{\succ_{0}}
22
\newcommand{\sepone}{\succ_{1}}
23

    
24
\newcommand{\inj}{\mathit{inj}}
25
\newcommand{\surj}{\mathit{surj}}
26

    
27
\begin{definition}
28
[Arithmetic]
29
$A^1_2$ consists of the following axioms:
30
\[
31
\begin{array}{rl}
32
\wk & (A \land B )\limp A \\
33
\natcntr & \forall x^N . (N(x) \land N(x)) \\
34
\geneps & \nat(\epsilon) \\
35
\genzer & \forall x^N . N(\succ_0 x) \\
36
\genone & \forall x^N . N(\succ_1 x) \\
37
\sepeps & \forall x^N . (\epsilon \neq \succ_0 x \land \epsilon \neq \succ_1 x) \\
38
\sepzer & \forall x^N , y^N. ( \succ_0 x = \succ_0 y \limp x=y ) \\
39
\sepone & \forall x^N , y^N. ( \succ_1 x = \succ_1 y \limp x=y ) \\
40
\inj & \forall x^N . \succ_0 x \neq \succ_1 x \\
41
\surj & \forall x^N . (x = \epsilon \lor \exists y^N . x = \succ_0 y \lor \exists y^N . x = \succ_1 y ) \\
42
\noalign{\bigskip}
43
\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)
44
\end{array}
45
\]
46

    
47

    
48

    
49
\subsection{Equivalent rule systems}
50
Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
51

    
52
\[
53
\vlinf{\lefrul{\wk}}{}{\Gamma, A \seqar \Delta}{\Gamma \seqar \Delta}
54
\quad
55
\vlinf{\rigrul{\wk}}{}{\Gamma \seqar \Delta, A}{\Gamma \seqar \Delta}
56
\quad
57
\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  }
58
\]
59

    
60
\todo{provable equivalence, if necessary.}
61

    
62
The inclusion of the first two rules places us in an \emph{affine} setting, whereas the induction rule allows better proof theoretic manipulation.
63

    
64
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:
65
\[
66
\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
67
\quad
68
\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
69
\quad
70
\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
71
\quad
72
\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
73
\]
74
\[
75
\vlinf{\epsilon^0}{}{ \nat (t)  , \epsilon = \succ_0 t \seqar }{} 
76
\quad
77
\vlinf{\epsilon^1}{}{ \nat (t)  , \epsilon = \succ_1 t \seqar }{}
78
\quad
79
\vlinf{\succ_0}{}{\nat (s) , \nat (t)  , \succ_0 s = \succ_0 t\seqar s = t }{}
80
\quad
81
\vlinf{\succ_1}{}{\nat (s) , \nat (t)  , \succ_1 s = \succ_1 t\seqar s = t }{}
82
\]
83
\[
84
\vlinf{\inj}{}{\nat(t), \succ_0 t = \succ_1 t \seqar}{}
85
\quad
86
\vlinf{\surj}{}{\nat (t) \seqar t = \epsilon , \exists y^\nat . t = \succ_0 y , \exists y^\nat . t = \succ_1 y }{}
87
\]
88
%in place of their corresponding axioms.
89

    
90
%\todo{in existential above, is there a prenexing problem?}
91

    
92

    
93
\anupam{witnessing functions for above.}
94

    
95
\end{definition}
96

    
97
\subsection{$\nat$-hierarchy}
98

    
99
\begin{definition}
100
	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.
101
	
102
	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:
103
	\begin{itemize}
104
		\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$.
105
		\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$.
106
		\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$.
107
		\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$.
108
		\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$.
109
	\end{itemize}
110
\end{definition}
111

    
112

    
113

    
114

    
115

    
116

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

    
119
\[
120
\begin{array}{cc}
121
\vlinf{}{}{\Gamma \seqar \Delta, \forall x^N . A(x)}{\Gamma, N(a) \seqar \Delta , A(a)}
122
\quad & \quad
123
\vlinf{}{}{\Gamma, N(t),\forall x^N A(x) \seqar \Delta}{\Gamma,  A(t) \seqar \Delta}
124
\\
125
\noalign{\bigskip}
126
\vlinf{}{}{\Gamma , \exists x^N A(x) \seqar \Delta}{\Gamma, N(a), A(a) \seqar \Delta}
127
\quad &\quad 
128
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma  \seqar \Delta, A(t)}
129
\end{array}
130
\]