Révision 109 CSL16/wfm.tex
| wfm.tex (revision 109) | ||
|---|---|---|
| 41 | 41 |
[Typing] |
| 42 | 42 |
To each $(\forall, ?)$-free $\word^+$-formula $A$ we associate a sorted tuple of variables $\type (A)$, intended to range over $\Word$, as follows: |
| 43 | 43 |
\[ |
| 44 |
% \begin{array}{rcll}
|
|
| 45 |
% \type (\word (t)) & := & (;x^{\word (t)} ) & \\
|
|
| 46 |
% \type(s = t) & := & ( ; x^{s = t}) & \\
|
|
| 47 |
% \type (s \neq t) & := & ( ;x^{s\neq t} )\\
|
|
| 48 |
%% \type (A \lor B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
|
|
| 49 |
% \type (A \star B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
|
|
| 50 |
% \type (! A) & : = & ( \vec u ,\vec x ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
|
|
| 51 |
% \type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
|
|
| 52 |
% % \type (\forall x^N . A) & := & \Nat \to \type(A) |
|
| 53 |
% \end{array}
|
|
| 54 |
% |
|
| 44 | 55 |
\begin{array}{rcll}
|
| 45 | 56 |
\type (\word (t)) & := & (;x^{\word (t)} ) & \\
|
| 46 |
\type(s = t) & := & ( ; x^{s = t}) & \\
|
|
| 47 |
\type (s \neq t) & := & ( ;x^{s\neq t} )\\
|
|
| 48 |
% \type (A \lor B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
|
|
| 49 |
\type (A \star B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
|
|
| 50 |
\type (! A) & : = & ( \vec u ,\vec x ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
|
|
| 51 |
\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
|
|
| 52 |
% \type (\forall x^N . A) & := & \Nat \to \type(A) |
|
| 57 |
\type(s = t) & := & ( ; x^{s = t}) &
|
|
| 58 |
% \\ |
|
| 59 |
% \type (s \neq t) & := & ( ;x^{s\neq t} )\\
|
|
| 60 |
%% \type (A \lor B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
|
|
| 61 |
% \type (A \star B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
|
|
| 62 |
% \type (! A) & : = & ( \vec u ,\vec x ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
|
|
| 63 |
% \type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
|
|
| 64 |
% % \type (\forall x^N . A) & := & \Nat \to \type(A) |
|
| 53 | 65 |
\end{array}
|
| 66 |
\quad |
|
| 67 |
\begin{array}{rcll}
|
|
| 68 |
% \type (\word (t)) & := & (;x^{\word (t)} ) & \\
|
|
| 69 |
% \type(s = t) & := & ( ; x^{s = t}) & \\
|
|
| 70 |
\type (s \neq t) & := & ( ;x^{s\neq t} )\\
|
|
| 71 |
% \type (A \lor B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
|
|
| 72 |
% \type (A \star B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.} \\
|
|
| 73 |
\type (! A) & : = & ( \vec u ,\vec x ; ) & |
|
| 74 |
% \text{if $\type(A) = (\vec u ; \vec x )$.} \\
|
|
| 75 |
% \type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & \text{if $\type (A) = (\vec u ; \vec x)$.}
|
|
| 76 |
% % \type (\forall x^N . A) & := & \Nat \to \type(A) |
|
| 77 |
\end{array}
|
|
| 78 |
\quad |
|
| 79 |
\begin{array}{rcll}
|
|
| 80 |
% \type (\word (t)) & := & (;x^{\word (t)} ) & \\
|
|
| 81 |
% \type(s = t) & := & ( ; x^{s = t}) & \\
|
|
| 82 |
% \type (s \neq t) & := & ( ;x^{s\neq t} )\\
|
|
| 83 |
% % \type (A \lor B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type(A) = (\vec u ; \vec x)$ and $\type(B) = (\vec v ; \vec y)$.} \\
|
|
| 84 |
\type (A \star B) & : = & (\vec u , \vec v ; \vec x , \vec y) & |
|
| 85 |
% \text{if $\type(A) = (\vec u ; \vec x)$, $\type(B) = (\vec v ; \vec y)$ and $\star \in \{ \lor, \land, \laor, \laand \}$.}
|
|
| 86 |
\\ |
|
| 87 |
% \type (! A) & : = & ( \vec u ,\vec x ; ) & \text{if $\type(A) = (\vec u ; \vec x )$.} \\
|
|
| 88 |
\type (\exists x^\word . A) & := & (\vec u ; \vec x , y) & |
|
| 89 |
% \text{if $\type (A) = (\vec u ; \vec x)$.}
|
|
| 90 |
% \type (\forall x^N . A) & := & \Nat \to \type(A) |
|
| 91 |
\end{array}
|
|
| 54 | 92 |
\] |
| 55 |
For a sorted tuple $(u_1 , \dots u_m ; x_1 , \dots ,x_n )$ we write $|(\vec u ; \vec x)|$ to denote its length, i.e.\ $m+n$.
|
|
| 93 |
where $\type(A) = (\vec u ; \vec x)$ and $\star \in \{ \lor , \land, \laor, \laand \}$.
|
|
| 56 | 94 |
% where $\nu$ designates that the inputs are normal. |
| 57 | 95 |
\end{definition}
|
| 58 | 96 |
|
| ... | ... | |
| 66 | 104 |
% On the other hand, since we are working in affine logic, we do in general have $!(A \land B) \cong !A \land !B$. |
| 67 | 105 |
% \end{remark}
|
| 68 | 106 |
|
| 69 |
This sorted tuple corresponds to the input variables, normal and safe respectively, for the BC programs that we will define. |
|
| 107 |
For a sorted tuple $(u_1 , \dots u_m ; x_1 , \dots ,x_n )$ we write $|(\vec u ; \vec x)|$ to denote its length, i.e.\ $m+n$. This sorted tuple corresponds to the input variables, normal and safe respectively, for the BC programs that we will define.
|
|
| 70 | 108 |
% \footnote{It becomes important here that we are considering proofs of a convergence statement, since a free-cut free $\arith$-proof of a convergence statement cannot contain any $\lor$ symbols in the scope of a $!$. This could cause an issue in the above definition since we do not in general have the equivalence $!(A \lor B) \equiv !A \lor !B$. On the other hand, the equivalence $!(A\land B) \equiv !A \land !B$ follows since we are in the affine setting.}
|
| 71 | 109 |
|
| 72 | 110 |
|
| ... | ... | |
| 117 | 155 |
If $\pi$ consists of a subproof $\pi'$ ending with a $\lefrul{\land}$ or $\rigrul{\lor}$-step, then $\vec f^\pi$ is exactly $\vec f^{\pi'}$.
|
| 118 | 156 |
By assumption, there are no $\laor$, $\laand$, $?$ or $\forall$ steps occurring in $\pi$, and if $\pi$ consists of a subproof $\pi'$ followed by a $\lefrul{\exists}$ step then $\vec f^\pi$ is exactly the same as $\vec f^{\pi'}$, under possible reordering of the tuple.
|
| 119 | 157 |
|
| 120 |
Suppose $\pi$ ends with a $\rigrul{\exists}$ step,
|
|
| 158 |
Suppose $\pi$ consists of a subproof $\pi'$ followed by a $\rigrul{\exists}$ step,
|
|
| 121 | 159 |
\[ |
| 122 | 160 |
\vlderivation{
|
| 123 | 161 |
\vlin{\rigrul{\exists}}{}{ \Gamma, \word(t) \seqar \Delta , \exists x^\word . A(x) }{
|
| 124 |
\vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 162 |
% \vltr{\pi'}{ \Gamma \seqar \Delta , A(t) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 163 |
\vlhy{ \Gamma \seqar \Delta , A(t) }
|
|
| 125 | 164 |
} |
| 126 | 165 |
} |
| 127 | 166 |
\] |
| 128 |
so by the inductive hypothesis we have functions $\vec f^\Delta , \vec f^{A(t)}$ with arguments $(\vec u ; \vec x )= \type(\bigotimes \Gamma)$. We define $\vec f^\pi$ as follows:
|
|
| 129 |
\[ |
|
| 167 |
so by the inductive hypothesis we have functions $\vec f^\Delta , \vec f^{A(t)}$ with arguments $(\vec u ; \vec x )= \type(\bigotimes \Gamma)$. We define
|
|
| 168 |
% $\vec f^\pi$ as follows: |
|
| 169 |
% \[ |
|
| 170 |
$ |
|
| 130 | 171 |
\vec f^\pi (\vec u ; \vec x , y) |
| 131 |
\quad := \quad |
|
| 172 |
% \quad := \quad |
|
| 173 |
$ as $ |
|
| 132 | 174 |
\left( |
| 133 | 175 |
\vec f^\Delta (\vec u ; \vec x) , |
| 134 | 176 |
{\id (;y)},
|
| 135 | 177 |
\vec f^{A(t)} (\vec u; \vec x)
|
| 136 | 178 |
\right) |
| 137 |
\] |
|
| 179 |
$. |
|
| 180 |
%\] |
|
| 138 | 181 |
% (The identity function on $y$ is defined from successor, predecessor and safe composition). |
| 139 | 182 |
|
| 140 | 183 |
|
| ... | ... | |
| 217 | 260 |
\vlderivation{
|
| 218 | 261 |
\vliin{\cut}{}{!\Gamma , \Sigma \seqar \Delta }{
|
| 219 | 262 |
\vlin{\rigrul{!}}{}{!\Gamma \seqar !\word(t)}{
|
| 220 |
\vltr{\pi_1'}{!\Gamma \seqar \word(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 263 |
% \vltr{\pi_1'}{!\Gamma \seqar \word(t)}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 264 |
\vlhy{!\Gamma \seqar \word(t)}
|
|
| 221 | 265 |
} |
| 222 | 266 |
}{
|
| 223 |
\vltr{\pi_2}{ !\word(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 267 |
% \vltr{\pi_2}{ !\word(t), \Sigma\seqar \Delta}{\vlhy{\quad}}{\vlhy{}}{\vlhy{\quad}}
|
|
| 268 |
\vlhy{ !\word(t), \Sigma\seqar \Delta}
|
|
| 224 | 269 |
} |
| 225 | 270 |
} |
| 226 | 271 |
\] |
| 227 | 272 |
where |
| 228 | 273 |
% $\pi_2$ ends with a $\ind$ step for which $A(x)$ is the induction formula, and |
| 229 |
we assume there are no side-formulae on the right of the end-sequent of $\pi_1$ for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h ( v , \vec w ; \vec x)$ from $\pi_1'$ and $\pi_2$ respectively, where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$, $!\word(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
|
|
| 274 |
we assume there are no side-formulae on the right of the end-sequent of the left subproof for the same reason as $\rigrul{\cntr}$: $\pi$ does not contain any occurrences of $?$. By the inductive hypothesis we have functions $ g( \vec u ; )$ and $\vec h ( v , \vec w ; \vec x)$ where $\vec u$, $ v$ and $(\vec w ; \vec x)$ correspond to $!\Gamma$, $!\word(t)$ and $\Sigma$ respectively. We construct the functions $\vec f^\pi $ as follows:
|
|
| 230 | 275 |
\[ |
| 231 | 276 |
\vec f^\pi (\vec u , \vec w ; \vec x) |
| 232 | 277 |
\quad := \quad |
| ... | ... | |
| 267 | 312 |
\[ |
| 268 | 313 |
\vlderivation{
|
| 269 | 314 |
\vliin{\ind}{}{ !\word (t), !\Gamma , A(\epsilon) \seqar A(t) }{
|
| 270 |
\vltr{\pi_0}{!\word(a) , !\Gamma , A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 315 |
% \vltr{\pi_0}{!\word(a) , !\Gamma , A(a) \seqar A(\succ_0 a)}{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 316 |
\vlhy{!\word(a) , !\Gamma , A(a) \seqar A(\succ_0 a)}
|
|
| 271 | 317 |
}{
|
| 272 |
\vltr{\pi_1}{!\word(a), !\Gamma , A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 318 |
% \vltr{\pi_1}{!\word(a), !\Gamma , A(a)\seqar A(\succ_1 a) }{\vlhy{\quad }}{\vlhy{ }}{\vlhy{\quad }}
|
|
| 319 |
\vlhy{!\word(a), !\Gamma , A(a)\seqar A(\succ_1 a)}
|
|
| 273 | 320 |
} |
| 274 | 321 |
} |
| 275 | 322 |
\] |
| ... | ... | |
| 277 | 324 |
|
| 278 | 325 |
By the inductive hypothesis we have functions $\vec g^0 (u , \vec v ; \vec x)$ and $\vec g^1 (u , \vec v ; \vec x)$ with $u$, $\vec v$ and $\vec x$ corresponding to $!\word(a)$, $!\Gamma$ and $A(a)$ respectively. We define $\vec f^\pi$ by simultaneous predicative recursion on notation as follows: |
| 279 | 326 |
\[ |
| 280 |
\begin{array}{rcll}
|
|
| 281 |
\vec f^\pi ( \epsilon, \vec v ; \vec x ) & := & \vec x & \\ |
|
| 282 |
\vec f^\pi ( \succ_i u , \vec v ; \vec x) & := & \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) ) |
|
| 283 |
\end{array}
|
|
| 327 |
%\begin{array}{rcll}
|
|
| 328 |
%\vec f^\pi ( \epsilon, \vec v ; \vec x ) & := & \vec x & \\ |
|
| 329 |
%\vec f^\pi ( \succ_i u , \vec v ; \vec x) & := & \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) ) |
|
| 330 |
%\end{array}
|
|
| 331 |
\vec f^\pi ( \epsilon, \vec v ; \vec x ) := \vec x \qquad |
|
| 332 |
\vec f^\pi ( \succ_i u , \vec v ; \vec x) := \vec g^i ( u, \vec v ; \vec f^\pi ( u, \vec v ; \vec x ) ) |
|
| 284 | 333 |
\] |
| 285 | 334 |
|
| 286 | 335 |
%\anupam{check this}
|
| ... | ... | |
| 313 | 362 |
|
| 314 | 363 |
% \todo{add cases for $\laor$ and $\neq$.}
|
| 315 | 364 |
|
| 316 |
\newcommand{\witness}[2]{\mathit{Witness}^{#1}_{#2}}
|
|
| 365 |
\newcommand{\witness}[2]{\mathit{Wit}^{#1}_{#2}}
|
|
| 317 | 366 |
\begin{definition}
|
| 318 | 367 |
[Witness predicate] |
| 319 | 368 |
For formulae $A, B$ satisfying properties \ref{item:no-neg-word}, \ref{item:no-forall}, \ref{item:no-quest} of Prop.~\ref{prop:freedom}, we define the following `witness' predicate as a quantifier-free formula of $\qfindth$:
|
| ... | ... | |
| 321 | 370 |
|
| 322 | 371 |
\renewcommand{\sigma}{a}
|
| 323 | 372 |
\[ |
| 324 |
\begin{array}{rcll}
|
|
| 325 |
\witness{}{A} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
|
|
| 326 |
\witness{}{A} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
|
|
| 327 |
\witness{}{A} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
|
|
| 328 |
\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) &
|
|
| 329 |
\text{for $\star \in \{ \lor,\laor\}$.}
|
|
| 373 |
% \begin{array}{rcll}
|
|
| 374 |
% \witness{}{A} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
|
|
| 375 |
% \witness{}{A} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
|
|
| 376 |
% \witness{}{A} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
|
|
| 377 |
% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) &
|
|
| 378 |
% \text{for $\star \in \{ \lor,\laor\}$.}
|
|
| 379 |
% \\ |
|
| 380 |
% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) &
|
|
| 381 |
% \text{for $\star \in \{ \land, \laand \}$.}
|
|
| 382 |
% \\ |
|
| 383 |
% \witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
|
|
| 384 |
% \witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
|
|
| 385 |
% \end{array}
|
|
| 386 |
\begin{array}{rcl}
|
|
| 387 |
\witness{}{\word (t)} (\sigma) & := & \sigma = t
|
|
| 388 |
% \text{if $A$ is $\word (t)$.}
|
|
| 330 | 389 |
\\ |
| 331 |
\witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) &
|
|
| 332 |
\text{for $\star \in \{ \land, \laand \}$.}
|
|
| 390 |
\witness{}{s=t} (\sigma) & := & s=t
|
|
| 391 |
% \text{if $A$ is $s=t$.}
|
|
| 333 | 392 |
\\ |
| 334 |
\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
|
|
| 393 |
\witness{}{s \neq t} (\sigma) & := & s\neq t
|
|
| 394 |
% \text{if $A$ is $s\neq t$.}
|
|
| 395 |
\\ |
|
| 396 |
% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) &
|
|
| 397 |
% \text{for $\star \in \{ \lor,\laor\}$.}
|
|
| 398 |
% \\ |
|
| 399 |
% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) &
|
|
| 400 |
% \text{for $\star \in \{ \land, \laand \}$.}
|
|
| 401 |
% \\ |
|
| 402 |
% \witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) & \\
|
|
| 335 | 403 |
\witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
|
| 336 | 404 |
\end{array}
|
| 405 |
\quad |
|
| 406 |
\begin{array}{rcl}
|
|
| 407 |
% \witness{}{\word (t)} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
|
|
| 408 |
% \witness{}{s=t} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
|
|
| 409 |
% \witness{}{s \neq t} (\sigma) & := & s\neq t &
|
|
| 410 |
% \text{if $A$ is $s\neq t$.}
|
|
| 411 |
% \\ |
|
| 412 |
\witness{}{A \bullet B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B)
|
|
| 413 |
% \text{for $\star \in \{ \lor,\laor\}$.}
|
|
| 414 |
\\ |
|
| 415 |
\witness{}{A \circ B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B )
|
|
| 416 |
% \text{for $\star \in \{ \land, \laand \}$.}
|
|
| 417 |
\\ |
|
| 418 |
\witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A ) & := & \witness{}{A}(\vec \sigma^A , \sigma )
|
|
| 419 |
% \\ |
|
| 420 |
% \witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
|
|
| 421 |
\end{array}
|
|
| 422 |
% \begin{array}{rcl}
|
|
| 423 |
%% \witness{}{\word (t)} (\sigma) & := & \sigma = t & \text{if $A$ is $\word (t)$.} \\
|
|
| 424 |
%% \witness{}{s=t} (\sigma) & := & s=t & \text{if $A$ is $s=t$.} \\
|
|
| 425 |
%% \witness{}{s \neq t} (\sigma) & := & s\neq t & \text{if $A$ is $s\neq t$.} \\
|
|
| 426 |
%% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A) \cor \witness{}{B} (\vec \sigma^B) &
|
|
| 427 |
%% \text{for $\star \in \{ \lor,\laor\}$.}
|
|
| 428 |
%% \\ |
|
| 429 |
%% \witness{}{A \star B} ( \vec \sigma^A , \vec \sigma^B) & := & \witness{}{A} (\vec \sigma^A ) \cand \witness{}{B} (\vec \sigma^B ) &
|
|
| 430 |
%% \text{for $\star \in \{ \land, \laand \}$.}
|
|
| 431 |
%% \\ |
|
| 432 |
% \witness{}{\exists x^\word A} ( \sigma, \vec \sigma^A ) & := & \witness{}{A}(\vec \sigma^A , \sigma ) \\
|
|
| 433 |
% \witness{}{!A} (\vec \sigma^A) & := & \witness{}{A} (\vec \sigma^A)
|
|
| 434 |
% \end{array}
|
|
| 337 | 435 |
\] |
| 338 |
where $|\vec \sigma^A| = |\type (A)|$ and $|\vec \sigma^B| = |\type (B)| $. |
|
| 436 |
where $\bullet \in \{ \lor, \laor \}$, $\circ \in \{ \land,\laand \}$, $|\vec \sigma^A| = |\type (A)|$ and $|\vec \sigma^B| = |\type (B)| $.
|
|
| 339 | 437 |
\end{definition}
|
| 340 | 438 |
% \todo{problem: what about complexity of checking equality? }
|
| 341 | 439 |
|
Formats disponibles : Unified diff