mirror of
https://github.com/achlipala/frap.git
synced 2025-03-13 00:51:44 +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)}
|
||||
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…
Add table
Reference in a new issue