]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/static_2/syntax/teqx_ext.ma
update for the article
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / teqx_ext.ma
diff --git a/matita/matita/contribs/lambdadelta/static_2/syntax/teqx_ext.ma b/matita/matita/contribs/lambdadelta/static_2/syntax/teqx_ext.ma
new file mode 100644 (file)
index 0000000..bdb3971
--- /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_3.ma".
+include "static_2/syntax/cext2.ma".
+include "static_2/syntax/teqx.ma".
+
+(* EXTENDED SORT-IRRELEVANT EQUIVALENCE *************************************)
+
+definition teqx_ext: relation bind ≝
+                     ext2 teqx.
+
+definition cdeq: relation3 lenv term term ≝
+                 λL. teqx.
+
+definition cdeq_ext: relation3 lenv bind bind ≝
+                     cext2 cdeq.
+
+interpretation
+   "context-free sort-irrelevant equivalence (binder)"
+   'StarEq I1 I2 = (teqx_ext I1 I2).
+
+interpretation
+   "context-dependent sort-irrelevant equivalence (term)"
+   'StarEq L T1 T2 = (cdeq L T1 T2).
+
+interpretation
+   "context-dependent sort-irrelevant equivalence (binder)"
+   'StarEq L I1 I2 = (cdeq_ext L I1 I2).