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
lambda-rust
Commits
4d689273
Commit
4d689273
authored
Dec 19, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make continuation context constructor print properly
parent
8be97ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
theories/typing/cont_context.v
theories/typing/cont_context.v
+6
-1
No files found.
theories/typing/cont_context.v
View file @
4d689273
...
...
@@ -4,7 +4,7 @@ From lrust.lang Require Import notation.
From
lrust
.
lifetime
Require
Import
definitions
.
From
lrust
.
typing
Require
Import
type
lft_contexts
type_context
.
Section
cont_context
.
Section
cont_context
_def
.
Context
`
{
typeG
Σ
}.
Definition
cont_postcondition
:
iProp
Σ
:
=
False
%
I
.
...
...
@@ -13,6 +13,11 @@ Section cont_context.
CctxElt
{
cctxe_k
:
val
;
cctxe_L
:
llctx
;
cctxe_n
:
nat
;
cctxe_T
:
vec
val
cctxe_n
→
tctx
}.
Definition
cctx
:
=
list
cctx_elt
.
End
cont_context_def
.
Add
Printing
Constructor
cctx_elt
.
Section
cont_context
.
Context
`
{
typeG
Σ
}.
Definition
cctx_elt_interp
(
tid
:
thread_id
)
(
x
:
cctx_elt
)
:
iProp
Σ
:
=
let
'
CctxElt
k
L
n
T
:
=
x
in
...
...
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