]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/coq-contribs/LAMBDA-TYPES/contexts_defs.v
some reorganization and some corrections
[helm.git] / helm / coq-contribs / LAMBDA-TYPES / contexts_defs.v
index ec1f9e75866c5766667023de5bdc51884c5606cb..63373a401c4a07a469b7eca9f3ff684f4e93d9c6 100644 (file)
@@ -7,6 +7,11 @@ Require Export terms_defs.
 
       Hint f3CKT : ltlc := Resolve (f_equal3 C K T).
 
+      Tactic Definition CGenBase :=
+         Match Context With
+            | [ H: (CTail ? ? ?) = (CTail ? ? ?) |- ? ] -> Inversion H; Clear H
+           | _                                         -> TGenBase.
+
       Definition r: K -> nat -> nat := [k;i] Cases k of
          | (Bind _) => i
          | (Flat _) => (S i)