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
8da58b7f
Commit
8da58b7f
authored
Feb 18, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linebreaks for readability
parent
6d15d440
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
theories/algebra/gmap.v
theories/algebra/gmap.v
+3
-1
theories/algebra/gset.v
theories/algebra/gset.v
+2
-1
No files found.
theories/algebra/gmap.v
View file @
8da58b7f
...
...
@@ -306,7 +306,9 @@ Lemma insert_op m1 m2 i x y :
Proof
.
by
rewrite
(
insert_merge
(
⋅
)
m1
m2
i
(
x
⋅
y
)
x
y
).
Qed
.
Lemma
insert_updateP
(
P
:
A
→
Prop
)
(
Q
:
gmap
K
A
→
Prop
)
m
i
x
:
x
~~>
:
P
→
(
∀
y
,
P
y
→
Q
(<[
i
:
=
y
]>
m
))
→
<[
i
:
=
x
]>
m
~~>
:
Q
.
x
~~>
:
P
→
(
∀
y
,
P
y
→
Q
(<[
i
:
=
y
]>
m
))
→
<[
i
:
=
x
]>
m
~~>
:
Q
.
Proof
.
intros
Hx
%
option_updateP'
HP
;
apply
cmra_total_updateP
=>
n
mf
Hm
.
destruct
(
Hx
n
(
Some
(
mf
!!
i
)))
as
([
y
|]&?&?)
;
try
done
.
...
...
theories/algebra/gset.v
View file @
8da58b7f
...
...
@@ -134,7 +134,8 @@ Section gset_disj.
Lemma
gset_disj_alloc_updateP_strong
P
(
Q
:
gset_disj
K
→
Prop
)
X
:
(
∀
Y
,
X
⊆
Y
→
∃
j
,
j
∉
Y
∧
P
j
)
→
(
∀
i
,
i
∉
X
→
P
i
→
Q
(
GSet
({[
i
]}
∪
X
)))
→
GSet
X
~~>
:
Q
.
(
∀
i
,
i
∉
X
→
P
i
→
Q
(
GSet
({[
i
]}
∪
X
)))
→
GSet
X
~~>
:
Q
.
Proof
.
intros
Hfresh
HQ
.
apply
cmra_discrete_updateP
=>
?
/
gset_disj_valid_inv_l
[
Y
[->?]].
...
...
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