| 26 |
26 |
|
| 27 |
27 |
\begin{definition}
|
| 28 |
28 |
[Arithmetic]
|
| 29 |
|
We have the following axioms:
|
|
29 |
$A^1_2$ consists of the following axioms:
|
| 30 |
30 |
\[
|
| 31 |
31 |
\begin{array}{rl}
|
| 32 |
32 |
\wk & (A \land B )\limp A \\
|
| ... | ... | |
| 40 |
40 |
\inj & \forall x^N . \succ_0 x \neq \succ_1 x \\
|
| 41 |
41 |
\surj & \forall x^N . (x = \epsilon \lor \exists y^N . x = \succ_0 y \lor \exists y^N . x = \succ_1 y ) \\
|
| 42 |
42 |
\noalign{\bigskip}
|
| 43 |
|
\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)
|
|
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 |
44 |
\end{array}
|
| 45 |
45 |
\]
|
| 46 |
46 |
|
| 47 |
|
Induction rule should be the following, to take account of relativised quantifiers?
|
|
47 |
|
|
48 |
|
|
49 |
\subsection{Equivalent rule systems}
|
|
50 |
Instead of weakening and induction axioms, we consider the following rules, which are provably equivalent:
|
|
51 |
|
| 48 |
52 |
\[
|
| 49 |
|
\vliinf{\ind}{}{ !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 }
|
|
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 }
|
| 50 |
58 |
\]
|
| 51 |
59 |
|
| 52 |
|
\todo{in existential above, is there a prenexing problem?}
|
|
60 |
\todo{provable equivalence, if necessary.}
|
| 53 |
61 |
|
| 54 |
|
\todo{what about $\leq$? Introducing this could solve prenexing problem, e.g.\ by induction?}
|
|
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 version with free variables instead of universally quantified variables, again for proof theoretic reasons. For example we consider the initial rule,
|
|
65 |
\[
|
|
66 |
\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
|
|
67 |
\quad
|
|
68 |
\vlinf{\nat_0}{}{N(a) \seqar N(\succ_0 a)}{}
|
|
69 |
\quad
|
|
70 |
\vlinf{\nat_1}{}{N(a) \seqar N(\succ_1 a)}{}
|
|
71 |
\]
|
|
72 |
in place of their corresponding axioms.
|
|
73 |
|
|
74 |
%\todo{in existential above, is there a prenexing problem?}
|
|
75 |
|
|
76 |
|
| 55 |
77 |
\end{definition}
|
| 56 |
78 |
|
| 57 |
79 |
\subsection{$\nat$-hierarchy}
|
| 58 |
80 |
|
| 59 |
81 |
\begin{definition}
|
| 60 |
|
|
| 61 |
|
\todo{replace N with nat.}
|
| 62 |
|
|
| 63 |
|
Let us define the quantifiers $\exists x^N . A$ and $\forall x^N . A$ as $\exists x . (N(x) \land A)$ and $\forall x . (N(x) \limp A) $ respectively.
|
|
82 |
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.
|
| 64 |
83 |
|
| 65 |
|
We define $\Sigma^N_0 = \Pi^N_0 $ as the class of formulae that are free of quantifiers. For $i\geq 0$ we define:
|
|
84 |
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:
|
| 66 |
85 |
\begin{itemize}
|
| 67 |
|
\item $\Sigma^N_{i+1}$ is the class of formulae $\exists x^N . A$ where $A \in \Pi^N_i$.
|
| 68 |
|
\item $\Pi^N_{i+1}$ is the class of formulae $\forall x^N . A$ where $A \in \Sigma^N_i$.
|
| 69 |
|
\item ($\Delta^N_i$ is the class $\Sigma^N_i \cap \Pi^N_i$.)
|
|
86 |
\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$.
|
|
87 |
\item If $A \in \Sigma^\nat_i$ then $\exists x^\nat . A \in \Sigma^\nat_i$.
|
|
88 |
\item If $A \in \Pi^\nat_i$ then $\forall x^\nat . A \in \Pi^\nat_i$.
|
|
89 |
\item If $A,B \in \Sigma^\nat_i$ then $A \lor B$ and $A\land B \in \Sigma^\nat_i$.
|
|
90 |
\item If $A,B \in \Pi^\nat_i$ then $A \lor B$ and $A\land B \in \Pi^\nat_i$.
|
| 70 |
91 |
\end{itemize}
|
| 71 |
92 |
\end{definition}
|
| 72 |
93 |
|
| 73 |
|
\todo{allow closure under positive Boolean operations?}
|
| 74 |
94 |
|
| 75 |
|
\todo{What about prenexing rules? Should not change provably total functions!}
|
| 76 |
95 |
|
| 77 |
|
\subsection{Equivalent rule systems}
|
| 78 |
96 |
|
|
97 |
|
|
98 |
|
| 79 |
99 |
For the quantifiers $\exists x^N $ and $\forall x^N$ we introduce the following rules, which are compatible with free-cut elimination:
|
| 80 |
100 |
|
| 81 |
101 |
\[
|
| ... | ... | |
| 90 |
110 |
\vlinf{}{}{\Gamma, N(t) \seqar \Delta , \exists x^N . A(x)}{\Gamma \seqar \Delta, A(t)}
|
| 91 |
111 |
\end{array}
|
| 92 |
112 |
\]
|
| 93 |
|
|
| 94 |
|
CHECK THESE!
|
| 95 |
|
|
| 96 |
|
\todo{prove that free-cut elimination can be done with these rules}
|
| 97 |
|
|
| 98 |
|
\todo{Also include rules for contraction and weakening.}
|