Révision 39

CSL16/arithmetic.tex (revision 39)
61 61

  
62 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 63

  
64
Finally, for each universally quantified axiom, we consider instead the schema of rules with unbound terms in place of universally quantified variables, again for proof theoretic reasons. For example we consider the initial rules,
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 65
\[
66
\vlinf{\natcntr}{}{\nat(t) \seqar \nat(t) \land \nat(t) }{}
67
\quad
66 68
\vlinf{\nat_\epsilon}{}{\seqar \nat (\epsilon)}{}
67 69
\quad
68
\vlinf{\nat_0}{}{N(t) \seqar N(\succ_0 t)}{}
70
\vlinf{\nat_0}{}{\nat(t) \seqar \nat(\succ_0 t)}{}
69 71
\quad
70
\vlinf{\nat_1}{}{N(t) \seqar N(\succ_1 t)}{}
72
\vlinf{\nat_1}{}{\nat(t) \seqar \nat(\succ_1 t)}{}
71 73
\]
72
in place of their corresponding axioms.
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.
73 89

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

  
76 92

  
93
\anupam{witnessing functions for above.}
94

  
77 95
\end{definition}
78 96

  
79 97
\subsection{$\nat$-hierarchy}
CSL16/wfm.tex (revision 39)
54 54
			\[
55 55
			\begin{array}{rcll}
56 56
			\witness{\vec a}{A} (w, \vec b) & := & w = t(\vec b) & \text{if $A(\vec a)$ is $\nat (t(\vec a))$.} \\
57
			\witness{\vec a}{A} (w, \vec b) & := & s(\vec b) = t(\vec b) & \text{if $A(\vec a)$ is $s(\vec a) = t (\vec b)$.} \\
57
			\witness{\vec a}{A} (w, \vec b) & := & s(\vec b) = t(\vec b) & \text{if $A(\vec a)$ is $s(\vec a) = t (\vec a)$.} \\
58 58
			\witness{\vec a}{A \lor B} ( \vec w^1 , \vec w^2, \vec b ) & := &  \witness{\vec a}{A} (\vec w^1 , \vec b) \cor \witness{\vec a}{B} (\vec w^2 , \vec b) & 
59 59
			%			\text{for $\star \in \{ \land, \lor, \laand , \laor\}$.} 
60 60
			\\
......
84 84
			[Translation]
85 85
			We give a translation of free-cut free $\Sigma^\nat_1$-$\pind$ proofs $\pi$ of sequents $\Gamma(\vec a) \seqar \Delta(\vec a)$ to BC-programs for a vector of functions $\vec f^\pi$ with argument of type $\type \left(\bigotimes\Gamma\right)$ such that $|\vec f^\pi | = | \type\left(\bigparr\Delta\right)|$ and:
86 86
			\[
87
			\witness{\vec a}{\bigotimes \Gamma} (\vec w , \vec b) \implies \witness{\vec a}{\bigparr \Delta } (\vec f(\vec w , \vec b), \vec b)
87
			\witness{\vec a}{\bigotimes \Gamma} (\vec w , \vec b) \implies \witness{\vec a}{\bigparr \Delta } (\vec f^\pi(\vec w , \vec b), \vec b)
88 88
			\]
89 89
			
90 90
			\anupam{to consider: do we need parameters $\vec a$ in argument of $f$? Or does $\nat$ predicate take care of this?}
......
101 101
			
102 102
			The translation is by induction on the size of a free-cut free proof, so we proceed by analysis of the final step of a proof.
103 103
			
104
			If $\pi$ is simply an axiom, we construct $\vec f^\pi$ as follows:
105
			\[
106
			s
107
			\]
108
			
104 109
			Suppose $\pi$ ends with a $\rigrul{\land}$ step:
105 110
			\[
106 111
			\vlderivation{

Formats disponibles : Unified diff