Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Simon Gregersen
stdpp
Commits
ddd73df1
Commit
ddd73df1
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add lemma `fmap_map_seq`.
parent
b3e550a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/fin_maps.v
+8
-0
8 additions, 0 deletions
theories/fin_maps.v
with
8 additions
and
0 deletions
theories/fin_maps.v
+
8
−
0
View file @
ddd73df1
...
...
@@ -2131,6 +2131,14 @@ Section map_seq.
rewrite
map_seq_app
,
map_seq_singleton
.
by
rewrite
insert_union_singleton_r
by
(
by
rewrite
map_seq_snoc_disjoint
)
.
Qed
.
Lemma
fmap_map_seq
{
B
}
(
f
:
A
→
B
)
start
xs
:
f
<$>
map_seq
start
xs
=
map_seq
start
(
f
<$>
xs
)
.
Proof
.
revert
start
.
induction
xs
as
[|
x
xs
IH
];
intros
start
;
csimpl
.
{
by
rewrite
fmap_empty
.
}
by
rewrite
fmap_insert
,
IH
.
Qed
.
End
map_seq
.
(** * Tactics *)
...
...
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