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
Simcha van Collem
Iris
Commits
8b6f2178
Commit
8b6f2178
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
More consistent names for gset updates.
parent
61af23a7
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
algebra/gset.v
+8
-8
8 additions, 8 deletions
algebra/gset.v
with
8 additions
and
8 deletions
algebra/gset.v
+
8
−
8
View file @
8b6f2178
...
...
@@ -57,7 +57,7 @@ Section gset.
Context
`{
Fresh
K
(
gset
K
),
!
FreshSpec
K
(
gset
K
)}
.
Arguments
op
_
_
_
_
:
simpl
never
.
Lemma
updateP_
alloc_
strong
(
Q
:
gset_disj
K
→
Prop
)
(
I
:
gset
K
)
X
:
Lemma
gset_alloc_
updateP_strong
(
Q
:
gset_disj
K
→
Prop
)
(
I
:
gset
K
)
X
:
(
∀
i
,
i
∉
X
→
i
∉
I
→
Q
(
GSet
({[
i
]}
∪
X
)))
→
GSet
X
~~>:
Q
.
Proof
.
intros
HQ
;
apply
cmra_discrete_updateP
=>
?
/
gset_disj_valid_inv_l
[
Y
[
->
?]]
.
...
...
@@ -66,16 +66,16 @@ Section gset.
-
apply
HQ
;
set_solver
by
eauto
.
-
apply
gset_disj_valid_op
.
set_solver
by
eauto
.
Qed
.
Lemma
updateP
_alloc
(
Q
:
gset_disj
K
→
Prop
)
X
:
Lemma
gset_alloc_
updateP
(
Q
:
gset_disj
K
→
Prop
)
X
:
(
∀
i
,
i
∉
X
→
Q
(
GSet
({[
i
]}
∪
X
)))
→
GSet
X
~~>:
Q
.
Proof
.
move
=>??
.
eapply
updateP_
alloc_
strong
with
(
I
:=
∅
);
by
eauto
.
Qed
.
Lemma
updateP_
alloc_
strong'
(
I
:
gset
K
)
X
:
Proof
.
move
=>??
.
eapply
gset_alloc_
updateP_strong
with
(
I
:=
∅
);
by
eauto
.
Qed
.
Lemma
gset_alloc_
updateP_strong'
(
I
:
gset
K
)
X
:
GSet
X
~~>:
λ
Y
,
∃
i
,
Y
=
GSet
({[
i
]}
∪
X
)
∧
i
∉
I
∧
i
∉
X
.
Proof
.
eauto
using
updateP_
alloc_
strong
.
Qed
.
Lemma
updateP
_alloc
'
X
:
GSet
X
~~>:
λ
Y
,
∃
i
,
Y
=
GSet
({[
i
]}
∪
X
)
∧
i
∉
X
.
Proof
.
eauto
using
updateP
_alloc
.
Qed
.
Proof
.
eauto
using
gset_alloc_
updateP_strong
.
Qed
.
Lemma
gset_alloc_
updateP'
X
:
GSet
X
~~>:
λ
Y
,
∃
i
,
Y
=
GSet
({[
i
]}
∪
X
)
∧
i
∉
X
.
Proof
.
eauto
using
gset_alloc_
updateP
.
Qed
.
Lemma
alloc
_singleton
_local_update
X
i
Xf
:
Lemma
gset_
alloc_local_update
X
i
Xf
:
i
∉
X
→
i
∉
Xf
→
GSet
X
~l
~>
GSet
({[
i
]}
∪
X
)
@
Some
(
GSet
Xf
)
.
Proof
.
intros
??;
apply
local_update_total
;
split
;
simpl
.
...
...
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