Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
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
Model registry
Operate
Environments
Monitor
Service Desk
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
lambda-rust
Commits
ed345684
Commit
ed345684
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
remove now-unnecessary extra qualification
parent
3e70afc7
No related branches found
No related tags found
No related merge requests found
Pipeline
#31459
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/function.v
+5
-5
5 additions, 5 deletions
theories/typing/function.v
with
5 additions
and
5 deletions
theories/typing/function.v
+
5
−
5
View file @
ed345684
...
@@ -172,10 +172,10 @@ Section typing.
...
@@ -172,10 +172,10 @@ Section typing.
iDestruct
(
"Hcons"
with
"[$]"
)
as
"#(HE & Htys & Hty)"
.
iDestruct
(
"Hcons"
with
"[$]"
)
as
"#(HE & Htys & Hty)"
.
iApply
(
"Hf"
with
"LFT HE Htl HL [HC] [HT]"
)
.
iApply
(
"Hf"
with
"LFT HE Htl HL [HC] [HT]"
)
.
-
unfold
cctx_interp
.
iIntros
(
elt
)
"Helt"
.
-
unfold
cctx_interp
.
iIntros
(
elt
)
"Helt"
.
iDestruct
"Helt"
as
%->%
stdpp
.
list
.
elem_of_list_singleton
.
iIntros
(
ret
)
"Htl HL HT"
.
iDestruct
"Helt"
as
%->%
elem_of_list_singleton
.
iIntros
(
ret
)
"Htl HL HT"
.
unfold
cctx_elt_interp
.
unfold
cctx_elt_interp
.
iApply
(
"HC"
$!
(_
◁
cont
(_,
_))
with
"[%] Htl HL [> -]"
)
.
iApply
(
"HC"
$!
(_
◁
cont
(_,
_))
with
"[%] Htl HL [> -]"
)
.
{
by
apply
stdpp
.
list
.
elem_of_list_singleton
.
}
{
by
apply
elem_of_list_singleton
.
}
rewrite
/
tctx_interp
!
big_sepL_singleton
/=.
rewrite
/
tctx_interp
!
big_sepL_singleton
/=.
iDestruct
"HT"
as
(
v
)
"[HP Hown]"
.
iExists
v
.
iFrame
"HP"
.
iDestruct
"HT"
as
(
v
)
"[HP Hown]"
.
iExists
v
.
iFrame
"HP"
.
iDestruct
(
box_type_incl
with
"[$Hty]"
)
as
"(_ & #Hincl & _)"
.
iDestruct
(
box_type_incl
with
"[$Hty]"
)
as
"(_ & #Hincl & _)"
.
...
@@ -280,7 +280,7 @@ Section typing.
...
@@ -280,7 +280,7 @@ Section typing.
iApply
lft_intersect_incl_r
.
iApply
lft_intersect_incl_r
.
+
iSplitL
;
last
done
.
iExists
ϝ
.
iSplit
;
first
by
rewrite
/=
left_id
.
+
iSplitL
;
last
done
.
iExists
ϝ
.
iSplit
;
first
by
rewrite
/=
left_id
.
iFrame
"#∗"
.
iFrame
"#∗"
.
+
iIntros
(
y
)
"IN"
.
iDestruct
"IN"
as
%->%
stdpp
.
list
.
elem_of_list_singleton
.
+
iIntros
(
y
)
"IN"
.
iDestruct
"IN"
as
%->%
elem_of_list_singleton
.
iIntros
(
args
)
"Htl [Hϝ _] [Hret _]"
.
inv_vec
args
=>
r
.
iIntros
(
args
)
"Htl [Hϝ _] [Hret _]"
.
inv_vec
args
=>
r
.
iDestruct
"Hϝ"
as
(
κ'
)
"(EQ & Htk & _)"
.
iDestruct
"EQ"
as
%
EQ
.
iDestruct
"Hϝ"
as
(
κ'
)
"(EQ & Htk & _)"
.
iDestruct
"EQ"
as
%
EQ
.
rewrite
/=
left_id
in
EQ
.
subst
κ'
.
simpl
.
wp_rec
.
wp_bind
Endlft
.
rewrite
/=
left_id
in
EQ
.
subst
κ'
.
simpl
.
wp_rec
.
wp_bind
Endlft
.
...
@@ -328,7 +328,7 @@ Section typing.
...
@@ -328,7 +328,7 @@ Section typing.
iMod
(
lctx_lft_alive_tok_list
_
_
κs
with
"HE HL"
)
as
(
q
)
"(Hκs & HL & Hclose)"
;
[
done
..|]
.
iMod
(
lctx_lft_alive_tok_list
_
_
κs
with
"HE HL"
)
as
(
q
)
"(Hκs & HL & Hclose)"
;
[
done
..|]
.
iApply
(
type_call_iris'
with
"LFT HE Htl HL Hκs Hf Hargs"
);
[
done
|]
.
iApply
(
type_call_iris'
with
"LFT HE Htl HL Hκs Hf Hargs"
);
[
done
|]
.
iIntros
(
r
)
"Htl HL Hκs Hret"
.
iMod
(
"Hclose"
with
"Hκs HL"
)
as
"HL"
.
iIntros
(
r
)
"Htl HL Hκs Hret"
.
iMod
(
"Hclose"
with
"Hκs HL"
)
as
"HL"
.
iSpecialize
(
"HC"
with
"[]"
);
first
by
(
iPureIntro
;
apply
stdpp
.
list
.
elem_of_list_singleton
)
.
iSpecialize
(
"HC"
with
"[]"
);
first
by
(
iPureIntro
;
apply
elem_of_list_singleton
)
.
iApply
(
"HC"
$!
[
#
r
]
with
"Htl HL"
)
.
iApply
(
"HC"
$!
[
#
r
]
with
"Htl HL"
)
.
rewrite
tctx_interp_cons
tctx_hasty_val
.
iFrame
.
rewrite
tctx_interp_cons
tctx_hasty_val
.
iFrame
.
Qed
.
Qed
.
...
@@ -348,7 +348,7 @@ Section typing.
...
@@ -348,7 +348,7 @@ Section typing.
Proof
.
Proof
.
intros
Hfn
HL
HE
HTT'
HC
HT'T''
.
intros
Hfn
HL
HE
HTT'
HC
HT'T''
.
rewrite
-
typed_body_mono
/
flip
;
last
done
;
first
by
eapply
type_call'
.
rewrite
-
typed_body_mono
/
flip
;
last
done
;
first
by
eapply
type_call'
.
-
etrans
.
eapply
(
incl_cctx_incl
_
[_]);
first
by
intros
?
->%
stdpp
.
list
.
elem_of_list_singleton
.
-
etrans
.
eapply
(
incl_cctx_incl
_
[_]);
first
by
intros
?
->%
elem_of_list_singleton
.
apply
cctx_incl_cons
;
first
done
.
intros
args
.
by
inv_vec
args
.
apply
cctx_incl_cons
;
first
done
.
intros
args
.
by
inv_vec
args
.
-
etrans
;
last
by
apply
(
tctx_incl_frame_l
[_])
.
-
etrans
;
last
by
apply
(
tctx_incl_frame_l
[_])
.
apply
copy_elem_of_tctx_incl
;
last
done
.
apply
_
.
apply
copy_elem_of_tctx_incl
;
last
done
.
apply
_
.
...
...
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