Skip to content
Snippets Groups Projects
Commit 65c1292d authored by Jonas Kastberg's avatar Jonas Kastberg
Browse files

Bumped contexts.v header with new definitions

parent 13215e11
No related branches found
No related tags found
No related merge requests found
(** This file contains definitions related to type ctxironments. The following
relations on ctxironments are defined:
(** This file contains definitions related to type contexts.
Contexts are encoded as lists of value and type pairs, for which
lifted operations are defined such as [ctx_cons x A Γ].
The following relations on contexts are defined:
- [ctx_ltyped Γ vs]: This relation indicates that the value map [vs] contains a
value for each type in the semantic type ctxironment [Γ].
- [ctx_split Γ Γ1 Γ2]: The semantic type ctxironment [Γ] can be split into
(semantically disjoint) [Γ1] and [Γ2].
- [ctx_copy Γ Γ']: [Γ'] is a copyable sub-ctxironment of [Γ].
value for each type in the semantic type context [Γ].
- [ctx_le Γ Γ']: This relation indicates that the context [Γ]
subsumes that of [Γ'].
In addition, some lemmas/rules about these definitions are proved, corresponding
to the syntactic typing rules that are typically found in substructural type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment