aboutsummaryrefslogtreecommitdiff
path: root/src/Compilers
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-10-24 01:09:18 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-10-24 01:09:35 -0400
commit8fe8f72bd6a83f7c54c3e7c88b06b38300d7d95a (patch)
tree0fdc282dc2993881657b3f45bfffcbfa819064aa /src/Compilers
parented76dc8b096a765e927173859df453407cc4174d (diff)
Generalize In_flatten_binding_list_untransfer_interp_flat_type
Diffstat (limited to 'src/Compilers')
-rw-r--r--src/Compilers/WfProofs.v9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Compilers/WfProofs.v b/src/Compilers/WfProofs.v
index 1bc5bc44e..4a94f2591 100644
--- a/src/Compilers/WfProofs.v
+++ b/src/Compilers/WfProofs.v
@@ -177,6 +177,13 @@ Section language.
Proof.
induction t; try solve [ cbv [SmartPairf]; simpl; auto ].
Qed.
+ End with_var.
+
+ Section with_var2.
+ Context {base_type_code2 : Type}
+ {var1 : base_type_code -> Type}
+ {var2 : base_type_code2 -> Type}.
+ Local Hint Constructors Wf.wff.
Lemma In_flatten_binding_list_untransfer_interp_flat_type
var1' var2' f_base
@@ -212,7 +219,7 @@ Section language.
| [ H : _ |- _ ] => rewrite List.in_app_iff in H
end ].
Qed.
- End with_var.
+ End with_var2.
Definition duplicate_type {var1 var2}
: { t : base_type_code & (var1 t * var2 t)%type }