Révision 109 CSL16/bc.tex
| bc.tex (revision 109) | ||
|---|---|---|
| 20 | 20 |
\end{cases}$.
|
| 21 | 21 |
\item The conditional function |
| 22 | 22 |
\[ |
| 23 |
\begin{array}{rcl}
|
|
| 24 |
C (; \epsilon, y_\epsilon , y_0, y_1 ) & = & y_\epsilon \\ |
|
| 25 |
C(; x0 , y_\epsilon , y_0, y_1) & = & y_0 \\ |
|
| 26 |
C(; x1 , y_\epsilon , y_0, y_1) & = & y_1 |
|
| 27 |
\end{array}
|
|
| 23 |
%\begin{array}{rcl}
|
|
| 24 |
%C (; \epsilon, y_\epsilon , y_0, y_1 ) & = & y_\epsilon \\ |
|
| 25 |
%C(; x0 , y_\epsilon , y_0, y_1) & = & y_0 \\ |
|
| 26 |
%C(; x1 , y_\epsilon , y_0, y_1) & = & y_1 |
|
| 27 |
%\end{array}
|
|
| 28 |
C (; \epsilon, y_\epsilon , y_0, y_1 ) := y_\epsilon |
|
| 29 |
\quad |
|
| 30 |
C(; x0 , y_\epsilon , y_0, y_1) := y_0 |
|
| 31 |
\quad |
|
| 32 |
C(; x1 , y_\epsilon , y_0, y_1) := y_1 |
|
| 28 | 33 |
\] |
| 29 | 34 |
% $\cond (;x,y,z) := \begin{cases}
|
| 30 | 35 |
% y & \mbox{ if } x=x' 0 \\
|
| ... | ... | |
| 82 | 87 |
\item The identity function is in BC. |
| 83 | 88 |
\item Let $t$ be a well-formed expression built from BC programs and variables, denote its free variables as $\{u_1,\dots, u_n,x_1,\dots, x_k\}$, and assume for for each $1\leq i\leq k$, $x_i$ is hereditarily safe in $t$. Then the function $f$ defined
|
| 84 | 89 |
by $f(u_1,\dots, u_n,x_1,\dots, x_k):=t$ is a BC program. |
| 85 |
\item Assume $f$ is a BC program, then the program $g$ defined as |
|
| 86 |
$$ g(\vec{u},v;\vec{x}):=f(\vec{u};v,\vec{x})$$
|
|
| 90 |
\item If $f$ is a BC program, then the program $g(\vec{u},v;\vec{x})$ defined as $f(\vec{u};v,\vec{x})$
|
|
| 87 | 91 |
is also a BC program. |
| 88 | 92 |
\end{enumerate}
|
| 89 | 93 |
|
Formats disponibles : Unified diff