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
Iris
Iris
Commits
0c5631c4
Commit
0c5631c4
authored
Jan 24, 2019
by
Ralf Jung
Browse files
use WP sugar
parent
f530c3ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/program_logic/weakestpre.v
View file @
0c5631c4
...
...
@@ -242,7 +242,7 @@ Lemma wp_wand_r s E e Φ Ψ :
WP
e
@
s
;
E
{{
Φ
}}
∗
(
∀
v
,
Φ
v
-
∗
Ψ
v
)
⊢
WP
e
@
s
;
E
{{
Ψ
}}.
Proof
.
iIntros
"[Hwp H]"
.
iApply
(
wp_wand
with
"Hwp H"
).
Qed
.
Lemma
wp_frame_wand_l
s
E
e
Q
Φ
:
Q
∗
WP
e
@
s
;
E
{{
λ
v
,
Q
-
∗
Φ
v
}}
-
∗
WP
e
@
s
;
E
{{
Φ
}}.
Q
∗
WP
e
@
s
;
E
{{
v
,
Q
-
∗
Φ
v
}}
-
∗
WP
e
@
s
;
E
{{
Φ
}}.
Proof
.
iIntros
"[HQ HWP]"
.
iApply
(
wp_wand
with
"HWP"
).
iIntros
(
v
)
"HΦ"
.
by
iApply
"HΦ"
.
...
...
Write
Preview
Supports
Markdown
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