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
471b2121
Commit
471b2121
authored
8 years ago
by
David Swasey
Committed by
Ralf Jung
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make it possible to apply the observational view shift lemmas.
parent
ab23831f
No related branches found
Branches containing commit
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/adequacy.v
+2
-2
2 additions, 2 deletions
theories/program_logic/adequacy.v
theories/program_logic/ownp.v
+3
-3
3 additions, 3 deletions
theories/program_logic/ownp.v
with
5 additions
and
5 deletions
theories/program_logic/adequacy.v
+
2
−
2
View file @
471b2121
...
...
@@ -187,11 +187,11 @@ Proof.
iFrame
.
by
iApply
big_sepL_nil
.
Qed
.
Theorem
wp_invariance
Σ
Λ
`{
invPreG
Σ
}
e
σ1
t2
σ2
φ
Φ
:
Theorem
wp_invariance
Σ
Λ
`{
invPreG
Σ
}
e
σ1
t2
σ2
φ
:
(
∀
`{
Hinv
:
invG
Σ
},
True
=
{
⊤
}
=∗
∃
stateI
:
state
Λ
→
iProp
Σ
,
let
_
:
irisG
Λ
Σ
:=
IrisG
_
_
Hinv
stateI
in
stateI
σ1
∗
WP
e
{{
Φ
}}
∗
(
stateI
σ2
=
{
⊤
,
∅
}
=∗
⌜
φ
⌝
))
→
stateI
σ1
∗
WP
e
{{
_,
True
}}
∗
(
stateI
σ2
=
{
⊤
,
∅
}
=∗
⌜
φ
⌝
))
→
rtc
step
([
e
],
σ1
)
(
t2
,
σ2
)
→
φ
.
Proof
.
...
...
This diff is collapsed.
Click to expand it.
theories/program_logic/ownp.v
+
3
−
3
View file @
471b2121
...
...
@@ -50,13 +50,13 @@ Proof.
iApply
(
Hwp
(
OwnPG
_
_
_
_
γσ
))
.
by
rewrite
/
ownP
.
Qed
.
Theorem
ownP_invariance
Σ
`{
ownPPreG
Λ
Σ
}
e
σ1
t2
σ2
φ
Φ
:
Theorem
ownP_invariance
Σ
`{
ownPPreG
Λ
Σ
}
e
σ1
t2
σ2
φ
:
(
∀
`{
ownPG
Λ
Σ
},
ownP
σ1
=
{
⊤
}
=∗
WP
e
{{
Φ
}}
∗
|
=
{
⊤
,
∅
}=>
∃
σ'
,
ownP
σ'
∧
⌜
φ
σ'
⌝
)
→
ownP
σ1
=
{
⊤
}
=∗
WP
e
{{
_,
True
}}
∗
|
=
{
⊤
,
∅
}=>
∃
σ'
,
ownP
σ'
∧
⌜
φ
σ'
⌝
)
→
rtc
step
([
e
],
σ1
)
(
t2
,
σ2
)
→
φ
σ2
.
Proof
.
intros
Hwp
Hsteps
.
eapply
(
wp_invariance
Σ
Λ
e
σ1
t2
σ2
_
Φ
)=>
//.
intros
Hwp
Hsteps
.
eapply
(
wp_invariance
Σ
Λ
e
σ1
t2
σ2
_)=>
//.
iIntros
(?)
""
.
iMod
(
own_alloc
(
●
(
Excl'
(
σ1
:
leibnizC
_))
⋅
◯
(
Excl'
σ1
)))
as
(
γσ
)
"[Hσ Hσf]"
;
first
done
.
iExists
(
λ
σ
,
own
γσ
(
●
(
Excl'
(
σ
:
leibnizC
_))))
.
iFrame
"Hσ"
.
...
...
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