Révision 26 CSL16/feas-arith-wfm.tex
| feas-arith-wfm.tex (revision 26) | ||
|---|---|---|
| 820 | 820 |
\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)$.} \\
|
| 821 | 821 |
\type (A \land B) & : = & (\vec u , \vec v ; \vec x , \vec y) & \text{if $\type (A) = (\vec u ; \vec x)$ and $\type (B) = (\vec v ; \vec y)$.} \\
|
| 822 | 822 |
\type (! A) & : = & (\vec u , \vec x ;) & \text{if $\type (A) = (\vec u ; \vec x)$.} \\
|
| 823 |
\type (\exists x^N . A) & := & \Nat \times \type (A) & \\
|
|
| 823 |
\type (\exists x^N . A) & := & (\vec u ; \vec x , y) & \text{if $\type(A) = (\vec u ; \vec x)$.} \\
|
|
| 824 | 824 |
% \type (\forall x^N . A) & := & \Nat \to \type(A) |
| 825 | 825 |
\end{array}
|
| 826 | 826 |
\] |
| 827 |
where $\nu$ designates that the inputs are normal. |
|
| 828 | 827 |
\end{definition}
|
| 829 | 828 |
|
| 830 | 829 |
|
| ... | ... | |
| 839 | 838 |
\newcommand{\witness}[2]{\mathit{Witness}^{#1}_{#2}}
|
| 840 | 839 |
\begin{definition}
|
| 841 | 840 |
[Witness predicate] |
| 842 |
We define the following formula:
|
|
| 841 |
We define the following `witness' predicate for $\Sigma^\nat_1$-formulae $A$ with free variables amongst $\vec a$:
|
|
| 843 | 842 |
\[ |
| 844 | 843 |
\begin{array}{rcll}
|
| 845 |
\witness{\vec a}{A} (w, \vec a) & := & A(\vec a) & \text{for $A$ quantifier-free.} \\
|
|
| 846 |
\witness{\vec a}{\exists x . A} (w, \vec w , \vec a) & := & \witness{\vec{a}, a}{A(a)}(\vec w , \vec a, w ) & \\
|
|
| 847 |
\witness{\vec a}{A \star B} ( \vec w^1 , \vec w^2 ) & := & \witness{\vec a}{A} (\vec w^1) \star \witness{\vec a}{B} (\vec w^2) & \text{for $\star \in \{ \land, \lor, \laand , \laor\}$.} \\
|
|
| 844 |
\witness{\vec a}{A} (w, \vec b) & := & w = t(\vec b) & \text{if $A(\vec a)$ is $\nat (t(\vec a))$.} \\
|
|
| 845 |
\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)$.} \\
|
|
| 846 |
\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) &
|
|
| 847 |
% \text{for $\star \in \{ \land, \lor, \laand , \laor\}$.}
|
|
| 848 |
\\ |
|
| 849 |
\witness{\vec a}{A \land B} ( \vec w^1 , \vec w^2, \vec b ) & := & \witness{\vec a}{A} (\vec w^1 , \vec b) \cand \witness{\vec a}{B} (\vec w^2 , \vec b) &
|
|
| 850 |
% \text{for $\star \in \{ \land, \lor, \laand , \laor\}$.}
|
|
| 851 |
\\ |
|
| 852 |
\witness{\vec a}{\exists x . A(x)} (w, \vec w , \vec b) & := & \witness{\vec{a}, a}{A(a)}(\vec w , \vec b, w ) & \\
|
|
| 848 | 853 |
\end{array}
|
| 849 | 854 |
\] |
| 855 |
where $|\vec w^1| = |\type (A)|$ and $|\vec w^2| = |\type (B)| $. |
|
| 850 | 856 |
\end{definition}
|
| 851 |
\todo{problem: what about complexity of checking equality? }
|
|
| 857 |
% \todo{problem: what about complexity of checking equality? }
|
|
| 852 | 858 |
|
| 853 |
\todo{What about $\nat (t)$? What does it mean? Replace with true?}
|
|
| 859 |
\todo{Reformulate above later if necessary.}
|
|
| 854 | 860 |
|
| 855 |
\todo{either use the witness predicate above, or use realizability predicate at meta-level and a model theory, like BH.}
|
|
| 861 |
% \todo{What about $\nat (t)$? What does it mean? Replace with true?}
|
|
| 856 | 862 |
|
| 857 |
\anupam{Need to check above properly. $N(t)$ should be witnessed by the value of $t $ in the model. For equality of terms the witness should not do anything.}
|
|
| 863 |
% \todo{either use the witness predicate above, or use realizability predicate at meta-level and a model theory, like BH.}
|
|
| 858 | 864 |
|
| 865 |
% \anupam{Need to check above properly. $N(t)$ should be witnessed by the value of $t $ in the model. For equality of terms the witness should not do anything.}
|
|
| 866 |
|
|
| 867 |
\anupam{to consider/remark: formally, is witness predicate checked in model or some logical theory?}
|
|
| 868 |
|
|
| 859 | 869 |
\subsection{The translation}
|
| 860 | 870 |
|
| 861 | 871 |
\begin{definition}
|
| ... | ... | |
| 873 | 883 |
|
| 874 | 884 |
\anupam{Is this implication provable in Bellantoni's version of PV based on BC?}
|
| 875 | 885 |
|
| 876 |
\anupam{for moment try ignore decoration on right? what about negation?}
|
|
| 886 |
% \anupam{for moment try ignore decoration on right? what about negation?}
|
|
| 877 | 887 |
|
| 878 | 888 |
|
| 879 | 889 |
|
Formats disponibles : Unified diff