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
8d0e35d6
Commit
8d0e35d6
authored
5 years ago
by
Michael Sammler
Browse files
Options
Downloads
Patches
Plain Diff
fix big_sepM2_fmap and friend to work for keys other than nat
parent
247428ee
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/bi/big_op.v
+3
-3
3 additions, 3 deletions
theories/bi/big_op.v
with
3 additions
and
3 deletions
theories/bi/big_op.v
+
3
−
3
View file @
8d0e35d6
...
...
@@ -1068,7 +1068,7 @@ Section map2.
naive_solver
.
Qed
.
Lemma
big_sepM2_fmap
{
A'
B'
}
(
f
:
A
→
A'
)
(
g
:
B
→
B'
)
(
Φ
:
nat
→
A'
→
B'
→
PROP
)
m1
m2
:
Lemma
big_sepM2_fmap
{
A'
B'
}
(
f
:
A
→
A'
)
(
g
:
B
→
B'
)
(
Φ
:
K
→
A'
→
B'
→
PROP
)
m1
m2
:
([
∗
map
]
k
↦
y1
;
y2
∈
f
<$>
m1
;
g
<$>
m2
,
Φ
k
y1
y2
)
⊣⊢
([
∗
map
]
k
↦
y1
;
y2
∈
m1
;
m2
,
Φ
k
(
f
y1
)
(
g
y2
))
.
Proof
.
...
...
@@ -1082,12 +1082,12 @@ Section map2.
-
by
rewrite
big_sepM_fmap
.
Qed
.
Lemma
big_sepM2_fmap_l
{
A'
}
(
f
:
A
→
A'
)
(
Φ
:
nat
→
A'
→
B
→
PROP
)
m1
m2
:
Lemma
big_sepM2_fmap_l
{
A'
}
(
f
:
A
→
A'
)
(
Φ
:
K
→
A'
→
B
→
PROP
)
m1
m2
:
([
∗
map
]
k
↦
y1
;
y2
∈
f
<$>
m1
;
m2
,
Φ
k
y1
y2
)
⊣⊢
([
∗
map
]
k
↦
y1
;
y2
∈
m1
;
m2
,
Φ
k
(
f
y1
)
y2
)
.
Proof
.
rewrite
-
{
1
}(
map_fmap_id
m2
)
.
apply
big_sepM2_fmap
.
Qed
.
Lemma
big_sepM2_fmap_r
{
B'
}
(
g
:
B
→
B'
)
(
Φ
:
nat
→
A
→
B'
→
PROP
)
m1
m2
:
Lemma
big_sepM2_fmap_r
{
B'
}
(
g
:
B
→
B'
)
(
Φ
:
K
→
A
→
B'
→
PROP
)
m1
m2
:
([
∗
map
]
k
↦
y1
;
y2
∈
m1
;
g
<$>
m2
,
Φ
k
y1
y2
)
⊣⊢
([
∗
map
]
k
↦
y1
;
y2
∈
m1
;
m2
,
Φ
k
y1
(
g
y2
))
.
Proof
.
rewrite
-
{
1
}(
map_fmap_id
m1
)
.
apply
big_sepM2_fmap
.
Qed
.
...
...
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