Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
c
Commits
4ac784a4
Commit
4ac784a4
authored
Nov 13, 2018
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove wrong comment.
parent
ec399a74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
theories/tests/memcpy.v
theories/tests/memcpy.v
+1
-2
No files found.
theories/tests/memcpy.v
View file @
4ac784a4
...
...
@@ -6,8 +6,7 @@ Definition memcpy : val := λ: "arg",
"n"
←ᶜ
a_ret
(
Snd
(
Snd
"arg"
))
;
ᶜ
"pend"
←ᶜ
∗ᶜ
(
a_ret
"p"
)
+
∗ᶜ
(
a_ret
"n"
)
;
ᶜ
while
ᶜ
(
∗ᶜ
(
a_ret
"p"
)
<
∗ᶜ
a_ret
"pend"
)
{
(
a_ret
"p"
+
∗
=
ᶜ
♯
1
)
=
ᶜ
∗ᶜ
(
a_ret
"q"
+
∗
=
ᶜ
♯
1
)
;
ᶜ
skip
ᶜ
(* sequence point, should be implicit in the def. of while *)
(
a_ret
"p"
+
∗
=
ᶜ
♯
1
)
=
ᶜ
∗ᶜ
(
a_ret
"q"
+
∗
=
ᶜ
♯
1
)
}.
Lemma
memcpy_spec
`
{
amonadG
Σ
}
lxs
lys
xs
ys
n
R
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment