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
Jonas Kastberg
iris
Commits
0a05a8c0
Commit
0a05a8c0
authored
Jun 11, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show that owning a prophecy is exclusive
parent
7442a17a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
theories/base_logic/lib/proph_map.v
theories/base_logic/lib/proph_map.v
+12
-0
No files found.
theories/base_logic/lib/proph_map.v
View file @
0a05a8c0
...
...
@@ -128,6 +128,18 @@ Section proph_map.
Global
Instance
proph_timeless
p
vs
:
Timeless
(
proph
p
vs
).
Proof
.
rewrite
proph_eq
/
proph_def
.
apply
_
.
Qed
.
Lemma
proph_exclusive
p
vs1
vs2
:
proph
p
vs1
-
∗
proph
p
vs2
-
∗
False
.
Proof
.
rewrite
proph_eq
/
proph_def
.
iIntros
"Hp1 Hp2"
.
iCombine
"Hp1 Hp2"
as
"Hp"
.
iDestruct
(
own_valid
with
"Hp"
)
as
%
Hp
.
(* FIXME: [apply auth_frag_valid in Hp] and
[rewrite ->auth_frag_valid in Hp] both should work but do not. *)
move
:
Hp
.
rewrite
auth_frag_valid
singleton_valid
=>
Hp
.
done
.
Qed
.
Lemma
proph_map_new_proph
p
ps
pvs
:
p
∉
ps
→
proph_map_ctx
pvs
ps
==
∗
...
...
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