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
2927fef1
Commit
2927fef1
authored
3 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add lemma `map_seq_ne`.
parent
b3896878
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
+8
-1
8 additions, 1 deletion
iris/algebra/gmap.v
with
8 additions
and
1 deletion
iris/algebra/gmap.v
+
8
−
1
View file @
2927fef1
From
stdpp
Require
Export
list
gmap
.
From
iris
.
algebra
Require
Export
cmra
.
From
iris
.
algebra
Require
Export
list
cmra
.
From
iris
.
algebra
Require
Import
updates
local_updates
proofmode_classes
big_op
.
From
iris
.
prelude
Require
Import
options
.
...
...
@@ -97,6 +97,13 @@ Proof. intros (y'&?&->)%dist_Some_inv_r'. by rewrite insert_id. Qed.
(** Internalized properties *)
End
ofe
.
Global
Instance
map_seq_ne
{
A
:
ofe
}
start
:
NonExpansive
(
map_seq
(
M
:=
gmap
nat
A
)
start
)
.
Proof
.
intros
n
l1
l2
Hl
.
revert
start
.
induction
Hl
;
intros
;
simpl
;
repeat
(
done
||
f_equiv
)
.
Qed
.
Global
Arguments
gmapO
_
{_
_}
_
.
(** Non-expansiveness of higher-order map functions and big-ops *)
...
...
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