Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Actris
Commits
03758fe2
Commit
03758fe2
authored
May 04, 2020
by
Jonas Kastberg
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated variable rule to be in line with paper version
parent
0b9a055c
Pipeline
#27608
passed with stage
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
theories/logrel/term_typing_rules.v
theories/logrel/term_typing_rules.v
+6
-4
No files found.
theories/logrel/term_typing_rules.v
View file @
03758fe2
...
...
@@ -16,11 +16,13 @@ Section properties.
(** Variable properties *)
Lemma
ltyped_var
Γ
(
x
:
string
)
A
:
Γ
!!
x
=
Some
A
→
⊢
Γ
⊨
x
:
A
⫤
delete
x
Γ
.
⊢
<[
x
:
=
A
]>
Γ
⊨
x
:
A
⫤
delete
x
Γ
.
Proof
.
iIntros
(
H
Γ
x
)
"!>"
;
iIntros
(
vs
)
"HΓ /="
.
iDestruct
(
env_ltyped_lookup
with
"HΓ"
)
as
(
v
->)
"[HA HΓ]"
;
first
done
.
iApply
wp_value
.
eauto
with
iFrame
.
iIntros
"!>"
(
vs
)
"HΓ /="
.
iDestruct
(
env_ltyped_lookup
with
"HΓ"
)
as
(
v
->)
"[HA HΓ]"
;
first
by
apply
lookup_insert
.
iApply
wp_value
.
iFrame
"HA"
.
by
rewrite
delete_insert_delete
.
Qed
.
(** Subtyping *)
...
...
Jonas Kastberg
@jihgfee
mentioned in commit
a50fb42a
·
May 04, 2020
mentioned in commit
a50fb42a
mentioned in commit a50fb42a634d689160531b727217d5df7d2df04f
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment