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
William Mansky
Iris
Commits
be9f621b
Commit
be9f621b
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
heap tuning
parent
1c8ba455
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algebra/cmra.v
+3
-0
3 additions, 0 deletions
algebra/cmra.v
heap_lang/heap.v
+2
-2
2 additions, 2 deletions
heap_lang/heap.v
with
5 additions
and
2 deletions
algebra/cmra.v
+
3
−
0
View file @
be9f621b
...
...
@@ -338,6 +338,9 @@ Proof. by rewrite equiv_dist=>?? n; apply (local_updateN L). Qed.
Global
Instance
local_update_op
x
:
LocalUpdate
(
λ
_,
True
)
(
op
x
)
.
Proof
.
split
.
apply
_
.
by
intros
n
y1
y2
_
_;
rewrite
assoc
.
Qed
.
Global
Instance
local_update_id
:
LocalUpdate
(
λ
_,
True
)
(
@
id
A
)
.
Proof
.
split
;
auto
with
typeclass_instances
.
Qed
.
(** ** Updates *)
Global
Instance
cmra_update_preorder
:
PreOrder
(
@
cmra_update
A
)
.
Proof
.
split
.
by
intros
x
y
.
intros
x
y
y'
??
z
?;
naive_solver
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
heap_lang/heap.v
+
2
−
2
View file @
be9f621b
...
...
@@ -44,7 +44,7 @@ Section heap.
Definition
heap_ctx
(
γ
:
gname
)
:
iPropG
heap_lang
Σ
:=
auth_ctx
HeapI
γ
N
heap_inv
.
Global
Instance
heap_inv_
ne
:
Proper
((
≡
)
==>
(
≡
))
heap_inv
.
Global
Instance
heap_inv_
proper
:
Proper
((
≡
)
==>
(
≡
))
heap_inv
.
Proof
.
move
=>?
?
EQ
.
rewrite
/
heap_inv
/
from_heap
.
(* TODO I guess we need some lemma about omap? *)
...
...
@@ -91,8 +91,8 @@ Section heap.
apply
later_mono
,
wand_intro_l
.
rewrite
left_id
const_equiv
//
left_id
.
by
rewrite
-
later_intro
.
Unshelve
.
(* TODO Make it so that this becomes a goal, not shelved. *)
{
eexists
.
eauto
.
}
{
split
;
first
by
apply
_
.
done
.
}
Qed
.
End
heap
.
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