]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/syntax/tdeq_ext.ma
- exclusion binder in local environments
[helm.git] / matita / matita / contribs / lambdadelta / basic_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 "basic_2/syntax/tdeq.ma".
16 include "basic_2/syntax/lenv_ext2.ma".
17
18 (* EXTENDED DEGREE-BASED EQUIVALENCE ****************************************)
19
20 definition cdeq: ∀h. sd h → relation3 lenv term term ≝
21                  λh,o,L. tdeq h o.
22
23 definition tdeq_ext: ∀h. sd h → relation bind ≝
24                      λh,o. ext2 (tdeq h o).
25
26 definition cdeq_ext: ∀h. sd h → relation3 lenv bind bind ≝
27                      λh,o. cext2 (cdeq h o).
28
29 interpretation
30    "degree-based equivalence (binder)"
31    'LazyEq h o I1 I2 = (tdeq_ext h o I1 I2).