Merge pull request #20 from andres-erbsen/patch-1

11.1: s/smallstep/smallstepo/ to match Coq source
This commit is contained in:
Adam Chlipala 2017-09-10 14:05:46 -04:00 committed by GitHub
commit 19e9e84953

View file

@ -2954,13 +2954,13 @@ $$\begin{array}{rrcl}
\newcommand{\dom}[1]{\mathsf{dom}(#1)}
Now we can write the rules for the three reference primitives.
$$\infer{\smallstep{(h, \newref{v})}{(\mupd{h}{\ell}{v}, \ell)}}{
$$\infer{\smallstepo{(h, \newref{v})}{(\mupd{h}{\ell}{v}, \ell)}}{
\ell \notin \dom{h}
}
\quad \infer{\smallstep{(h, \readref{\ell})}{(h, v)}}{
\quad \infer{\smallstepo{(h, \readref{\ell})}{(h, v)}}{
\msel{h}{\ell} = v
}
\quad \infer{\smallstep{(h, \writeref{\ell}{v'})}{(\mupd{h}{\ell}{v'}, v')}}{
\quad \infer{\smallstepo{(h, \writeref{\ell}{v'})}{(\mupd{h}{\ell}{v'}, v')}}{
\msel{h}{\ell} = v
}$$