Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RefinedC
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
Iris
RefinedC
Merge requests
!138
update Iris for later credits
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update Iris for later credits
ci/ralf/iris
into
master
Overview
1
Commits
1
Pipelines
2
Changes
2
Merged
Ralf Jung
requested to merge
ci/ralf/iris
into
master
2 years ago
Overview
1
Commits
1
Pipelines
2
Changes
2
Expand
Like
!137 (closed)
but hopefully with CI. :)
0
0
Merge request reports
Viewing commit
fc318c50
Show latest version
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
fc318c50
update Iris for later credits
· fc318c50
Ralf Jung
authored
2 years ago
theories/typing/adequacy.v
+
2
−
2
Options
@@ -48,7 +48,7 @@ Lemma refinedc_adequacy Σ `{!typePreG Σ} (thread_mains : list loc) (fns : gmap
nsteps
(
Λ
:=
c_lang
)
n
(
initial_prog
<$>
thread_mains
,
σ
)
κs
(
t2
,
σ2
)
→
∀
e2
,
e2
∈
t2
→
not_stuck
e2
σ2
.
Proof
.
move
=>
Hnew
->
Hwp
.
apply
:
wp_strong_adequacy
.
move
=>
?
.
move
=>
Hnew
->
Hwp
.
apply
:
wp_strong_adequacy
_no_lc
.
move
=>
?
?
.
set
h
:=
to_heapUR
∅.
iMod
(
own_alloc
(
●
h
⋅
◯
h
))
as
(
γh
)
"[Hh _]"
=>
//.
{
apply
auth_both_valid_discrete
.
split
=>
//.
}
@@ -73,7 +73,7 @@ Proof.
}
iMod
(
Hwp
with
"Hmt Hfm"
)
as
"Hmains"
.
iModIntro
.
iExists
NotStuck
,
_,
(
replicate
(
length
thread_mains
)
(
λ
_,
True
%
I
)),
_,
_
.
iModIntro
.
iExists
_,
(
replicate
(
length
thread_mains
)
(
λ
_,
True
%
I
)),
_,
_
.
iSplitL
"Hctx Hf"
;
last
first
.
1
:
iSplitL
"Hmains"
.
-
rewrite
big_sepL2_fmap_l
.
iApply
big_sepL2_replicate_r
;
[
done
|]
.
iApply
(
big_sepL_impl
with
"Hmains"
)
.
iIntros
"!#"
(?
main
?);
iDestruct
1
as
(
P
)
"[Hmain HP]"
.
Loading