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
Lennard Gäher
Iris
Commits
0a21dfda
Commit
0a21dfda
authored
Dec 18, 2020
by
Robbert Krebbers
Browse files
Merge branch 'ralf/singleton_mono' into 'master'
add singleton_mono See merge request
iris/iris!606
parents
afe51813
2d1fb3d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
iris/algebra/gmap.v
View file @
0a21dfda
...
...
@@ -349,6 +349,9 @@ Proof.
apply
Some_included
.
by
rewrite
Hi
.
-
intros
?.
exists
y
.
by
rewrite
lookup_insert
Some_included
.
Qed
.
Lemma
singleton_mono
i
x
y
:
x
≼
y
→
{[
i
:
=
x
]}
≼
({[
i
:
=
y
]}
:
gmap
K
A
).
Proof
.
intros
Hincl
.
apply
singleton_included
.
right
.
done
.
Qed
.
Global
Instance
singleton_cancelable
i
x
:
Cancelable
(
Some
x
)
→
Cancelable
{[
i
:
=
x
]}.
...
...
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