Remove definiton of the obsolete matchType symbol

This commit is contained in:
regnat 2017-05-11 07:36:31 +02:00
parent 2bd9a4ac58
commit cfa357647c

View File

@ -94,63 +94,6 @@ and~\pref{typing::operators}.
\caption{Typing rules for the patterns\label{typing::patterns::typing-rules}}
\end{figure}
\begin{figure}
\begin{center}
\begin{tabular}{rl}
\eqdefa{$\matchType{x}$}{$\any$}{}
\eqdefa{$\matchType{q@x}$}{$\matchType{q}$}{}
\eqdefa{$\matchType{\{ f_1, \cdots, f_n \}}$}%
{$\{ \matchType{f_1}; \cdots \matchType{f_n}; \}$}{}
\eqdefa{$\matchType{l}$}{$l = \any$}{}
\eqdefa{$\matchType{l ? e}$}{$l = \any \vee \undef$}{}
\eqdefa{$\matchType{\text{Cons}(x_1, x_2)}$}{$\text{Cons}(\any, \any)$}{}
\end{tabular}
\end{center}
\caption{Semantics of the $\matchType{\_}$ operator%
\label{typing::pattern-accept}}
\end{figure}
\begin{figure}
\begin{tabular}{rl}
\eqdefa{$\ofTypeP{x}{}$}{$\sfrac{x}{}$}{}
\eqdefa{$\ofTypeP{q@x}{}$}{$\sfrac{x}{}; \ofTypeP{q}{x}$}{}
\eqdefa{$\ofTypeP{\{\}}{\{ x_1 ? c_1, \cdots, x_n ? c_n \}}$}{%
$\sfrac{x_1}{\mathcal{B}(c_1)}; \cdots; \sfrac{x_n}{\mathcal{B}(c_n)}$}{}
\eqdefa{%
$\ofTypeP{%
\{ s_1 = _1; \cdots; s_m = _m; \}%
}{%
\{x_1 ? c_1, \cdots, x_n ? c_n, \textbf{\ldots}\}%
}$%
}{%
$\sfrac{x_1}{\mathcal{B}(c_1)}; \cdots; \sfrac{x_n}{\mathcal{B}(c_n)}$%
}{%
if %
$\forall (i,j) \in \discrete{1}{m} \times \discrete{1}{n}, s_i \neq s_j$%
}
\eqdefa{$\ofTypeP{\{ s = ;\}}{\{ x \}}$}{$\sfrac{x}{}$}{if $s = x$}
\eqdefa{$\ofTypeP{\{ s = ;\}}{\{ x ? c \}}$}{$\sfrac{x}{}$}{if $s = x$}
\eqdefa{$%
\ofTypeP{\{ s_1 = _1; \cdots; s_n = _n \}}{\{ x, f_1, \cdots, f_m \}}%
$}{$%
\sfrac{x}{};%
\ofTypeP{\{ s_2 = _2; \cdots; s_n = _n \}}{\{ f_1, \cdots, f_m \}}%
$}{if $s_1 = x$}
\eqdefa{
$\ofTypeP{%
\{ s_1 = _1; \cdots; s_n = _n \}}%
{\{ x ? c, f_1 \cdots, f_m \}}$%
}{%
$\sfrac{x}{};%
\ofTypeP{\{ s_2 = _2; \cdots; s_n = _n \}}%
{\{ f_1, \cdots, f_m \}}$%
}{if $s_1 = x$}
\eqdefa{%
$\ofTypeP{\text{Cons}(_1, _2)}{\text{Cons}(x_1, x_2)}$%
}{$\sfrac{x_1}{_1}; \sfrac{x_2}{_2}$}{}
\end{tabular}
\caption{Semantics of $\ofTypeP{p}{}$%
\label{typing::pattern-ty-match}}
\end{figure}
\begin{figure}
\input{typing/lambdaCalculus}
\caption{Typing rules for the $\&-calculus$\label{typing::lambda-calculus}}