Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Pierre-Marie Pédrot
Iris
Commits
15e4ed53
Commit
15e4ed53
authored
Jan 19, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hoare existential rule
parent
119f7f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
theories/program_logic/hoare.v
theories/program_logic/hoare.v
+5
-0
No files found.
theories/program_logic/hoare.v
View file @
15e4ed53
...
...
@@ -154,4 +154,9 @@ Proof.
iIntros
(?)
"#Hwp !# [HP HR]"
.
iApply
wp_frame_step_r'
;
try
done
.
iFrame
"HR"
.
by
iApply
"Hwp"
.
Qed
.
Lemma
ht_exists
(
T
:
Type
)
s
E
(
P
:
T
→
iProp
Σ
)
Φ
e
:
(
∀
x
,
{{
P
x
}}
e
@
s
;
E
{{
Φ
}})
⊢
{{
∃
x
,
P
x
}}
e
@
s
;
E
{{
Φ
}}.
Proof
.
iIntros
"#HT !# HP"
.
iDestruct
"HP"
as
(
x
)
"HP"
.
by
iApply
"HT"
.
Qed
.
End
hoare
.
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