]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/relocation/lex.ma
- ext2_tc added
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / relocation / lex.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/notation/relations/relation_3.ma".
16 include "basic_2/relocation/lexs.ma".
17
18 (* GENERIC EXTENSION OF A CONTEXT-SENSITIVE REALTION ON TERMS ***************)
19
20 (* Basic_2A1: includes: lpx_sn_atom lpx_sn_pair *)
21 definition lex: (lenv → relation bind) → relation lenv ≝
22                 λR,L1,L2. ∃∃f. 𝐈⦃f⦄ & L1 ⪤*[cfull, R, f] L2.
23
24 interpretation "generic extension (local environment)"
25    'Relation R L1 L2 = (lex R L1 L2).