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
Gaëtan Gilbert
Iris
Commits
b7a767a7
Commit
b7a767a7
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make fupd_plain_soundness more like soundness_bupd_plain
parent
d840f8cb
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/base_logic/lib/fancy_updates.v
+3
-3
3 additions, 3 deletions
theories/base_logic/lib/fancy_updates.v
theories/program_logic/total_adequacy.v
+1
-1
1 addition, 1 deletion
theories/program_logic/total_adequacy.v
with
4 additions
and
4 deletions
theories/base_logic/lib/fancy_updates.v
+
3
−
3
View file @
b7a767a7
...
...
@@ -60,9 +60,9 @@ Proof.
Qed
.
Lemma
fupd_plain_soundness
`{
!
invPreG
Σ
}
E1
E2
(
P
:
iProp
Σ
)
`{
!
Plain
P
}:
(
∀
`{
Hinv
:
!
invG
Σ
},
(|
=
{
E1
,
E2
}=>
P
)
%
I
)
→
(
▷
P
)
%
I
.
(
∀
`{
Hinv
:
!
invG
Σ
},
bi_emp_valid
(|
=
{
E1
,
E2
}=>
P
))
→
bi_emp_valid
P
.
Proof
.
iIntros
(
Hfupd
)
.
iMod
wsat_alloc
as
(
Hinv
)
"[Hw HE]"
.
iIntros
(
Hfupd
)
.
apply
soundness_later
.
iMod
wsat_alloc
as
(
Hinv
)
"[Hw HE]"
.
iAssert
(|
=
{
⊤
,
E2
}=>
P
)
%
I
as
"H"
.
{
iMod
fupd_intro_mask'
;
last
iApply
Hfupd
.
done
.
}
rewrite
uPred_fupd_eq
/
uPred_fupd_def
.
...
...
@@ -74,7 +74,7 @@ Lemma step_fupdN_soundness `{!invPreG Σ} φ n :
φ
.
Proof
.
intros
Hiter
.
apply
(
soundness
(
M
:=
iResUR
Σ
)
_
(
S
(
S
n
)
));
simpl
.
apply
(
soundness
(
M
:=
iResUR
Σ
)
_
(
S
n
));
simpl
.
apply
(
fupd_plain_soundness
⊤
⊤
_)=>
Hinv
.
iPoseProof
(
Hiter
Hinv
)
as
"H"
.
clear
Hiter
.
destruct
n
as
[|
n
]
.
...
...
This diff is collapsed.
Click to expand it.
theories/program_logic/total_adequacy.v
+
1
−
1
View file @
b7a767a7
...
...
@@ -123,7 +123,7 @@ Theorem twp_total Σ Λ `{!invPreG Σ} s e σ Φ :
stateI
σ
[]
0
∗
WP
e
@
s
;
⊤
[{
Φ
}])
%
I
)
→
sn
erased_step
([
e
],
σ
)
.
(* i.e. ([e], σ) is strongly normalizing *)
Proof
.
intros
Hwp
.
apply
(
soundness
(
M
:=
iResUR
Σ
)
_
2
);
simpl
.
intros
Hwp
.
apply
(
soundness
(
M
:=
iResUR
Σ
)
_
1
);
simpl
.
apply
(
fupd_plain_soundness
⊤
⊤
_)=>
Hinv
.
iMod
(
Hwp
)
as
(
stateI
fork_post
)
"[Hσ H]"
.
iApply
(
@
twptp_total
_
_
(
IrisG
_
_
Hinv
stateI
fork_post
)
with
"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