]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/static_2/syntax/teqg_ext.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / teqg_ext.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "static_2/notation/relations/stareq_4.ma".
16 include "static_2/syntax/cext2.ma".
17 include "static_2/syntax/teqg.ma".
18
19 (* GENERIC EQUIVALENCE ******************************************************)
20
21 definition teqg_ext (S): relation bind ≝
22            ext2 (teqg S).
23
24 definition ceqg (S): relation3 lenv term term ≝
25            λL. (teqg S).
26
27 definition ceqg_ext (S): relation3 lenv bind bind ≝
28            cext2 (ceqg S).
29
30 interpretation
31   "context-free generic equivalence (binder)"
32   'StarEq S I1 I2 = (teqg_ext S I1 I2).
33
34 interpretation
35   "context-dependent generic equivalence (term)"
36   'StarEq S L T1 T2 = (ceqg S L T1 T2).
37
38 interpretation
39   "context-dependent generic equivalence (binder)"
40   'StarEq S L I1 I2 = (ceqg_ext S L I1 I2).