Révision 25 CSL16/feas-arith-wfm.tex
| feas-arith-wfm.tex (revision 25) | ||
|---|---|---|
| 808 | 808 |
\newcommand{\norm}{\nu}
|
| 809 | 809 |
\newcommand{\safe}{\sigma}
|
| 810 | 810 |
|
| 811 |
\subsection{Typing}
|
|
| 811 |
\subsection{Witness predicate}
|
|
| 812 | 812 |
|
| 813 | 813 |
\begin{definition}
|
| 814 | 814 |
[Types] |
| 815 |
To each formula we associate a tuple type as follows:
|
|
| 815 |
To each formula we associate a sorted tuple of arguments, intended to range over $\Nat$, as follows:
|
|
| 816 | 816 |
\[ |
| 817 | 817 |
\begin{array}{rcll}
|
| 818 |
\type (\nat (t)) & := & \Nat & \\ |
|
| 819 |
\type(s = t) & := & \Nat & \\ |
|
| 820 |
\type (A \star B) & : = & \type (A) \times \type (B) & \text{for $\star \in \{ \lor, \land, \laor, \laand \} $.} \\
|
|
| 821 |
\type (! A) & : = & \type_\norm (A) & \\ |
|
| 818 |
\type (\nat (t)) & := & (; x^{\nat (t)}) & \\
|
|
| 819 |
\type(s = t) & := & ( ; x^{s=t}) & \\
|
|
| 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 |
\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 |
\type (! A) & : = & (\vec u , \vec x ;) & \text{if $\type (A) = (\vec u ; \vec x)$.} \\
|
|
| 822 | 823 |
\type (\exists x^N . A) & := & \Nat \times \type (A) & \\ |
| 823 | 824 |
% \type (\forall x^N . A) & := & \Nat \to \type(A) |
| 824 | 825 |
\end{array}
|
| ... | ... | |
| 826 | 827 |
where $\nu$ designates that the inputs are normal. |
| 827 | 828 |
\end{definition}
|
| 828 | 829 |
|
| 829 |
\todo{compatibility with safety. To consider.}
|
|
| 830 |
|
|
| 831 |
\begin{remark}
|
|
| 832 |
[Distribution of $!$] |
|
| 833 |
Notice that the case above for $!$ is somewhat odd, but makes sense once we realise that no formula of the form $!(A\lor B)$ will occur in a free-cut free proof of a convergence statement. On the other hand, the equivalence $!(A\land B) \cong !A \land !B$ follows since we are working in the affine setting. |
|
| 834 |
\end{remark}
|
|
| 830 | 835 |
|
| 831 | 836 |
|
| 832 | 837 |
|
Formats disponibles : Unified diff