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
Pierre Roux
Iris
Commits
b3901a51
Commit
b3901a51
authored
3 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add `Proper` instance for `Dom` on `gmap`.
parent
ff3cf284
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
iris/algebra/gmap.v
+4
-0
4 additions, 0 deletions
iris/algebra/gmap.v
with
4 additions
and
0 deletions
iris/algebra/gmap.v
+
4
−
0
View file @
b3901a51
From
stdpp
Require
Export
list
gmap
.
From
stdpp
Require
Export
list
gmap
.
From
iris
.
algebra
Require
Export
list
cmra
.
From
iris
.
algebra
Require
Export
list
cmra
.
From
iris
.
algebra
Require
Import
gset
.
From
iris
.
algebra
Require
Import
updates
local_updates
proofmode_classes
big_op
.
From
iris
.
algebra
Require
Import
updates
local_updates
proofmode_classes
big_op
.
From
iris
.
prelude
Require
Import
options
.
From
iris
.
prelude
Require
Import
options
.
...
@@ -94,6 +95,9 @@ Lemma insert_idN n m i x :
...
@@ -94,6 +95,9 @@ Lemma insert_idN n m i x :
m
!!
i
≡
{
n
}
≡
Some
x
→
<
[
i
:=
x
]
>
m
≡
{
n
}
≡
m
.
m
!!
i
≡
{
n
}
≡
Some
x
→
<
[
i
:=
x
]
>
m
≡
{
n
}
≡
m
.
Proof
.
intros
(
y'
&
?
&
->
)
%
dist_Some_inv_r'
.
by
rewrite
insert_id
.
Qed
.
Proof
.
intros
(
y'
&
?
&
->
)
%
dist_Some_inv_r'
.
by
rewrite
insert_id
.
Qed
.
Global
Instance
gmap_dom_ne
n
:
Proper
((
≡
{
n
}
@
{
gmap
K
A
}
≡
)
==>
(
=
))
(
dom
(
gset
K
))
.
Proof
.
intros
m1
m2
Hm
.
apply
set_eq
=>
k
.
by
rewrite
!
elem_of_dom
Hm
.
Qed
.
End
ofe
.
End
ofe
.
Global
Instance
map_seq_ne
{
A
:
ofe
}
start
:
Global
Instance
map_seq_ne
{
A
:
ofe
}
start
:
...
...
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