Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glen Mével
Iris
Commits
d7e80d10
Commit
d7e80d10
authored
Dec 16, 2021
by
Ralf Jung
Browse files
make mono_list_auth DfracDiscarded notation consistent
parent
a9ebd972
Changes
1
Hide whitespace changes
Inline
Side-by-side
iris/algebra/lib/mono_list.v
View file @
d7e80d10
...
...
@@ -22,7 +22,7 @@ Notation "●ML{ dq } l" :=
(
mono_list_auth
dq
l
)
(
at
level
20
,
format
"●ML{ dq } l"
).
Notation
"●ML{# q } l"
:
=
(
mono_list_auth
(
DfracOwn
q
)
l
)
(
at
level
20
,
format
"●ML{# q } l"
).
Notation
"●
□
ML l"
:
=
(
mono_list_auth
DfracDiscarded
l
)
(
at
level
20
).
Notation
"●ML
□
l"
:
=
(
mono_list_auth
DfracDiscarded
l
)
(
at
level
20
).
Notation
"●ML l"
:
=
(
mono_list_auth
(
DfracOwn
1
)
l
)
(
at
level
20
).
Notation
"◯ML l"
:
=
(
mono_list_lb
l
)
(
at
level
20
).
...
...
@@ -188,7 +188,7 @@ Section mono_list_props.
(** * Update *)
Lemma
mono_list_update
{
l1
}
l2
:
l1
`
prefix_of
`
l2
→
●
ML
l1
~~>
●
ML
l2
.
Proof
.
intros
?.
by
apply
auth_update
,
max_prefix_list_local_update
.
Qed
.
Lemma
mono_list_auth_persist
dq
l
:
●
ML
{
dq
}
l
~~>
●
□
ML
l
.
Lemma
mono_list_auth_persist
dq
l
:
●
ML
{
dq
}
l
~~>
●
ML
□
l
.
Proof
.
rewrite
/
mono_list_auth
.
apply
cmra_update_op
;
[|
done
].
by
apply
auth_update_auth_persist
.
...
...
Write
Preview
Supports
Markdown
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