]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/static_2/syntax/tdeq_ext.ma
milestone in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / tdeq_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_3.ma".
16 include "static_2/syntax/cext2.ma".
17 include "static_2/syntax/tdeq.ma".
18
19 (* EXTENDED SORT-IRRELEVANT EQUIVALENCE *************************************)
20
21 definition tdeq_ext: relation bind ≝
22                      ext2 tdeq.
23
24 definition cdeq: relation3 lenv term term ≝
25                  λL. tdeq.
26
27 definition cdeq_ext: relation3 lenv bind bind ≝
28                      cext2 cdeq.
29
30 interpretation
31    "context-free sort-irrelevant equivalence (binder)"
32    'StarEq I1 I2 = (tdeq_ext I1 I2).
33
34 interpretation
35    "context-dependent sort-irrelevant equivalence (term)"
36    'StarEq L T1 T2 = (cdeq L T1 T2).
37
38 interpretation
39    "context-dependent sort-irrelevant equivalence (binder)"
40    'StarEq L I1 I2 = (cdeq_ext L I1 I2).