Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Actris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
tlsomers
Actris
Commits
f765e44b
Commit
f765e44b
authored
4 years ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Changed order of premises in frame rule
parent
e1c2b252
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/logrel/examples/mapper.v
+11
-11
11 additions, 11 deletions
theories/logrel/examples/mapper.v
theories/logrel/term_typing_rules.v
+2
-2
2 additions, 2 deletions
theories/logrel/term_typing_rules.v
with
13 additions
and
13 deletions
theories/logrel/examples/mapper.v
+
11
−
11
View file @
f765e44b
...
...
@@ -23,21 +23,21 @@ Section with_Σ.
iApply
ltyped_let
.
{
iApply
ltyped_recv
.
by
rewrite
insert_commute
//
lookup_insert
.
}
rewrite
(
insert_commute
_
"c"
"f"
)
//
insert_insert
.
iApply
(
ltyped_let
_
(
<
[
"c"
:=
lty_chan
END
]
>_
))
=>
/=
;
last
first
.
iApply
ltyped_let
=>
/=
;
last
first
.
{
iApply
ltyped_var
.
apply
lookup_insert
.
}
rewrite
(
insert_commute
_
"f"
"c"
)
//
(
insert_commute
_
"v"
"c"
)
//.
iApply
ltyped_send
.
apply
lookup_insert
.
rewrite
(
insert_commute
_
"f"
"c"
)
//
(
insert_commute
_
"v"
"c"
)
//.
iApply
(
ltyped_frame
_
_
_
_
{[
"c"
:=_]})
.
{
iApply
env_split_right
=>
//.
iApply
env_split_id_r
.
}
{
iApply
env_split_right
=>
//.
shelve
.
iApply
env_split_id_r
.
}
iApply
ltyped_
app
.
-
iApply
ltyped_var
.
apply
lookup_insert
.
-
rewrite
insert_commute
//
.
iApply
(
ltyped_frame
_
_
_
_
{[
"f"
:=_]})
.
{
iApply
env_split_right
=>
//.
iApply
env_split_id_r
.
}
{
iApply
env_split_right
=>
//
.
shelve
.
iApply
env_split_id_r
.
}
iApply
ltyped_var
.
apply
lookup_insert
.
Unshelve
.
eauto
.
eauto
.
{
iApply
ltyped_app
.
-
iApply
ltyped_
var
.
apply
lookup_insert
.
-
rewrite
insert_commute
//
.
iApply
(
ltyped_frame
_
_
_
_
{[
"f"
:=_]})
.
{
iApply
env_split_right
=>
//.
iApply
env_split_id_r
.
}
{
iApply
ltyped_var
.
apply
lookup_insert
.
}
{
iApply
env_split_right
=>
//
;
last
by
iApply
env_split_id_r
.
eauto
.
}
}
{
iApply
env_split_right
=>
//
;
last
by
iApply
env_split_id_r
.
eauto
.
}
Qed
.
End
with_Σ
.
This diff is collapsed.
Click to expand it.
theories/logrel/term_typing_rules.v
+
2
−
2
View file @
f765e44b
...
...
@@ -20,11 +20,11 @@ Section properties.
(** Frame rule *)
Lemma
ltyped_frame
Γ
Γ'
Γ1
Γ1'
Γ2
e
A
:
env_split
Γ
Γ1
Γ2
-∗
env_split
Γ'
Γ1'
Γ2
-∗
(
Γ1
⊨
e
:
A
⫤
Γ1'
)
-∗
env_split
Γ'
Γ1'
Γ2
-∗
Γ
⊨
e
:
A
⫤
Γ'
.
Proof
.
iIntros
"#Hsplit #H
split' #Htyped
!>"
(
vs
)
"Henv"
.
iIntros
"#Hsplit #H
typed #Hsplit'
!>"
(
vs
)
"Henv"
.
iDestruct
(
"Hsplit"
with
"Henv"
)
as
"[Henv1 Henv2]"
.
iApply
(
wp_wand
with
"(Htyped Henv1)"
)
.
iIntros
(
v
)
"[$ Henv1']"
.
...
...
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