Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Model registry
Operate
Environments
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
Michael Sammler
iris-coq
Commits
1a0c5860
Commit
1a0c5860
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add lemma `meta_token_difference`.
parent
78d3d724
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/base_logic/lib/gen_heap.v
+7
-0
7 additions, 0 deletions
theories/base_logic/lib/gen_heap.v
with
7 additions
and
0 deletions
theories/base_logic/lib/gen_heap.v
+
7
−
0
View file @
1a0c5860
...
@@ -267,6 +267,13 @@ Section gen_heap.
...
@@ -267,6 +267,13 @@ Section gen_heap.
iIntros
"[Hm1 Hm2]"
.
by
iApply
(
meta_token_union_2
with
"Hm1 Hm2"
)
.
iIntros
"[Hm1 Hm2]"
.
by
iApply
(
meta_token_union_2
with
"Hm1 Hm2"
)
.
Qed
.
Qed
.
Lemma
meta_token_difference
l
E1
E2
:
E1
⊆
E2
→
meta_token
l
E2
⊣⊢
meta_token
l
E1
∗
meta_token
l
(
E2
∖
E1
)
.
Proof
.
intros
.
rewrite
{
1
}(
union_difference_L
E1
E2
)
//.
by
rewrite
meta_token_union
;
last
set_solver
.
Qed
.
Lemma
meta_agree
`{
Countable
A
}
l
i
(
x1
x2
:
A
)
:
Lemma
meta_agree
`{
Countable
A
}
l
i
(
x1
x2
:
A
)
:
meta
l
i
x1
-∗
meta
l
i
x2
-∗
⌜
x1
=
x2
⌝.
meta
l
i
x1
-∗
meta
l
i
x2
-∗
⌜
x1
=
x2
⌝.
Proof
.
Proof
.
...
...
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