Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
examples
Commits
226181b6
Commit
226181b6
authored
Jun 20, 2018
by
Ralf Jung
Browse files
fix build
parent
c34a636b
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/hocap/contrib_bag.v
View file @
226181b6
...
...
@@ -27,7 +27,7 @@ Section proof.
Proof
.
iIntros
"Hp1 Hp2"
.
rewrite
/
bagPart
-
gmultiset_op_union
-
frac_op'
.
rewrite
fra
g
_auth_op
own_op
.
iFrame
.
rewrite
fra
c
_auth_
frag_
op
own_op
.
iFrame
.
Qed
.
Lemma
bagPart_decompose
(
γ
:
gname
)
(
q
:
Qp
)
(
X
Y
:
gmultiset
val
)
:
bagPart
γ
q
(
X
∪
Y
)
-
∗
bagPart
γ
(
q
/
2
)
X
∗
bagPart
γ
(
q
/
2
)
Y
.
...
...
@@ -36,7 +36,7 @@ Section proof.
assert
(
q
=
(
q
/
2
)+(
q
/
2
))%
Qp
as
Hq
by
(
by
rewrite
Qp_div_2
).
rewrite
/
bagPart
{
1
}
Hq
.
rewrite
-
gmultiset_op_union
-
frac_op'
.
rewrite
fra
g
_auth_op
own_op
.
iFrame
.
rewrite
fra
c
_auth_
frag_
op
own_op
.
iFrame
.
Qed
.
Global
Instance
bagM_persistent
γ
b
γ
x
:
Persistent
(
bagM
γ
b
γ
x
).
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment