| 76 |
76 |
\]
|
| 77 |
77 |
By the inductive hypothesis we already have \eqref{eqn:prv-cvg-ih} for $g,h_0,h_1$ in place of $f$, so let us suppose that $\nat(\vec v)$ and prove,
|
| 78 |
78 |
\begin{equation}
|
| 79 |
|
\forall u^{!\nat} . (\nat(\vec x) \limp \nat(f(u , \vec v ; \vec x) )
|
|
79 |
% \forall u^{!\nat} . (\nat(\vec x) \limp \nat(f(u , \vec v ; \vec x) )
|
|
80 |
!\nat (u) , !\nat (\vec v) , \nat (\vec x) \seqar \nat ( f(u, \vec v ; \vec x) )
|
| 80 |
81 |
\end{equation}
|
| 81 |
|
by $\cax{\Sigma^N_1}{\pind}$ on $u$.
|
|
82 |
by $\cax{\Sigma^N_1}{\pind}$ on $u$. After this the result will follow by $\forall$-introduction for $u, \vec v , \vec x$.
|
| 82 |
83 |
|
| 83 |
84 |
In the base case we have the following proof,
|
| 84 |
85 |
\[
|
| 85 |
|
\vlderivation{
|
| 86 |
|
\vlin{\rigrul{\limp}}{}{ \seqar \nat (\vec x) \limp \nat (f(\epsilon , \vec v ; \vec x )) }{
|
| 87 |
|
\vliq{\beta}{}{ \nat (\vec x) \seqar \nat ( f( \epsilon , \vec v ; \vec x) ) }{
|
| 88 |
|
\vliq{\alpha}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x) ) }{
|
| 89 |
|
\vltr{IH}{\seqar \forall v^{!\nat} . \forall x^\nat . \nat( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 90 |
|
}
|
|
86 |
% \vlderivation{
|
|
87 |
% \vlin{\rigrul{\limp}}{}{ \seqar \nat (\vec x) \limp \nat (f(\epsilon , \vec v ; \vec x )) }{
|
|
88 |
% \vliq{\beta}{}{ \nat (\vec x) \seqar \nat ( f( \epsilon , \vec v ; \vec x) ) }{
|
|
89 |
% \vliq{\alpha}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x) ) }{
|
|
90 |
% \vltr{IH}{\seqar \forall v^{!\nat} . \forall x^\nat . \nat( g(\vec v ; \vec x) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
91 |
% }
|
|
92 |
% }
|
|
93 |
% }
|
|
94 |
% }
|
|
95 |
\vlderivation{
|
|
96 |
\vliq{\beta}{}{!\nat(\vec v) , \nat (\vec x) \seqar \nat(f (\epsilon , \vec v ; \vec x)) }{
|
|
97 |
\vliq{\alpha}{}{!\nat (\vec v) , \nat (\vec x) \seqar \nat (g (\vec v ; \vec x) ) }{
|
|
98 |
\vltr{\IH}{\seqar \forall \vec v^{!\nat} . \forall \vec x^\nat . \nat (g (\vec v ; \vec x)) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 91 |
99 |
}
|
| 92 |
|
}
|
| 93 |
100 |
}
|
|
101 |
}
|
| 94 |
102 |
\]
|
| 95 |
103 |
where $\alpha$ is,
|
| 96 |
104 |
\[
|
| 97 |
105 |
\vlderivation{
|
| 98 |
|
\vliin{\cut}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x)) }{
|
| 99 |
|
\vlin{\rigrul{!}}{}{\seqar !\nat (v)}{
|
| 100 |
|
\vlin{assump}{}{\seqar \nat (\vec v)}{\vlhy{}}
|
| 101 |
|
}
|
| 102 |
|
}{
|
|
106 |
% \vliin{\cut}{}{ \nat (\vec x) \seqar \nat ( g (\vec v ; \vec x)) }{
|
|
107 |
% \vlin{\rigrul{!}}{}{\seqar !\nat (v)}{
|
|
108 |
% \vlin{assump}{}{\seqar \nat (\vec v)}{\vlhy{}}
|
|
109 |
% }
|
|
110 |
% }{
|
| 103 |
111 |
\vliin{\cut}{}{ !\nat (\vec v ) , \nat (\vec x) \seqar \nat (g (\vec v ; \vec x )) }{
|
| 104 |
112 |
\vlhy{\seqar \forall \vec v^{!\nat} . \forall \vec x^\nat . \nat (g (\vec v ; \vec x)) }
|
| 105 |
113 |
}{
|
| ... | ... | |
| 107 |
115 |
\vlin{\id}{}{\nat (g(\vec v ; \vec x )) \seqar \nat (g(\vec v ; \vec x ))}{\vlhy{}}
|
| 108 |
116 |
}
|
| 109 |
117 |
}
|
| 110 |
|
}
|
|
118 |
% }
|
| 111 |
119 |
}
|
| 112 |
120 |
\]
|
| 113 |
121 |
and $\beta$ is:
|
| 114 |
122 |
\[
|
| 115 |
123 |
\vlderivation{
|
| 116 |
|
\vliin{\cut}{}{\nat (\vec x) \seqar \nat ( f ( \epsilon , \vec v ; \vec x ) ) }{
|
| 117 |
|
\vlhy{\nat (\vec x) \seqar \nat (g (\vec v ; \vec x) ) }
|
|
124 |
\vliin{\cut}{}{!\nat (\vec v) , \nat (\vec x) \seqar \nat ( f ( \epsilon , \vec v ; \vec x ) ) }{
|
|
125 |
\vlhy{!\nat (\vec v) , \nat (\vec x) \seqar \nat (g (\vec v ; \vec x) ) }
|
| 118 |
126 |
}{
|
| 119 |
127 |
\vliin{\cut}{}{ \nat (g (\vec v ; \vec x) ) \seqar \nat (f (\epsilon, \vec v ; \vec x) ) }{
|
| 120 |
128 |
\vlin{\Phi}{}{ \seqar f(\epsilon , \vec v ; \vec x) = g(\vec v ; \vec x) }{\vlhy{}}
|
| ... | ... | |
| 127 |
135 |
|
| 128 |
136 |
For the inductive step, we suppose that $\nat (u)$ and the proof is as follows,
|
| 129 |
137 |
\[
|
|
138 |
%\vlderivation{
|
|
139 |
% \vlin{\rigrul{\limp}}{}{ \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat (\vec x) \limp \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
140 |
% \vliq{\gamma}{}{\nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
141 |
% \vliin{\lefrul{\limp}}{}{\nat(\vec x), \nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
142 |
% \vlin{\id}{}{\nat(\vec x) \seqar \nat (\vec x) }{\vlhy{}}
|
|
143 |
% }{
|
|
144 |
% \vliq{\beta}{}{ \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( f(\succ_i u , \vec v ; \vec x) ) }{
|
|
145 |
% \vliq{\alpha}{}{ \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( h_i( u , \vec v ; \vec x , f( u, \vec v ; \vec x )) ) }{
|
|
146 |
% \vltr{IH}{ \seqar \forall u^{!\nat}, \vec v^{!\nat} . \forall \vec x^\nat , y^\nat . \nat( h_i (u, \vec v ; \vec x, y) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
147 |
% }
|
|
148 |
% }
|
|
149 |
% }
|
|
150 |
% }
|
|
151 |
% }
|
|
152 |
% }
|
| 130 |
153 |
\vlderivation{
|
| 131 |
|
\vlin{\rigrul{\limp}}{}{ \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat (\vec x) \limp \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
| 132 |
|
\vliq{\gamma}{}{\nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
| 133 |
|
\vliin{\lefrul{\limp}}{}{\nat(\vec x), \nat(\vec x), \nat(\vec x) \limp \nat ( f(u, \vec v ; \vec x) ) \seqar \nat( f(\succ_i u , \vec v ; \vec x) ) }{
|
| 134 |
|
\vlin{\id}{}{\nat(\vec x) \seqar \nat (\vec x) }{\vlhy{}}
|
| 135 |
|
}{
|
| 136 |
|
\vliq{\beta}{}{ \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( f(\succ_i u , \vec v ; \vec x) ) }{
|
| 137 |
|
\vliq{\alpha}{}{ \nat (\vec x) , \nat (f(u , \vec v ; \vec x) ) \seqar \nat ( h_i( u , \vec v ; \vec x , f( u, \vec v ; \vec x )) ) }{
|
| 138 |
|
\vltr{IH}{ \seqar \forall u^{!\nat}, \vec v^{!\nat} . \forall \vec x^\nat , y^\nat . \nat( h_i (u, \vec v ; \vec x, y) ) }{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
| 139 |
|
}
|
| 140 |
|
}
|
| 141 |
|
}
|
|
154 |
\vliq{\beta}{}{ !\nat (u) , !\nat (\vec v) , \nat (\vec x) , \nat (f ( u , \vec v ; \vec x ) ) \seqar \nat (f (\succ_i u , \vec{v} ; \vec x ) ) }{
|
|
155 |
\vliq{\alpha}{}{ !\nat (u) , !\nat (\vec v) , \nat (\vec x) , \nat (f ( u , \vec v ; \vec x ) ) \seqar \nat ( h_i ( u , \vec v ; \vec x , f( u , \vec v ; \vec x ) ) ) }{
|
|
156 |
\vltr{\IH}{ \seqar \forall u^{!\nat} , \vec v^{!\nat} . \forall \vec x^\nat , y^\nat . \nat ( h_i ( u, \vec v ; \vec x, y ) ) }{ \vlhy{\quad} }{\vlhy{}}{\vlhy{\quad}}
|
| 142 |
157 |
}
|
| 143 |
158 |
}
|
| 144 |
|
}
|
|
159 |
}
|
| 145 |
160 |
\]
|
| 146 |
161 |
where the steps indicated $\alpha$ and $\beta$ are analogous to those for the base case, and $\gamma$ is an instance of the general scheme:
|
| 147 |
162 |
\begin{equation}
|