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
Simcha van Collem
Iris
Commits
fda5c51c
Commit
fda5c51c
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
proof tuning
parent
4e1bdcc7
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
theories/program_logic/ectx_lifting.v
+1
-1
1 addition, 1 deletion
theories/program_logic/ectx_lifting.v
theories/program_logic/lifting.v
+3
-3
3 additions, 3 deletions
theories/program_logic/lifting.v
with
4 additions
and
4 deletions
theories/program_logic/ectx_lifting.v
+
1
−
1
View file @
fda5c51c
...
@@ -38,7 +38,7 @@ Lemma wp_lift_pure_head_step {E E' Φ} e1 :
...
@@ -38,7 +38,7 @@ Lemma wp_lift_pure_head_step {E E' Φ} e1 :
⊢
WP
e1
@
E
{{
Φ
}}
.
⊢
WP
e1
@
E
{{
Φ
}}
.
Proof
using
Hinh
.
Proof
using
Hinh
.
iIntros
(??)
"H"
.
iApply
wp_lift_pure_step
;
eauto
.
iIntros
(??)
"H"
.
iApply
wp_lift_pure_step
;
eauto
.
iMod
"H"
as
"H"
.
iModIntro
.
iNext
.
iMod
"H"
as
"H"
.
iModIntro
.
iMod
"H"
.
iModIntro
.
iNext
.
iMod
"H"
.
iModIntro
.
iIntros
(????)
.
iApply
"H"
.
eauto
.
iIntros
(????)
.
iApply
"H"
.
eauto
.
Qed
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
theories/program_logic/lifting.v
+
3
−
3
View file @
fda5c51c
...
@@ -30,11 +30,11 @@ Lemma wp_lift_pure_step `{Inhabited (state Λ)} E E' Φ e1 :
...
@@ -30,11 +30,11 @@ Lemma wp_lift_pure_step `{Inhabited (state Λ)} E E' Φ e1 :
Proof
.
Proof
.
iIntros
(
Hsafe
Hstep
)
"H"
.
iApply
wp_lift_step
.
iIntros
(
Hsafe
Hstep
)
"H"
.
iApply
wp_lift_step
.
{
eapply
reducible_not_val
,
(
Hsafe
inhabitant
)
.
}
{
eapply
reducible_not_val
,
(
Hsafe
inhabitant
)
.
}
iIntros
(
σ1
)
"Hσ"
.
iMod
"H"
as
"H"
.
iIntros
(
σ1
)
"Hσ"
.
iMod
"H"
.
iMod
fupd_intro_mask'
as
"Hclose"
;
last
iModIntro
;
first
set_solver
.
iMod
fupd_intro_mask'
as
"Hclose"
;
last
iModIntro
;
first
set_solver
.
iSplit
;
[
done
|];
iNext
;
iIntros
(
e2
σ2
efs
?)
.
iSplit
;
[
done
|];
iNext
;
iIntros
(
e2
σ2
efs
?)
.
destruct
(
Hstep
σ1
e2
σ2
efs
);
auto
;
subst
.
destruct
(
Hstep
σ1
e2
σ2
efs
);
auto
;
subst
.
iMod
"Hclose"
as
"_"
.
iFrame
"Hσ"
.
iMod
"H"
as
"H"
.
iApply
"H"
;
auto
.
iMod
"Hclose"
as
"_"
.
iFrame
"Hσ"
.
iMod
"H"
.
iApply
"H"
;
auto
.
Qed
.
Qed
.
(* Atomic steps don't need any mask-changing business here, one can
(* Atomic steps don't need any mask-changing business here, one can
...
@@ -66,7 +66,7 @@ Proof.
...
@@ -66,7 +66,7 @@ Proof.
iIntros
(?
Hpuredet
)
"H"
.
iApply
(
wp_lift_pure_step
E
);
try
done
.
iIntros
(?
Hpuredet
)
"H"
.
iApply
(
wp_lift_pure_step
E
);
try
done
.
{
by
intros
;
eapply
Hpuredet
.
}
{
by
intros
;
eapply
Hpuredet
.
}
(* TODO: Can we make this nicer? iNext for fupd, for example, could help. *)
(* TODO: Can we make this nicer? iNext for fupd, for example, could help. *)
iMod
"H"
as
"H"
.
iModIntro
.
iNext
.
iMod
"H"
as
"H"
.
iModIntro
.
iMod
"H"
.
iModIntro
.
iNext
.
iMod
"H"
.
iModIntro
.
by
iIntros
(
e'
efs'
σ
(_
&
->
&
->
)
%
Hpuredet
)
.
by
iIntros
(
e'
efs'
σ
(_
&
->
&
->
)
%
Hpuredet
)
.
Qed
.
Qed
.
End
lifting
.
End
lifting
.
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