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
Yixuan Chen
Iris
Commits
989f0ffd
Commit
989f0ffd
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
remove 'l ↦ -' notation
It is barely used and causes a lot of confusion when used like 'l ↦ - * P'
parent
b42f8f52
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
theories/base_logic/lib/gen_heap.v
+0
-15
0 additions, 15 deletions
theories/base_logic/lib/gen_heap.v
with
0 additions
and
15 deletions
theories/base_logic/lib/gen_heap.v
+
0
−
15
View file @
989f0ffd
...
...
@@ -126,10 +126,6 @@ Local Notation "l ↦{ q } v" := (mapsto l q v)
(
at
level
20
,
q
at
level
50
,
format
"l ↦{ q } v"
)
:
bi_scope
.
Local
Notation
"l ↦ v"
:=
(
mapsto
l
1
v
)
(
at
level
20
)
:
bi_scope
.
Local
Notation
"l ↦{ q } -"
:=
(
∃
v
,
l
↦
{
q
}
v
)
%
I
(
at
level
20
,
q
at
level
50
,
format
"l ↦{ q } -"
)
:
bi_scope
.
Local
Notation
"l ↦ -"
:=
(
l
↦
{
1
}
-
)
%
I
(
at
level
20
)
:
bi_scope
.
Lemma
gen_heap_init
`{
Countable
L
,
!
gen_heapPreG
L
V
Σ
}
σ
:
⊢
|
==>
∃
_
:
gen_heapG
L
V
Σ
,
gen_heap_interp
σ
.
Proof
.
...
...
@@ -175,17 +171,6 @@ Section gen_heap.
iCombine
"Hl1 Hl2"
as
"Hl"
.
eauto
with
iFrame
.
Qed
.
Global
Instance
ex_mapsto_fractional
l
:
Fractional
(
λ
q
,
l
↦
{
q
}
-
)
%
I
.
Proof
.
intros
p
q
.
iSplit
.
-
iDestruct
1
as
(
v
)
"[H1 H2]"
.
iSplitL
"H1"
;
eauto
.
-
iIntros
"[H1 H2]"
.
iDestruct
"H1"
as
(
v1
)
"H1"
.
iDestruct
"H2"
as
(
v2
)
"H2"
.
iDestruct
(
mapsto_agree
with
"H1 H2"
)
as
%->
.
iExists
v2
.
by
iFrame
.
Qed
.
Global
Instance
ex_mapsto_as_fractional
l
q
:
AsFractional
(
l
↦
{
q
}
-
)
(
λ
q
,
l
↦
{
q
}
-
)
%
I
q
.
Proof
.
split
.
done
.
apply
_
.
Qed
.
Lemma
mapsto_valid
l
q
v
:
l
↦
{
q
}
v
-∗
✓
q
.
Proof
.
rewrite
mapsto_eq
/
mapsto_def
own_valid
!
discrete_valid
.
...
...
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