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
Marianna Rapoport
iris-coq
Commits
3f3d517d
Commit
3f3d517d
authored
Aug 08, 2016
by
Robbert Krebbers
Browse files
Fix TODO in counter_examples.
parent
2cb61949
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/counter_examples.v
View file @
3f3d517d
...
...
@@ -156,12 +156,11 @@ Module inv. Section inv.
Proof
.
iIntros
"(#HsP & #HsQ & #HP)"
.
iDestruct
"HsP"
as
(
i
)
"HiP"
.
iApply
(
inv_open'
i
).
iSplit
;
first
done
.
(* TODO: How can I state a view-shift and immediately run it? *)
iIntros
"HaP"
.
iAssert
(
pvs
M0
(
finished
γ
))
with
"[HaP]"
as
"Hf"
.
iIntros
"HaP"
.
iAssert
(
pvs
M0
(
finished
γ
))
with
"[HaP]"
as
"==> Hf"
.
{
iDestruct
"HaP"
as
"[Hs | [Hf _]]"
.
-
by
iApply
start_finish
.
-
by
iApply
pvs_intro
.
}
iVs
"Hf"
as
"Hf"
.
iDestruct
(
finished_dup
with
"Hf"
)
as
"[Hf Hf']"
.
iDestruct
(
finished_dup
with
"Hf"
)
as
"[Hf Hf']"
.
iApply
pvs_intro
.
iSplitL
"Hf'"
;
first
by
eauto
.
(* Step 2: Open the Q-invariant. *)
iClear
"HiP"
.
clear
i
.
iDestruct
"HsQ"
as
(
i
)
"HiQ"
.
...
...
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