X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Fteqg_ext.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Fteqg_ext.ma;h=f7f4c9738e49a742fa6dd3b8b6c9711dff82f63a;hb=b118146b97959e6a6dde18fdd014b8e1e676a2d1;hp=0000000000000000000000000000000000000000;hpb=613d8642b1154dde0c026cbdcd96568910198251;p=helm.git 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 index 000000000..f7f4c9738 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/static_2/syntax/teqg_ext.ma @@ -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).