Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Yanovski
iris-coq
Commits
25f6e916
Commit
25f6e916
authored
Aug 24, 2016
by
Zhen Zhang
Browse files
Fix FIXME in atomic.v
parent
eb5b9b57
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/atomic.v
View file @
25f6e916
...
...
@@ -61,19 +61,16 @@ Section demo.
wp_load
.
iVs
(
"Hvs'"
with
"Hl"
)
as
"HP"
.
iVsIntro
.
wp_let
.
wp_bind
(
CAS
_
_
_
).
wp_op
.
(
*
iVs
(
"Hvs"
with
"HP"
)
as
(
x
)
"[Hl Hvs']"
.
(
*
FIXME
:
Can
'
t
apply
,
bug
?
*
)
*
)
iApply
(
wp_atomic
⊤
heapN
_
);
first
by
solve_atomic
.
iVs
(
"Hvs"
with
"HP"
)
as
(
x
'
)
"[Hl Hvs']"
.
destruct
(
decide
(
x
=
x
'
)).
-
subst
.
iDestruct
"Hvs'"
as
"[_ Hvs']"
.
iSpecialize
(
"Hvs'"
$
!
#
x
'
).
iVsIntro
.
wp_cas_suc
.
iVs
(
"Hvs'"
with
"[Hl]"
)
as
"HQ"
;
first
by
iFrame
.
iVsIntro
.
wp_if
.
iVsIntro
.
by
iExists
x
'
.
-
iDestruct
"Hvs'"
as
"[Hvs' _]"
.
iVsIntro
.
wp_cas_fail
.
wp_cas_fail
.
iVs
(
"Hvs'"
with
"[Hl]"
)
as
"HP"
;
first
by
iFrame
.
iVsIntro
.
wp_if
.
by
iApply
"IH"
.
Qed
.
...
...
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