1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "basic_2/notation/relations/stareq_5.ma".
16 include "basic_2/syntax/cext2.ma".
17 include "basic_2/syntax/tdeq.ma".
19 (* EXTENDED DEGREE-BASED EQUIVALENCE ****************************************)
21 definition tdeq_ext: ∀h. sd h → relation bind ≝
22 λh,o. ext2 (tdeq h o).
24 definition cdeq: ∀h. sd h → relation3 lenv term term ≝
27 definition cdeq_ext: ∀h. sd h → relation3 lenv bind bind ≝
28 λh,o. cext2 (cdeq h o).
31 "context-free degree-based equivalence (binder)"
32 'StarEq h o I1 I2 = (tdeq_ext h o I1 I2).
35 "context-dependent degree-based equivalence (term)"
36 'StarEq h o L T1 T2 = (cdeq h o L T1 T2).
39 "context-dependent degree-based equivalence (binder)"
40 'StarEq h o L I1 I2 = (cdeq_ext h o L I1 I2).