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
Environments
Terraform modules
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
Ike Mulder
Iris
Commits
2b5b5c74
Commit
2b5b5c74
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Wrapping set_solver into abstract may drastically improve performance.
parent
37675f7b
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
heap_lang/lib/barrier/proof.v
+4
-4
4 additions, 4 deletions
heap_lang/lib/barrier/proof.v
with
4 additions
and
4 deletions
heap_lang/lib/barrier/proof.v
+
4
−
4
View file @
2b5b5c74
...
...
@@ -88,8 +88,8 @@ Proof.
iNext
.
iRewrite
"Heq"
in
"HQR"
.
iIntros
"HP"
.
iSpecialize
(
"HPΨ"
with
"HP"
)
.
iDestruct
(
big_sepS_delete
_
_
i
with
"HPΨ"
)
as
"[HΨ HPΨ]"
;
first
done
.
iDestruct
(
"HQR"
with
"HΨ"
)
as
"[HR1 HR2]"
.
rewrite
!
big_sepS_insert''
;
[|
set_solver
..]
.
by
iFrame
"HR1 HR2"
.
-
rewrite
!
big_sepS_insert'
;
[|
set_solver
..]
.
by
repeat
iSplit
.
rewrite
!
big_sepS_insert''
;
[|
abstract
set_solver
..]
.
by
iFrame
"HR1 HR2"
.
-
rewrite
!
big_sepS_insert'
;
[|
abstract
set_solver
..]
.
by
repeat
iSplit
.
Qed
.
(** Actual proofs *)
...
...
@@ -115,7 +115,7 @@ Proof.
+
set_solver
.
+
iApply
(
sts_own_weaken
with
"Hγ'"
);
auto
using
sts
.
closed_op
,
i_states_closed
,
low_states_closed
;
set_solver
.
}
abstract
set_solver
.
}
iPvsIntro
.
rewrite
/
recv
/
send
.
iSplitL
"Hr"
.
-
iExists
γ'
,
P
,
P
,
γ
.
iFrame
"Hr"
.
repeat
iSplit
;
auto
.
by
iIntros
"> ?"
.
-
iExists
γ'
.
by
iSplit
.
...
...
@@ -190,7 +190,7 @@ Proof.
+
set_solver
.
+
iApply
(
sts_own_weaken
with
"Hγ"
);
eauto
using
sts
.
closed_op
,
i_states_closed
.
set_solver
.
}
abstract
set_solver
.
}
iPvsIntro
;
iSplitL
"Hγ1"
;
rewrite
/
recv
/
barrier_ctx
.
+
iExists
γ
,
P
,
R1
,
i1
.
iFrame
"Hγ1 Hi1"
.
repeat
iSplit
;
auto
.
by
iIntros
"> ?"
.
...
...
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