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
8062c168
Commit
8062c168
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Typing rule for `Free`.
parent
8df261ca
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
opam
+1
-1
1 addition, 1 deletion
opam
theories/logrel/term_typing_rules.v
+11
-0
11 additions, 0 deletions
theories/logrel/term_typing_rules.v
with
12 additions
and
1 deletion
opam
+
1
−
1
View file @
8062c168
...
@@ -9,5 +9,5 @@ build: [make "-j%{jobs}%"]
...
@@ -9,5 +9,5 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
install: [make "install"]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/actris" ]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/actris" ]
depends: [
depends: [
"coq-iris" { (= "dev.2020-05-2
4
.1.
76bec8b7
") | (= "dev") }
"coq-iris" { (= "dev.2020-05-2
6
.1.
d80e7abf
") | (= "dev") }
]
]
This diff is collapsed.
Click to expand it.
theories/logrel/term_typing_rules.v
+
11
−
0
View file @
8062c168
...
@@ -271,6 +271,17 @@ Section properties.
...
@@ -271,6 +271,17 @@ Section properties.
iExists
l
,
v
;
iSplit
=>
//.
iFrame
"Hv Hl"
.
iExists
l
,
v
;
iSplit
=>
//.
iFrame
"Hv Hl"
.
Qed
.
Qed
.
Lemma
ltyped_free
Γ1
Γ2
e
A
:
(
Γ1
⊨
e
:
ref_uniq
A
⫤
Γ2
)
-∗
(
Γ1
⊨
Free
e
:
()
⫤
Γ2
)
.
Proof
.
iIntros
"#He"
(
vs
)
"!> HΓ1 /="
.
wp_bind
(
subst_map
vs
e
)
.
iApply
(
wp_wand
with
"(He HΓ1)"
)
.
iIntros
(
v
)
"[Hv HΓ2]"
.
iDestruct
"Hv"
as
(
l
w
->
)
"[Hl Hw]"
.
wp_free
.
by
iFrame
"HΓ2"
.
Qed
.
Lemma
ltyped_load
Γ
(
x
:
string
)
A
:
Lemma
ltyped_load
Γ
(
x
:
string
)
A
:
Γ
!!
x
=
Some
(
ref_uniq
A
)
%
lty
→
Γ
!!
x
=
Some
(
ref_uniq
A
)
%
lty
→
⊢
Γ
⊨
!
x
:
A
⫤
<
[
x
:=
(
ref_uniq
(
copy
-
A
))
%
lty
]
>
Γ
.
⊢
Γ
⊨
!
x
:
A
⫤
<
[
x
:=
(
ref_uniq
(
copy
-
A
))
%
lty
]
>
Γ
.
...
...
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