Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Gilbert
Iris
Commits
0a05a8c0
Commit
0a05a8c0
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
show that owning a prophecy is exclusive
parent
7442a17a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/base_logic/lib/proph_map.v
+12
-0
12 additions, 0 deletions
theories/base_logic/lib/proph_map.v
with
12 additions
and
0 deletions
theories/base_logic/lib/proph_map.v
+
12
−
0
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
==∗
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment