Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Tutorial POPL20
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arthur Azevedo de Amorim
Tutorial POPL20
Commits
12c01214
Commit
12c01214
authored
Jan 19, 2020
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Demo tweaks.
parent
a07b7832
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
theories/demo.v
theories/demo.v
+2
-2
No files found.
theories/demo.v
View file @
12c01214
...
...
@@ -21,7 +21,7 @@ From iris.heap_lang Require Import adequacy.
4. We prove safety of semantic typing:
Γ
⊨ e : τ → e is safe, i.e. cannot crash
∅
⊨ e : τ → e is safe, i.e. cannot crash
5. We prove that we get more by showing that certain "unsafe" programs are also
semantically typed
...
...
@@ -105,7 +105,7 @@ Section semtyp.
end
%
I
.
Definition
interp_env
(
Γ
:
gmap
string
ty
)
(
vs
:
gmap
string
val
)
:
iProp
Σ
:
=
[
∗
map
]
x
↦
τ
;
v
∈
Γ
;
vs
,
interp
τ
v
.
[
∗
map
]
τ
;
v
∈
Γ
;
vs
,
interp
τ
v
.
Definition
sem_typed
(
Γ
:
gmap
string
ty
)
(
e
:
expr
)
(
τ
:
ty
)
:
iProp
Σ
:
=
□
∀
vs
,
interp_env
Γ
vs
-
∗
WP
subst_map
vs
e
{{
w
,
interp
τ
w
}}.
...
...
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