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
Gaëtan Gilbert
Iris
Commits
a5b6db8b
Commit
a5b6db8b
authored
6 years ago
by
Dan Frumin
Browse files
Options
Downloads
Patches
Plain Diff
Add `big_sepM_insert_acc`.
parent
ba2d414a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
theories/bi/big_op.v
+11
-0
11 additions, 0 deletions
theories/bi/big_op.v
with
12 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
a5b6db8b
...
...
@@ -99,6 +99,7 @@ Changes in Coq:
*
A new tactic,
`wp_pures`
, executes as many pure steps as possible, excluding
steps that would require unlocking subterms. Every impure wp_ tactic executes
this tactic before doing anything else.
*
Add
`big_sepM_insert_acc`
.
## Iris 3.1.0 (released 2017-12-19)
...
...
This diff is collapsed.
Click to expand it.
theories/bi/big_op.v
+
11
−
0
View file @
a5b6db8b
...
...
@@ -628,6 +628,17 @@ Section gmap.
rewrite
-
insert_delete
big_sepM_insert
?lookup_delete
//.
Qed
.
Lemma
big_sepM_insert_acc
Φ
m
i
x
:
m
!!
i
=
Some
x
→
([
∗
map
]
k
↦
y
∈
m
,
Φ
k
y
)
⊢
Φ
i
x
∗
(
∀
x'
,
Φ
i
x'
-∗
([
∗
map
]
k
↦
y
∈
<
[
i
:=
x'
]
>
m
,
Φ
k
y
))
.
Proof
.
intros
?
.
rewrite
{
1
}
big_sepM_delete
//.
apply
sep_mono
;
[
done
|]
.
apply
forall_intro
=>
x'
.
rewrite
-
insert_delete
big_sepM_insert
?lookup_delete
//.
by
apply
wand_intro_l
.
Qed
.
Lemma
big_sepM_fn_insert
{
B
}
(
Ψ
:
K
→
A
→
B
→
PROP
)
(
f
:
K
→
B
)
m
i
x
b
:
m
!!
i
=
None
→
([
∗
map
]
k
↦
y
∈
<
[
i
:=
x
]
>
m
,
Ψ
k
y
(
<
[
i
:=
b
]
>
f
k
))
...
...
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