mirror of
https://github.com/achlipala/frap.git
synced 2024-11-10 00:07:51 +00:00
Merge pull request #20 from andres-erbsen/patch-1
11.1: s/smallstep/smallstepo/ to match Coq source
This commit is contained in:
commit
19e9e84953
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}$$
|
||||
|
||||
|
|
Loading…
Reference in a new issue