Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
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
Tej Chajed
iris
Commits
00cc5b5a
Commit
00cc5b5a
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.0' of gitlab.mpi-sws.org:FP/iris-coq into v2.0
parents
5470da51
874df60b
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
barrier/lifting.v
+5
-12
5 additions, 12 deletions
barrier/lifting.v
with
5 additions
and
12 deletions
barrier/lifting.v
+
5
−
12
View file @
00cc5b5a
...
@@ -21,21 +21,14 @@ Lemma wp_alloc_pst E σ e v Q :
...
@@ -21,21 +21,14 @@ Lemma wp_alloc_pst E σ e v Q :
(
ownP
σ
★
▷
(
∀
l
,
■
(
σ
!!
l
=
None
)
∧
ownP
(
<
[
l
:=
v
]
>
σ
)
-★
Q
(
LocV
l
)))
(
ownP
σ
★
▷
(
∀
l
,
■
(
σ
!!
l
=
None
)
∧
ownP
(
<
[
l
:=
v
]
>
σ
)
-★
Q
(
LocV
l
)))
⊑
wp
E
(
Alloc
e
)
Q
.
⊑
wp
E
(
Alloc
e
)
Q
.
Proof
.
Proof
.
intros
.
intros
.
set
(
φ
v'
σ'
:=
∃
l
,
v'
=
LocV
l
∧
σ'
=
<
[
l
:=
v
]
>
σ
∧
σ
!!
l
=
None
)
.
(* FIXME RJ: ssreflect rewrite does not work. *)
rewrite
-
(
wp_lift_atomic_step
(
Alloc
e
)
φ
σ
)
//
/
φ
;
rewrite
<-
(
wp_lift_atomic_step
(
Alloc
e
)
last
by
intros
;
inv_step
;
eauto
10
.
(
λ
v'
σ'
,
∃
l
,
v'
=
LocV
l
∧
σ'
=
<
[
l
:=
v
]
>
σ
∧
σ
!!
l
=
None
)
σ
)=>
//
;
last
first
.
{
(* TODO RJ: Somehow automation used to kill all this...?? *)
intros
.
inv_step
.
eexists
;
split_ands
;
try
done
;
[]
.
eexists
;
done
.
}
apply
sep_mono
,
later_mono
;
first
done
.
apply
sep_mono
,
later_mono
;
first
done
.
apply
forall_intro
=>
e2
;
apply
forall_intro
=>
σ2
.
apply
forall_intro
=>
e2
;
apply
forall_intro
=>
σ2
;
apply
wand_intro_l
.
apply
wand_intro_l
.
rewrite
always_and_sep_l'
-
associative
-
always_and_sep_l'
.
rewrite
always_and_sep_l'
-
associative
-
always_and_sep_l'
.
apply
const_elim_l
=>
-
[
l
[
->
[
->
?]]]
.
apply
const_elim_l
=>
-
[
l
[
->
[
->
?]]]
.
rewrite
(
forall_elim
l
)
const_equiv
//.
by
rewrite
(
forall_elim
l
)
const_equiv
//
left_id
wand_elim_r
.
by
rewrite
left_id
wand_elim_r
.
Qed
.
Qed
.
Lemma
wp_load_pst
E
σ
l
v
Q
:
Lemma
wp_load_pst
E
σ
l
v
Q
:
...
...
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