]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/static_2/syntax/teqg_ext.ma
update in static_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / teqg_ext.ma
diff --git a/matita/matita/contribs/lambdadelta/static_2/syntax/teqg_ext.ma b/matita/matita/contribs/lambdadelta/static_2/syntax/teqg_ext.ma
new file mode 100644 (file)
index 0000000..f7f4c97
--- /dev/null
@@ -0,0 +1,40 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+include "static_2/notation/relations/stareq_4.ma".
+include "static_2/syntax/cext2.ma".
+include "static_2/syntax/teqg.ma".
+
+(* GENERIC EQUIVALENCE ******************************************************)
+
+definition teqg_ext (S): relation bind ≝
+           ext2 (teqg S).
+
+definition ceqg (S): relation3 lenv term term ≝
+           λL. (teqg S).
+
+definition ceqg_ext (S): relation3 lenv bind bind ≝
+           cext2 (ceqg S).
+
+interpretation
+  "context-free generic equivalence (binder)"
+  'StarEq S I1 I2 = (teqg_ext S I1 I2).
+
+interpretation
+  "context-dependent generic equivalence (term)"
+  'StarEq S L T1 T2 = (ceqg S L T1 T2).
+
+interpretation
+  "context-dependent generic equivalence (binder)"
+  'StarEq S L I1 I2 = (ceqg_ext S L I1 I2).