Skip to content

Commit

Permalink
added definition of hole filling for sigmas
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus- committed Apr 24, 2018
1 parent 3684fb4 commit ee97188
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion fig-substitution.tex
Expand Up @@ -6,6 +6,12 @@
\judgbox
{\instantiate{\dexp}{u}{\dexp'} = \dexp''}
{$\dexp''$ is obtained by filling hole $u$ with $\dexp$ in $\dexp'$}

\vsepRule

\judgbox
{\instantiate{\dexp}{u}{\sigma} = \sigma'}
{$\sigma'$ is obtained by filling hole $u$ with $\dexp$ in $\sigma$}
%% {$\dexp''$ is the result of substituting $\dexp$ for $u$ in $\dexp'$}
\[
\begin{array}{lcll}
Expand Down Expand Up @@ -62,11 +68,18 @@
\\
\instantiate{\dexp}{u}{\dcastfail{\dexp'}{\htau_1}{\htau_2}}
&=&
\dcastfail{(\instantiate{\dexp}{u}{\dexp'})}{\htau_1}{\htau_2}
\dcastfail{(\instantiate{\dexp}{u}{\dexp'})}{\htau_1}{\htau_2}\\
\instantiate{\dexp}{u}{\cdot}
&=&
\cdot\\
\instantiate{\dexp}{u}{\sigma, \dexp'/x}
&=&
\instantiate{\dexp}{u}{\sigma}, \instantiate{\dexp}{u}\dexp'/x
%% {[\dexp_1 / x] \dcast{\htau}{\dexp}}
%% &=&
%% \dcast{\htau}{[\dexp_1 / x] \dexp}
\end{array}
\]
\CaptionLabel{Hole Filling}{fig:substitution}
\vspace{-8px}
\end{figure}

0 comments on commit ee97188

Please sign in to comment.