mirror of
https://github.com/thufschmitt/tix-papers.git
synced 2024-09-11 13:00:34 +03:00
parent
e9d61da64c
commit
8c933d3cb0
@ -7,19 +7,14 @@ figure~\pref{fig:semantics:nix-light:patterns}
|
|||||||
|
|
||||||
\begin{figure}
|
\begin{figure}
|
||||||
\begin{tabular}{rl}
|
\begin{tabular}{rl}
|
||||||
\dstepa{$v.s$}{$e$}{if $\vdash v : \{ e : \lnot\undef; .. \}$ and v(s) = e}
|
\dstepa{\{ \s/ = \e/; $\ldots{}$\}.\s/}{$e$}{}
|
||||||
\dstepa{$v.s \text{ or } e'$}{$e$}{if $\vdash v : \{ e : \lnot\undef; .. \}$ and v(s) = e}
|
\dstepa{\{ \s/ = \e/; $\ldots{}$\}.\s/ or $e'$}{$e$}{}
|
||||||
\dstepa{$v.s \text{ or } e'$}{$e'$}{if $\vdash v : \lnot\{ e : \lnot\undef; .. \}$}
|
\dstepa{$v.s \text{ or } e'$}{$e'$}{if $\v/ \neq$ \{ \s/ = \e/; $\ldots{}$ \}}
|
||||||
\dstepa{$(x:e_1) e_2$}{$\substp{x}{e_2}{e_1}$}{}
|
\dstepa{$(x:e_1) e_2$}{$\substp{x}{e_2}{e_1}$}{}
|
||||||
\dstepa{$(p:e_1) v$} {$\substp{p}{v}{e_1}$}{}
|
\dstepa{$(p:e_1) v$} {$\substp{p}{v}{e_1}$}{if $p \neq x$}
|
||||||
\dstepa{with \v/ ; \e/}{
|
\dstepa{with \{ $l_1$ = $e_1$; $\cdots{}$; $l_n$ = $e_n$; \} ; \e/}{
|
||||||
\e/[\assign{\xone}{\eone}; ...; \assign{\xn}{\en}]
|
\e/[\assign{l_1}{\eone}; ...; \assign{l_n}{\en}]
|
||||||
}{
|
}{}
|
||||||
\parbox[t]{10cm}{
|
|
||||||
if $\vdash v : \{ \xone : \lnot\undef; .. ; \xn : \not\undef; \}$ \\
|
|
||||||
and $\forall i \in \discrete{1}{n}, v(x_i) = e_i$
|
|
||||||
}
|
|
||||||
}
|
|
||||||
\dstepa{raise \e/}{$\bot$}{}
|
\dstepa{raise \e/}{$\bot$}{}
|
||||||
\dstepa{($v \in \τ$ ? \eone : $e_2$)}{\eone}{if $\vdash v : \τ$}
|
\dstepa{($v \in \τ$ ? \eone : $e_2$)}{\eone}{if $\vdash v : \τ$}
|
||||||
\dstepa{($v \in \τ$ ? \eone : $e_2$)}{$e_2$}{if $\vdash v : \lnot\τ$}
|
\dstepa{($v \in \τ$ ? \eone : $e_2$)}{$e_2$}{if $\vdash v : \lnot\τ$}
|
||||||
|
Loading…
Reference in New Issue
Block a user