Skip to content
Snippets Groups Projects
Commit 22b86617 authored by Dan Frumin's avatar Dan Frumin
Browse files

some comments

parent 410a14de
No related branches found
No related tags found
1 merge request!5Alternative definition of contextual refinement
...@@ -242,6 +242,9 @@ Inductive typed_ctx: ctx → stringmap type → type → stringmap type → type ...@@ -242,6 +242,9 @@ Inductive typed_ctx: ctx → stringmap type → type → stringmap type → type
typed_ctx K Γ1 τ1 Γ2 τ2 typed_ctx K Γ1 τ1 Γ2 τ2
typed_ctx (k :: K) Γ1 τ1 Γ3 τ3. typed_ctx (k :: K) Γ1 τ1 Γ3 τ3.
(** The main definition of contextual refinement that we use. An
alternative (equivalent) formulation which observes only
termination can be found in [contextual_refinement_alt.v] *)
Definition ctx_refines (Γ : stringmap type) Definition ctx_refines (Γ : stringmap type)
(e e' : expr) (τ : type) : Prop := K thp σ₀ σ₁ (b : bool), (e e' : expr) (τ : type) : Prop := K thp σ₀ σ₁ (b : bool),
typed_ctx K Γ τ TBool typed_ctx K Γ τ TBool
......
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