mirror of
https://github.com/achlipala/frap.git
synced 2024-11-10 00:07:51 +00:00
11.1: s/smallstep/smallstepo/ to match Coq source
https://github.com/achlipala/frap/blob/master/TypesAndMutation.v#L117 allows new/read/overwrite inside contexts
This commit is contained in:
parent
103c8ad557
commit
2f8adc23a9
1 changed files with 3 additions and 3 deletions
|
@ -2954,13 +2954,13 @@ $$\begin{array}{rrcl}
|
||||||
|
|
||||||
\newcommand{\dom}[1]{\mathsf{dom}(#1)}
|
\newcommand{\dom}[1]{\mathsf{dom}(#1)}
|
||||||
Now we can write the rules for the three reference primitives.
|
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}
|
\ell \notin \dom{h}
|
||||||
}
|
}
|
||||||
\quad \infer{\smallstep{(h, \readref{\ell})}{(h, v)}}{
|
\quad \infer{\smallstepo{(h, \readref{\ell})}{(h, v)}}{
|
||||||
\msel{h}{\ell} = 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
|
\msel{h}{\ell} = v
|
||||||
}$$
|
}$$
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue